Skip to content

Commit 2953a6f

Browse files
committed
docs: create readme adoc and update port
Signed-off-by: Otavio Santana <[email protected]>
1 parent a5755a2 commit 2953a6f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@ Basic:
1818

1919
[source,bash]
2020
----
21-
curl -X GET http://localhost:8080/simple-greet
21+
curl -X GET http://localhost:8181/simple-greet
2222
Hello World!
2323
----
2424

2525
JSON:
2626

2727
[source,bash]
2828
----
29-
curl -X GET http://localhost:8080/greet
29+
curl -X GET http://localhost:8181/greet
3030
{"message":"Hello World!"}
3131
32-
curl -X GET http://localhost:8080/greet/Joe
32+
curl -X GET http://localhost:8181/greet/Joe
3333
{"message":"Hello Joe!"}
3434
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
3636
37-
curl -X GET http://localhost:8080/greet/Jose
37+
curl -X GET http://localhost:8181/greet/Jose
3838
{"message":"Hola Jose!"}
3939
----
4040

4141
== Try health
4242

4343
[source,bash]
4444
----
45-
curl -s -X GET http://localhost:8080/health
45+
curl -s -X GET http://localhost:8181/health
4646
{"outcome":"UP",...
4747
----
4848

@@ -67,12 +67,12 @@ project generation phase.
6767
[source,bash]
6868
----
6969
# Prometheus Format
70-
curl -s -X GET http://localhost:8080/metrics
70+
curl -s -X GET http://localhost:8181/metrics
7171
# TYPE base:gc_g1_young_generation_count gauge
7272
. . .
7373
7474
# 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
7676
{"base":...
7777
. . .
7878
----
@@ -88,7 +88,7 @@ docker build -t intro-helidon-mongodb .
8888

8989
[source,bash]
9090
----
91-
docker run --rm -p 8080:8080 intro-helidon-mongodb:latest
91+
docker run --rm -p 8181:8181 intro-helidon-mongodb:latest
9292
----
9393

9494
Exercise the application as described above.
@@ -112,7 +112,7 @@ kubectl get pods # Verify connectivity to cluster
112112
kubectl create -f app.yaml # Deploy application
113113
kubectl get pods # Wait for quickstart pod to be RUNNING
114114
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
116116
----
117117

118118
You can now exercise the application as you did before but use the port number 8081.

0 commit comments

Comments
 (0)