Class WebhookIdsRegister

java.lang.Object
nl.vpro.io.prepr.rs.WebhookIdsRegister

@ManagedResource(description="Makes sure the prepr webhooks are recognized", objectName="nl.vpro.io.prepr:name=prepr-webookids") public class WebhookIdsRegister extends Object
When using SignatureValidatorInterceptor it needs to know the webhook ids. This class finds and registers them in SignatureValidatorInterceptor.put(String, UUID)
Since:
0.1
Author:
Michiel Meeuwissen*
  • Field Details

  • Method Details

    • init

      @PostConstruct public void init()
    • shutdown

      @PreDestroy public void shutdown()
    • registerWebhooks

      @ManagedOperation public String registerWebhooks()