Clean prepaid SoT, identity mailbox, public access planes, leaf policy, fleet spawn
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
Persist account-balance books; edge caches prepaid from books. Add zappier-identity, verae-nats-accounts, verae-jobs-events, verae-access-staff, zapier-decisions. Edge binds loopback; lan-134 stays off; HTTP services prefer local spawn.
This commit is contained in:
parent
345aeeead9
commit
ddf772454b
153 changed files with 2236 additions and 116 deletions
|
|
@ -7,7 +7,7 @@ Use it to validate messaging and to catch errors, delays, failures, and recoveri
|
|||
```bash
|
||||
cd packages/verae-zapier-simulator
|
||||
npm test
|
||||
npm start # http://127.0.0.1:3847/
|
||||
npm start # http://0.0.0.0:3847/
|
||||
```
|
||||
|
||||
## What it simulates
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* Local Zapier interface simulator + trace console.
|
||||
* Default http://127.0.0.1:3847
|
||||
* Default http://0.0.0.0:3847
|
||||
*/
|
||||
import http from 'node:http';
|
||||
import fs from 'node:fs';
|
||||
|
|
@ -11,6 +11,7 @@ import { ACTIONS, Simulator } from './pipeline.js';
|
|||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const PUBLIC = path.join(__dirname, '..', 'public');
|
||||
const PORT = Number(process.env.SIM_PORT || 3847);
|
||||
const BIND = process.env.SIM_BIND || '0.0.0.0';
|
||||
const world = new Simulator();
|
||||
|
||||
const mime = {
|
||||
|
|
@ -81,6 +82,6 @@ const server = http.createServer(async (req, res) => {
|
|||
}
|
||||
});
|
||||
|
||||
server.listen(PORT, '127.0.0.1', () => {
|
||||
process.stdout.write(`Zapier simulator http://127.0.0.1:${PORT}/\n`);
|
||||
server.listen(PORT, BIND, () => {
|
||||
process.stdout.write(`Zapier simulator http://${BIND}:${PORT}/\n`);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue