Initial import of verae-fleet from zapier monorepo
This commit is contained in:
commit
b9abe8a559
46 changed files with 3260 additions and 0 deletions
27
services/middleware-http.json
Normal file
27
services/middleware-http.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"id": "middleware-http",
|
||||
"title": "Verae Zapier HTTP middleware",
|
||||
"kind": "http",
|
||||
"package": "verae-zapier-middleware",
|
||||
"role": "middleware-http",
|
||||
"managed": true,
|
||||
"runtime": "HTTPS :3100 /zapier/v1",
|
||||
"health": { "type": "http", "path": "/health", "timeoutMs": 4000 },
|
||||
"ports": { "healthBase": 3100 },
|
||||
"spawn": {
|
||||
"cwd": "../verae-zapier-middleware",
|
||||
"command": "node",
|
||||
"args": ["src/index.js"]
|
||||
},
|
||||
"env": {
|
||||
"PORT": "3100",
|
||||
"NATS_URL": "nats://127.0.0.1:4222",
|
||||
"NATS_ENABLED": "true",
|
||||
"MOCK_VERAE": "true"
|
||||
},
|
||||
"nats": {
|
||||
"in": ["verae.zapier.jobs.events"],
|
||||
"out": ["verae.zapier.jobs.watch", "verae.zapier.webhooks.deliver"]
|
||||
},
|
||||
"notes": "Wait path subscribes jobs.events. Never expose NATS to Zapier."
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue