Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7694

[KSW Guides] KN CLI generates project with different name and extensions than other options

    XMLWordPrintable

Details

    • 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8)

    Description

      Current getting-started docs in main https://kiegroup.github.io/kogito-docs/serverlessworkflow/main/getting-started/create-your-first-workflow-service.html#proc-boostrapping-the-project have a KN CLI command that generates different project than Quarkus CLI or Quarkus Maven Plugin.

      The actual command adds explicitly different project name and list of extensions than the other options.

      KN CLI:

       

      kn workflow create --name my-project --extension quarkus-jsonp,quarkus-smallrye-openapi 

      vs

      quarkus create app \
          -x=kogito-quarkus-serverless-workflow \
          -x=quarkus-container-image-jib \
          -x=quarkus-resteasy-jackson \
          -x=quarkus-smallrye-openapi \
          --no-code \
          org.kie.kogito.examples:serverless-workflow-hello-world:1.0 

      vs

      mvn io.quarkus.platform:quarkus-maven-plugin:2.10.2.Final:create \
          -DprojectGroupId=org.kie.kogito.examples \
          -DprojectArtifactId=serverless-workflow-hello-world \
          -Dextensions="kogito-quarkus-serverless-workflow,quarkus-container-image-jib,quarkus-resteasy-jackson,quarkus-smallrye-openapi" \
          -DnoCode
      cd serverless-workflow-hello-world 

       

      Attachments

        Issue Links

          Activity

            People

              hbelmiro@redhat.com Helber Belmiro
              jstastny@redhat.com Jan Stastny
              Jan Stastny Jan Stastny
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: