Skip to main content

Posts

Showing posts from June, 2017

How to remove a thumbnail from an API

Let's say you have created an API in API cloud and you have added thumbnail image to it. Now you want to remove it. When you go to the edit api view it allows you to change the thumbnail, but not remove. Let's see how we can remove it. 1. login to the carbon console of gateway node as tenant admin https://gatewaymgt.api.cloud.wso2.com/carbon 2. Go to Resource -> Browse under main menu 3. Go to "/_system/governance/apimgt/ applicationdata/provider"  4. Click on the relevant tenant - you will see list of APIs (eg: amalka-AT-wso2.com-AT-esbtenant1) 5. Select relevant API - you will see api artifact   (eg: api1 under version 1.0.0) 6. Click on "api" - you will see list of meta data for that api 7. Remove the thumbnail value from attribute "Thumbnail" 8. Save the API 9. Then logout from the API publisher UI and login in incognito window, you will see thumbnail has removed from your API.

How to start multiple services as a group in WSO2 Integration Cloud

Let's say, we have a use case which is deployed in Integration Cloud and that involves number of applications. There can be a PHP/Web application which user interact, ESB which provide integration with number of systems and DSS to manipulate database. So let's say we want to start/stop these 3 applications as a group. But at the moment, Integration Cloud does not provide any grouping. So you have to login to the Integration Cloud and go to each and every application and start/stop those. To make this little easier, we can use Integration Cloud REST API and write our own script. This is the script to start the all applications as a group. You need to provide username, password, organization name and file which contains application list with versions How to execute this script ./startProject.sh <username> <password> <orgnaizationName> wso2Project.txt wso2Project.txt file content should be like this. There you should provide applicationName and ve