ok then. Why we cant simply override the existing gadget with the same name(by giving a warning). even when server restart and redeploying the Capps.
On Wed, Nov 11, 2015 at 2:14 PM, Sachith Withana <[email protected]> wrote: > > > On Wed, Nov 11, 2015 at 2:10 PM, Malith Dhanushka <[email protected]> wrote: > >> Does the current model shows the gadgets created by one tenant to >> another tenant? >> > No. > >> >> On Wed, Nov 11, 2015 at 1:56 PM, Sachith Withana <[email protected]> >> wrote: >> >>> Hi all, >>> >>> Currently in the CApp deployment, the gadgets and the layout are copied >>> to gadget or layout directories under the tenant ID. >>> >>> With the current implementation, if there's already a gadget deployed >>> called "x", and another CApp tries to deploy its own gadget called "x", the >>> previous gadget gets overridden since all the gadgets are copied to the >>> same gadget folder for the same tenant. >>> >>> IMO this should be prevented. >>> >>> If we prefix the gadget folder with the respective CApp name, since the >>> gadget name taken from a property file inside the gadget folder, there will >>> be multiple gadgets with the same name appearing in the dashboard. >>> >>> Any thoughts on how we could solve this issue? >>> >>> >>> -- >>> Sachith Withana >>> Software Engineer; WSO2 Inc.; http://wso2.com >>> E-mail: sachith AT wso2.com >>> M: +94715518127 >>> Linked-In: <http://goog_416592669> >>> https://lk.linkedin.com/in/sachithwithana >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> Malith Dhanushka >> Senior Software Engineer - Data Technologies >> *WSO2, Inc. : wso2.com <http://wso2.com/>* >> *Mobile* : +94 716 506 693 >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > Sachith Withana > Software Engineer; WSO2 Inc.; http://wso2.com > E-mail: sachith AT wso2.com > M: +94715518127 > Linked-In: <http://goog_416592669> > https://lk.linkedin.com/in/sachithwithana > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Malith Dhanushka Senior Software Engineer - Data Technologies *WSO2, Inc. : wso2.com <http://wso2.com/>* *Mobile* : +94 716 506 693
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
