Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-14 Thread Imesh Gunaratne
Hi Martin, I'm sorry for the confusion, please see my comments below: On Wed, May 13, 2015 at 9:43 AM, Martin Eppel (meppel) wrote: > > > When A is active B and K starts up, when B is active, C and D start up, > when D is active E starts up – what should the json look like: > > > >

RE: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-14 Thread Shaheedur Haque (shahhaqu)
From: Imesh Gunaratne [mailto:im...@apache.org] Sent: 14 May 2015 16:04 To: dev Cc: Reka Thirunavukkarasu; Dakshika Jayathilaka; Martin Eppel (meppel) Subject: Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions Hi Shaheed, On Tue, May 12, 2015 at 10:01 PM, Shaheedur Haque

Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-14 Thread Imesh Gunaratne
Hi Shaheed, On Tue, May 12, 2015 at 10:01 PM, Shaheedur Haque (shahhaqu) < shahh...@cisco.com> wrote: > Let me come to the alias part in a moment, because I have thought about > that last night J. > > > > The question I posed might be phrased like this: > > ·My expectation is that startu

RE: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-12 Thread Shaheedur Haque (shahhaqu)
not justify proliferating their use. From: Imesh Gunaratne [mailto:im...@apache.org] Sent: 12 May 2015 02:27 To: dev Cc: Reka Thirunavukkarasu; Dakshika Jayathilaka Subject: Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions Hi Shaheed, I'm sorry I did not get what you mean. D

Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-11 Thread Imesh Gunaratne
you > have [“A”, “B”, “C”]: > > > > 1. Is the order A then B then C? > > 2. Is the meaning EXACTLY the same as specifying [“A”, “B”] and also > [“B”, “C”]? > > > > > > *From:* Imesh Gunaratne [mailto:im...@apache.org] > *Sent:* 10 May 2015

RE: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-11 Thread Shaheedur Haque (shahhaqu)
the meaning EXACTLY the same as specifying [“A”, “B”] and also [“B”, “C”]? From: Imesh Gunaratne [mailto:im...@apache.org] Sent: 10 May 2015 10:37 To: dev Cc: Shaheedur Haque (shahhaqu); Reka Thirunavukkarasu; Dakshika Jayathilaka Subject: Re: [Discuss] Fixing Comma Separated Dependency JSON

Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-10 Thread Imesh Gunaratne
I have now updated the API and the samples accordingly. The changes were pushed to master branch with the following commit revision: 112680a12ec5dc0a53d8253eb7818bf0e76adf07 We need to update the UI with this modification. Thanks On Sun, May 10, 2015 at 1:47 PM, Imesh Gunaratne wrote: > It loo

Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-10 Thread Imesh Gunaratne
It looks like I have made a mistake in the above sample when defining aliases. Aliases should either start with "cartridge." or "group.": { "startupOrders":[ { "aliases":[ "cartridge.oracle1", "cartridge.cassandra1", "cartridge.tomcat1"

Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-10 Thread Imesh Gunaratne
A good point Chamila! IMO order of elements in array is by default preserved by CXF. We might need to verify it. Thanks On Sun, May 10, 2015 at 12:12 PM, Chamila De Alwis wrote: > Hi Imesh, > > Is the order among the array preserved during serialization and de > serialization in JSON? Is it exp

Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions

2015-05-09 Thread Chamila De Alwis
Hi Imesh, Is the order among the array preserved during serialization and de serialization in JSON? Is it explicitly declared in the bean via JsonPropertyOrder annotation? On May 10, 2015 11:57 AM, "Imesh Gunaratne" wrote: > Hi Devs, > > According to a suggestion made by Shaheed I have now updat