stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: [Discuss] Fixing Comma Separated Dependency JSON Definitions
Date Sun, 10 May 2015 07:12:57 GMT
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 <chamilad@wso2.com>
wrote:

> 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" <imesh@apache.org> wrote:
>
>> Hi Devs,
>>
>> According to a suggestion made by Shaheed I have now updated the
>> dependency JSON definitions (startup orders and scaling dependents) as
>> follows:
>>
>> {
>>    "startupOrders":[
>>       {
>>          "aliases":[
>>             "oracle.oracle1",
>>             "cassandra.cassandra1",
>>             "tomcat.tomcat1"
>>          ]
>>       },
>>       {
>>          "aliases":[
>>             "oracle.oracle1",
>>             "redis.redis1"
>>          ]
>>       }
>>    ],
>>    "scalingDependents":[
>>       {
>>          "aliases":[
>>             "redis.redis1",
>>             "tomcat.tomcat1"
>>          ]
>>       }
>>    ]
>> }
>>
>> Please feel free to share your thoughts on this.
>>
>> Thanks
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message