-
Notifications
You must be signed in to change notification settings - Fork 114
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
Replace old method of registration with global registration in robottelo #14034
Replace old method of registration with global registration in robottelo #14034
Conversation
adf8cd6
to
277ccca
Compare
277ccca
to
9c1ce40
Compare
This pull request has not been updated in the past 45 days. |
This pull request is now being closed after stale warnings. |
5452229
to
37ea130
Compare
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.
ACK, one minor comment left.
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.
Nothing here should impact Team Platform. Added some comments based on my opinion. Thanks for adding the changes!
robottelo/hosts.py
Outdated
def api_register(self, target, **kwargs): | ||
"""Register a content host using the API. |
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.
I feel like we could either name this something related to global registration like def globally_register
or leave the name as is and update the description to mention global registration like Register a content host using Global Registration.
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.
globally register sounds odd but I can update the description of this.
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.
Yeah it's not a great name that's why I thought at least the description 😄
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.
+1 to keep the name and extend docstring
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.
+1 to this. Tying this in explicitly to global registration should make it more clear why this is the method being used going forward.
4aa4b71
to
f14444c
Compare
Problem Statement
Robottelo is still using old method of registration using katello-ca certs which is deprecated.
Solution
With this PR, all the instances of old method of registration will be replaced with global registration.
Related Issues