File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,5 @@ KEYCLOAK_PORT=8085
2424USE_WEBSOCKET = false
2525USE_THEME_TOGGLE = false
2626
27+ SHOW_WORKFLOW_INFORMATION_LINK = false
28+ WORKFLOW_INFORMATION_LINK_URL = http://localhost:8080
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export const PROCESSES_ENDPOINT = '/processes';
1616export const SUBSCRIPTION_ACTIONS_ENDPOINT = '/subscriptions/workflows' ;
1717export const SUBSCRIPTION_PROCESSES_ENDPOINT =
1818 '/processes/process-subscriptions-by-subscription-id' ;
19+ export const DEFAULT_WORKFLOW_INFORMATION_LINK_URL = 'http://localhost:8080' ;
1920
2021export const getInitialOrchestratorConfig = ( ) : OrchestratorConfig => {
2122 const orchestratorGraphqlBaseUrl =
@@ -48,5 +49,11 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
4849 authActive : process . env . AUTH_ACTIVE ?. toLowerCase ( ) != 'false' ,
4950 useWebSockets : process . env . USE_WEB_SOCKETS ?. toLowerCase ( ) === 'true' ,
5051 useThemeToggle : process . env . USE_THEME_TOGGLE ?. toLowerCase ( ) === 'true' ,
52+ workflowInformationLinkUrl :
53+ process . env . WORKFLOW_INFORMATION_LINK_URL ??
54+ DEFAULT_WORKFLOW_INFORMATION_LINK_URL ,
55+ showWorkflowInformationLink :
56+ process . env . SHOW_WORKFLOW_INFORMATION_LINK ?. toLowerCase ( ) ===
57+ 'true' ,
5158 } ;
5259} ;
You can’t perform that action at this time.
0 commit comments