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

feat (jans-config-api) : allow multiple pattern search in apis #2325

Closed
duttarnab opened this issue Sep 7, 2022 · 3 comments · Fixed by #2491 or #2590
Closed

feat (jans-config-api) : allow multiple pattern search in apis #2325

duttarnab opened this issue Sep 7, 2022 · 3 comments · Fixed by #2491 or #2590
Assignees
Labels
comp-jans-config-api Component affected by issue or PR enhancement kind-feature Issue or PR is a new feature request

Comments

@duttarnab
Copy link
Contributor

duttarnab commented Sep 7, 2022

Is your feature request related to a problem? Please describe.

In config-api APIs, we have a pattern query parameter allowing a single pattern search. We need multiple pattern search feature in APIs.

For example https://admin-ui-test.gluu.org/jans-config-api/api/v1/attributes?pattern=birthDate|jansAdminUIRole|c

@duttarnab duttarnab added comp-jans-config-api Component affected by issue or PR enhancement labels Sep 7, 2022
@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label Sep 7, 2022
@pujavs
Copy link
Contributor

pujavs commented Sep 28, 2022

@duttarnab, implemented the enhancement in Attributes resource via PR 2491.
Note: delimiter used is comma(,). Please confirm if as expected inorder to implement in rest of the GET api

Testing on MySQl Server:

image

Testing on LDAP:
image

@duttarnab
Copy link
Contributor Author

Reopening this issue.

@pujavs
Copy link
Contributor

pujavs commented Oct 11, 2022

Implemented via PR 2590

  • Attribute: implemented pattern search in inum as well
    image

  • Scope: implemented multiple pattern search along with inum
    image

  • Client: implemented multiple pattern search along with inum
    image

  • UMA Resource: implemented multiple pattern search along with inum
    image

  • User: implemented multiple pattern search along with inum
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-config-api Component affected by issue or PR enhancement kind-feature Issue or PR is a new feature request
Projects
None yet
3 participants