1- import process from " process" ;
1+ import process from ' process' ;
22
33import {
44 Environment ,
55 OrchestratorConfig ,
6- } from " @orchestrator-ui/orchestrator-ui-components" ;
6+ } from ' @orchestrator-ui/orchestrator-ui-components' ;
77
88export const DEFAULT_GRAPHQL_CORE_ENDPOINT =
9- " http://localhost:8080/api/graphql" ;
10- export const DEFAULT_ORCHESTRATOR_API_BASE_URL = " http://localhost:8080/api" ;
11- export const DEFAULT_ORCHESTRATOR_WEBSOCKET_URL = " ws://localhost:8080" ;
9+ ' http://localhost:8080/api/graphql' ;
10+ export const DEFAULT_ORCHESTRATOR_API_BASE_URL = ' http://localhost:8080/api' ;
11+ export const DEFAULT_ORCHESTRATOR_WEBSOCKET_URL = ' ws://localhost:8080' ;
1212
13- export const ENGINE_STATUS_ENDPOINT = " /settings/status" ;
14- export const PROCESS_STATUS_COUNTS_ENDPOINT = " /processes/status-counts" ;
15- export const PROCESSES_ENDPOINT = " /processes" ;
16- export const SUBSCRIPTION_ACTIONS_ENDPOINT = " /subscriptions/workflows" ;
13+ export const ENGINE_STATUS_ENDPOINT = ' /settings/status' ;
14+ export const PROCESS_STATUS_COUNTS_ENDPOINT = ' /processes/status-counts' ;
15+ export const PROCESSES_ENDPOINT = ' /processes' ;
16+ export const SUBSCRIPTION_ACTIONS_ENDPOINT = ' /subscriptions/workflows' ;
1717export const SUBSCRIPTION_PROCESSES_ENDPOINT =
18- " /processes/process-subscriptions-by-subscription-id" ;
19- export const DEFAULT_WORKFLOW_INFORMATION_LINK_URL = " http://localhost:8080" ;
18+ ' /processes/process-subscriptions-by-subscription-id' ;
19+ export const DEFAULT_WORKFLOW_INFORMATION_LINK_URL = ' http://localhost:8080' ;
2020
2121export const getInitialOrchestratorConfig = ( ) : OrchestratorConfig => {
2222 const orchestratorGraphqlBaseUrl =
@@ -38,14 +38,14 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
3838 orchestratorWebsocketUrl :
3939 process . env . ORCHESTRATOR_WEBSOCKET_URL ||
4040 DEFAULT_ORCHESTRATOR_WEBSOCKET_URL ,
41- authActive : process . env . AUTH_ACTIVE ?. toLowerCase ( ) != " false" ,
42- useWebSockets : process . env . USE_WEB_SOCKETS ?. toLowerCase ( ) === " true" ,
43- useThemeToggle : process . env . USE_THEME_TOGGLE ?. toLowerCase ( ) === " true" ,
41+ authActive : process . env . AUTH_ACTIVE ?. toLowerCase ( ) != ' false' ,
42+ useWebSockets : process . env . USE_WEB_SOCKETS ?. toLowerCase ( ) === ' true' ,
43+ useThemeToggle : process . env . USE_THEME_TOGGLE ?. toLowerCase ( ) === ' true' ,
4444 workflowInformationLinkUrl :
4545 process . env . WORKFLOW_INFORMATION_LINK_URL ??
4646 DEFAULT_WORKFLOW_INFORMATION_LINK_URL ,
4747 showWorkflowInformationLink :
4848 process . env . SHOW_WORKFLOW_INFORMATION_LINK ?. toLowerCase ( ) ===
49- " true" ,
49+ ' true' ,
5050 } ;
5151} ;
0 commit comments