Project

Profile

Help

Story #3780

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

Added by dkliban@redhat.com almost 2 years ago. Updated about 1 year ago.

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

100%

Platform Release:
2.17.0
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 39

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


Checklist

Associated revisions

Revision 796b83fb View on GitHub
Added by jortel@redhat.com almost 2 years ago

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

History

#2 Updated by bmbouter almost 2 years ago

  • Groomed changed from No to Yes

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

#3 Updated by rchan almost 2 years ago

  • Sprint set to Sprint 39

#4 Updated by jortel@redhat.com almost 2 years ago

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

#5 Updated by jortel@redhat.com almost 2 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by jortel@redhat.com almost 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by dkliban@redhat.com over 1 year ago

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

#8 Updated by bmbouter about 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF