Inconsistency in retrieval of service plans


Roopali Sharma <roopali1193@...>
 

Hello All,



While listing service plans for any given service , if we use
/v2/service_plans?q=<service_guid> , the plans appear in the same order as
defined in the service catalog. However, call to
/v2/services/<service_guid>?inline-relations-depth=1 returns the service
plans in some random ordering which does not respect the order of catalog.
The ordering however does not change with every call and also does not seem
to take into account unique plan_id or the plan_name itself. Hence , it is
unclear as to what sorting paradigm is in use.



Can someone comment if this is a bug with controller API or if not, some
clarity regarding the ranking order.



With regards,

Roopali Sharma

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.