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 about 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

Actions #2

Updated by bmbouter almost 6 years ago

  • Groomed changed from No to Yes

This looks exactly correct to me. I'm marking as groomed. Thanks for writing.

Actions #3

Updated by rchan almost 6 years ago

  • Sprint set to Sprint 39
Actions #4

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
Actions #5

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from ASSIGNED to POST

Added by jortel@redhat.com almost 6 years ago

Revision 796b83fb | View on GitHub

Support ca_path passed in configuration for http notifier. closes #3780

Actions #6

Updated by jortel@redhat.com almost 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
  • Platform Release set to 2.17.0
Actions #8

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF