Enable phoenix for MPAC by default, and for PROD will enable phoenix only based on flight (#1232)

* Enable phoenix to MPAC by default and for prod based on flight

* phoenix flag setting based of configContext
This commit is contained in:
Karthik chakravarthy
2022-03-01 13:38:30 -05:00
committed by GitHub
parent 605117c62d
commit 5c8016ecd6
9 changed files with 6437 additions and 7 deletions

View File

@@ -40,6 +40,7 @@ export interface ConfigContext {
GITHUB_TEST_ENV_CLIENT_ID: string;
GITHUB_CLIENT_SECRET?: string; // No need to inject secret for prod. Juno already knows it.
isTerminalEnabled: boolean;
isPhoenixEnabled: boolean;
hostedExplorerURL: string;
armAPIVersion?: string;
msalRedirectURI?: string;
@@ -71,6 +72,7 @@ let configContext: Readonly<ConfigContext> = {
JUNO_ENDPOINT: "https://tools.cosmos.azure.com",
BACKEND_ENDPOINT: "https://main.documentdb.ext.azure.com",
isTerminalEnabled: false,
isPhoenixEnabled: false,
};
export function resetConfigContext(): void {