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

Commit 5d4dbe9

Browse files
authored
Merge pull request #2 from topcoder-platform/groupsmigration
New script to copy groups info to u-bahn
2 parents c4c4adc + 3db233a commit 5d4dbe9

File tree

4 files changed

+2560
-103
lines changed

4 files changed

+2560
-103
lines changed

config/default.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,18 @@
77
"AUTH0_CLIENT_ID": "",
88
"AUTH0_CLIENT_SECRET": "",
99
"AUTH0_AUDIENCE": "https://u-bahn.topcoder.com",
10+
"AUTH0_TOPCODER_AUDIENCE": "https://m2m.topcoder-dev.com/",
1011
"TOKEN_CACHE_TIME": 86400000,
1112
"SLEEP_LENGTH": 3000,
1213
"GROUPS_API_URL": "https://api.topcoder-dev.com/v5/groups",
1314
"USERS_API_URL": "https://api.topcoder-dev.com/v3/users",
14-
"MEMBERS_API_URL": "https://api.topcoder-dev.com/v5/members"
15-
}
15+
"MEMBERS_API_URL": "https://api.topcoder-dev.com/v5/members",
16+
"UBAHN_USERS_API_URL": "https://api.topcoder-dev.com/v5/users",
17+
"ES": {
18+
"HOST": "http://localhost:9200",
19+
"API_VERSION": "7.4",
20+
"USER_INDEX": "user",
21+
"USER_TYPE": "_doc",
22+
"USER_GROUP_PROPERTY_NAME": "groups"
23+
}
24+
}

0 commit comments

Comments
 (0)