Skip to content
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

-parameter search seams not implemented for all resources #411

Open
ludovicmotte opened this issue Oct 24, 2022 · 0 comments
Open

-parameter search seams not implemented for all resources #411

ludovicmotte opened this issue Oct 24, 2022 · 0 comments

Comments

@ludovicmotte
Copy link

Hi,

I found that ocm get /api/clusters_mgmt/v1/clusters/${CLUSTER_ID}/identity_providers --parameter search="name='HTPasswd' is not working because the search parameter is not taken into account.
See hereunder : I ask for a name=HTPasswd and I get a name=OpenID

ocm get /api/clusters_mgmt/v1/clusters/${CLUSTER_ID}/identity_providers --parameter search="name='HTPasswd'"
{
   "kind":"IdentityProviderList",
   "href":"/api/clusters_mgmt/v1/clusters/MASKED/identity_providers",
   "page":1,
   "size":1,
   "total":1,
   "items":[
      {
         "kind":"IdentityProvider",
         "type":"OpenIDIdentityProvider",
         "href":"/api/clusters_mgmt/v1/clusters/MASKED/identity_providers/MASKED",
         "id":"MASKED",
         "name":"OpenID",
         "mapping_method":"claim",
         "open_id":{
            "claims":{
               "email":[
                  "MASKED"
               ],
               "name":[
                  "MASKED"
               ]
            },
            "client_id":"MASKED",
            "issuer":"MASKED"
         }
      }
   ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant