@@ -19,17 +19,11 @@ module.exports = {
19
19
GITHUB_CLIENT_SECRET : process . env . GITHUB_CLIENT_SECRET ,
20
20
GITLAB_CLIENT_ID : process . env . GITLAB_CLIENT_ID ,
21
21
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 ,
26
22
27
23
// used as base to construct various URLs
28
24
WEBSITE : process . env . WEBSITE || 'http://topcoderx.topcoder-dev.com' ,
29
25
WEBSITE_SECURE : process . env . WEBSITE_SECURE || 'https://topcoderx.topcoder-dev.com' ,
30
26
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' ,
33
27
34
28
// kafka configuration
35
29
TOPIC : process . env . TOPIC || 'tc-x-events' ,
@@ -90,12 +84,9 @@ const frontendConfigs = {
90
84
"DIRECT_URL_BASE" : "https://www.topcoder-dev/direct/projectOverview?formData.projectId=" ,
91
85
"OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
92
86
"OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
93
- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
94
87
"TOPCODER_URL" : "https://topcoder-dev.com" ,
95
88
"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/"
99
90
} ,
100
91
"heroku" :{
101
92
"JWT_V3_NAME" :"v3jwt" ,
@@ -109,11 +100,9 @@ const frontendConfigs = {
109
100
"DIRECT_URL_BASE" : "https://www.topcoder-dev.com/direct/projectOverview?formData.projectId=" ,
110
101
"OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
111
102
"OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
112
- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
113
103
"TOPCODER_URL" : "https://topcoder-dev.com" ,
114
104
"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/"
117
106
} ,
118
107
"dev" :{
119
108
"JWT_V3_NAME" :"v3jwt" ,
@@ -127,11 +116,9 @@ const frontendConfigs = {
127
116
"DIRECT_URL_BASE" : "https://www.topcoder-dev.com/direct/projectOverview?formData.projectId=" ,
128
117
"OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
129
118
"OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
130
- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
131
119
"TOPCODER_URL" : "https://topcoder-dev.com" ,
132
120
"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/"
135
122
} ,
136
123
"qa" :{
137
124
"JWT_V3_NAME" :"v3jwt" ,
@@ -145,11 +132,9 @@ const frontendConfigs = {
145
132
"DIRECT_URL_BASE" : "https://www.topcoder-dev.com/direct/projectOverview?formData.projectId=" ,
146
133
"OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
147
134
"OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
148
- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
149
135
"TOPCODER_URL" : "https://topcoder-dev.com" ,
150
136
"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/"
153
138
} ,
154
139
"prod" :{
155
140
"JWT_V3_NAME" :"v3jwt" ,
@@ -163,11 +148,9 @@ const frontendConfigs = {
163
148
"DIRECT_URL_BASE" : "https://www.topcoder.com/direct/projectOverview?formData.projectId=" ,
164
149
"OWNER_LOGIN_GITHUB_URL" :"/api/v1/github/owneruser/login" ,
165
150
"OWNER_LOGIN_GITLAB_URL" :"/api/v1/gitlab/owneruser/login" ,
166
- "OWNER_LOGIN_AZURE_URL" :"/api/v1/azure/owneruser/login" ,
167
151
"TOPCODER_URL" : "https://topcoder-dev.com" ,
168
152
"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/"
171
154
}
172
155
} ;
173
156
@@ -187,9 +170,7 @@ module.exports.frontendConfigs = {
187
170
DIRECT_URL_BASE : process . env . DIRECT_URL_BASE || frontendConfigs [ activeEnv ] . DIRECT_URL_BASE ,
188
171
OWNER_LOGIN_GITHUB_URL : process . env . OWNER_LOGIN_GITHUB_URL || frontendConfigs [ activeEnv ] . OWNER_LOGIN_GITHUB_URL ,
189
172
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 ,
191
173
TOPCODER_URL : process . env . TOPCODER_URL || frontendConfigs [ activeEnv ] . TOPCODER_URL ,
192
174
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
195
176
} ;
0 commit comments