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

@@ -34,8 +34,8 @@ export type Features = {
autoscaleDefault: boolean;
partitionKeyDefault: boolean;
partitionKeyDefault2: boolean;
phoenixNotebooks: boolean;
phoenixFeatures: boolean;
phoenixNotebooks?: boolean;
phoenixFeatures?: boolean;
notebooksDownBanner: boolean;
freetierAutoscaleThroughput: boolean;
};
@@ -88,8 +88,6 @@ export function extractFeatures(given = new URLSearchParams(window.location.sear
autoscaleDefault: "true" === get("autoscaledefault"),
partitionKeyDefault: "true" === get("partitionkeytest"),
partitionKeyDefault2: "true" === get("pkpartitionkeytest"),
phoenixNotebooks: "true" === get("phoenixnotebooks"),
phoenixFeatures: "true" === get("phoenixfeatures"),
notebooksDownBanner: "true" === get("notebooksDownBanner"),
enableThroughputCap: "true" === get("enablethroughputcap"),
freetierAutoscaleThroughput: "true" === get("freetierautoscalethroughput"),