Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a4f95dc

Browse files
authored
Merge pull request #57 from afrisalyp/develop
Remove azure.
2 parents b536b0e + 5c013c4 commit a4f95dc

11 files changed

+12
-443
lines changed

config/default.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ module.exports = {
6969
NEW_CHALLENGE_DURATION_IN_DAYS: process.env.NEW_CHALLENGE_DURATION_IN_DAYS || 5,
7070
TC_URL: process.env.TC_URL || 'https://www.topcoder-dev.com',
7171
GITLAB_API_BASE_URL: process.env.GITLAB_API_BASE_URL || 'https://gitlab.com',
72-
AZURE_API_BASE_URL: process.env.AZURE_API_BASE_URL || 'https://app.vssps.visualstudio.com',
73-
AZURE_DEVOPS_API_BASE_URL: process.env.AZURE_DEVOPS_API_BASE_URL || 'https://dev.azure.com',
7472
ISSUE_LABEL_PREFIX: process.env.ISSUE_LABEL_PREFIX || 'tcx_',
7573
PAID_ISSUE_LABEL: process.env.PAID_ISSUE_LABEL || 'tcx_Paid',
7674
FIX_ACCEPTED_ISSUE_LABEL: process.env.FIX_ACCEPTED_ISSUE_LABEL || 'tcx_FixAccepted',
@@ -97,11 +95,6 @@ module.exports = {
9795
AUTH0_CLIENT_SECRET: process.env.AUTH0_CLIENT_SECRET,
9896
AUTH0_PROXY_SERVER_URL: process.env.AUTH0_PROXY_SERVER_URL,
9997

100-
AZURE_ACCESS_TOKEN_DEFAULT_EXPIRATION: 3600 * 24 * 14,
101-
AZURE_REFRESH_TOKEN_BEFORE_EXPIRATION: 300,
102-
AZURE_OWNER_CALLBACK_URL: '/api/v1/azure/owneruser/callback',
103-
AZURE_CLIENT_SECRET: process.env.AZURE_CLIENT_SECRET,
104-
10598
// used as base to construct various URLs
10699
WEBSITE: process.env.WEBSITE || 'http://topcoderx.topcoder-dev.com',
107100
WEBSITE_SECURE: process.env.WEBSITE_SECURE || 'https://topcoderx.topcoder-dev.com',

constants.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
// The user types
1515
const USER_TYPES = {
1616
GITHUB: 'github',
17-
GITLAB: 'gitlab',
18-
AZURE: 'azure'
17+
GITLAB: 'gitlab'
1918
};
2019

2120
// The user roles

models/UserMapping.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ const schema = new Schema({
2525
},
2626
githubUsername: String,
2727
gitlabUsername: String,
28-
azureEmail: String,
2928
githubUserId: Number,
30-
gitlabUserId: Number,
31-
azureUserId: String
29+
gitlabUserId: Number
3230
});
3331

3432
module.exports = schema;

services/AzureService.js

Lines changed: 0 additions & 353 deletions
This file was deleted.

0 commit comments

Comments
 (0)