File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ORCHESTRATOR_API_HOST=http://localhost:8080
55ORCHESTRATOR_API_PATH = /api
66ORCHESTRATOR_GRAPHQL_HOST = http://localhost:8080
77ORCHESTRATOR_GRAPHQL_PATH = /api/graphql
8+ ORCHESTRATOR_WEBSOCKET_URL = ws://localhost:8080
89
910AUTH_ACTIVE = true
1011NEXTAUTH_ID = " keycloak"
@@ -19,3 +20,6 @@ NEXTAUTH_URL=http://localhost:3000/api/auth
1920KEYCLOAK_ADMIN = admin
2021KEYCLOAK_ADMIN_PASSWORD = admin
2122KEYCLOAK_PORT = 8085
23+
24+ NEXT_PUBLIC_USE_WEBSOCKET = false
25+ NEXT_PUBLIC_USE_THEME_TOGGLE = false
Original file line number Diff line number Diff line change 88export const DEFAULT_GRAPHQL_CORE_ENDPOINT =
99 'http://localhost:8080/api/graphql' ;
1010export const DEFAULT_ORCHESTRATOR_API_BASE_URL = 'http://localhost:8080/api' ;
11+ export const DEFAULT_ORCHESTRATOR_WEBSOCKET_URL = 'ws://localhost:8080' ;
1112
1213export const ENGINE_STATUS_ENDPOINT = '/settings/status' ;
1314export const PROCESS_STATUS_COUNTS_ENDPOINT = '/processes/status-counts' ;
@@ -41,6 +42,9 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
4142 orchestratorApiBaseUrl + SUBSCRIPTION_ACTIONS_ENDPOINT ,
4243 subscriptionProcessesEndpoint :
4344 orchestratorApiBaseUrl + SUBSCRIPTION_PROCESSES_ENDPOINT ,
45+ orchestratorWebsocketUrl :
46+ process . env . ORCHESTRATOR_WEBSOCKET_URL ||
47+ DEFAULT_ORCHESTRATOR_WEBSOCKET_URL ,
4448 authActive : process . env . AUTH_ACTIVE ?. toLowerCase ( ) != 'false' ,
4549 } ;
4650} ;
You can’t perform that action at this time.
0 commit comments