apache / incubator-kie-tools

Tools for KIE
Apache License 2.0
252 stars 185 forks source link

kie-tools#2695: [SonataFlow Management Console Image] Use mod_proxy to proxy request to the data-index #2750

Open fantonangeli opened 4 days ago

fantonangeli commented 4 days ago

Closes https://github.com/apache/incubator-kie-tools/issues/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:

fantonangeli commented 3 days ago

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.

fantonangeli commented 3 days ago

The fix is working on my OCP

tiagobento commented 2 days ago

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?