@@ -18,31 +18,31 @@ Basic:
18
18
19
19
[source,bash]
20
20
----
21
- curl -X GET http://localhost:8080 /simple-greet
21
+ curl -X GET http://localhost:8181 /simple-greet
22
22
Hello World!
23
23
----
24
24
25
25
JSON:
26
26
27
27
[source,bash]
28
28
----
29
- curl -X GET http://localhost:8080 /greet
29
+ curl -X GET http://localhost:8181 /greet
30
30
{"message":"Hello World!"}
31
31
32
- curl -X GET http://localhost:8080 /greet/Joe
32
+ curl -X GET http://localhost:8181 /greet/Joe
33
33
{"message":"Hello Joe!"}
34
34
35
- curl -X PUT -H "Content-Type: application/json" -d '{"greeting" : "Hola"}' http://localhost:8080 /greet/greeting
35
+ curl -X PUT -H "Content-Type: application/json" -d '{"greeting" : "Hola"}' http://localhost:8181 /greet/greeting
36
36
37
- curl -X GET http://localhost:8080 /greet/Jose
37
+ curl -X GET http://localhost:8181 /greet/Jose
38
38
{"message":"Hola Jose!"}
39
39
----
40
40
41
41
== Try health
42
42
43
43
[source,bash]
44
44
----
45
- curl -s -X GET http://localhost:8080 /health
45
+ curl -s -X GET http://localhost:8181 /health
46
46
{"outcome":"UP",...
47
47
----
48
48
@@ -67,12 +67,12 @@ project generation phase.
67
67
[source,bash]
68
68
----
69
69
# Prometheus Format
70
- curl -s -X GET http://localhost:8080 /metrics
70
+ curl -s -X GET http://localhost:8181 /metrics
71
71
# TYPE base:gc_g1_young_generation_count gauge
72
72
. . .
73
73
74
74
# JSON Format
75
- curl -H 'Accept: application/json' -X GET http://localhost:8080 /metrics
75
+ curl -H 'Accept: application/json' -X GET http://localhost:8181 /metrics
76
76
{"base":...
77
77
. . .
78
78
----
@@ -88,7 +88,7 @@ docker build -t intro-helidon-mongodb .
88
88
89
89
[source,bash]
90
90
----
91
- docker run --rm -p 8080:8080 intro-helidon-mongodb:latest
91
+ docker run --rm -p 8181:8181 intro-helidon-mongodb:latest
92
92
----
93
93
94
94
Exercise the application as described above.
@@ -112,7 +112,7 @@ kubectl get pods # Verify connectivity to cluster
112
112
kubectl create -f app.yaml # Deploy application
113
113
kubectl get pods # Wait for quickstart pod to be RUNNING
114
114
kubectl get service intro-helidon-mongodb # Get service info
115
- kubectl port-forward service/intro-helidon-mongodb 8081:8080 # Forward service port to 8081
115
+ kubectl port-forward service/intro-helidon-mongodb 8081:8181 # Forward service port to 8081
116
116
----
117
117
118
118
You can now exercise the application as you did before but use the port number 8081.
0 commit comments