forked from rafaeltuelho/business-automation-cicd-showcase
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently it is necessary to manually configure the kie server endpoint in the web application.
A good strategy would be to have a default, but allow to use a parametrized kie server url, user and password. In this scenario, these information could be set via environment variable for example.
Here's an example:
- Parametrized JS Code: https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo/blob/master/support/application-ui/decisionServerClient.js#L25-L32
- Default config for local run: https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo/blob/master/support/application-ui/config/config.js
- Retrieving KS route via CLI: https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo/blob/master/support/openshift/provision.sh#L367-L373
- Updating the configuration in config map on OCP: https://github.com/jbossdemocentral/rhdm7-qlb-loan-demo/blob/master/support/openshift/provision.sh#L379-L386
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels