fantonangeli opened a new pull request, #2167:
URL: https://github.com/apache/incubator-kie-tools/pull/2167

   **Jira:** https://issues.redhat.com/browse/KOGITO-10042
   
   **Description:**
   The kogito-quarkus-serverless-workflow-devui-parent module should be 
migrated to apache/incubator-kie-tools while being renamed to 
sonataflow-serverless-workflow-devui. Its children modules can have the parent 
module name removed from its prefix, resulting in the deployment and runtime 
modules.
   
   **Important:**
   - It seems not possible to remove the prefix from the sub-modules as the 
deployment module cannot find the runtime module during the quarkus execution, 
because quarkus composes the name in the way "{runtime}-deployment".
   - The `kogito-quarkus-serverless-workflow-devui-parent` module required mvn 
3.9.6 and java 17 and I could not force the 
`sonataflow-serverless-workflow-devui-parent` module to the kie-tools 
requirements
   
   **How to test:**
   - `pnpm -F @kie-tools/sonataflow-serverless-workflow-devui... build:dev`  
   - Install `sonataflow-serverless-workflow-devui` by running `mvn clean 
install` with mvn 3.9.6 and java 17.
   - Open a kogito-example eg. 
https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-greeting-quarkus
   - in `pom.xml` replace "kogito-quarkus-serverless-workflow-devui" dependency 
with:
   ```
       <dependency>
         <groupId>org.kie.kogito</groupId>
         <artifactId>sonataflow-serverless-workflow-devui</artifactId>
         <version>999-SNAPSHOT</version>
       </dependency>
       <dependency>
           <groupId>org.kie.kogito</groupId>
           <artifactId>kogito-addons-quarkus-data-index-postgresql</artifactId>
       </dependency>
   ```
   - in `/src/main/resources/application.properties` add
   ```
   quarkus.kogito.devservices.enabled=false
   quarkus.kogito.data-index.graphql.ui.always-include=true
   ```
   - revert `/src/main/resources/application.properties` modifications to test 
the v1 of devui
   
   **Preview:**
   
[KOGITO-10042-devui.webm](https://github.com/apache/incubator-kie-tools/assets/17780574/2e6a2139-b9f9-445b-9b12-b3bd60e5328e)
   
[KOGITO-10042-devui-v1.webm](https://github.com/apache/incubator-kie-tools/assets/17780574/aa2e77b8-3fd9-4561-ab4d-0f72b8ef21c1)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to