feat(worker): EOC push-agent for ops summary
- Add EOC_URL + EOC_PUSH_TOKEN config - Add pushOpsSummaryToEoc processor - Schedule PUSH_OPS_SUMMARY_TO_EOC every 2 minutes - Add unit tests
This commit is contained in:
@@ -55,6 +55,11 @@ const configSchema = z.object({
|
||||
/** Strong, rotated ops token for /ops/v1/summary. Set via SSM in production. */
|
||||
OPS_TOKEN: z.string().min(1).default("dev-ops-token-change-me"),
|
||||
|
||||
/** EOC base URL for outbound ops-summary push. Empty = push disabled. */
|
||||
EOC_URL: z.string().url().optional(),
|
||||
/** EOC ingest bearer token for this app. Set via SSM in production. */
|
||||
EOC_PUSH_TOKEN: z.string().min(1).optional(),
|
||||
|
||||
APP_STORE_MODE: z.enum(["production", "sandbox"]).default("sandbox"),
|
||||
EMAIL_MODE: z.enum(["log", "smtp"]).default("log"),
|
||||
SMTP_HOST: z.string().default(""),
|
||||
|
||||
Reference in New Issue
Block a user