Open nuwang opened 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.
Yes! A useful commit when we get to this: https://github.com/galaxyproject/cloudlaunch/commit/cd7754d18439d069720c0a07af2c87a5b1b628ed
Most viewsets in cloudlaunch simply call resource.list() to fetch objects. e.g.
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.