summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSmokowski, Steven <steve.smokowski@att.com>2019-10-04 15:52:38 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2019-10-04 15:52:39 -0400
commit468c9505b8c271531c34f67f8f8eb2c5fc1a3836 (patch)
tree3aa526e3fbfa44f79fefad48efa09147cf182767
parentac26fde8ba45fb1244a8e81d509800a67b5eb394 (diff)
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) <mb388a@att.com> Change-Id: I3f0856e6b278e341f5b1a5867e1d3031a64edab6
-rw-r--r--mso-catalog-db/src/main/java/org/onap/so/db/catalog/client/CatalogDbClient.java4
1 files 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<CloudSite> getCloudSites() {
- return this.getMultipleResources(cloudSiteClient, UriBuilder.fromUri(endpoint + CLOUD_SITE).build());
+ return this.getMultipleResources(cloudSiteClient,
+ UriBuilder.fromUri(endpoint + CLOUD_SITE).queryParam("size", "1000").build());
}