Project

Profile

Help

Task #3697

closed

Story #3693: Lazy for Pulp3

Have Pulp do a simple redirect (no signing) to squid when the content app needs to serve a RemoteArtifact

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

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 41
Quarter:

Description

When the content app finds only a RemoteArtifact, it needs to issue a Redirect to the user. Specifically it needs to redirect to:

{protocol_handler}{redirect_host}:{redirect_port}/{redirect_prefix_path}/{the path to the content the user requested just now}

So if the protocol handler is https://, redirect_host=example.com, redirect_port=443, and redirect_prefix_path = /squid/ then a request came to the content app like:

https://mypulpserver.com/pulp/api/v3/content/path/to/distribution/subpath/to/content/

The redirect would be:

https://example.com/squid/pulp/api/v3/content/path/to/distribution/subpath/to/content/


Related issues

Blocked by Pulp - Task #3696: Add the streamer's settings to settings.yaml in the content app areaCLOSED - CURRENTRELEASEjortel@redhat.com

Actions

Also available in: Atom PDF