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

Integrate enrich processor #56

Merged
merged 6 commits into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Merge winning submission from enrich contest
  • Loading branch information
callmekatootie committed Oct 20, 2020
commit 211f395cb98aa283e8e7eed98976ed14438328a4
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- node 12.x
- npm 6.x
- docker
- elasticsearch 6.x
- elasticsearch 7.7

## Configuration

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

For `ES.DOCUMENTS` configuration, you will find multiple other configurations below it. Each has default values that you can override using the environment variables
Expand Down
4 changes: 2 additions & 2 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ module.exports = {

// ElasticSearch
ES: {
HOST: process.env.ES_HOST || 'localhost:9200',
API_VERSION: process.env.ES_API_VERSION || '7.4',
HOST: process.env.ES_HOST || 'http://localhost:9200',
ENRICH_USER_PIPELINE_NAME: process.env.ENRICH_USER_PIPELINE_NAME || 'enrich_user',
// es mapping: _index, _type, _id
DOCUMENTS: {
achievementprovider: {
Expand Down
Loading