Skip to content

Autosleep service instance not able to bind more than 50 applications in a space  #281

Description

@swativerma1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions