diff --git a/osl/smart/01-setup.html b/osl/smart/01-setup.html index 2347f28..87eb382 100644 --- a/osl/smart/01-setup.html +++ b/osl/smart/01-setup.html @@ -226,8 +226,44 @@

Setup

-

This tutorial suggests the first option to minimize the workstation preparation work. -The rest of this chapter provides instructions for setting up the full local development workstation, and you can skip it.

+

This tutorial suggests the first option to minimize the workstation preparation work.

+
+ + +
+

Deploy the supplier microservice

+
+
+

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.

+
+
+

Deployment instructions:

+
+
+
    +
  1. +

    Login in OpenShift from command line.

    +
  2. +
  3. +

    Create the swf-shared project:

    +
    +
    +
    oc new-project swf-shared
    +
    +
    +
  4. +
  5. +

    Clone this repository.

    +
  6. +
  7. +

    Build and deploy the application:

    +
    +
    +
    ./mvnw install -Pnative -Dquarkus.kubernetes.deploy=true
    +
    +
    +
  8. +
@@ -474,7 +510,7 @@

-

Pull the serverless data index image:

+

Pull the image:

@@ -561,19 +597,31 @@

Prerequisite to

Visual Studio Code Extensions

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

Launch Visual Studio Code to install the following extensions:

  • -

    Language Support for Java™ by Red Hat

    +

    KIE Serverless Workflow Editor

  • -

    Kogito Serverless Workflow Editor

    +

    Language Support for Java™ by Red Hat

  • -

    REST Client (from Huachao Mao)

    +

    REST Client (from Huachao Mao) - this optional but quite useful.

@@ -595,10 +643,10 @@

Visua
  • -

    ext install vscjava.vscode-java-pack

    +

    ext install kie-group.swf-vscode-extension

  • -

    ext install redhat.vscode-extension-serverless-workflow-editor

    +

    ext install vscjava.vscode-java-pack

  • ext install humao.rest-client

    @@ -611,33 +659,19 @@

    Visua

-

Clone and build the startup project

+

Quarkus project

-

Get your local copy of the start-up project:

-
- -
-

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

+

If you are interested in running the workflow within a Quarkus project: please, select another edition of this tutorial for detailed guidance.

-
-
-
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. +At the bottom of the navigation bar, there is a drawer to select the tutorial edition.
diff --git a/sitemap.xml b/sitemap.xml index ce28d5d..ebbbd75 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-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/02-startup-project.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/03-inventory.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/04-longrunning.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/05-compensation.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/06-finalthoughts.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/smart/index.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/01-setup.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/02-startup-project.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/03-inventory.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/04-longrunning.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/05-compensation.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/06-finalthoughts.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z https://redhat-scholars.github.io/serverless-workflow/osl/osl/index.html -2024-11-12T14:57:41.911Z +2024-11-12T15:45:36.785Z