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

Commit 211f395

Browse files
Merge winning submission from enrich contest
1 parent 95eb66b commit 211f395

File tree

9 files changed

+236
-233
lines changed

9 files changed

+236
-233
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- node 12.x
66
- npm 6.x
77
- docker
8-
- elasticsearch 6.x
8+
- elasticsearch 7.7
99

1010
## Configuration
1111

@@ -36,7 +36,6 @@ Configuration for the application is at config/default.js and config/production.
3636
- UBAHN_DELETE_TOPIC: Kafka topic for delete message
3737
- UBAHN_AGGREGATE_TOPIC: Kafka topic that is used to combine all create, update and delete message(s)
3838
- ES.HOST: Elasticsearch host
39-
- ES.API_VERSION: Elasticsearch API version
4039
- ES.DOCUMENTS: Elasticsearch index, type and id mapping for resources.
4140

4241
For `ES.DOCUMENTS` configuration, you will find multiple other configurations below it. Each has default values that you can override using the environment variables

config/default.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ module.exports = {
5050

5151
// ElasticSearch
5252
ES: {
53-
HOST: process.env.ES_HOST || 'localhost:9200',
54-
API_VERSION: process.env.ES_API_VERSION || '7.4',
53+
HOST: process.env.ES_HOST || 'http://localhost:9200',
54+
ENRICH_USER_PIPELINE_NAME: process.env.ENRICH_USER_PIPELINE_NAME || 'enrich_user',
5555
// es mapping: _index, _type, _id
5656
DOCUMENTS: {
5757
achievementprovider: {

0 commit comments

Comments
 (0)