Hi Reka, Isuru,

I undeployed all service groups using DELETE API, however  when I execute
GET for groups, they are still listed.

*Stratos logs*
[2014-11-12 20:58:34,969]  INFO
{org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} -  Successfully
undeployed the Service Group Definition with name group1
[2014-11-12 20:58:42,208]  INFO
{org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} -  Successfully
undeployed the Service Group Definition with name group2

*Curl command after undeployment*
udara@udara-ThinkPad-T530:~/projects/stratos/temp/stratos-demo-resources
[master]$ curl -X GET -H "Content-Type: application/json" -d
@'m2-group1.json' -k -v -u admin:admin https://localhost:9443/api/groups
{
    "serviceGroup": [
        {
            "cartridges": [
                "mysql"
            ],
            "dependencies": {
                "terminationBehaviour": "terminate-none"
            },
            "name": "group1"
        },
        {
            "cartridges": [
                "mysql"
            ],
            "dependencies": {
                "startupOrders": [
                    "group.group1,cartridge.mysql"
                ]
            },
            "name": "group2",
            "subGroups": [
                "group1"
            ]
        }
    ]
}


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to