autosleep
autosleep copied to clipboard
Autosleep service instance not able to bind more than 50 applications in a space
We observed that autosleep service instance is unable to bind more than 50 applications in a space. On debugging, we found the reason is method
List<ApplicationIdentity> listAliveApplications(String spaceUuid, Pattern excludeNames)
in class
class CloudFoundryApi
does not handle the complete paginated response of ListApplicationsRequest
By default, first page is handled in response and it has 50 (default) entries.
Solution: To handle complete paginated response.
Similarly, the following methods need correction:
listApplicationRoutes
listRouteApplications
cc / @pradyutsarma
@pradyutsarma has this issue ever been resolved?