This adds webhook delivery functionality to certman. If the VASP has a webhook URL then certman will attempt to deliver pkcs12 passwords and certificates by webhook, in addition to emailing them. If the VASP has the NoEmailDelivery flag set then the password and certificate emails are not sent, unless the webhook delivery fails.
Certman now has a backoff configuration for webhook delivery. If the webhook request is unsuccessful then by default it retries after the backoff period up to the maximum number of retries before giving up.
Type of change
[ ] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)
Acceptance criteria
Retry logic should be checked for correctness and we may need to tag the trisa repo to ensure that the dependency is stable.
Author checklist
[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[x] I have updated the dependencies list
[ ] I have recompiled and included new protocol buffers to reflect changes I made
[ ] I have added new test fixtures as needed to support added tests
[x] Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[x] I have moved the associated Shortcut story to "Ready for Review"
Reviewer(s) checklist
[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.
Scope of changes
This adds webhook delivery functionality to certman. If the VASP has a webhook URL then certman will attempt to deliver pkcs12 passwords and certificates by webhook, in addition to emailing them. If the VASP has the
NoEmailDelivery
flag set then the password and certificate emails are not sent, unless the webhook delivery fails.Certman now has a backoff configuration for webhook delivery. If the webhook request is unsuccessful then by default it retries after the backoff period up to the maximum number of retries before giving up.
Type of change
Acceptance criteria
Retry logic should be checked for correctness and we may need to tag the trisa repo to ensure that the dependency is stable.
Author checklist
Reviewer(s) checklist