Also, atleast in all your examples, the end result is same. However, in this case, when you create a datasource from UI, it will be in registry and when you create in capp, it will be in file system.
My question was, you explained what you are doing. You haven't explained why you are doing it. Are we doing for the sake of doing? :D. Can you explain more on why this feature is needed? what is the userstory? On Fri, Jun 13, 2014 at 5:24 AM, Chintana Wilamuna <[email protected]> wrote: > Even though dragging and dropping is working in your machine this is > discouraged because this directory is an implementation detail. In a > multi-tenant setup a folder is created with the tenant ID and artifacts are > copied there. Recommended way to deploy artifacts is to either use the > admin UI or write a program that calls CarbonAppUploader for CApps. Just > because there are more ways of doing the same thing doesn't necessarily > mean all of them are the right thing. > > -Chintana > > > On Thu, Jun 12, 2014 at 5:15 AM, Rajith Vitharana <[email protected]> > wrote: > >> Hi Shankar, >> >> You have already pointed out two ways of doing the same thing. As I have >> noticed there are other things which have two or more ways of doing the >> same thing. For example in AS we can either drag and drop a war file in to >> the web apps folder or we can upload the war file using the UI. In BAM >> either we can upload the toolbox or we can drag and drop it to the >> bam-toolbox folder. Can I know why it is bad to have two ways of doing the >> same thing? >> >> Thanks >> >> >> On Thu, Jun 12, 2014 at 3:07 PM, Selvaratnam Uthaiyashankar < >> [email protected]> wrote: >> >>> Why do we need this, when we have a way to define data source from UI? >>> Even if we want, we can define it as a registry resource (resource where >>> the UI writes) don't we? It is generally bad to have two ways to do the >>> same thing. >>> >>> >>> On Wednesday, June 11, 2014, Rajith Vitharana <[email protected]> wrote: >>> >>>> Hi all, >>>> >>>> Currently there are no deployer to deploy datasources if it was given >>>> as a xml file inside a CAPP. So we are going to implement a Datasource >>>> deployer for this purpose. It will take a datasource.xml file which reside >>>> inside a CAPP and deploy that datasource in to the server. >>>> >>>> Thanks, >>>> >>>> -- >>>> Rajith Vitharana >>>> >>>> Software Engineer, >>>> WSO2 Inc. : wso2.com >>>> Mobile : +94715883223 >>>> Blog : http://lankavitharana.blogspot.com/ >>>> >>> >>> >>> -- >>> S.Uthaiyashankar >>> VP Engineering >>> WSO2 Inc. >>> http://wso2.com/ - "lean . enterprise . middleware" >>> >>> Phone: +94 714897591 >>> >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> Rajith Vitharana >> >> Software Engineer, >> WSO2 Inc. : wso2.com >> Mobile : +94715883223 >> Blog : http://lankavitharana.blogspot.com/ >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > Chintana Wilamuna > Architect - Solutions Architecture > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > phone: +1 408 429 3321 > blog: http://engwar.com/ > photos: http://flickr.com/photos/chintana > linkedin: http://www.linkedin.com/in/engwar > twitter: twitter.com/std_err > -- S.Uthaiyashankar VP Engineering WSO2 Inc. http://wso2.com/ - "lean . enterprise . middleware" Phone: +94 714897591
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
