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 @@

OpenShift Serv Visual Studio Code Extensions @@ -276,12 +276,107 @@

Prerequisite to

Download

Download

+ + + + +
+

Visual Studio Code Extensions

+
+
+

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:

+
+
+
    +
  1. +

    Click on the Extensions icon in the Activity Bar on the side of VS Code, search and install.

    +
    +
    +extensions view icon +
    +
    +
  2. +
  3. +

    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

      +
    • +
    +
    +
  4. +
+
+
+
+
+

Clone and build the startup project

+
+
+

Get your local copy of the start-up project:

+
+ +
+

Enter in the project folder and start Quarkus in dev mode.

+
+
+
+
cd order-swf
+mvn quarkus:dev
+
+
+
+ - - + + -

podman v4.3.1

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. +
+
+
+
+
+

Optional tools

+
+
+

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.

+
+
+

Podman Installation and configuration

@@ -496,65 +591,11 @@

Prerequisite to - -
-

Visual Studio Code Extensions

-
-
-

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:

-
-
-
    -
  1. -

    Click on the Extensions icon in the Activity Bar on the side of VS Code, search and install.

    -
    -
    -extensions view icon -
    -
    -
  2. -
  3. -

    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

      -
    • -
    -
    -
  4. -
-
-
-
-
-

Pull the serverless data index image

-
+
+

Pull the Serverless Workflow devmode image

-

In order to run and test locally the Serverless Workflow project, you need the data index container image, it will be started behind the scene by Quarkus. -However, since it’s distributed through the Red Hat official registry you have to login before pulling the image.

+

In order to run and test the Serverless Workflow project locally, you need a container image which is lauched behind the scene by kn-workflow. +However, as it’s distributed through the official Red Hat registry, you’ll need to login before pulling the image.

Find here the instruction on how to create / retrieve your credentials: Registry Authentication

@@ -572,7 +613,7 @@

Pull the serverless

-
podman pull --platform linux/amd64 registry.redhat.io/openshift-serverless-1-tech-preview/logic-data-index-ephemeral-rhel8:1.28
+
podman pull --platform linux/amd64 registry.redhat.io/openshift-serverless-1/logic-swf-devmode-rhel8:1.34.0
@@ -589,39 +630,6 @@

Pull the serverless

-
-

Clone and build the startup project

-
-
-

Get your local copy of the start-up project:

-
- -
-

Enter in the project folder and start Quarkus in dev mode.

-
-
-
-
cd order-swf
-mvn quarkus:dev
-
-
-
-

- - - - -
- - -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:

-

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:

-

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.

diff --git a/osl/03-inventory.html b/osl/03-inventory.html index cf55673..3daa0a3 100644 --- a/osl/03-inventory.html +++ b/osl/03-inventory.html @@ -82,10 +82,10 @@

OpenShift Serv Visual Studio Code Extensions diff --git a/osl/04-longrunning.html b/osl/04-longrunning.html index 1e72a49..db50d4a 100644 --- a/osl/04-longrunning.html +++ b/osl/04-longrunning.html @@ -82,10 +82,10 @@

OpenShift Serv Visual Studio Code Extensions diff --git a/osl/05-compensation.html b/osl/05-compensation.html index fe0ad5b..94e0b64 100644 --- a/osl/05-compensation.html +++ b/osl/05-compensation.html @@ -81,10 +81,10 @@

OpenShift Serv Visual Studio Code Extensions diff --git a/osl/06-finalthoughts.html b/osl/06-finalthoughts.html index 0a3b30a..e2d506b 100644 --- a/osl/06-finalthoughts.html +++ b/osl/06-finalthoughts.html @@ -80,10 +80,10 @@

OpenShift Serv Visual Studio Code Extensions diff --git a/osl/index.html b/osl/index.html index 490701d..480575d 100644 --- a/osl/index.html +++ b/osl/index.html @@ -81,10 +81,10 @@

OpenShift Serv Visual Studio Code Extensions @@ -235,10 +235,10 @@

Browse modules

Visual Studio Code Extensions

  • -

    Pull the serverless data index image

    +

    Clone and build the startup project

  • -

    Clone and build the startup project

    +

    Optional tools

  • diff --git a/sitemap.xml b/sitemap.xml index 49fbbb7..d6db805 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,58 +2,58 @@ https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/01-setup.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/02-startup-project.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/03-inventory.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/04-longrunning.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/05-compensation.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/06-finalthoughts.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/index.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/01-setup.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/02-startup-project.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/03-inventory.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/04-longrunning.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/05-compensation.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/06-finalthoughts.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/index.html -2024-11-11T21:42:03.069Z +2024-11-12T12:33:58.490Z