Hi, Currently we get the service group definition using the GET curl command as follows.
{ "serviceGroup":{ "cartridges":[ "tomcat" ], "dependencies":{ "startupOrders":[ "group.group1,cartridge.tomcat" ], "terminationBehaviour":"terminate-dependents" }, "name":"group3", "subGroups":[ "group1" ] } } But when we used describe partitions and describe deployment policy commands in CLI we get the output as the JSON array. IMO is above service group definition should also be follow the same structure like follows. { "serviceGroup":[{ "cartridges":[ "tomcat" ], "dependencies":{ "startupOrders":[ "group.group1,cartridge.tomcat" ], "terminationBehaviour":"terminate-dependents" }, "name":"group3", "subGroups":[ "group1" ] } ] } Any thoughts of this ? Because according to the first JSON format I'm unable to deserialized the JSON using the ServiceGroupDefinition bean class. Thanks ! -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/