
diff --git a/osl/01-setup.html b/osl/01-setup.html index 13715fd..0bf89e1 100644 --- a/osl/01-setup.html +++ b/osl/01-setup.html @@ -82,10 +82,10 @@
Launch Visual Studio Code to install the following extensions:
+Language Support for Java™ by Red Hat
+Kogito Serverless Workflow Editor
+REST Client (from Huachao Mao)
+There are 2 ways:
+Click on the Extensions icon in the Activity Bar on the side of VS Code, search and install.
+Launch VS Code Quick Open (Ctrl+P), paste the following commands, and press enter:
+ext install vscjava.vscode-java-pack
ext install redhat.vscode-extension-serverless-workflow-editor
ext install humao.rest-client
Get your local copy of the start-up project:
+git clone https://github.com/dmarrazzo/order-swf.git
+Enter in the project folder and start Quarkus in dev mode.
+cd order-swf
+mvn quarkus:dev
+
|
-Check the detailed instructions below under the proper tab |
++ + | +
+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.
+ |
kn-workflow
is a handy tool for deploying your project in OpenShift, but it can also be used to run the workflow locally in a container (so you don’t need to configure Java and Quarkus).
Download the latest tar archive suitable for your environment, from the Serverless Logic download mirror page.
+- - | -
-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.
- |
-
Serverless Workflow leverages some capabilities coming from of the Kogito upstream initiative. For such reason, the extensions have the kogito
prefix:
Serverless Workflow leverages some capabilities coming from of the SonataFlow upstream initiative.
+For such reason, the extensions have the sonataflow
prefix:
kogito-quarkus-serverless-workflow
kogito-addons-quarkus-persistence-jdbc
sonataflow-quarkus
kogito-addons-quarkus-process-svg
kogito-quarkus-serverless-workflow-devui
sonataflow-quarkus-devui
Other common Quarkus extensions used are:
+SonataFlow uses some foundational capabilities of other two upstream projects kie
and kogito
, those are the related quarkus extensions:
quarkus-smallrye-openapi
kie-addons-quarkus-knative-eventing
+kie-addons-quarkus-process-management
quarkus-resteasy
kie-addons-quarkus-source-files
quarkus-resteasy-jackson
kogito-addons-quarkus-data-index-inmemory
quarkus-jdbc-postgresql
kogito-addons-quarkus-jobs-service-embedded
It’s worth noticing that, at the moment, serverless workflow extensions are not aligned to the quarkus platform, so they relies a dedicated bom:
+It’s worth noticing that, at the moment, Serverless Workflow extensions are not aligned to the quarkus platform, so they relies a dedicated bom:
<dependency>
- <groupId>org.kie.kogito</groupId>
- <artifactId>kogito-bom</artifactId>
- <version>1.35.0.Final-redhat-00003</version>
- <type>pom</type>
- <scope>import</scope>
-</dependency>
+ <dependency>
+ <groupId>org.kie.kogito</groupId>
+ <artifactId>kogito-bom</artifactId>
+ <version>${kie.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
The version 1.27.0.Final-redhat-00005
comes from the developer preview.
At the time of writing, the latest kie.version
is 9.101.0.redhat-00007
.