Re: [Discuss] Change Artifacts Stored in Registry to a Readable Format to Support Migrations

2014-06-18 Thread Udara Liyanage
Hi Chris, In json also if there is a it will assign the default value for non existing variables when converting from json to java object structure. Still if there is a considerable change in object structure, we have to perform additional work in migration. Say we have introduced an variable x,

Re: [Discuss] Change Artifacts Stored in Registry to a Readable Format to Support Migrations

2014-06-18 Thread chris snow
Hi Udara, I'm not sure of the situation with JSON, but when using XML it is possible to evolve a schema as long as changes are done in a backward compatible way. For example, if you add an optional field, the parsing code will be able to read xml created with and without the field. However, IIRC

Re: [Discuss] Change Artifacts Stored in Registry to a Readable Format to Support Migrations

2014-06-18 Thread Udara Liyanage
Hi, One more thing that comes to mind was is there a limitation of the size of the text that can be stored in registry. When the topology grows, it json also grows. I assume the registry handles this somehow, but should verify beforehand. On Thu, Jun 19, 2014 at 11:15 AM, Udara Liyanage wrote:

Re: [Discuss] Change Artifacts Stored in Registry to a Readable Format to Support Migrations

2014-06-18 Thread Udara Liyanage
Hi Imesh/Dinesh, Though we used a readable json/xml/text still we can't migrate seamlessly? When migrating we have to read the old json and convert it it the new object structure. Could you please explain how making it readable helps to migrate seamlessly. On Wed, Jun 18, 2014 at 2:19 PM, Ime

[jira] [Created] (STRATOS-676) LB shouldn't be re-writing http location header if Location is a hostname

2014-06-18 Thread Nirmal Fernando (JIRA)
Nirmal Fernando created STRATOS-676: --- Summary: LB shouldn't be re-writing http location header if Location is a hostname Key: STRATOS-676 URL: https://issues.apache.org/jira/browse/STRATOS-676 Proje

Remove old cartridge xml files

2014-06-18 Thread Udara Liyanage
Hi, We still have old cartridge xml files in ./tools/stratos-installer/cartridges which are no longer valid. I think we should remove them and add new cartridge json files. -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wo

Re: [suggestion] Creating sample git repos for cartridges we have in default

2014-06-18 Thread Melan Nimesh
Hi, we created a Joomla git repository [1], which can be with PHP cartridges Thanks, Melan [1] https://github.com/Apache-Stratos/joomla.git On Thu, Jun 19, 2014 at 10:40 AM, Lahiru Sandaruwan wrote: > We have created open source organization account in Github for this, [1]. > > [1] https://

Re: [Discuss] Python cartridge agent for Stratos

2014-06-18 Thread Udara Liyanage
Good work Dinesh. On Thu, Jun 19, 2014 at 10:30 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Great work Dinesh !!! > > > On Thu, Jun 19, 2014 at 10:09 AM, Reka Thirunavukkarasu > wrote: > >> Great work Dinesh..! >> >> >> On Thu, Jun 19, 2014 at 12:18 AM, Sajith Kariyawasam >

Re: [suggestion] Creating sample git repos for cartridges we have in default

2014-06-18 Thread Lahiru Sandaruwan
We have created open source organization account in Github for this, [1]. [1] https://github.com/Apache-Stratos On Thu, Jun 19, 2014 at 10:29 AM, Reka Thirunavukkarasu w

Re: [Discuss] Python cartridge agent for Stratos

2014-06-18 Thread Manula Chathurika Thantriwatte
Great work Dinesh !!! On Thu, Jun 19, 2014 at 10:09 AM, Reka Thirunavukkarasu wrote: > Great work Dinesh..! > > > On Thu, Jun 19, 2014 at 12:18 AM, Sajith Kariyawasam > wrote: > >> Great work Dinesh! >> >> >> On Wed, Jun 18, 2014 at 3:05 PM, Imesh Gunaratne >> wrote: >> >>> Great stuff!! Very

Re: [suggestion] Creating sample git repos for cartridges we have in default

2014-06-18 Thread Reka Thirunavukkarasu
+1. Will be very helpful.. Thanks, Reka On Thu, Jun 19, 2014 at 10:24 AM, Imesh Gunaratne wrote: > +1 A good thought Lahiru. > > > On Thu, Jun 19, 2014 at 5:58 AM, Lahiru Sandaruwan > wrote: > >> >> >> >> On Thu, Jun 19, 2014 at 12:24 AM, Sajith Kariyawasam >> wrote: >> >>> I think its a go

Re: [suggestion] Creating sample git repos for cartridges we have in default

2014-06-18 Thread Imesh Gunaratne
+1 A good thought Lahiru. On Thu, Jun 19, 2014 at 5:58 AM, Lahiru Sandaruwan wrote: > > > > On Thu, Jun 19, 2014 at 12:24 AM, Sajith Kariyawasam > wrote: > >> I think its a good idea, also those repos should not be directly used for >> subscriptions, who ever wants to test the repo would need

[jira] [Created] (STRATOS-675) CEP execution plan should get executed per networkpartion in a cluster

