Hi Poshitha, On Tue, Sep 23, 2014 at 1:37 PM, Poshitha Dabare <[email protected]> wrote:
> HI > > " A change in the API should be made for following requirement. > > Currently when a datasource is created from RSS it is name after the > database. But it is created from attached database users page and each > database user can create datasource from the same database, this might > create some conflict since the datasource may mean also the datauser too. > this can be eliminated by providing way to name the datasource as in > ndatasource component > > But the current *addCarbonDatasource* method in RSSadmin class does not > take parameter to datasource name. Therefore the method signature should be > changed so that it can take a new parameter called "dataSourceName" > > Else is there any way to invoke ndatasource ui with the datasource name > alread in " > --- > > Currently the signature is > > public void addCarbonDataSource(String environmentName, > UserDatabaseEntryInfo entry) > > need to change to something like > > public void addCarbonDataSource(String environmentName,String > dataSourceName, UserDatabaseEntryInfo entry) > +1. Please go ahead and make the change. Thanks, Bhathiya > > Any suggestions. > > > Thanks > > > > > On Mon, Sep 22, 2014 at 2:51 PM, Harsha Kumara <[email protected]> wrote: > >> I think giving the option to select the data source name is ideal. I >> don't think navigate to ndatasource ui is a good option. >> >> On Mon, Sep 22, 2014 at 2:44 PM, Bhathiya Jayasekara <[email protected]> >> wrote: >> >>> What is the current signature? >>> >>> On Mon, Sep 22, 2014 at 2:42 PM, Poshitha Dabare <[email protected]> >>> wrote: >>> >>>> Hi >>>> >>>> A change in the API should be made for following requirement. >>>> >>>> Currently when a datasource is created from RSS it is name after the >>>> database. But it is created from attached database users page and each >>>> database user can create datasource from the same database, this might >>>> create some conflict since the datasource may mean also the datauser too. >>>> this can be eliminated by providing way to name the datasource as in >>>> ndatasource component >>>> >>>> But the current *addCarbonDatasource* method in RSSadmin class does >>>> not take parameter to datasource name. Therefore the method signature >>>> should be changed so that it can take a new parameter called >>>> "dataSourceName" >>>> >>>> Else is there any way to invoke ndatasource ui with the datasource name >>>> alread in >>>> >>>> Any suggestions. >>>> >>>> Thanks >>>> >>>> -- >>>> Poshitha Dabare >>>> Software Engineer >>>> >>>> Mob: 075 536 8005 >>>> >>> >>> >>> >>> -- >>> *Bhathiya Jayasekara* >>> *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/>* >>> >> >> >> >> -- >> Harsha Kumara >> Software Engineer, WSO2 Inc. >> Mobile: +94775505618 >> Blog:harshcreationz.blogspot.com >> > > > > -- > Poshitha Dabare > Software Engineer > > Mob: 075 536 8005 > -- *Bhathiya Jayasekara* *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/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
