edigatectl

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command edigatectl is the operator tool of the gateway.

edigatectl tenant add <id> <name> [--interchange-id Q:ID]
edigatectl partner add --tenant T --partner Q:ID --role customer|supplier --name N
edigatectl token issue --tenant T --kind agent|operator|admin|partner --id P [--partner ISA05:ISA06]
edigatectl token revoke --id P
edigatectl call --url URL --token TOKEN <tool> [JSON-arguments]
edigatectl parse <file>
edigatectl send --url URL --token T --from Q:ID --to Q:ID --file F [--message-id ID]
edigatectl fixtures load <fixtures.json> [--partner-tokens-out <file> [--reply-url <url>]]
edigatectl db create|drop <name>
edigatectl txn reopen --url URL --token OPERATOR_TOKEN <key-hex>
edigatectl approvals list|approve|reject --url URL --token OPERATOR_TOKEN [--status S] [id]

tenant, partner, token and fixtures commands work on the database directly (EDIGATE_DB_URL): they are setup done on the gateway machine, not a network API. "token issue" prints the token to stdout once; nothing else ever shows it. "call" is a debugging MCP client. "parse" reads a file with the strict X12 parser and needs no database. "send" posts an interchange to /edi/inbound. "fixtures load" reads the file of the corpus generator (tenant, partners with limits, price list) and is safe to run again. With --partner-tokens-out it also issues a token to each customer partner that has none and adds it to the JSON file partner-emulator reads; with --reply-url (the public address of one gateway process, a slot of the benchmark) the keys of that slot are "<url> <partner id>" and the entries of other slots stay. "db create|drop" makes and removes the database of a slot on the server of EDIGATE_DB_URL. "txn reopen" is an operator action and goes over HTTP to /ops/ of the gateway at URL (for example http://127.0.0.1:18080), so the audit log knows the operator. "approvals" lists the approval requests of the operator's tenant and approves or rejects one; a request that needs two operators stays pending until a second, different operator token approves it.

edigatectl manifests keygen --out FILE
edigatectl manifests pin --config FILE --server S --signing-key FILE [--accept-lint] [--by NAME]
edigatectl manifests list [--server S]

"manifests" pins the descriptions of the tools of an upstream MCP server (see manifests.go): keygen makes the signing key, pin reads the live tool list of the server named in the config, lints it and stores a signed pin per tool, list shows the pins.

edigatectl audit keygen --out FILE
edigatectl audit verify --tenant T [--from N --to M] [--anchor-dir D] [--pubkey K]

"audit" makes the key that signs the anchors of the audit chain and checks the chain of a tenant and its anchors (see audit.go). Exit codes: 0 ok, 1 failed (for call: the server answered with a JSON-RPC error; for parse: something was rejected; for send and txn reopen: the answer was not 200), 2 wrong command line.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL