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

Fixes #37923 - Set HTTP proxy as default after creating #11183

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

stejskalleos
Copy link
Contributor

@stejskalleos stejskalleos commented Oct 17, 2024

What are the changes introduced in this pull request?

An option for making HTTP proxy the default content proxy after creation.

Considerations taken when implementing this change?

https://issues.redhat.com/browse/SAT-28860

What are the testing steps for this pull request?

@chris1984
Copy link
Member

@stejskalleos is this ready to be pulled out of draft state?

@stejskalleos
Copy link
Contributor Author

@chris1984 not yet, I need to update Jira tickets first and check if I haven't forgot something

@stejskalleos
Copy link
Contributor Author

@chris1984 @ShimShtein ready for review, together with theforeman/foreman#10372

@stejskalleos stejskalleos marked this pull request as ready for review November 11, 2024 09:46
@stejskalleos
Copy link
Contributor Author

@ofedoren updated
cc @jeremylenz @ianballou Katello folks

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Working well! Just one comment about the text.

Copy link
Contributor

@Gauravtalreja1 Gauravtalreja1 left a comment

Choose a reason for hiding this comment

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

Tested and it works well, providing some feedback for improvement

Comment on lines +11 to +13
id: 'http_proxy_default_content' %>
Set this proxy as the default for content, updating the 'Default HTTP Proxy' setting.
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

When we create a http proxy with default_content_proxy set to true with UI, it gets created successfully and setting is updated, but when we click on created proxy on edit page we don't see the value set for default_content_proxy, so I feel it would be better to include it on edit page too

Copy link
Contributor

Choose a reason for hiding this comment

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

And, If we decide to add it to the edit page, will it be possible to change it or will it remain grayed?

Copy link
Member

Choose a reason for hiding this comment

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

It's tied to a Setting, so if it were included on the edit page it would have to be disabled. It would just be an indicator of whether this current HTTP proxy is set as the default.

@Lennonka
Copy link
Contributor

I agree with the suggestions by Ian and Gaurav above.

@stejskalleos
Copy link
Contributor Author

@ianballou @Gauravtalreja1 texts updated

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

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

Thanks!

@ianballou
Copy link
Member

Are other parties all good with the changes? @Lennonka and @Gauravtalreja1 ?

@ShimShtein
Copy link
Contributor

LGTM

@stejskalleos
Copy link
Contributor Author

theforeman/foreman#10372 has been merged

@ianballou ianballou merged commit c06a666 into Katello:master Dec 2, 2024
25 of 27 checks passed
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.

8 participants