Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hmcts/ccpay-functions-node
https://github.com/hmcts/ccpay-functions-node
jenkins-cft jenkins-cft-a-c
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hmcts/ccpay-functions-node
- Owner: hmcts
- Created: 2018-11-09T13:36:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T06:11:57.000Z (about 1 month ago)
- Last Synced: 2024-11-13T07:20:22.850Z (about 1 month ago)
- Topics: jenkins-cft, jenkins-cft-a-c
- Language: JavaScript
- Size: 5.08 MB
- Stars: 0
- Watchers: 22
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Payments Functions for Azure**
**Service Callback**
Receives a message from the service bus which is then sent to a callback endpoint by HTTP PATCH
**How to test and develop locally**
Go to functions directory `$ cd functions`
Installation
`yarn install`
Configuration
Set below environment variables with corresponding servicebus you want to connect to.
- SERVICE_CALLBACK_BUS_CONNECTION
- SERVICE_CALLBACK_SUBSCRIPTIONStart
`yarn start`
Run tests
`yarn test`
.
Debugging tests
Create a new run configuration, choosing `Node.js Mocha` from the drop down. The arguements may need changing. See below example.
```
"args": [
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test"
],
```