@@ -19,17 +19,11 @@ module.exports = {
1919 GITHUB_CLIENT_SECRET : process . env . GITHUB_CLIENT_SECRET ,
2020 GITLAB_CLIENT_ID : process . env . GITLAB_CLIENT_ID ,
2121 GITLAB_CLIENT_SECRET : process . env . GITLAB_CLIENT_SECRET ,
22- AZURE_APP_ID : process . env . AZURE_APP_ID ,
23- AZURE_CLIENT_SECRET : process . env . AZURE_CLIENT_SECRET ,
24- AZURE_USER_APP_ID : process . env . AZURE_APP_ID ,
25- AZURE_USER_CLIENT_SECRET : process . env . AZURE_USER_CLIENT_SECRET ,
2622
2723 // used as base to construct various URLs
2824 WEBSITE : process . env . WEBSITE || 'http://topcoderx.topcoder-dev.com' ,
2925 WEBSITE_SECURE : process . env . WEBSITE_SECURE || 'https://topcoderx.topcoder-dev.com' ,
3026 GITLAB_API_BASE_URL : process . env . GITLAB_API_BASE_URL || 'https://gitlab.com' ,
31- AZURE_API_BASE_URL : process . env . AZURE_API_BASE_URL || 'https://app.vssps.visualstudio.com' ,
32- AZURE_DEVOPS_API_BASE_URL : process . env . AZURE_DEVOPS_API_BASE_URL || 'https://dev.azure.com' ,
3327
3428 // kafka configuration
3529 TOPIC : process . env . TOPIC || 'tc-x-events' ,
@@ -90,12 +84,9 @@ const frontendConfigs = {
9084 "DIRECT_URL_BASE" : "https://www.topcoder-dev/direct/projectOverview?formData.projectId=" ,
9185 "OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
9286 "OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
93- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
9487 "TOPCODER_URL" : "https://topcoder-dev.com" ,
9588 "GITHUB_TEAM_URL" : "https://github.com/orgs/" ,
96- "GITLAB_GROUP_URL" : "https://gitlab.com/groups/" ,
97- "AZURE_TEAM_URL" : "https://dev.azure.com/"
98-
89+ "GITLAB_GROUP_URL" : "https://gitlab.com/groups/"
9990 } ,
10091 "heroku" :{
10192 "JWT_V3_NAME" :"v3jwt" ,
@@ -109,11 +100,9 @@ const frontendConfigs = {
109100 "DIRECT_URL_BASE" : "https://www.topcoder-dev.com/direct/projectOverview?formData.projectId=" ,
110101 "OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
111102 "OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
112- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
113103 "TOPCODER_URL" : "https://topcoder-dev.com" ,
114104 "GITHUB_TEAM_URL" : "https://github.com/orgs/" ,
115- "GITLAB_GROUP_URL" : "https://gitlab.com/groups/" ,
116- "AZURE_TEAM_URL" : "https://dev.azure.com/"
105+ "GITLAB_GROUP_URL" : "https://gitlab.com/groups/"
117106 } ,
118107 "dev" :{
119108 "JWT_V3_NAME" :"v3jwt" ,
@@ -127,11 +116,9 @@ const frontendConfigs = {
127116 "DIRECT_URL_BASE" : "https://www.topcoder-dev.com/direct/projectOverview?formData.projectId=" ,
128117 "OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
129118 "OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
130- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
131119 "TOPCODER_URL" : "https://topcoder-dev.com" ,
132120 "GITHUB_TEAM_URL" : "https://github.com/orgs/" ,
133- "GITLAB_GROUP_URL" : "https://gitlab.com/groups/" ,
134- "AZURE_TEAM_URL" : "https://dev.azure.com/"
121+ "GITLAB_GROUP_URL" : "https://gitlab.com/groups/"
135122 } ,
136123 "qa" :{
137124 "JWT_V3_NAME" :"v3jwt" ,
@@ -145,11 +132,9 @@ const frontendConfigs = {
145132 "DIRECT_URL_BASE" : "https://www.topcoder-dev.com/direct/projectOverview?formData.projectId=" ,
146133 "OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
147134 "OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
148- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
149135 "TOPCODER_URL" : "https://topcoder-dev.com" ,
150136 "GITHUB_TEAM_URL" : "https://github.com/orgs/" ,
151- "GITLAB_GROUP_URL" : "https://gitlab.com/groups/" ,
152- "AZURE_TEAM_URL" : "https://dev.azure.com/"
137+ "GITLAB_GROUP_URL" : "https://gitlab.com/groups/"
153138 } ,
154139 "prod" :{
155140 "JWT_V3_NAME" :"v3jwt" ,
@@ -163,11 +148,9 @@ const frontendConfigs = {
163148 "DIRECT_URL_BASE" : "https://www.topcoder.com/direct/projectOverview?formData.projectId=" ,
164149 "OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
165150 "OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
166- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
167151 "TOPCODER_URL" : "https://topcoder-dev.com" ,
168152 "GITHUB_TEAM_URL" : "https://github.com/orgs/" ,
169- "GITLAB_GROUP_URL" : "https://gitlab.com/groups/" ,
170- "AZURE_TEAM_URL" : "https://dev.azure.com/"
153+ "GITLAB_GROUP_URL" : "https://gitlab.com/groups/"
171154 }
172155} ;
173156
@@ -187,9 +170,7 @@ module.exports.frontendConfigs = {
187170 DIRECT_URL_BASE : process . env . DIRECT_URL_BASE || frontendConfigs [ activeEnv ] . DIRECT_URL_BASE ,
188171 OWNER_LOGIN_GITHUB_URL : process . env . OWNER_LOGIN_GITHUB_URL || frontendConfigs [ activeEnv ] . OWNER_LOGIN_GITHUB_URL ,
189172 OWNER_LOGIN_GITLAB_URL : process . env . OWNER_LOGIN_GITLAB_URL || frontendConfigs [ activeEnv ] . OWNER_LOGIN_GITLAB_URL ,
190- OWNER_LOGIN_AZURE_URL : process . env . OWNER_LOGIN_AZURE_URL || frontendConfigs [ activeEnv ] . OWNER_LOGIN_AZURE_URL ,
191173 TOPCODER_URL : process . env . TOPCODER_URL || frontendConfigs [ activeEnv ] . TOPCODER_URL ,
192174 GITHUB_TEAM_URL : process . env . GITHUB_TEAM_URL || frontendConfigs [ activeEnv ] . GITHUB_TEAM_URL ,
193- GITLAB_GROUP_URL : process . env . GITLAB_GROUP_URL || frontendConfigs [ activeEnv ] . GITLAB_GROUP_URL ,
194- AZURE_TEAM_URL : process . env . AZURE_TEAM_URL || frontendConfigs [ activeEnv ] . AZURE_TEAM_URL
175+ GITLAB_GROUP_URL : process . env . GITLAB_GROUP_URL || frontendConfigs [ activeEnv ] . GITLAB_GROUP_URL
195176} ;
0 commit comments