apigeetool partial failure and missing proxy definitions

Not applicable

Hi,

When using the apigeetool to deploy a node application, I am getting a partial failure as below.

apigeetool deploynodeapp -n <apiname> -d . -m testapp.js -o <orgName> -e test -b /<baseName> -u <userName> -v default,secure Password: ******** "<apiname>" Revision 1 error environment = test base path = / Partial Failure: {"status":"deployed","type":["message-processor"],"uUID":"715c2852-107f-442c-b798-9411c845776b"}Partial Failure: {"status":"deployed","type":["message-processor"],"uUID":" 4ee3e02b-3961-4950-8eb5-0b21743cc0ac"}Partial Failure: {"status":"deployed","type":["message-processor"],"uUID":"c8d88d3b-b847-4c9e-a095-d69c3e126b0b"}Partial Failure: {"status":"deployed" ,"type":["message-processor"],"uUID":"0507dbd8-7f72-42b1-ac78-cdbfdbefa287"}Partial Failure: {"status":"deployed","type":["router"],"uUID":"128875b4-2e2c-4803-ab44-ef03c2b27145"}Partial Fa ilure: {"status":"deployed","type":["router"],"uUID":"d1947fa3-0689-47b5-abef-d70e6e19e815"}

In edge, I can see it under the api proxies. However, when I access the api proxy, I get the error saying :

"The revision is deployed and traffic can flow, but flow may be impaired. Call timed out; either server is down or server is not reachable"

However, the proxy seems like returning the response correctly. The trace cannot be started and gives a "Deployment Error" saying "Revision 1 is deployed with errors in environment test, and cannot be traced.".

Any pointers why this error is occurring?

Also, I observed that, though the default proxy endpoint and target endpoint definitions are correct (XMLs under proxies and target directories), in the api proxy definition (XML), they () are not defined. See below:

<ProxyEndpoints/>

<Resources/>

<TargetServers/>

<TargetEndpoints/>

Do I need to download the API proxy and manually edit the XML as follows after deploying the node app using apigeetool?

<ProxyEndpoints>

<ProxyEndpoint>default</ProxyEndpoint>

</ProxyEndpoints>

<Resources>

<Resource>node://testapp.js</Resource>

</Resources>

<TargetServers/>

<TargetEndpoints>

<TargetEndpoint>default</TargetEndpoint>

</TargetEndpoints>

Thanks

0 0 190
0 REPLIES 0