Skip to content

Commit b658160

Browse files
committed
Update reactive section with corrections
1 parent a918e72 commit b658160

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

documentation/modules/ROOT/pages/14_reactive.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@ cd {project-name}
3636
--
3737
====
3838

39+
== Start the app in Dev Mode:
40+
41+
[tabs%sync]
42+
====
43+
Maven::
44+
+
45+
--
46+
[.console-input]
47+
[source,bash,subs="+macros,+attributes"]
48+
----
49+
./mvnw quarkus:dev
50+
----
51+
52+
--
53+
Quarkus CLI::
54+
+
55+
--
56+
[.console-input]
57+
[source,bash,subs="+macros,+attributes"]
58+
----
59+
quarkus dev
60+
----
61+
--
62+
====
63+
64+
3965
== Create Beer POJO
4066

4167
Create a new `Beer` Java class in `src/main/java` in the `com.redhat.developers` package with the following contents:
@@ -117,6 +143,8 @@ public interface BeerService {
117143

118144
== Configure REST Client properties
119145

146+
NOTE: The original punkapi.com service is not operational anymore. To reproduce the application, you can deploy the API on an Openshift Sandbox (developers.redhat.com/sandbox). Once you have logged in to the Sandbox, go to the "Developers" perspective in the top left corner, click on +Add in the left menu, and then in the "Git Repository" section click on the "Import from Git". Paste in the Git Repo URL field: "https://github.com/kdubois/punkapi-server.git", scroll down and set "Target port" to `3333`. Wait for the build to complete (this may take a few minutes) and the app to be deployed. Now click on the deployed app circle in the Topology view and copy the URL from the "Routes" section which should be visible on the right side of your screen. Then paste this URL in the application.properties below:
147+
120148
Add the following properties to your `application.properties` in `src/main/resources`:
121149

122150
[.console-input]

0 commit comments

Comments
 (0)