Responsible for authenticating CSL webhook events, parsing the payload and forwarding the request to PubSub topics.
The repository deploys a cloud function to gcp using a nodejs runtime and is configured to receive http post requests from CSL webhook events, these requests are then authenticated via hmac/sha256 and finally the Data is published to GCP Pub/Sub topics.
## Release process:
1.`NEW_RELEASE=v1.2.3 make release`
1.`git push --all --follow-tags`
## Running Dev Environment:
## Running Dev Environment on Linux:
Requirements:
1. Node.js >= 10
2. npm >= 6.14.6
3. GCloud Service Account .json File
4. Make
Fixing the watch failure : `echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`
Configure max watches to prevent node.js crashes : `echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`
Export your google cloud service account with `export GOOGLE_APPLICATION_CREDENTIALS="PATH"`