Hi Sagara, Ok, Lets keep it as it is for now.
--Srinath On Wed, Jul 31, 2013 at 10:52 AM, Sagara Gunathunga <[email protected]> wrote: > > > > On Wed, Jul 31, 2013 at 10:30 AM, Srinath Perera <[email protected]> wrote: > >> Why are we not storing this metadata in the registry? May be I am missing >> something .. but to me that is right place to put them. >> > > > (1) This is to make it compatible with the way we handle metadata for > Axis2 services on AS, for Axis2 service matadata such as security, policy, > RM, throttling, service enabling/disabling , SOAP tracing are persists in a > XML file within the "repository/deployment/server/servicemetafiles" > directory. I'm not aware with exact design decision behind this but we > haven't face any issue with this architecture it worked as expected in both > standalone and clustered setups so I don't think we need something new or > something incompatible with service metadata to handle metadeta belong to > web applications. > > (2) When adding QoS to a Axis2 service those changes will propagate to > other clustered nodes in the real time I'm not sure whether we can achieve > same thing using registry easily. Also DepSync support and > MetadataDeployer wrote for service metadata management will be reuse for > web app metadata too this is kind of adding missing peace. In maintenance > wise we don't need to maintain two different architectures to handle meta > data belong to web-apps and services. > > Thanks ! > > > >> >> >> >> >> On Wed, Jul 31, 2013 at 10:09 AM, Sagara Gunathunga <[email protected]>wrote: >> >>> >>> >>> >>> On Wed, Jul 31, 2013 at 10:01 AM, Supun Malinga <[email protected]> wrote: >>> >>>> +1 for this >>>> This can solve many current limitations we have on webapps in a >>>> cluster.. >>>> >>> >>> In addition to that all of our web app (including JAX-WS/JAX-RS) based >>> new features will be based on this component. >>> >>> Thanks ! >>> >>>> For eg. Preserving webapp state. >>>> >>>> Thanks. >>>> -- >>>> Supun Malinga >>>> Sent from my phone. >>>> On 29 Jul 2013 11:51, "Kasun Gajasinghe" <[email protected]> wrote: >>>> >>>>> Hi Srinath, >>>>> >>>>> Each webapp will contain its own metafile. It can have a metadata like >>>>> - >>>>> >>>>> *enable.statistics*=true >>>>> >>>>> Thanks, >>>>> KasunG >>>>> >>>>> >>>>> >>>>> On Mon, Jul 29, 2013 at 11:39 AM, Srinath Perera <[email protected]>wrote: >>>>> >>>>>> What is an example of Webapp metadata? >>>>>> >>>>>> --Srinath >>>>>> >>>>>> >>>>>> On Sat, Jul 27, 2013 at 7:35 PM, Sagara Gunathunga >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Jul 27, 2013 at 9:51 AM, Kasun Gajasinghe >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> We have added support for webapp metadata persistence. This is used >>>>>>>> to synchronize the metadata changes in a cluster, and to reload the >>>>>>>> metadata during server restarts. Currently, we use this to persist the >>>>>>>> per >>>>>>>> webapp BAM webapp statistics publishing enable/disable switch. We can >>>>>>>> extend this later on to persist other metadata we would need as well. >>>>>>>> We >>>>>>>> have also written a webapp metadata deployer to read the update >>>>>>>> deployed >>>>>>>> webapps using the metadata. The webapp metadata is persisted in to >>>>>>>> <CARBON-HOME>/repository/deployment/server/* >>>>>>>> artifactMetafiles/webapp*. >>>>>>>> >>>>>>>> This is implemented using the unified metadata api that has been >>>>>>>> added to the kernel. Any artifact management can leverage the unified >>>>>>>> metadata api to persist the artifact metadata. The metadata >>>>>>>> persistence is >>>>>>>> done using simple properties file which eliminates the need of complex >>>>>>>> things like xpath etc. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> +1 >>>>>>> >>>>>>> Thanks ! >>>>>>> >>>>>>>> >>>>>>>> Thanks, >>>>>>>> KasunG >>>>>>>> >>>>>>>> -- >>>>>>>> *Kasun Gajasinghe* >>>>>>>> Software Engineer; >>>>>>>> Development Technologies Team, WSO2 Inc.; http://wso2.com >>>>>>>> >>>>>>>> >>>>>>>> , >>>>>>>> *email: **kasung AT spamfree wso2.com >>>>>>>> >>>>>>>> >>>>>>>> ** cell: **+94 (77) 678-0813* >>>>>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe >>>>>>>> >>>>>>>> >>>>>>>> * >>>>>>>> * >>>>>>>> *blog: **http://kasunbg.org* <http://kasunbg.org> >>>>>>>> >>>>>>>> >>>>>>>> * >>>>>>>> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg> >>>>>>>> >>>>>>>> >>>>>>>> * >>>>>>>> * >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Architecture mailing list >>>>>>>> [email protected] >>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sagara Gunathunga >>>>>>> >>>>>>> Senior Technical Lead; WSO2, Inc.; http://wso2.com >>>>>>> V.P Apache Web Services; http://ws.apache.org/ >>>>>>> Linkedin; http://www.linkedin.com/in/ssagara >>>>>>> Blog ; http://ssagara.blogspot.com >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Architecture mailing list >>>>>>> [email protected] >>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> ============================ >>>>>> Srinath Perera, Ph.D. >>>>>> http://people.apache.org/~hemapani/ >>>>>> http://srinathsview.blogspot.com/ >>>>>> >>>>>> _______________________________________________ >>>>>> Architecture mailing list >>>>>> [email protected] >>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Kasun Gajasinghe* >>>>> Software Engineer; >>>>> Development Technologies Team, WSO2 Inc.; http://wso2.com >>>>> >>>>> >>>>> , >>>>> *email: **kasung AT spamfree wso2.com >>>>> >>>>> >>>>> ** cell: **+94 (77) 678-0813* >>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe >>>>> >>>>> >>>>> * >>>>> * >>>>> *blog: **http://kasunbg.org* <http://kasunbg.org> >>>>> >>>>> >>>>> * >>>>> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg> >>>>> >>>>> >>>>> * >>>>> * >>>>> >>>>> _______________________________________________ >>>>> Architecture mailing list >>>>> [email protected] >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>> >>>>> >>>> _______________________________________________ >>>> Architecture mailing list >>>> [email protected] >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>> >>>> >>> >>> >>> -- >>> Sagara Gunathunga >>> >>> Senior Technical Lead; WSO2, Inc.; http://wso2.com >>> V.P Apache Web Services; http://ws.apache.org/ >>> Linkedin; http://www.linkedin.com/in/ssagara >>> Blog ; http://ssagara.blogspot.com >>> >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> ============================ >> Srinath Perera, Ph.D. >> Director, Research, WSO2 Inc. >> Visiting Faculty, University of Moratuwa >> Member, Apache Software Foundation >> Research Scientist, Lanka Software Foundation >> Blog: http://srinathsview.blogspot.com/ >> Photos: http://www.flickr.com/photos/hemapani/ >> Phone: 0772360902 >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > Sagara Gunathunga > > Senior Technical Lead; WSO2, Inc.; http://wso2.com > V.P Apache Web Services; http://ws.apache.org/ > Linkedin; http://www.linkedin.com/in/ssagara > Blog ; http://ssagara.blogspot.com > > -- ============================ Srinath Perera, Ph.D. http://people.apache.org/~hemapani/ http://srinathsview.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
