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
1010WORKFLOW_INFORMATION_LINK_URL = " https://workfloworchestrator.org/"
1111ENABLE_SUPPORT_MENU_ITEM = true
1212SUPPORT_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
1315
1416# Disable cache - usefull when in development
1517NEXT_PUBLIC_DISABLE_CACHE = false
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
1919 OAUTH2_ACTIVE ,
2020 ENABLE_SUPPORT_MENU_ITEM ,
2121 SUPPORT_MENU_ITEM_URL ,
22+ ENABLE_AO_STACK_STATUS ,
23+ AO_STACK_STATUS_URL ,
2224 } = getEnvironmentVariables ( [
2325 'USE_THEME_TOGGLE' ,
2426 'ENVIRONMENT_NAME' ,
@@ -33,6 +35,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
3335 'OAUTH2_ACTIVE' ,
3436 'ENABLE_SUPPORT_MENU_ITEM' ,
3537 'SUPPORT_MENU_ITEM_URL' ,
38+ 'ENABLE_AO_STACK_STATUS' ,
39+ 'AO_STACK_STATUS_URL' ,
3640 ] ) ;
3741
3842 const graphqlEndpointCore = `${ ORCHESTRATOR_GRAPHQL_HOST } ${ ORCHESTRATOR_GRAPHQL_PATH } ` ;
@@ -52,5 +56,7 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => {
5256 enableSupportMenuItem :
5357 ENABLE_SUPPORT_MENU_ITEM ?. toLowerCase ( ) === 'true' ,
5458 supportMenuItemUrl : SUPPORT_MENU_ITEM_URL ,
59+ enableAoStackStatus : ENABLE_AO_STACK_STATUS ?. toLowerCase ( ) === 'true' ,
60+ aoStackStatusUrl : AO_STACK_STATUS_URL ,
5561 } ;
5662} ;
You can’t perform that action at this time.
0 commit comments