Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add boolean field for default_content_http_proxy in HTTProxy entity #1254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gauravtalreja1
Copy link
Collaborator

Description of changes

Change introduced in Katello/katello#11183

Signed-off-by: Gaurav Talreja <gtalreja@redhat.com>
@Gauravtalreja1 Gauravtalreja1 added the No-CherryPick PR doesnt need CherryPick to previous branches label Nov 19, 2024
@Gauravtalreja1 Gauravtalreja1 self-assigned this Nov 19, 2024
@@ -5421,6 +5421,7 @@ def __init__(self, server_config=None, **kwargs):
'organization': entity_fields.OneToManyField(Organization),
'location': entity_fields.OneToManyField(Location),
'cacert': entity_fields.StringField(),
'default_content_http_proxy': entity_fields.BooleanField(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'default_content_http_proxy': entity_fields.BooleanField(),
'default_content': entity_fields.BooleanField(),

@Gauravtalreja1, could you provide some functional demonstration with ipython? I tried locally with packit VM for Katello/katello#11183 but I don't get the default_content_http_proxy on create nor on read back from API. We may need to add it to the ignore list if it's not returned.

Also, I didn't get the setting updated until I used default_content in the create call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants