WebhookNotifier
Posts each ParkedNotice of kinds to the webhook at uri, as JSON, through the JDK's HTTP client within timeout: a response other than 2xx fails the notification, which the runtime logs.
Format.GENERIC:
{"event", "service", "group", "at", "entry", "text"},atin epoch milliseconds as every time inentryis,entryas the operator's routes write it (parkedRoutes) andtexta Markdown summary.Format.WECOM: a WeCom (企业微信) group robot's Markdown message,
{"msgtype": "markdown", "markdown": {"content"}}, as 9.x's compensation webhook sent it; a robot that answers anerrcodeother than 0 fails the notification.
service names the service in the message; headers are added to each request (a token, say).
Constructors
Types
Functions
A Markdown summary of notice. What a client can reach, the aggregate's ref and the parked reason (which may quote a rejection's message as it is), is written as text (markdownText): it writes no line, link or markup of its own into the alert.