Initial import of verae-fleet from zapier monorepo
This commit is contained in:
commit
155f2817c8
54 changed files with 3509 additions and 0 deletions
31
services/account-balance.json
Normal file
31
services/account-balance.json
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"id": "account-balance",
|
||||
"title": "Account balance (NATS billing SoT)",
|
||||
"kind": "http",
|
||||
"package": "zappier-account-balance",
|
||||
"role": "account-balance",
|
||||
"managed": true,
|
||||
"runtime": "HTTP :3010 + NATS verae.billing.*",
|
||||
"health": { "type": "http", "path": "/health", "timeoutMs": 2000 },
|
||||
"ports": { "healthBase": 3010 },
|
||||
"spawn": {
|
||||
"cwd": "../zappier-account-balance",
|
||||
"command": "node",
|
||||
"args": ["src/server.js"]
|
||||
},
|
||||
"env": {
|
||||
"PORT": "3010",
|
||||
"NATS_URL": "nats://127.0.0.1:4222"
|
||||
},
|
||||
"nats": {
|
||||
"in": [
|
||||
"verae.billing.statement.get",
|
||||
"verae.billing.balance.get",
|
||||
"verae.billing.balance.adjust",
|
||||
"verae.billing.usage.recorded",
|
||||
"verae.billing.payment.recorded",
|
||||
"verae.billing.credit.applied"
|
||||
],
|
||||
"out": []
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue