Project

Profile

Help

Story #3780

closed

As a user, I can specify a 'ca_path' for the HTTP Notifier to use

Added by dkliban@redhat.com almost 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.17.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 39
Quarter:

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

Also available in: Atom PDF