Story #3780
closedAs a user, I can specify a 'ca_path' for the HTTP Notifier to use
100%
Description
The HTTP notifier makes a call back to a particular URL when a particular event occurs (e.g. sync or publish completes). A user can unknowingly install packages that change what CA store is used by Python when making requests. As a result the notifier stops working properly.
This feature will allow the user to specify the 'ca_path' when creating a notifier with a POST request[0] to /pulp/api/v2/events/. The CA at the 'ca_path' will then be used by the notifier when making a request to the URL specified in the notifier config[1]. When the 'ca_path' is not specified, the system CA store is used.
When the user retrieves a single notifier via REST API or lists the notifiers via REST API, the 'ca_path' needs to be included in the response.
The user should be able to update the notfier's ca_path.
[0] https://docs.pulpproject.org/dev-guide/integration/rest-api/event/crud.html#create-an-event-listener
[1] https://docs.pulpproject.org/dev-guide/integration/events/http.html#http-notifier
Updated by bmbouter over 4 years ago
- Groomed changed from No to Yes
This looks exactly correct to me. I'm marking as groomed. Thanks for writing.
Updated by jortel@redhat.com over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
Updated by jortel@redhat.com over 4 years ago
- Status changed from ASSIGNED to POST
Added by jortel@redhat.com over 4 years ago
Updated by jortel@redhat.com over 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|796b83fb8a5e4fd9a1c13248df0ce284df27af5f.
Updated by dkliban@redhat.com over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Platform Release set to 2.17.0
Support ca_path passed in configuration for http notifier. closes #3780