-
Notifications
You must be signed in to change notification settings - Fork 13
Allow direct communication to Openshift API through get_federated_user
#177
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
Conversation
73b751b to
8839477
Compare
knikolla
left a comment
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.
Overall looks pretty good, some comments.
8839477 to
54922e7
Compare
As the first step towards merging the account manager into our coldfront cloud plugin, the `get_federated_user` function in the Openshift allocator will now (through several functions) directly call the Openshift API. Much of the functions added are copied from the `moc_openshift` module in the account manager. Aside from copying some functions, implementation of this feature also involved: - A new resource attribute `Identity Name` for the Openshift idp - A new unit test for the `get_federated_user` function - Changes to the CI file to enable these new unit tests - A top-level logger for the Openshift allocator - New additions to the package requirements
54922e7 to
6752900
Compare
|
Fix merged, can we kick off the test again? |
|
@joachimweyl Yep, now the tests are passing |
|
I'll review this week, though don't want to rush this in for tomorrow's maintenance window. |
knikolla
left a comment
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.
Looks good to me.
Would like @larsks or @naved001 to do a review too.
After this one merges, can you please do quota operations, and then project operations?
Quota is higher priority than the users because currently that is the only one that requires changes to acct-mgt everytime we add a new quota type.
Closes #175. As the first step towards merging the account manager into our coldfront cloud plugin, the
get_federated_userfunction in the Openshift allocator will now (through several functions) directly call the Openshift API. Much of the functions added are copied from themoc_openshiftmodule in the account manager.Aside from copying some functions,
implementation of this feature also involved:
Identity Namefor the Openshift idpget_federated_userfunction