nerc-project / coldfront-plugin-cloud

ColdFront plugin to manage resource allocations on OpenStack and OpenShift
GNU General Public License v3.0
4 stars 10 forks source link

Allow direct communication to Openshift through `get_federated_user` function #175

Open QuanMPhm opened 1 month ago

QuanMPhm commented 1 month ago

As the next step to merge CCI-MOC/openshift-acct-mgt, we want one function in the OpenShiftResourceAllocator class to have direct communication with an Openshift cluster.

The function chosen for this issue will be get_federated_user

This, along with other similar issues (#187 #186 #185 #184) will overshadow #134

QuanMPhm commented 1 month ago

@knikolla @naved001 My plan will be to move some code from moc_openshift.py into coldfront_plugin_cloud/openshift.py to implement the direct communication to Openshift. I will add unit tests for each function that I implement in tests/unit/openshift.py. For this PR only, I will be making appropriate changes to the CI files so the Coldfront plugin can directly communicate with an Openshift cluster.

I will make begin this issue once I have your opinion on how I should structure the merging process.