-
Notifications
You must be signed in to change notification settings - Fork 115
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
RHBK support #17338
base: master
Are you sure you want to change the base?
RHBK support #17338
Conversation
0cf7cc1
to
c8ac423
Compare
trigger: test-robottelo |
PRT running |
Make changes so RHSSO tests become parametrized and work for both RHSSO and RHBK
c8ac423
to
4a7da48
Compare
trigger: test-robottelo |
PRT waiting for config merge |
PRT Result
|
trigger: test-robottelo |
PRT Result
|
conf/rhbk.yaml.template
Outdated
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.
Can you please add validators for this config?
@@ -2422,24 +2423,44 @@ def run_orphan_cleanup(self, smart_proxy_id=None): | |||
class SSOHost(Host): | |||
"""Class for RHSSO functions and setup""" | |||
|
|||
def __init__(self, sat_obj, **kwargs): |
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.
Not well-thought-through, but would splitting SSOHost
to RHSSOHost
and RHBKHost
make sense here?
graph TD;
RHBKHost-->SSOHost;
RHSSOHost-->SSOHost;
SSOHost-->Host;
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.
Yes.
8d9eb02
to
bb9a399
Compare
@ogajduse comments addressed |
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.
Thank you for addressing my above review comments. I have left one minor comment.
robottelo/hosts.py
Outdated
"""Class for RHBK functions and setup""" | ||
|
||
def __init__(self, sat_obj, **kwargs): | ||
self.rhbk = True |
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 am still not sure if this is a nitpick or not ... anyway...
I can not see the rhbk
attribute being used anywhere. Is it useful in any way? If we would like to perform any sort of checks whther given SSO instance is RHBK or RHSSO, we could simply
my_sat = Satellite()
the_sso_host = RHBKHost(my_sat)
# or
the_sso_host = RHSSOHost(my_sat)
# check
is_rhbk = type(the_sso_host) == RHBKHost # or we could use isinstance() ...
bb9a399
to
88ef4e6
Compare
88ef4e6
to
d0a46b0
Compare
trigger: test-robottelo |
PRT Result
|
trigger: test-robottelo |
PRT Result
|
Make changes so RHSSO tests become parametrized and work for both RHSSO and RHBK, limit TemplateSync tests
Problem Statement
Solution
Related Issues