From 74ecae82e6727454a907b377fffad9092a06ca4c Mon Sep 17 00:00:00 2001 From: Sachin Maheshwari Date: Thu, 22 Apr 2021 14:20:42 +0530 Subject: [PATCH] missing user syncing --- .circleci/config.yml | 3 ++- config/default.js | 1 + src/app.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fcda5de..457f827 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,6 +70,7 @@ workflows: branches: only: - develop + - feature/shapeup2 # Production builds are exectuted only on tagged commits to the # master branch. @@ -77,4 +78,4 @@ workflows: context : org-global filters: branches: - only: master \ No newline at end of file + only: master diff --git a/config/default.js b/config/default.js index a759e0c..ce47a6e 100644 --- a/config/default.js +++ b/config/default.js @@ -15,6 +15,7 @@ module.exports = { KAFKA_GROUP_ID: process.env.KAFKA_GROUP_ID || 'identity-processor', IDENTITY_NOTIFICATION_CREATE: process.env.IDENTITY_NOTIFICATION_CREATE || 'identity.notification.create', + USER_RECONCILATION_TOPIC: process.env.USER_RECONCILATION_TOPIC || 'legacy.sync.user', AUTH0_URL: process.env.AUTH0_URL, AUTH0_UBAHN_AUDIENCE: process.env.AUTH0_UBAHN_AUDIENCE, diff --git a/src/app.js b/src/app.js index f522a7e..0fe4a1f 100644 --- a/src/app.js +++ b/src/app.js @@ -71,7 +71,7 @@ const check = () => { return connected } -const topics = [config.IDENTITY_NOTIFICATION_CREATE] +const topics = [config.IDENTITY_NOTIFICATION_CREATE, config.USER_RECONCILATION_TOPIC] consumer .init([{