-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kie-tools#2695: [SonataFlow Management Console Image] Use mod_proxy to proxy request to the data-index #2750
base: main
Are you sure you want to change the base?
Conversation
Changed this PR to "DO NOT MERGE": Doing some extra tests I found a bug in the communication between MGMT deployment and DI deployment on OCP using SSL. |
The fix is working on my OCP |
Not blocking this PR, but this seems to fix a very specific problem on a very specific environment... Would it be possible to plan for some E2E tests that validate it? |
...management-console-image/test-resources/tests/features/sonataflow-management-console.feature
Outdated
Show resolved
Hide resolved
...management-console-image/test-resources/tests/features/sonataflow-management-console.feature
Outdated
Show resolved
Hide resolved
…95-SonataFlow-Management-Console-Image-Use-modproxy-to-proxy-request-to-the-data-index
@ricardozanini now I'm trying with |
…95-SonataFlow-Management-Console-Image-Use-modproxy-to-proxy-request-to-the-data-index
…95-SonataFlow-Management-Console-Image-Use-modproxy-to-proxy-request-to-the-data-index
…95-SonataFlow-Management-Console-Image-Use-modproxy-to-proxy-request-to-the-data-index
Closes #2695
Description:
Currently, the SonataFlow Management Console attempts to trigger workflows using internal Endpoint URLs returned by the Data Index (DI). These URLs are not accessible from outside the cluster, leading to errors when users attempt to initiate workflows through the console.
Please configure Apache Httpd in the Image using mod_proxy to expose the Data-Index outside of the cluster, doing the communication on the server-side.
Preview:
kie-tools-issues#2695.webm
How to test:
Run the Docker Image Locally from
packages/sonataflow-management-console-image
This command will start the container and configure it to access your local data-index service from the container.
Replace
<HOST_IP_ADDRESS>
with the IP address of your host machine.In a separate terminal, start Sonataflow Dev App for the Data Index service.
cd ../sonataflow-dev-app pnpm start
There is also a pre-built image of this branch on my Quay profile: