Re: Customizing serialization in Stratos to maintain backward compatibility of serialized data

2015-11-30 Thread Isuru Haththotuwa
Totally +1 to moving to a proper DB schema, but with the amount of changes it will incur IMHO it will take some time to develop, test and incorporate in to Stratos. This suggestion is merely to fix the problem that we have in the current model. On Mon, Nov 30, 2015 at 5:36 PM, Sajith Kariyawasam

Re: Customizing serialization in Stratos to maintain backward compatibility of serialized data

2015-11-30 Thread Sajith Kariyawasam
As I see the main drawback of using serialized data is that its hard to do a data migration. If a jbdc database was used, this issue could have sorted with a simple DB migration. +1 to resume the work that Jane has started. We should try to write standard sql queries as much as possible to support

Re: Customizing serialization in Stratos to maintain backward compatibility of serialized data

2015-11-28 Thread Imesh Gunaratne
A good suggestion Isuru! I think the best option is to move the registry based data store to a database due to many reasons. Jane started this effort sometime back but it was halted. Thanks On Tue, Nov 24, 2015 at 3:35 PM, Isuru Haththotuwa wrote: > Hi Devs, > > We are heavily using serializat

Customizing serialization in Stratos to maintain backward compatibility of serialized data

2015-11-24 Thread Isuru Haththotuwa
Hi Devs, We are heavily using serialization to store context/runtime data throughout Stratos, and we depend on the default serialization mechanism provided by Java. The downside of this is if a Serialized class is changed (adding/removing a non-transient and non-static class variables), we cannot