File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
compass-preferences-model/src Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ export type AtlasServiceConfig = {
131131 * - atlas-local: local mms backend (localhost)
132132 * - atlas-dev: dev mms backend (cloud-dev.mongodb.com)
133133 * - atlas-qa: qa mms backend (cloud-qa.mongodb.com)
134+ * - atlas-staging: staging mms backend (cloud-stage.mongodb.com)
134135 * - atlas: mms backend (cloud.mongodb.com)
135136 * - web-sandbox-atlas-local: local mms backend + proxy (localhost / proxy prefix)
136137 * - web-sandbox-atlas-dev: dev mms backend + proxy (cloud-dev.mongodb.com / proxy prefix)
@@ -174,6 +175,18 @@ const config = {
174175 assistantApiBaseUrl : 'https://knowledge-dev.mongodb.com/api/v1' ,
175176 userDataBaseUrl : 'https://cloud-qa.mongodb.com/ui/userData' ,
176177 } ,
178+ 'atlas-staging' : {
179+ ccsBaseUrl : '' ,
180+ cloudBaseUrl : '' ,
181+ atlasApiBaseUrl : 'https://cloud-stage.mongodb.com/api/private' ,
182+ atlasLogin : {
183+ clientId : '0oaq1le5jlzxCuTbu357' ,
184+ issuer : 'https://auth-qa.mongodb.com/oauth2/default' ,
185+ } ,
186+ authPortalUrl : 'https://account-stage.mongodb.com/account/login' ,
187+ assistantApiBaseUrl : 'https://knowledge-staging.mongodb.com/api/v1' ,
188+ userDataBaseUrl : 'https://cloud-stage.mongodb.com/ui/userData' ,
189+ } ,
177190 atlas : {
178191 ccsBaseUrl : '' ,
179192 cloudBaseUrl : '' ,
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export type UserConfigurablePreferences = PermanentFeatureFlags &
7979 | 'atlas-local'
8080 | 'atlas-dev'
8181 | 'atlas-qa'
82+ | 'atlas-staging'
8283 | 'atlas'
8384 | 'web-sandbox-atlas-local'
8485 | 'web-sandbox-atlas-dev'
@@ -839,10 +840,11 @@ export const storedUserPreferencesProps: Required<{
839840
840841 /**
841842 * Chooses atlas service backend configuration from preset
842- * - atlas-local: local mms backend (http://localhost:8080)
843- * - atlas-dev: dev mms backend (cloud-dev.mongodb.com)
844- * - atlas-qa: qa mms backend (cloud-qa.mongodb.com)
845- * - atlas: mms backend (cloud.mongodb.com)
843+ * - atlas-local: local mms backend (http://localhost:8080)
844+ * - atlas-dev: dev mms backend (cloud-dev.mongodb.com)
845+ * - atlas-qa: qa mms backend (cloud-qa.mongodb.com)
846+ * - atlas-staging: staging mms backend (cloud-stage.mongodb.com)
847+ * - atlas: mms backend (cloud.mongodb.com)
846848 */
847849 atlasServiceBackendPreset : {
848850 ui : true ,
@@ -856,6 +858,7 @@ export const storedUserPreferencesProps: Required<{
856858 'atlas-local' ,
857859 'atlas-dev' ,
858860 'atlas-qa' ,
861+ 'atlas-staging' ,
859862 'atlas' ,
860863 'web-sandbox-atlas-local' ,
861864 'web-sandbox-atlas-dev' ,
You can’t perform that action at this time.
0 commit comments