We have Apigee edge and dev portal 4.16.01 on prem installed. Every thing is fine, we are able to create proxy and test using postman. We have swagger definition for api, and we were able to publish smartdocs on dev protal. Problem is here: we are not able to execute API from dev portal, please refer screen print. it just hung.
I have done following configuration so far, created a new org smartdocs on edge and it has an API smartdocs (http://xx:59002/smartdocs/v1).
and configured on portal but still not working, API calls from portal is not able to reach edge. you will notice in the screen print attached the method is not sendrequest it is going as undefined... not sure why. please advise how to fix it. thank you.
/data/www/html/profiles/apigee/modules/custom/devconnect/smartdocs/local/js/v6/model.js:543: Apigee.APIModel.proxyURL = "http://xx:59002/smartdocs/v1/sendrequest"; /data/www/html/profiles/apigee/modules/custom/devconnect/smartdocs/smartdocs.module:302: $proxy_root = 'http://xx:59002';
Solved! Go to Solution.
Hi @Pravin, we became aware of this issue a few days ago and are currently in the final phases of testing a fix before we issue a patch release. The autodetection for the SmartDocs API proxy URL is returning an invalid value; the upcoming patch release resolves this issue.
Hi @Pravin, we became aware of this issue a few days ago and are currently in the final phases of testing a fix before we issue a patch release. The autodetection for the SmartDocs API proxy URL is returning an invalid value; the upcoming patch release resolves this issue.
Thank you ! could you please let us know once patch is available. thank you.
I found it is available now.
http://docs.apigee.com/release-notes/content/4160501-apigee-developer-services-portal-release-notes
My update is failing with following error, please advise.
Command:. /networked-update.sh -c /tmp/apigee/dev-portal-response.txt
sed: can't read composer.json: No such file or directory Composer could not find a composer.json file in /tmp/apigee/DeveloperServices-4.16.05.01/tmp/temp-webroot/profiles/apigee/libraries/mgmt-api-php-sdk To initialize a project, please create a composer.json file as described in the <a href="https://getcomposer.org/">https://getcomposer.org</a>/ "Getting Started" section More logs- <a href="http://alexgorbatchev.com/SyntaxHighlighter/download/download.php?sh_current">http://alexgorbatchev.com/SyntaxHighlighter/download/download.php?sh_current</a>. Downloading library dependencies... sed: can't read composer.json: No such file or directory sed: can't read composer.json: No such file or directory Do not run Composer as root/super user! See <a href="https://getcomposer.org/root">https://getcomposer.org/root</a> for details Composer could not find a composer.json file in /tmp/apigee/DeveloperServices-4.16.05.01/tmp/temp-webroot/profiles/apigee/libraries/mgmt-api-php-sdk To initialize a project, please create a composer.json file as described in the <a href="https://getcomposer.org/">https://getcomposer.org</a>/ "Getting Started" section [31mFailed to install Edge SDK dependencies. Is composer configured correctly?(B[m [31mFailed to install Edge SDK dependencies. Is composer configured correctly?(B[m [31mComposer was installed at the following location:(B[m [31mComposer was installed at the following location:(B[m [31m> /usr/local/bin/composer(B[m [31m> /usr/local/bin/composer(B[m