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

[APIM][2.6.0][2.5.0]-API Property based filtering is not working for anonymous views, admin users and non-admin users #9456

Open
saranki opened this issue Oct 29, 2020 · 0 comments · May be fixed by wso2/carbon-registry#357 or wso2/carbon-governance#346

Comments

@saranki
Copy link

saranki commented Oct 29, 2020

Description:

API property-based filtering is not working in publisher and store for all the admin and non-admin users. The filtering is not at all working for API property-based filtering in-store anonymous view. Only a few API property values are getting filtered for admin user.
image
Unable to filter the APIs based on API property using REST API calls as well.

Steps to reproduce:

Search in Store and Publisher

  1. Create a few APIs by adding multiple API properties to them.
  2. Login as an admin user and non-admin user and search the API in the publisher and store as : in the search bar.

Search in REST API

  1. After creating the APIs with API property, execute the following curl commands,

Case 1: query: key:value

curl https://localhost:9443/api/am/store/v0.14/apis?query:Sample:time -k
Output: Listing all the available API without filtering based on the API property

Case 2: query=key:value

curl https://localhost:9443/api/am/store/v0.14/apis?query=Sample:time -k
Output: Even though there are matching results available, it returns an empty result 

Affected Product Version:

wso2am-2.5.0
wso2am-2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant