Wire zappier-edge into the live stack and add billing department APIs
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
Fleet now spawns the real zappier and middleware processes. Metered timestamp/receipt/hash calls proxy to middleware when ZAPPIER_UPSTREAM is set. CS credits, sales per-customer pricing, and QuickBooks export are separate repos plugged into zappier-edge admin.
This commit is contained in:
parent
65bfa544b2
commit
a1a5b957fd
44 changed files with 822 additions and 18 deletions
21
packages/verae-fleet/services/sales-pricing.json
Normal file
21
packages/verae-fleet/services/sales-pricing.json
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"id": "sales-pricing",
|
||||
"title": "Sales per-customer pricing",
|
||||
"kind": "http",
|
||||
"package": "zappier-sales-pricing",
|
||||
"role": "sales-pricing",
|
||||
"managed": true,
|
||||
"runtime": "HTTP :3012 quotes → zappier-edge",
|
||||
"health": { "type": "http", "path": "/health", "timeoutMs": 2000 },
|
||||
"ports": { "healthBase": 3012 },
|
||||
"spawn": {
|
||||
"cwd": "../zappier-sales-pricing",
|
||||
"command": "node",
|
||||
"args": ["src/server.js"]
|
||||
},
|
||||
"env": {
|
||||
"PORT": "3012",
|
||||
"ZAPPIER_ADMIN_URL": "http://127.0.0.1:3000"
|
||||
},
|
||||
"nats": { "in": [], "out": [] }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue