galaxyproject / cloudlaunch

Easily launch cloud applications.
https://launch.usegalaxy.org/
42 stars 37 forks source link

Paging not implemented for cloud resources #86

Open nuwang opened 7 years ago

nuwang commented 7 years ago

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.

afgane commented 7 years ago

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