Skip to content

Commit

Permalink
Merge pull request #62 from appirio-tech/dev
Browse files Browse the repository at this point in the history
Prod release 1.4.0
  • Loading branch information
vikasrohit committed Aug 25, 2020
2 parents 6f76a38 + dfb350b commit 20bab2c
Show file tree
Hide file tree
Showing 29 changed files with 7,838 additions and 332 deletions.
6 changes: 6 additions & 0 deletions consumer/config/custom-environment-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"connect2sf": "QUEUE_CONNECT2SF"
}
},
"kafka": {
"KAFKA_GROUP_ID": "KAFKA_GROUP_ID",
"KAFKA_URL": "KAFKA_URL",
"KAFKA_CLIENT_CERT": "KAFKA_CLIENT_CERT",
"KAFKA_CLIENT_CERT_KEY": "KAFKA_CLIENT_CERT_KEY"
},
"apiVersion": "API_VERSION",
"port": "PORT",
"AUTH0_CLIENT_ID": "AUTH0_CLIENT_ID",
Expand Down
51 changes: 50 additions & 1 deletion consumer/config/default.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
{
"scheduledWorkerSchedule": "*/5 * * * *"
"scheduledWorkerSchedule": "*/5 * * * *",
"KAFKA_CONSUMER_RULESETS": {
"member.action.profile.trait.create": [
{
"handleUserUpdated": {
}

}
],
"member.action.profile.trait.update": [
{
"handleUserUpdated": {
}

}
],
"identity.notification.create": [
{
"handleUserCreated": {
}

}
],
"project.action.create": [
{
"handleProjectCreated": {
"resource": "project"
}
},
{
"handleProjectMemberAdded": {
"resource": "project.member"
}
}
],
"project.action.delete": [
{
"handleProjectMemberRemoved": {
"resource": "project.member"
}
}
],
"project.action.update": [
{
"handleProjectUpdated": {
"resource": "project"
}
}
]
}
}
2 changes: 1 addition & 1 deletion consumer/deploy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"joi": "^9.0.4",
"jsonwebtoken": "^7.1.7",
"lodash": "^4.14.2",
"superagent": "^2.1.0",
"superagent": "^5.1.1",
"superagent-promise": "^1.1.0",
"winston": "^2.2.0"
},
Expand Down
Loading

0 comments on commit 20bab2c

Please sign in to comment.