stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: Groups are still showing even they are undeployed
Date Wed, 12 Nov 2014 15:41:36 GMT
Hi,

Was able to find the issue by debugging. When undeployed, AS does not
remove from the registry. Will fix it.

On Wed, Nov 12, 2014 at 9:06 PM, Udara Liyanage <udara@wso2.com> wrote:

> 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
>



-- 

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

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

Mime
View raw message