-
Notifications
You must be signed in to change notification settings - Fork 130
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
provide no path for pulp3 api url #552
Conversation
katello expects this url to look like: https://hostname/pulp/ I'm not completely sold on that (but we can change katello), but i would think it should either be one of: https://hostname i'm not sure it makes sense to be just 'https://hostname/pulp/api/'. I'm kinda partial to the 3rd one in the list (requiring an update here and in katello) |
actually among further inspection, the client bindings themselves want 'https://hostname/pulp', so i propose we go with that. |
1fb97b3
to
e4d5e44
Compare
For what it's worth, pulpcore now explicitly only binds On the other hand, encoding the API version is not nice. Given the bindings expect |
actually i'm sorry, the bindings actually only care about the hostname and the scheme. It seems the path is ignored! |
So i am good with the 3rd option as well, if we want to go that route |
6c26f03
to
4ebfbfc
Compare
opened a katello pr to adjust: Katello/katello#8479 |
chatting with @ehelms he brought up a decent point. If the bindings are assuming /pulp/api/v3/ then maybe this should just provide the hostname and scheme. This would also be more future proof in case of a /v4 api. Thoughts? |
If the client bindings ignore the path, I'd be fine with reducing the URL to just scheme + hostname (+ port). |
b60bc63
to
fb8e357
Compare
5514cef
to
0bdc77d
Compare
a1cfb84
to
e0181c6
Compare
This is now green (thanks to whoever fixed the broken tests in nightly!). This is needed to turn on pulp3 in nightly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a default, this would normally need a migration in foreman-installer but these options were added only in nightly so it doesn't need one now.
No description provided.