wso2 - Need script to deploy, undeploy apps and get list of installed apps -


  1. is there way list of installed cars , reading meta-data (version, etc..) on wso2esb beside web-interface? want use in jenkins script.
  2. i found jenkins plugin deploying cars. how can remove installed car?

you can lot admin tasks using osgi web services.

to list of service, start server in osgi console mode:

./wso2server.sh -dosgiconsole 

after server startup, can list available services:

osgi> listadminservices 

now see urls (endpoints) of soap services. depends, deployed using car, assume may use "synapseapplicationadmin", "restapiadmin" or "applicationadmin" service.

i've found "applicationadmin" wsdl here: https://svn.wso2.org/repos/wso2/carbon/platform/trunk/service-stubs/org.wso2.carbon.application.mgt.stub/src/main/resources/applicationadmin.wsdl

in service can use operations, like

  • listallapplications
  • deleteapplication

Comments