Project

Profile

Help

Task #4967

closed

Task #4961: [Epic] Improve Integration and Testing with Nginx and Apache

Apache needs to expose both pulp-api and pulp-content-app

Added by bmbouter over 3 years ago. Updated about 2 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

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

Description

Problem

Apache doesn't provide a feature similar to nginx's pulp_next_upstream so it needs to explicitly know which backend to route any given URL to. The well known routes of /pulp/api/v3/ and /pulp/content/ are easy, but since arbitrary urls can be configured for both pulp-api and pulp-content-app this is trickier with Apache.

Solution

1. Have the main config route /pulp/api/v3/ and /pulp/content/ correctly
2. IncludeOptional configs provided by plugins for urls the content app should handle for that plugin
3. If still unmatched route to pulp-api as the default.

Reasoning

Why pulp-api as the default?

Across all the plugins and core, the number of custom URLs in pulp-api is much more than pulp-content-app. So to minimize the number of custom configs provided, the "default" route if unmatched would be pulp-api.

How will these config snippets be provided?

The config snippets will be contributed to the installer itself for any plugin that requires custom urls in the content app and httpd support.

Actions #1

Updated by amacdona@redhat.com over 3 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0
Actions #2

Updated by dkliban@redhat.com over 3 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #3

Updated by rchan over 3 years ago

  • Sprint set to Sprint 56
Actions #4

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 56 to Sprint 57
Actions #5

Updated by bmbouter over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
Actions #6

Updated by bmbouter over 3 years ago

  • Description updated (diff)
Actions #7

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 57 to Sprint 58
Actions #8

Updated by rchan about 3 years ago

  • Status changed from ASSIGNED to NEW
Actions #9

Updated by rchan about 3 years ago

  • Sprint deleted (Sprint 58)
Actions #10

Updated by bmbouter about 3 years ago

  • Assignee deleted (bmbouter)
Actions #11

Updated by rchan almost 3 years ago

  • Sprint Candidate deleted (Yes)
Actions #12

Updated by bmbouter over 2 years ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)
Actions #13

Updated by dkliban@redhat.com about 2 years ago

  • Status changed from NEW to CLOSED - COMPLETE
  • Sprint Candidate set to No

Also available in: Atom PDF