![]() |
![]()
| ![]() |
![]()
Functions =head2 notify see @OpenXPKI::Server::Notification::BaseNAMEOpenXPKI::Server::Notification::Connector - Notification via Connector DESCRIPTIONThis class implements a notifier that sends out notifications via the "set" method of a Connector backend. The payload can be created in different ways. For now this backend supports creation of a data structure directly as a hash from the config or by rendering a YAML file using Template Toolkit and parsing the yaml afterwards. The only supported output format for now is JSON. Configuration# Sample configuration using a JSON based REST API via HTTP backend:
# template settings template:
message:
cert_issued: default: path: info content: title: A new certificate for [% cert_subject %] has been created message: | A new certificate for [% cert_subject %] has been created. You can find more details on the PKI WebUI. priority: info
|