From 468c9505b8c271531c34f67f8f8eb2c5fc1a3836 Mon Sep 17 00:00:00 2001 From: "Smokowski, Steven" Date: Fri, 4 Oct 2019 15:52:38 -0400 Subject: Update catalog db client to specify larger page Update catalog db client to specify larger page size Issue-ID: SO-2393 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I3f0856e6b278e341f5b1a5867e1d3031a64edab6 --- .../src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java index e60ef9727e..8754673f40 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java @@ -65,7 +65,6 @@ import org.onap.so.db.catalog.beans.Workflow; import org.onap.so.db.catalog.beans.macro.NorthBoundRequest; import org.onap.so.db.catalog.beans.macro.OrchestrationFlow; import org.onap.so.db.catalog.beans.macro.RainyDayHandlerStatus; -import org.onap.so.logger.LogConstants; import org.onap.so.logging.jaxrs.filter.SOSpringClientFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -767,7 +766,8 @@ public class CatalogDbClient { } public List getCloudSites() { - return this.getMultipleResources(cloudSiteClient, UriBuilder.fromUri(endpoint + CLOUD_SITE).build()); + return this.getMultipleResources(cloudSiteClient, + UriBuilder.fromUri(endpoint + CLOUD_SITE).queryParam("size", "1000").build()); } -- cgit 1.2.3-korg