cloudlaunch icon indicating copy to clipboard operation
cloudlaunch copied to clipboard

Paging not implemented for cloud resources

Open nuwang opened this issue 7 years ago • 1 comments

Most viewsets in cloudlaunch simply call resource.list() to fetch objects. e.g.

    def list_objects(self):
        provider = view_helpers.get_cloud_provider(self)
        return provider.compute.instances.list()

Since the limit and marker parameters are not being passed to cloudbridge, this will always only return the first 50 records. This needs to be integrated with DRF paging to pass in the limit and marker so that client side paging will work correctly.

nuwang avatar Sep 07 '17 20:09 nuwang

Yes! A useful commit when we get to this: https://github.com/galaxyproject/cloudlaunch/commit/cd7754d18439d069720c0a07af2c87a5b1b628ed

afgane avatar Sep 07 '17 20:09 afgane