Skip to content

Commit 71d2002

Browse files
committed
supplier project
1 parent c16995d commit 71d2002

File tree

1 file changed

+36
-22
lines changed

1 file changed

+36
-22
lines changed

documentation/modules/ROOT/pages/01-setup.adoc

+36-22
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,34 @@ There are several ways to develop on OpenShift Serverless Logic:
88
* *Full-fledged local development workstation*: using _Visual Studio Code_ and _Quarkus_.
99
1010
This tutorial suggests the first option to minimize the workstation preparation work.
11-
The rest of this chapter provides instructions for setting up the _full local development workstation_, and *you can skip it*.
11+
12+
== Deploy the supplier microservice
13+
14+
As you progress through this tutorial, you'll find out how to call an external OpenAPI, and the following Quarkus project will provide a simple API to call from within the workflow.
15+
16+
Deployment instructions:
17+
18+
. *Login* in OpenShift from command line.
19+
20+
. *Create* the `swf-shared` project:
21+
22+
+
23+
[.console-input]
24+
[source,bash,subs="+macros,+attributes"]
25+
----
26+
oc new-project swf-shared
27+
----
28+
29+
. *Clone* https://github.com/dmarrazzo/order-swf-tut-svc[this repository].
30+
31+
. *Build and deploy* the application:
32+
33+
+
34+
[.console-input]
35+
[source,bash,subs="+macros,+attributes"]
36+
----
37+
./mvnw install -Pnative -Dquarkus.kubernetes.deploy=true
38+
----
1239

1340
[#local-runtime]
1441
== Local Runtime
@@ -269,11 +296,13 @@ Here the tools to install:
269296
[#vscode-extensions]
270297
== Visual Studio Code Extensions
271298

299+
WARNING: The remaining part of this tutorial does not need Visual Studio Code. However, if you prefer to use it, here you'll find some directions.
300+
272301
Launch Visual Studio Code to install the following extensions:
273302

303+
* KIE Serverless Workflow Editor
274304
* Language Support for Java(TM) by Red Hat
275-
* Kogito Serverless Workflow Editor
276-
* REST Client (from Huachao Mao)
305+
* REST Client (from Huachao Mao) - this optional but quite useful.
277306

278307
There are 2 ways:
279308

@@ -283,28 +312,13 @@ image::extensions-view-icon.png[]
283312

284313
2. Launch VS Code Quick Open (Ctrl+P), paste the following commands, and press enter:
285314

315+
* `ext install kie-group.swf-vscode-extension`
286316
* `ext install vscjava.vscode-java-pack`
287-
* `ext install redhat.vscode-extension-serverless-workflow-editor`
288317
* `ext install humao.rest-client`
289318

290319
[#project-start]
291-
== Clone and build the startup project
320+
== Quarkus project
292321

293-
Get your local copy of the start-up project:
294-
295-
[.console-input]
296-
[source,bash,subs="+macros,+attributes"]
297-
----
298-
git clone https://github.com/dmarrazzo/order-swf.git
299-
----
300-
301-
Enter in the project folder and start Quarkus in dev mode.
302-
303-
[.console-input]
304-
[source,bash,subs="+macros,+attributes"]
305-
----
306-
cd order-swf
307-
mvn quarkus:dev
308-
----
322+
If you are interested in running the workflow within a Quarkus project: please, select another edition of this tutorial for detailed guidance.
309323

310-
WARNING: The first time you launch `maven` on this project, it is going to take a considerable amount of time because it has to download all the dependencies from the Internet.
324+
TIP: At the bottom of the navigation bar, there is a drawer to select the tutorial edition.

0 commit comments

Comments
 (0)