Class RetryingWebhookHandler


  • @Singleton
    public class RetryingWebhookHandler
    extends Object
    Admin permission is needed to add webhooks. It is possible that credentials in job configuration is not admin. This retries adding webhook in with alternate credentials. It retries in following fashion, 1. Global admin is used. If failed then, 2. Job credential is used. If failed then, 3. Global credentials is used.