Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ SHOW_WORKFLOW_INFORMATION_LINK=true
WORKFLOW_INFORMATION_LINK_URL="https://workfloworchestrator.org/"
ENABLE_SUPPORT_MENU_ITEM=true
SUPPORT_MENU_ITEM_URL="https://workfloworchestrator.org/orchestrator-core/reference-docs/tldr/"
ENABLE_AO_STACK_STATUS=true
AO_STACK_STATUS_URL=https://status.orchestration.surf/status/prd

# Disable cache - usefull when in development
NEXT_PUBLIC_DISABLE_CACHE=false
Expand Down
6 changes: 6 additions & 0 deletions configuration/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
OAUTH2_ACTIVE,
ENABLE_SUPPORT_MENU_ITEM,
SUPPORT_MENU_ITEM_URL,
ENABLE_AO_STACK_STATUS,
AO_STACK_STATUS_URL,
} = getEnvironmentVariables([
'USE_THEME_TOGGLE',
'ENVIRONMENT_NAME',
Expand All @@ -33,6 +35,8 @@
'OAUTH2_ACTIVE',
'ENABLE_SUPPORT_MENU_ITEM',
'SUPPORT_MENU_ITEM_URL',
'ENABLE_AO_STACK_STATUS',
'AO_STACK_STATUS_URL',
]);

const graphqlEndpointCore = `${ORCHESTRATOR_GRAPHQL_HOST}${ORCHESTRATOR_GRAPHQL_PATH}`;
Expand All @@ -52,5 +56,7 @@
enableSupportMenuItem:
ENABLE_SUPPORT_MENU_ITEM?.toLowerCase() === 'true',
supportMenuItemUrl: SUPPORT_MENU_ITEM_URL,
enableAoStackStatus: ENABLE_AO_STACK_STATUS?.toLowerCase() === 'true',

Check failure on line 59 in configuration/configuration.ts

View workflow job for this annotation

GitHub Actions / tsc-and-linting

Object literal may only specify known properties, and 'enableAoStackStatus' does not exist in type 'OrchestratorConfig'.
aoStackStatusUrl: AO_STACK_STATUS_URL,
};
};
Loading