You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,8 @@ The following parameters can be set in config files or in env variables:
27
27
- GROUPS_MEMBER_ADD_TOPIC: the add groups member Kafka message topic, default value is 'groups.notification.member.add'
28
28
- GROUPS_MEMBER_DELETE_TOPIC: the delete groups member Kafka message topic, default value is 'groups.notification.member.delete'
29
29
- GROUPS_MEMBERSHIP_TYPE: the groups membership type that should be processed, default value is 'user'
30
-
-ES.HOST: Elasticsearch host, default value is 'localhost:9200'
30
+
-ES_HOST: Elasticsearch host, default value is 'localhost:9200'
31
31
- ES.AWS_REGION: The Amazon region to use when using AWS Elasticsearch service, default value is 'us-east-1'
32
-
- ES.API_VERSION: Elasticsearch API version, default value is '7.4'
33
32
- ES.ACHIEVEMENT_PROVIDER_INDEX: Elasticsearch index name for achievement provider, default value is 'achievement_provider'
34
33
- ES.ACHIEVEMENT_PROVIDER_TYPE: Elasticsearch index type for achievement provider, default value is '_doc'
35
34
- ES.ATTRIBUTE_INDEX: Elasticsearch index name for attribute, default value is 'attribute'
@@ -53,6 +52,18 @@ The following parameters can be set in config files or in env variables:
53
52
- ES.USER_SKILL_PROPERTY_NAME: the user property name of skill, default value is 'skills'
54
53
- ES.ORGANIZATION_SKILLPROVIDER_PROPERTY_NAME: the org property name of org skill providers, default value is 'skillProviders'
55
54
- ES.USER_GROUP_PROPERTY_NAME: the user property name of group, default value is 'groups'
55
+
- ATTRIBUTE_GROUP_PIPELINE_ID: The pipeline id for enrichment with attribute group. Default is `attributegroup-pipeline`
56
+
- SKILL_PROVIDER_PIPELINE_ID: The pipeline id for enrichment with skill provider. Default is `skillprovider-pipeline`
57
+
- USER_PIPELINE_ID: The pipeline id for enrichment of user details. Default is `user-pipeline`
58
+
- ATTRIBUTE_GROUP_ENRICH_POLICYNAME: The enrich policy for attribute group. Default is `attributegroup-policy`
59
+
- SKILL_PROVIDER_ENRICH_POLICYNAME: The enrich policy for skill provider. Default is `skillprovider-policy`
60
+
- ROLE_ENRICH_POLICYNAME: The enrich policy for role. Default is `role-policy`
61
+
- ACHIEVEMENT_PROVIDER_ENRICH_POLICYNAME: The enrich policy for achievement provider. Default is `achievementprovider-policy`
62
+
- SKILL_ENRICH_POLICYNAME: The enrich policy for skill. Default is `skill-policy`
63
+
- ATTRIBUTE_ENRICH_POLICYNAME: The enrich policy for skill. Default is `attribute-policy`
64
+
- ELASTICCLOUD_ID: The elastic cloud id, if your elasticsearch instance is hosted on elastic cloud. DO NOT provide a value for ES_HOST if you are using this
65
+
- ELASTICCLOUD_USERNAME: The elastic cloud username for basic authentication. Provide this only if your elasticsearch instance is hosted on elastic cloud
66
+
- ELASTICCLOUD_PASSWORD: The elastic cloud password for basic authentication. Provide this only if your elasticsearch instance is hosted on elastic cloud
56
67
57
68
There is a `/health` endpoint that checks for the health of the app. This sets up an expressjs server and listens on the environment variable `PORT`. It's not part of the configuration file and needs to be passed as an environment variable
58
69
@@ -103,15 +114,10 @@ Configuration for the tests is at `config/test.js`, only add such new configurat
103
114
```
104
115
105
116
4. Initialize Elasticsearch index
117
+
For this, refer to the [Ubahn API](https://github.com/topcoder-platform/u-bahn-api) repository. In this repository, you need to execute the following script (after following their deployment guide):
0 commit comments