From d94a7aa4e63766500da9ad86491d2cf87e513d24 Mon Sep 17 00:00:00 2001 From: Kunming Qu <37601826+kunmingg@users.noreply.github.com> Date: Tue, 18 Sep 2018 16:33:55 -0700 Subject: [PATCH] increase pageSize for service list to avoid truncate (#1558) --- components/gcp-click-to-deploy/src/Gapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/gcp-click-to-deploy/src/Gapi.ts b/components/gcp-click-to-deploy/src/Gapi.ts index 4770361b7e5..1ef61c1abde 100644 --- a/components/gcp-click-to-deploy/src/Gapi.ts +++ b/components/gcp-click-to-deploy/src/Gapi.ts @@ -53,7 +53,7 @@ export default class Gapi { await Gapi.load(); const consumerId = encodeURIComponent(`project:${project}`); return gapi.client.request({ - path: `https://content-servicemanagement.googleapis.com/v1/services?consumerId=${consumerId}`, + path: `https://content-servicemanagement.googleapis.com/v1/services?pageSize=100&consumerId=${consumerId}`, }).then(response => response.result as ListServicesResponse, badResult => { throw new Error('Errors listing services: ' + flattenDeploymentOperationError(badResult.result));