File tree 3 files changed +19
-8
lines changed 3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,8 @@ rm src/main/java/org/bookservice/rest/NewCrossOriginResourceSharingFilter.java
290
290
291
291
# redeploy and make sure the endpoint is protected by accessing directly its URL (i.e : localhost:8080/rest/books should show unauthorized)
292
292
293
- cd ~~/..
293
+ cd ~~
294
+ cd ..
294
295
295
296
# Secure the frontend
296
297
cp frontend_assets/keycloak.json bookstorefrontend/src/main/webapp
@@ -301,7 +302,8 @@ cd bookstorefrontend
301
302
302
303
# Redeploy the frontend, it should now redirect to the keycloak login screen
303
304
304
- cd ~~/..
305
+ cd ~~
306
+ cd ..
305
307
306
308
# secure the sellingPoint
307
309
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ rm src/main/java/org/bookservice/rest/NewCrossOriginResourceSharingFilter.java
12
12
# redeploy and make sure the endpoint is protected by accessing directly its URL (i.e : localhost:8080/rest/books should show unauthorized)
13
13
14
14
15
- cd ~~/..
15
+ cd ~~
16
+ cd ..
16
17
17
18
# Secure the frontend
18
19
cp frontend_assets/keycloak.json bookstorefrontend/src/main/webapp
@@ -23,7 +24,8 @@ cd bookstorefrontend
23
24
24
25
# Redeploy the frontend, it should now redirect to the keycloak login screen
25
26
26
- cd ~~/..
27
+ cd ~~
28
+ cd ..
27
29
28
30
# secure the sellingPoint
29
31
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ wildfly-swarm-detect-fractions --depend --build
37
37
rest- new- cross - origin- resource- sharing- filter
38
38
39
39
## come up to top level so we can create a new project
40
- cd $PWD
40
+ cd ~~
41
+ cd ..
41
42
42
43
# ---------------- Book Store Web Front End [: 8081 / rest] ---------------
43
44
# Now we want to create front end swarm service to access BookService
@@ -47,7 +48,9 @@ mv ../bookservice/src/main/webapp/ src/main/
47
48
# manual step : change the url in the angular services to point
48
49
# to http: // localhost:8080/rest/ in src/main/webapp/scripts/services
49
50
50
- cd $PWD
51
+ cd ~~
52
+ cd ..
53
+
51
54
# ---------------- SellingPoint Service [: 8082 / rest] ---------------
52
55
# create SellingPoint service
53
56
project- new -- named sellingPoint -- stack JAVA_EE_7 -- type wildfly- swarm -- http- port 8082
@@ -75,7 +78,9 @@ wildfly-swarm-detect-fractions --depend --build
75
78
# enable CORS
76
79
rest- new- cross - origin- resource- sharing- filter
77
80
78
- cd $PWD
81
+ cd ~~
82
+ cd ..
83
+
79
84
80
85
#---------------- Update front end to consume Selling points from new service
81
86
cp frontend_assets/ sellingpoint/ search.html bookstorefrontend/ src/ main/ webapp/ views/ SellingPoint
@@ -89,4 +94,6 @@ cp frontend_assets/sellingpoint/SellingPointFactory.js bookstorefrontend/src/ma
89
94
project- new -- named keycloakserver -- stack JAVA_EE_7 -- type wildfly- swarm -- http- port 8083 -- fractions keycloak- server
90
95
91
96
build
92
- cd $PWD
97
+ cd ~~
98
+ cd ..
99
+
You can’t perform that action at this time.
0 commit comments