Hi
This is regarding the public jira[1]. Recently added api list is not
updated with most recent apis.


 *getRecentlyAddedAPIs(int limit, String tenantDomain) *method in
*APIConsumerIml.java
* is used to get the recently added apis with given limit.

This method uses PagniationContext search to retrieve the recently added
apis from registry as follow.

*PaginationContext.init(0, limit, "DESC", "timestamp", Integer.MAX_VALUE);*

But api rxt doesn't have a field called timestamp. Because of this sorting
by timestamp does not work and first 5 apis(where limit is set to 5) are
returned.

PaginationContext has been used for APIM store performance improvement[2].
Was this issue noticed when doing this performance improvement ?

1.https://wso2.org/jira/browse/APIMANAGER-2675
2.https://wso2.org/jira/browse/APIMANAGER-2532

-- 
Jenananthan Yogendran
*Software Engineer,*
*WSO2 inc., http://wso2.com <http://wso2.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to