webapp.pdf-exporter-admin.pages.webhooks.jsp Maven / Gradle / Ivy
Show all versions of ch.sbb.polarion.extension.pdf-exporter Show documentation
<%@ page import="ch.sbb.polarion.extension.pdf_exporter.properties.PdfExporterExtensionConfiguration" %>
<%! String bundleTimestamp = ch.sbb.polarion.extension.generic.util.VersionUtils.getVersion().getBundleBuildTimestampDigitsOnly(); %>
<%! Boolean webhooksEnabled = PdfExporterExtensionConfiguration.getInstance().getWebhooksEnabled(); %>
PDF Exporter: Webhooks
; flex: 1; flex-direction: column">
PDF Exporter: Webhooks
List of webhooks <%= PdfExporterExtensionConfiguration.getInstance().getWebhooksEnabled() %>
"/>
Quick Help
On this page you can add, edit or remove a webhook applied to selected configuration.
What is a webhook
A webhook is a REST endpoint accepting initial HTML as a string (POST request), making some modification to this HTML and returning resulting HTML as a string back in body of response.
A webhook endpoint can locate anywhere, either within Polarion itself or outside of it.
Webhook configuration
Each webhook has an URL and optional auth info. The URL is the endpoint to invoke. The auth info is a authentication for this endpoint.
The auth info can be either a basic auth with username and password or a Bearer token. The auth info should be stored in Polarion Vault.
Here should be provided a name of the vault entry with auth info.
Webhooks processing
Webhooks to run they should be selected in appropriate style package, or during PDF exporting. They are invoked in an order they entered on this page.
If certain webhook fails with an error, it's just skipped, remaining webhooks will still be invoked.
">
PDF Exporter: Webhooks
Webhooks are not enabled. Please contact system administrator if this functionality should be available.