2014-06-18 Thread Reka Thirunavukkarasu (JIRA)
Reka Thirunavukkarasu created STRATOS-675: - Summary: CEP execution plan should get executed per networkpartion in a cluster Key: STRATOS-675 URL: https://issues.apache.org/jira/browse/STRATOS-675

Re: [Discuss] Python cartridge agent for Stratos

2014-06-18 Thread Reka Thirunavukkarasu
Great work Dinesh..! On Thu, Jun 19, 2014 at 12:18 AM, Sajith Kariyawasam wrote: > Great work Dinesh! > > > On Wed, Jun 18, 2014 at 3:05 PM, Imesh Gunaratne wrote: > >> Great stuff!! Very neat code Dinesh! :-) >> May be you could add some notes to the README file about the Thrift >> Python pac

Re: [suggestion] Creating sample git repos for cartridges we have in default

2014-06-18 Thread Lahiru Sandaruwan
On Thu, Jun 19, 2014 at 12:24 AM, Sajith Kariyawasam wrote: > I think its a good idea, also those repos should not be directly used for > subscriptions, who ever wants to test the repo would need to fork it and > use. > +1. > > > On Mon, Jun 16, 2014 at 6:15 PM, Lahiru Sandaruwan > wrote: > >>

Re: [suggestion] Creating sample git repos for cartridges we have in default

2014-06-18 Thread Sajith Kariyawasam
I think its a good idea, also those repos should not be directly used for subscriptions, who ever wants to test the repo would need to fork it and use. On Mon, Jun 16, 2014 at 6:15 PM, Lahiru Sandaruwan wrote: > Hi all, > > $subject. May be we can create an external Github account for this? > >

Re: [Discuss] Python cartridge agent for Stratos

2014-06-18 Thread Sajith Kariyawasam
Great work Dinesh! On Wed, Jun 18, 2014 at 3:05 PM, Imesh Gunaratne wrote: > Great stuff!! Very neat code Dinesh! :-) > May be you could add some notes to the README file about the Thrift Python > packages that the client is referring, how they are maintained. > > > > On Wed, Jun 18, 2014 at 7:

[Results] [Vote] Release Apache Stratos 4.0.0 - RC4

2014-06-18 Thread Imesh Gunaratne
Hi All, The vote for Stratos 4.0.0 - RC4 has passed with the following votes: +1 (Binding) -- Paul Fremantle Imesh Gunaratne Lakmal Warusawithana Chris Snow Suresh Marru Samisa Abeysinghe Isuru Haththotuwa Nirmal Fernando Melan Nimesh Manula Chathurika Thantriwatte Reka Thirunavuk

[jira] [Created] (STRATOS-674) Users and Roles can not be created via the UI

2014-06-18 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-674: Summary: Users and Roles can not be created via the UI Key: STRATOS-674 URL: https://issues.apache.org/jira/browse/STRATOS-674 Project: Stratos Issue

Re: [Vote] Release Apache Stratos 4.0.0 - RC4

2014-06-18 Thread Imesh Gunaratne
Thanks for all who voted, as planned will close this vote now. I will send the release mail shortly. Thanks On Tue, Jun 17, 2014 at 12:48 PM, Sajith Kariyawasam wrote: > +1, Verified the packs in EC2 and did a smoke test.. > > > On Tue, Jun 17, 2014 at 10:13 AM, Lahiru Sandaruwan > wrote: >

Re: [Discuss] Python cartridge agent for Stratos

2014-06-18 Thread Imesh Gunaratne
Great stuff!! Very neat code Dinesh! :-) May be you could add some notes to the README file about the Thrift Python packages that the client is referring, how they are maintained. On Wed, Jun 18, 2014 at 7:52 AM, Isuru Haththotuwa wrote: > Great news! Awesome work Dinesh! > > > On Wed, Jun 18,

Re: LB does not supports to rewrite location header with relative URLs ?

2014-06-18 Thread Imesh Gunaratne
Hi Melan, It's actually the Location header not the Host header. https://github.com/apache/stratos/blob/master/components/org.apache.stratos.load.balancer/src/main/java/org/apache/stratos/load/balancer/mediators/LocationReWriter.java Thanks On Wed, Jun 18, 2014 at 2:37 PM, Imesh Gunaratne wrot

Re: LB does not supports to rewrite location header with relative URLs ?

2014-06-18 Thread Imesh Gunaratne
Hi Melan, According to the current logic in LocationReWriter, even if the incoming Host header URL is relative the logic should not break. It will log the error and return without any problem. As a result the client will get the exact Host header returned by the member. However we could improve t

Re: [Discuss] Change Artifacts Stored in Registry to a Readable Format to Support Migrations

2014-06-18 Thread Imesh Gunaratne
Hi Dinesh, Great! Please provide your thoughts on the changes required in registry persistence logic as you progress. Thanks On Wed, Jun 18, 2014 at 12:27 PM, Dinesh Bandara wrote: > Hi, > > When I started work on [1] and I thought to persist cartridge > configuration in JSON format in Strato