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 @@ -10,6 +10,8 @@ SHOW_WORKFLOW_INFORMATION_LINK=true
10
10
WORKFLOW_INFORMATION_LINK_URL = " https://workfloworchestrator.org/"
11
11
ENABLE_SUPPORT_MENU_ITEM = true
12
12
SUPPORT_MENU_ITEM_URL = " https://workfloworchestrator.org/orchestrator-core/reference-docs/tldr/"
13
+ ENABLE_AO_STACK_STATUS = true
14
+ AO_STACK_STATUS_URL = https://status.orchestration.surf/status/prd
13
15
14
16
# Disable cache - usefull when in development
15
17
NEXT_PUBLIC_DISABLE_CACHE = false
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
19
19
OAUTH2_ACTIVE ,
20
20
ENABLE_SUPPORT_MENU_ITEM ,
21
21
SUPPORT_MENU_ITEM_URL ,
22
+ ENABLE_AO_STACK_STATUS ,
23
+ AO_STACK_STATUS_URL ,
22
24
} = getEnvironmentVariables ( [
23
25
'USE_THEME_TOGGLE' ,
24
26
'ENVIRONMENT_NAME' ,
@@ -33,6 +35,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
33
35
'OAUTH2_ACTIVE' ,
34
36
'ENABLE_SUPPORT_MENU_ITEM' ,
35
37
'SUPPORT_MENU_ITEM_URL' ,
38
+ 'ENABLE_AO_STACK_STATUS' ,
39
+ 'AO_STACK_STATUS_URL' ,
36
40
] ) ;
37
41
38
42
const graphqlEndpointCore = `${ ORCHESTRATOR_GRAPHQL_HOST } ${ ORCHESTRATOR_GRAPHQL_PATH } ` ;
@@ -52,5 +56,7 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
52
56
enableSupportMenuItem :
53
57
ENABLE_SUPPORT_MENU_ITEM ?. toLowerCase ( ) === 'true' ,
54
58
supportMenuItemUrl : SUPPORT_MENU_ITEM_URL ,
59
+ enableAoStackStatus : ENABLE_AO_STACK_STATUS ?. toLowerCase ( ) === 'true' ,
60
+ aoStackStatusUrl : AO_STACK_STATUS_URL ,
55
61
} ;
56
62
} ;
You can’t perform that action at this time.
0 commit comments