You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "fantonangeli (via GitHub)" <gi...@apache.org> on 2025/02/05 15:41:53 UTC
[PR] kie-tools-issues#2889: [Serverless Logic Web Tools] Data-index not responding in normal deployments [incubator-kie-tools]
fantonangeli opened a new pull request, #2896:
URL: https://github.com/apache/incubator-kie-tools/pull/2896
Closes https://github.com/apache/incubator-kie-tools/issues/2889
Thanks to @wmedvede for discovering the cause.
**Description:**
Deploying a WF (not devmode) the deployment app is open but no WF are listed.
**Steps to reproduce:**
run Serverless Logic Web Tools
deploy the greeting WF (normal deployment, not devmode) on OpenShift
go to the deployment page, you can see the deployment app, but there are no workflow definitions.
In fact /graphql answer 404, but /q/openapi.json works well.
In the 0.32.0 version, the deployment was working because it fetched the WF definitions from the OpenAPI. There was no "WF Instance" page, so the deployment app did not use the data index.
Then last year we switched the deployment app to use the data-index to fetch WF definitions, but we probably didn't update the serverless-logic-web-tools-swf-builder image
**How to test:**
- `pnpm -F serverless-logic-web-tools... build:dev`
- `cd packages/serverless-logic-web-tools`
- Start SLWT setting my images, which are built from this branch, for the deployments and run this in one line:
`SERVERLESS_LOGIC_WEB_TOOLS__baseBuilderImageAccount="fabrizio_antonangeli" SERVERLESS_LOGIC_WEB_TOOLS__baseBuilderImageRegistry="quay.io" SERVERLESS_LOGIC_WEB_TOOLS__baseBuilderImageTag="kie-tools-issues-2889" SERVERLESS_LOGIC_WEB_TOOLS__swfBuilderImageAccount="fabrizio_antonangeli" SERVERLESS_LOGIC_WEB_TOOLS__swfBuilderImageRegistry="quay.io" SERVERLESS_LOGIC_WEB_TOOLS__swfBuilderImageTag="kie-tools-issues-2889" SERVERLESS_LOGIC_WEB_TOOLS__swfDevModeImageAccount="fabrizio_antonangeli" SERVERLESS_LOGIC_WEB_TOOLS__swfDevModeImageRegistry="quay.io" SERVERLESS_LOGIC_WEB_TOOLS__swfDevModeImageTag="kie-tools-issues-2889" pnpm start
`
- in a different terminal
`cd packages/cors-proxy; pnpm start`
- open https://localhost:9020
- deploy a SWF on OpenShift as a normal deployment
- open the deployment and test the WF
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-tools-issues#2889: [Serverless Logic Web Tools] Data-index not responding in normal deployments [incubator-kie-tools]
Posted by "fantonangeli (via GitHub)" <gi...@apache.org>.
fantonangeli commented on PR #2896:
URL: https://github.com/apache/incubator-kie-tools/pull/2896#issuecomment-2639174294
Thank you @wmedvede, I will send a PR:
https://github.com/apache/incubator-kie-tools/issues/2897
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-tools-issues#2889: [Serverless Logic Web Tools] Data-index not responding in normal deployments [incubator-kie-tools]
Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento merged PR #2896:
URL: https://github.com/apache/incubator-kie-tools/pull/2896
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-tools-issues#2889: [Serverless Logic Web Tools] Data-index not responding in normal deployments [incubator-kie-tools]
Posted by "wmedvede (via GitHub)" <gi...@apache.org>.
wmedvede commented on PR #2896:
URL: https://github.com/apache/incubator-kie-tools/pull/2896#issuecomment-2639081098
Hi @fantonangeli , it looks like I came late to the review of this one, but let me add a couple of comments.
Regarding the adding of **addons-quarkus-jobs-service-embedded:${KOGITO_VERSION},org.kie:kogito-addons-quarkus-data-index-inmemory:${KOGITO_VERSION}**, keep in mind that these two are ephemeral. I'd, if the Pod that locates the application is restarted for whatever reason, the information presented for example by the DI will vanish.
This is not necessarily bad, just depends on the scope of the information that is stored by the application. IDK to be honest what is exactly the case for this particular app.
Then, with these two extensions added, this one is not needed: **addons-quarkus-jobs-knative-eventing:${KOGITO_VERSION}**
Great work on fixing this app, many thanks!
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org