Skip to content

Commit e3b8eed

Browse files
30092642 - Upgrade to V5 - Part 1
1 parent 5b880c0 commit e3b8eed

File tree

207 files changed

+8500
-8258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+8500
-8258
lines changed

config/custom-environment-variables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"host": "PROJECTS_ES_URL",
1111
"apiVersion": "2.3",
1212
"indexName": "PROJECTS_ES_INDEX_NAME",
13-
"docType": "projectV4",
13+
"docType": "projectV5",
1414
"timelineIndexName": "TIMELINES_ES_INDEX_NAME",
1515
"timelineDocType": "TIMELINES_ES_DOC_TYPE"
1616
},

config/default.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"apiVersion": "v4",
2+
"apiVersion": "v5",
33
"AUTH_SECRET": "secret",
44
"logLevel": "info",
5-
"version": "v4",
5+
"version": "v5",
66
"captureLogs": "false",
77
"enableFileUpload": "true",
88
"logentriesToken": "",
@@ -19,11 +19,13 @@
1919
"projectAttachmentPathSuffix": "attachments",
2020
"elasticsearchConfig": {
2121
"host": "",
22-
"apiVersion": "2.3",
22+
"apiVersion": "7.0",
2323
"indexName": "projects",
24-
"docType": "projectV4",
24+
"docType": "projectV5",
2525
"timelineIndexName": "timelines",
26-
"timelineDocType": "timelineV4"
26+
"timelineDocType": "timelineV5",
27+
"metadataIndexName": "metadata",
28+
"metadataDocType": "metadataV5"
2729
},
2830
"connectProjectUrl":"",
2931
"dbConfig": {
@@ -44,13 +46,13 @@
4446
"busApiToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoicHJvamVjdC1zZXJ2aWNlIiwiaWF0IjoxNTEyNzQ3MDgyLCJleHAiOjE1MjEzODcwODJ9.PHuNcFDaotGAL8RhQXQMdpL8yOKXxjB5DbBIodmt7RE",
4547
"HEALTH_CHECK_URL": "_health",
4648
"maxPhaseProductCount": 1,
47-
"AUTH0_CLIENT_ID": "",
48-
"AUTH0_CLIENT_SECRET": "",
49-
"AUTH0_AUDIENCE": "",
50-
"AUTH0_URL": "",
51-
"TOKEN_CACHE_TIME": "",
49+
"AUTH0_CLIENT_ID": "maE2maBSv9fRVHjSlC31LFZSq6VhhZqC",
50+
"AUTH0_CLIENT_SECRET": "v3dcgVp4-_Lgk-8UhyekOA7CyyBvFBl1xipl97QqeGy3WyTk3poyvpsDC0sRAKoo",
51+
"AUTH0_AUDIENCE": "https://m2m.topcoder-dev.com/",
52+
"AUTH0_URL": "https://topcoder-dev.auth0.com/oauth/token",
53+
"TOKEN_CACHE_TIME": "86000",
5254
"whitelistedOriginsForUserIdAuth": "[\"https:\/\/topcoder-newauth.auth0.com\/\",\"https:\/\/api.topcoder-dev.com\"]",
53-
"AUTH0_PROXY_SERVER_URL" : "",
55+
"AUTH0_PROXY_SERVER_URL" : "https://topcoder-dev.auth0.com/oauth/token",
5456
"EMAIL_INVITE_FROM_NAME":"Topcoder",
5557
"EMAIL_INVITE_FROM_EMAIL":"noreply@connect.topcoder.com",
5658
"inviteEmailSubject": "You are invited to Topcoder",

config/m2m.local.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ if (process.env.NODE_ENV === 'test') {
2525
elasticsearchConfig: {
2626
host: 'dockerhost:9200',
2727
// target elasticsearch 2.3 version
28-
apiVersion: '2.3',
28+
apiVersion: '7.0',
2929
indexName: 'projects',
30-
docType: 'projectV4'
30+
docType: 'projectV5'
3131
},
3232
whitelistedOriginsForUserIdAuth: "[\"\"]",
3333
};

config/mock.local.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ if (process.env.NODE_ENV === 'test') {
2525
elasticsearchConfig: {
2626
host: 'dockerhost:9200',
2727
// target elasticsearch 2.3 version
28-
apiVersion: '2.3',
28+
apiVersion: '7.0',
2929
indexName: 'projects',
30-
docType: 'projectV4'
30+
docType: 'projectV5'
3131
},
3232
whitelistedOriginsForUserIdAuth: "[\"\"]",
3333
};

config/test.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"logentriesToken": "",
77
"elasticsearchConfig": {
88
"host": "http://localhost:9200",
9-
"apiVersion": "2.3",
9+
"apiVersion": "7.0",
1010
"indexName": "projects_test",
11-
"docType": "projectV4",
11+
"docType": "projectV5",
1212
"timelineIndexName": "timelines_test",
13-
"timelineDocType": "timelineV4"
13+
"timelineDocType": "timelineV5"
1414
},
1515
"rabbitmqUrl": "amqp://localhost:5672",
1616
"connectProjectsUrl": "https://local.topcoder-dev.com/projects/",

0 commit comments

Comments
 (0)