Hi Danushka, Issue was solved after creating a datasource for the database created for testappo.
Thanks for the help/ On Tue, Aug 4, 2015 at 12:29 PM, Danushka Fernando <[email protected]> wrote: > Hi Kavith > It seems to be the correct api. > > 1. Do you have any datasources in the app *testappo*? > 2. What's the role of the user you tried this with? > 3. In which stages do you have the datasources in the given > application? > > > > Thanks & Regards > Danushka Fernando > Senior Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > On Tue, Aug 4, 2015 at 12:14 PM, Kavith Lokuhewage <[email protected]> > wrote: > >> Hi, >> >> What is the correct API to get information (name, DB URL, user, etc.) >> about the data-sources of a given application? >> >> I am currently improving App Factory tools in Developer studio and found >> that the API we are using currently (see below) is returning an empty array. >> >> Current API we are invoking:- >> Path: /appmgt/site/blocks/resources/datasource/get/ajax/list.jag >> >> Params: {applicationKey=testappo, action=getDatasources} >> >> >> Thanks, >> -- >> *Kavith Lokuhewage* >> Software Engineer >> WSO2 Inc. - http://wso2.com >> lean . enterprise . middleware >> Mobile - +9477-9-145-123 | +9471-455-6-401 >> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419> >> Twitter <https://twitter.com/KavithThiranga> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- *Kavith Lokuhewage* Software Engineer WSO2 Inc. - http://wso2.com lean . enterprise . middleware Mobile - +9477-9-145-123 | +9471-455-6-401 Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419> Twitter <https://twitter.com/KavithThiranga>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
