Agree with Azeez. I don't think we need platform wide adoption of solutions to these problems.
In general I don't see a value in storing meta information on files since it causes problems in HA deployments (how to sync files), multi DC deployments, containers (need a volume mount), search functions, etc. Storing them in a product specific DB would do in most cases. If third parties need access to the data the product should provide access through standard APIs. On Thu, 2 Mar 2017 at 11:40 pm, Afkham Azeez <[email protected]> wrote: > There is no such common way. These are artifacts specific to your product > and think of it in the context of the product and what is the best way to > maintain that data. In general, storing such metadata in your own product > specific DB works. > > On Thu, Mar 2, 2017 at 5:21 PM, Harsha Thirimanna <[email protected]> > wrote: > > Hi Nuwan, > > We have several use cases for this as per artifacts, > > 1. XACML policy - Each XACML policy contain its own metadata like created > details, active states, policy order. > 2. Service Provider - We have to keep the Tags, Visible roles, Agent or > Proxy, App URL. > > And generally, what i meant was, we should have a way to do this in common > way across the platform. If we deploy artifact in file based and keep > metadata in database, sometimes it would be inconsistent. > > *Harsha Thirimanna* > *Associate Tech Lead | WSO2* > > Email: [email protected] > Mob: +94715186770 <071%20518%206770> > Blog: http://harshathirimanna.blogspot.com/ > Twitter: http://twitter.com/harshathirimann > Linked-In: linked-in: > http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 > <http://wso2.com/signature> > > On Thu, Mar 2, 2017 at 4:56 PM, Nuwan Dias <[email protected]> wrote: > > Hi Harsha, > > Can you explain the requirement using a specific example? That would be > easier to understand. > > Thanks, > NuwanD. > > On Thu, Mar 2, 2017 at 10:15 PM, Harsha Thirimanna <[email protected]> > wrote: > > Hi All, > > What would be the best approach for keeping metadata for artifact in C5 ? > We ca have mainly two option either keep per artifact type database table > or per artifact metafile. Are there any platform level solution for this ? > > thanks > > *Harsha Thirimanna* > *Associate Tech Lead | WSO2* > > Email: [email protected] > Mob: +94715186770 <+94%2071%20518%206770> > Blog: http://harshathirimanna.blogspot.com/ > Twitter: http://twitter.com/harshathirimann > Linked-In: linked-in: > http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 > <http://wso2.com/signature> > > > > > -- > Nuwan Dias > > Software Architect - WSO2, Inc. http://wso2.com > email : [email protected] > Phone : +94 777 775 729 <+94%2077%20777%205729> > > > > > > -- > *Afkham Azeez* > Senior Director, Platform Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>* > *email: **[email protected]* <[email protected]> > * cell: +94 77 3320919blog: **http://blog.afkham.org* > <http://blog.afkham.org> > *twitter: **http://twitter.com/afkham_azeez* > <http://twitter.com/afkham_azeez> > *linked-in: **http://lk.linkedin.com/in/afkhamazeez > <http://lk.linkedin.com/in/afkhamazeez>* > > *Lean . Enterprise . Middleware* > -- Nuwan Dias Software Architect - WSO2, Inc. http://wso2.com email : [email protected] Phone : +94 777 775 729
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
