Thanks a lot for the detailed information Dharshana. I will add and use this webapp.
Thanks, Bhathiya On Fri, Feb 26, 2016 at 9:42 PM, Dharshana Warusavitharana < [email protected]> wrote: > Hi Bhatiya, > > This uses web app deployed in product to expose set of APIs deployed to > Synapse context. We originally developed this to monitor dep sync between > gateway nodes. You can take the web app form [1] and implement until as > this to check this. There is a web app on APIM repo as well on [2]. But > latest one is available at [1]. you can merge it to APIM product repo form > [3]. > > > Just deploy this war into product and use following REST calls to take > status. > > Please find webapp details here > *API status* > > All Apis > > http://localhost:9763/APIStatusMonitor/apiInformation/api/getApiList > > *http://localhost:9763/APIStatusMonitor/apiInformation/api/{tenantDomain}/{tenantId}/getApiList > <http://localhost:9763/APIStatusMonitor/apiInformation/api/%7BtenantDomain%7D/%7BtenantId%7D/getApiList>* > > http://localhost:9763/APIStatusMonitor/apiInformation/api/wso2.org/1/getApiList > > Get specific API info > > > *http://localhost:9763/APIStatusMonitor/apiInformation/api/getStatus/{webappName}/{version} > <http://localhost:9763/APIStatusMonitor/apiInformation/api/getStatus/%7BwebappName%7D/%7Bversion%7D>* > > http://localhost:9763/APIStatusMonitor/apiInformation/api/getStatus/adminApi123/1.0.0 > *http://localhost:9763/APIStatusMonitor/apiInformation/api/{tenantDomain}/{tenantId}/{webappName}/{version} > <http://localhost:9763/APIStatusMonitor/apiInformation/api/%7BtenantDomain%7D/%7BtenantId%7D/%7BwebappName%7D/%7Bversion%7D>* > > http://localhost:9763/APIStatusMonitor/apiInformation/api/wso2.org/1/testTenantApi/1.0.0 > > *WebApp status* > > All webapps > http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/allApps > > *http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/ > <http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/>{tenantDomain}/{tenantId}/allApps* > > http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/wso2.org/1/allApps > > *Webapp Info* > > > http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/APIStatusMonitor.war > > *http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/{tenantDomain}/{tenantId}/{webappName} > <http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/%7BtenantDomain%7D/%7BtenantId%7D/%7BwebappName%7D>* > > http://localhost:9763/APIStatusMonitor/webAppStatus/webappInfo/wso2.org/1/APIStatusMonitor.war > > > *Git repo * > https://github.com/dkasunw/artifactMonitor.git > > > > [1]. https://github.com/dkasunw/artifactMonitor.git > [2]. > https://github.com/wso2/product-apim/tree/master/modules/integration/tests-common/backend-service/monitor-app > [3]. > https://github.com/krishanthasamaraweera/product-apim/tree/master/modules/integration/tests-common/backend-service/monitor-app > > Thank you, > Dharshana. > > On Fri, Feb 26, 2016 at 6:41 PM, Bhathiya Jayasekara <[email protected]> > wrote: > >> Hi TA team, >> >> In [1], inside waitForAPIDeploymentSync() method, it checks for >> ExecutionEnvironment.PLATFORM before proceeding to wait. >> >> But even in standalone mode, I have seen API invocations sometimes fail >> as API is not completely deployed at that time. So, removing above >> conditional check and getting this functionality for standalone tests as >> well looks like a solution to me. WDYT? Can you think of any issues that >> can arise if we do that? >> >> [1] >> https://github.com/wso2/product-apim/blob/master/modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/utils/base/APIMIntegrationBaseTest.java#L416 >> >> Thanks, >> >> -- >> *Bhathiya Jayasekara* >> *Senior Software Engineer,* >> *WSO2 inc., http://wso2.com <http://wso2.com>* >> >> *Phone: +94715478185 <%2B94715478185>* >> *LinkedIn: http://www.linkedin.com/in/bhathiyaj >> <http://www.linkedin.com/in/bhathiyaj>* >> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* >> *Blog: http://movingaheadblog.blogspot.com >> <http://movingaheadblog.blogspot.com/>* >> > > > > -- > > Dharshana Warusavitharana > Senior Software Engineer , Test Automation > WSO2 Inc. http://wso2.com > email : [email protected] <[email protected]> > Tel : +94 11 214 5345 > Fax :+94 11 2145300 > cell : +94770342233 > blog : http://dharshanaw.blogspot.com > > lean . enterprise . middleware > -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
