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

Commit 8f41b1a

Browse files
Update group migration scripts to work with enrichment
1 parent 892c08b commit 8f41b1a

File tree

6 files changed

+226
-133
lines changed

6 files changed

+226
-133
lines changed

config/custom-environment-variables.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@
1616
"MEMBERS_API_URL": "MEMBERS_API_URL",
1717
"ES": {
1818
"HOST": "ES_HOST",
19-
"API_VERSION": "ES_API_VERSION",
19+
"ELASTICCLOUD": {
20+
"id": "ELASTICCLOUD_ID",
21+
"username": "ELASTICCLOUD_USERNAME",
22+
"password": "ELASTICCLOUD_PASSWORD"
23+
},
2024
"USER_INDEX": "ES_USER_INDEX",
2125
"USER_TYPE": "ES_USER_TYPE",
22-
"USER_GROUP_PROPERTY_NAME": "ES_USER_GROUP_PROPERTY_NAME"
26+
"USER_GROUP_PROPERTY_NAME": "ES_USER_GROUP_PROPERTY_NAME",
27+
"USER_PIPELINE_ID": "USER_PIPELINE_ID"
2328
}
24-
}
29+
}

config/default.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@
1616
"UBAHN_USERS_API_URL": "https://api.topcoder-dev.com/v5/users",
1717
"ES": {
1818
"HOST": "http://localhost:9200",
19-
"API_VERSION": "7.4",
19+
"ELASTICCLOUD": {
20+
"id": "",
21+
"username": "",
22+
"password": ""
23+
},
2024
"USER_INDEX": "user",
2125
"USER_TYPE": "_doc",
22-
"USER_GROUP_PROPERTY_NAME": "groups"
26+
"USER_GROUP_PROPERTY_NAME": "groups",
27+
"USER_PIPELINE_ID": "user-pipeline"
2328
}
2429
}

0 commit comments

Comments
 (0)