-
Notifications
You must be signed in to change notification settings - Fork 44
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
add admin component #569
base: main
Are you sure you want to change the base?
add admin component #569
Conversation
admin/pkg/admin/adminResourceList.go
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.
Up to you to decide (because the goal can totally change), but let's say that the goal of this Geneva Action is to get a list of all clusters from OCM. This will probably look something like:
GET /v1/ocm/clusters
With room for a future Geneva Action to provide cluster_id or cluster_name, like
GET /v1/ocm/clusters/id/${ID}
GET /v1/ocm/clusters?name=mycluster
I think this workload's "API" will be radically different from the RP/frontend
Please rebase pull request. |
What this PR does
Adds a new folder for the admin api
Compiling and testing locally works with this:
curl -X GET "0.0.0.0:8443/v1/ocm/clusters?api-version=2024-06-10-preview"
Jira: https://issues.redhat.com/browse/ARO-9997
Link to demo recording:
Special notes for your reviewer