Hi Sabra,

As you might know we have a WSO2SS (Storage Sever) in AppCloud setup. This
is responsible to all the database related operations in AppCloud.

Similarly createDatabase() calls and admin service in SS. Check [1], you
can see that the payload is sent to SS deployed in AppCloud.

If you want to see all the admin services in SS or any WSO2 server you may
know that you can start the server enabling osgi console and
listAdminServices command will list down all the admin services. You can
refer [3], [2] for this.

Above operation which is createDatabase() direct to RSSAdmin service as you
can see from the [1]. This service will also get listed when you run
listAdminServices command in osgi console.

If you want to list down the operation list of the RSSAdmin or any
particular service you can simply use SoapUI. Open the wsdl from SoapUI and
it will list all the available operations related to that particular
service. You can refer [3] for this.


Hope this information will help you.

[1]
https://github.com/wso2/app-cloud/blob/master/modules/jaggeryapps/appmgt/src/modules/databases/add/add.jag#L56

[2]
http://stackoverflow.com/questions/21219907/list-admin-services-used-by-wso2-carbon-based-servers

[3] http://blog.lasindu.com/2014/08/how-to-call-wso2-products-admin.html


Thanks,
Kasun

On Tue, May 3, 2016 at 12:02 PM, Sabra Ossen <[email protected]> wrote:

> Hi All,
>
> I am new to App Cloud and I would like to know how the method
> "createDatabase" mentioned in [1] works when we create a database.
>
> AFAIU a web service request is sent to a Jax-Rs service. But where is this
> service hosted? and How can I find the additional operations supported by
> the service.
>
> Any help on understanding the scenario is appreciated.
>
> Thanks and Regards.
>
> [1]
> https://github.com/wso2/app-cloud/blob/master/modules/jaggeryapps/appmgt/src/modules/databases/add/add.jag#L35
>
> --
> *Sabra Ossen*
> *Software Engineer*
> Email: [email protected]
> Mobile: +94 767 837356
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : [email protected]
mobile : +94 77 794 4260
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to