Skip to content

Add Registration feature to smart proxy - #28

Open
pablomh wants to merge 4 commits into
masterfrom
feat/registration-feature
Open

Add Registration feature to smart proxy#28
pablomh wants to merge 4 commits into
masterfrom
feat/registration-feature

Conversation

@pablomh

@pablomh pablomh commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • add the templates smart proxy feature and enable it by default for the foreman-proxy-content flavor
  • define the registration smart proxy feature with a dependency on templates
  • enable registration by default for the foreman-proxy-content flavor after templates
  • scope pulp_rhsm_url to foreman-proxy-content and only export PULP_SMART_PROXY_RHSM_URL when explicitly configured

Testing

  • python -m compileall tests/pulp_test.py
  • python -m compileall tests/flavor/foreman-proxy-content/pulp_test.py
  • python -m compileall tests/foreman_proxy_test.py

@pablomh
pablomh force-pushed the feat/registration-feature branch 6 times, most recently from 6eb364f to 2e88fbf Compare July 9, 2026 16:04
@pablomh
pablomh changed the base branch from master to templates-feature July 9, 2026 16:04
@pablomh
pablomh force-pushed the feat/registration-feature branch from 2e88fbf to 33f1657 Compare July 9, 2026 19:26
@pablomh
pablomh changed the base branch from templates-feature to master July 9, 2026 19:26
@pablomh
pablomh force-pushed the feat/registration-feature branch 2 times, most recently from cbd0363 to 569049f Compare July 11, 2026 17:13
shubhamsg199 and others added 4 commits July 11, 2026 19:17
Signed-off-by: Shubham Ganar <shubhamsg123m@gmail.com>
Derive the templates endpoint from the proxy name so enabling the templates feature does not require an explicit --templates-url override.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the shared Pulp RHSM setting defined with an empty default for server deployments, override it only in the content-proxy flavor, and verify the effective Django setting in tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Enable the registration plugin for the foreman-proxy-content flavor and document it as a built-in proxy feature without reapplying the earlier templates-only changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@pablomh
pablomh force-pushed the feat/registration-feature branch from 569049f to 48e4db1 Compare July 11, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants