- Rename Go module switchboard-core → armature (155+ files) - Rename Docker image → gobha/armature - Rename K8s resources, secrets, deployments - Rename Prometheus metrics switchboard_* → armature_* - Rename env vars SWITCHBOARD_ADMIN_* → ARMATURE_ADMIN_* - Rename DB names switchboard_core* → armature* - Update all frontend branding, notification templates, docs - Update CI scripts, e2e tests, Keycloak realm, nginx conf - Rename scripts/switchboard-ca.sh → scripts/armature-ca.sh - Rename k8s/switchboard.yaml → k8s/armature.yaml - Rename chart alerting/dashboard files - Fix: DockerHub push uses env: binding for secret injection - Helm chart updated (name, labels, template functions, dashboard, alerting) - Replace favicon/icon assets with Armature brand No functional changes. Pure mechanical rename + CI fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
80 lines
2.2 KiB
JSON
80 lines
2.2 KiB
JSON
{
|
|
"id": "webhook-notifier",
|
|
"title": "Webhook Notifier",
|
|
"type": "workflow",
|
|
"version": "0.1.0",
|
|
"tier": "starlark",
|
|
"icon": "🔔",
|
|
"author": "Armature",
|
|
"description": "Outbound webhook delivery with connection credential support and delivery logging.",
|
|
"permissions": ["api.http", "connections.read", "db.write"],
|
|
|
|
"db_tables": {
|
|
"webhook_log": {
|
|
"columns": {
|
|
"url": "text",
|
|
"status_code": "text",
|
|
"event": "text",
|
|
"instance_id": "text"
|
|
}
|
|
}
|
|
},
|
|
|
|
"workflow_definition": {
|
|
"name": "Webhook Notifier",
|
|
"slug": "webhook-notifier",
|
|
"entry_mode": "team_only",
|
|
"stages": [
|
|
{
|
|
"name": "configure",
|
|
"ordinal": 0,
|
|
"stage_mode": "form",
|
|
"audience": "team",
|
|
"stage_type": "simple",
|
|
"auto_transition": false,
|
|
"form_template": {
|
|
"fieldsets": [
|
|
{
|
|
"label": "Webhook Configuration",
|
|
"fields": [
|
|
{ "key": "webhook_url", "label": "Webhook URL", "type": "text", "required": true },
|
|
{ "key": "event_name", "label": "Event Name", "type": "text", "required": true },
|
|
{ "key": "payload", "label": "Custom Payload (JSON)", "type": "textarea" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "fire-webhook",
|
|
"ordinal": 1,
|
|
"stage_mode": "automated",
|
|
"audience": "system",
|
|
"stage_type": "automated",
|
|
"auto_transition": true,
|
|
"starlark_hook": "webhook-notifier:on_fire"
|
|
},
|
|
{
|
|
"name": "result",
|
|
"ordinal": 2,
|
|
"stage_mode": "review",
|
|
"audience": "team",
|
|
"stage_type": "simple",
|
|
"auto_transition": false,
|
|
"form_template": {
|
|
"fieldsets": [
|
|
{
|
|
"label": "Delivery Result",
|
|
"fields": [
|
|
{ "key": "delivery_status", "label": "Status", "type": "text" },
|
|
{ "key": "status_code", "label": "HTTP Status Code", "type": "text" },
|
|
{ "key": "response_body", "label": "Response", "type": "textarea" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|