config-perf: handle list with large query-param size with POST
api-library adds a resource_list method to query a collection.
This method GETs on type-specific URI if query-params is not too
large, else falls back to POST on generic URI.
api-server adds a list-bulk-collection action URI. Fixes the
BaseRequest size so large POST bodies can be handled.
Tests for querying by anchor of parent_id list, anchor of
back_ref_id list and obj_uuids list.
Change-Id: Ib99e0576128f40702c568e0fcf2b7edf3cad047d
Partial-Bug: #1433851
(cherry picked from commit f31fddec8a8d8be47dfa9521e7df2472283023ae)
Reviewed: https:/ /review. opencontrail. org/8507 github. org/Juniper/ contrail- controller/ commit/ df2aac72a49a7ba d7a3470482f9d2c 9a9a82cb1c
Committed: http://
Submitter: Zuul
Branch: R2.0
commit df2aac72a49a7ba d7a3470482f9d2c 9a9a82cb1c
Author: Hampapur Ajay <email address hidden>
Date: Wed Mar 18 19:27:31 2015 -0700
config-perf: handle list with large query-param size with POST
api-library adds a resource_list method to query a collection. collection action URI. Fixes the
This method GETs on type-specific URI if query-params is not too
large, else falls back to POST on generic URI.
api-server adds a list-bulk-
BaseRequest size so large POST bodies can be handled.
Tests for querying by anchor of parent_id list, anchor of
back_ref_id list and obj_uuids list.
Change-Id: Ib99e0576128f40 702c568e0fcf2b7 edf3cad047d 47dfa9521e7df24 72283023ae)
Partial-Bug: #1433851
(cherry picked from commit f31fddec8a8d8be