You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Anuruddha Liyanarachchi <an...@wso2.com> on 2015/06/17 16:11:59 UTC

Forcefully Undeploy application from UI

Hi Devs,

I have added force undeploy button for UI.

The flow is as follows:
1. User can un-deploy the application from UI.
2. Once the un-deployment process starts application will be in Undeploying
state [1].
3. In undeploying state user can view the application from topology view,
which enables the "Force Undeploy" button.
4. User can decided to let application undeploy gracefully; Else user can
undeploy applcaion forcefully by clicking the button on UI. [2]

Please review and merge the PR [3] containing the changes:

[1]
https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
[2]
https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
[3] https://github.com/apache/stratos/pull/370

Thanks,
-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: Forcefully Undeploy application from UI

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Anurudda,

Shall we have this in CLI too.

Re: Forcefully Undeploy application from UI

Posted by Imesh Gunaratne <im...@apache.org>.
Great! Thanks Dakshika!! :-)

On Wed, Jun 24, 2015 at 5:46 AM, Dakshika Jayathilaka <da...@wso2.com>
wrote:

> Hi Imesh,
>
> I have fixed that with *commit b29385025f703c72969b5010fd167ef1f6fb014b*
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Tue, Jun 23, 2015 at 10:53 PM, Imesh Gunaratne <im...@apache.org>
> wrote:
>
>> As I found Force Undeployment does not redirect the user back to the
>> Applications page and the Back button also does not work after executing
>> it. We might need to fix this.
>>
>> Thanks
>>
>> On Thu, Jun 18, 2015 at 5:18 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> IMO user should be able to invoke forceful operation directly without
>>> attempting graceful invocation. Stratos API too allows this. Thinking in
>>> that way it is better to show both option at the same place.
>>>
>>> However I have seen some UI functions allows forceful operation only
>>> after graceful invocation is attempted(Openstack Horizon UI)
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>


-- 
Imesh Gunaratne

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

Re: Forcefully Undeploy application from UI

Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi Imesh,

I have fixed that with *commit b29385025f703c72969b5010fd167ef1f6fb014b*

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Jun 23, 2015 at 10:53 PM, Imesh Gunaratne <im...@apache.org> wrote:

> As I found Force Undeployment does not redirect the user back to the
> Applications page and the Back button also does not work after executing
> it. We might need to fix this.
>
> Thanks
>
> On Thu, Jun 18, 2015 at 5:18 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> IMO user should be able to invoke forceful operation directly without
>> attempting graceful invocation. Stratos API too allows this. Thinking in
>> that way it is better to show both option at the same place.
>>
>> However I have seen some UI functions allows forceful operation only
>> after graceful invocation is attempted(Openstack Horizon UI)
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>

Re: Forcefully Undeploy application from UI

Posted by Imesh Gunaratne <im...@apache.org>.
As I found Force Undeployment does not redirect the user back to the
Applications page and the Back button also does not work after executing
it. We might need to fix this.

Thanks

On Thu, Jun 18, 2015 at 5:18 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> IMO user should be able to invoke forceful operation directly without
> attempting graceful invocation. Stratos API too allows this. Thinking in
> that way it is better to show both option at the same place.
>
> However I have seen some UI functions allows forceful operation only after
> graceful invocation is attempted(Openstack Horizon UI)
>



-- 
Imesh Gunaratne

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

Re: Forcefully Undeploy application from UI

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

IMO user should be able to invoke forceful operation directly without
attempting graceful invocation. Stratos API too allows this. Thinking in
that way it is better to show both option at the same place.

However I have seen some UI functions allows forceful operation only after
graceful invocation is attempted(Openstack Horizon UI)

Re: Forcefully Undeploy application from UI

Posted by Imesh Gunaratne <im...@apache.org>.
Hi,

@Anuruddha: Great work!!

@ Lahiru: The initial thought we had was that "Forceful Undeployment"  is
an advanced feature so that it should not come as a standard operation. If
the Graceful Undeployment did not work due to a problem in the cartridge,
the user could see this button on the Topology View as a mechanism to
forcefully Undeploying the application.

Anyway I can see a valid point in your argument.

Thanks

On Thu, Jun 18, 2015 at 11:07 AM, Lahiru Sandaruwan <la...@wso2.com>
wrote:

> Hi Dakshika,
>
> IMO graceful undeployment doesn't need to be the default. Graceful
> undeployment is the case where, user want to complete serving of all the
> requests that are serving at the moment of undeployment.
>
> If the user just want get rid of his deployment, he can do it forcefully.
> So, we can have both options at the same level.
>
> Thanks.
>
> On Thu, Jun 18, 2015 at 10:13 AM, Dakshika Jayathilaka <da...@wso2.com>
> wrote:
>
>> Hi Lahiru,
>>
>> I'm wondering why we want to push forceful action by default. Is there
>> any real user story behind this action by default ?
>>
>> IMHO forceful actions are use if something goes wrong after default
>> action. IMO first time user may get confused if we introduce force action
>> by default.
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Thu, Jun 18, 2015 at 8:19 AM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi Dakshika,
>>>
>>> On Thu, Jun 18, 2015 at 7:37 AM, Dakshika Jayathilaka <dakshika@wso2.com
>>> > wrote:
>>>
>>>> Hi All,
>>>>
>>>> Great work Anuruddha, I have few comments on above change.
>>>>
>>>> 1. IMO we need to follow current standard of button positioning. So
>>>> this force action button has to move on to right hand side.
>>>>
>>>> 2. I'm Not sure about the button name. Is it "Force Undeploy" or
>>>> "Forcefully undeploy"
>>>>
>>>> @lahiru:
>>>>
>>>> AFAIK this appear if application undeloyment didn't get success.
>>>>
>>>
>>> User can directly use forceful undeployment.
>>>
>>>> IMO undeployment is a main action to application. This is a secondary
>>>> option that we are providing. So Do we need to push normal undeployment
>>>> button to here?
>>>>
>>>>
>>>  Actually i prefer to have all the actions, that are possible after
>>> deployment, in this page. When the user views the application, he would
>>> prefer to do these actions without going back.
>>>
>>> Thanks.
>>>
>>>> Thank you,
>>>>
>>>> Regards,
>>>>
>>>> *Dakshika Jayathilaka*
>>>> PMC Member & Committer of Apache Stratos
>>>> Senior Software Engineer
>>>> WSO2, Inc.
>>>> lean.enterprise.middleware
>>>> 0771100911
>>>>
>>>> On Wed, Jun 17, 2015 at 9:55 PM, Lahiru Sandaruwan <la...@wso2.com>
>>>> wrote:
>>>>
>>>>> Great. Shall we bring the normal undeployment button to the same place?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I have added force undeploy button for UI.
>>>>>>
>>>>>> The flow is as follows:
>>>>>> 1. User can un-deploy the application from UI.
>>>>>> 2. Once the un-deployment process starts application will be in
>>>>>> Undeploying state [1].
>>>>>> 3. In undeploying state user can view the application from topology
>>>>>> view, which enables the "Force Undeploy" button.
>>>>>> 4. User can decided to let application undeploy gracefully; Else user
>>>>>> can undeploy applcaion forcefully by clicking the button on UI. [2]
>>>>>>
>>>>>> Please review and merge the PR [3] containing the changes:
>>>>>>
>>>>>> [1]
>>>>>> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
>>>>>> [2]
>>>>>> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
>>>>>> [3] https://github.com/apache/stratos/pull/370
>>>>>>
>>>>>> Thanks,
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Committer and PMC member, Apache Stratos,
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> phone: +94773325954
>>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Imesh Gunaratne

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

Re: Forcefully Undeploy application from UI

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Dakshika,

IMO graceful undeployment doesn't need to be the default. Graceful
undeployment is the case where, user want to complete serving of all the
requests that are serving at the moment of undeployment.

If the user just want get rid of his deployment, he can do it forcefully.
So, we can have both options at the same level.

Thanks.

On Thu, Jun 18, 2015 at 10:13 AM, Dakshika Jayathilaka <da...@wso2.com>
wrote:

> Hi Lahiru,
>
> I'm wondering why we want to push forceful action by default. Is there any
> real user story behind this action by default ?
>
> IMHO forceful actions are use if something goes wrong after default
> action. IMO first time user may get confused if we introduce force action
> by default.
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Thu, Jun 18, 2015 at 8:19 AM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi Dakshika,
>>
>> On Thu, Jun 18, 2015 at 7:37 AM, Dakshika Jayathilaka <da...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Great work Anuruddha, I have few comments on above change.
>>>
>>> 1. IMO we need to follow current standard of button positioning. So this
>>> force action button has to move on to right hand side.
>>>
>>> 2. I'm Not sure about the button name. Is it "Force Undeploy" or
>>> "Forcefully undeploy"
>>>
>>> @lahiru:
>>>
>>> AFAIK this appear if application undeloyment didn't get success.
>>>
>>
>> User can directly use forceful undeployment.
>>
>>> IMO undeployment is a main action to application. This is a secondary
>>> option that we are providing. So Do we need to push normal undeployment
>>> button to here?
>>>
>>>
>>  Actually i prefer to have all the actions, that are possible after
>> deployment, in this page. When the user views the application, he would
>> prefer to do these actions without going back.
>>
>> Thanks.
>>
>>> Thank you,
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> PMC Member & Committer of Apache Stratos
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Wed, Jun 17, 2015 at 9:55 PM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Great. Shall we bring the normal undeployment button to the same place?
>>>>
>>>> Thanks.
>>>>
>>>> On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I have added force undeploy button for UI.
>>>>>
>>>>> The flow is as follows:
>>>>> 1. User can un-deploy the application from UI.
>>>>> 2. Once the un-deployment process starts application will be in
>>>>> Undeploying state [1].
>>>>> 3. In undeploying state user can view the application from topology
>>>>> view, which enables the "Force Undeploy" button.
>>>>> 4. User can decided to let application undeploy gracefully; Else user
>>>>> can undeploy applcaion forcefully by clicking the button on UI. [2]
>>>>>
>>>>> Please review and merge the PR [3] containing the changes:
>>>>>
>>>>> [1]
>>>>> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
>>>>> [2]
>>>>> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
>>>>> [3] https://github.com/apache/stratos/pull/370
>>>>>
>>>>> Thanks,
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Committer and PMC member, Apache Stratos,
>>>> Senior Software Engineer,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> phone: +94773325954
>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Forcefully Undeploy application from UI

Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi Lahiru,

I'm wondering why we want to push forceful action by default. Is there any
real user story behind this action by default ?

IMHO forceful actions are use if something goes wrong after default action.
IMO first time user may get confused if we introduce force action by
default.

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Thu, Jun 18, 2015 at 8:19 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi Dakshika,
>
> On Thu, Jun 18, 2015 at 7:37 AM, Dakshika Jayathilaka <da...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> Great work Anuruddha, I have few comments on above change.
>>
>> 1. IMO we need to follow current standard of button positioning. So this
>> force action button has to move on to right hand side.
>>
>> 2. I'm Not sure about the button name. Is it "Force Undeploy" or
>> "Forcefully undeploy"
>>
>> @lahiru:
>>
>> AFAIK this appear if application undeloyment didn't get success.
>>
>
> User can directly use forceful undeployment.
>
>> IMO undeployment is a main action to application. This is a secondary
>> option that we are providing. So Do we need to push normal undeployment
>> button to here?
>>
>>
>  Actually i prefer to have all the actions, that are possible after
> deployment, in this page. When the user views the application, he would
> prefer to do these actions without going back.
>
> Thanks.
>
>> Thank you,
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Jun 17, 2015 at 9:55 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Great. Shall we bring the normal undeployment button to the same place?
>>>
>>> Thanks.
>>>
>>> On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I have added force undeploy button for UI.
>>>>
>>>> The flow is as follows:
>>>> 1. User can un-deploy the application from UI.
>>>> 2. Once the un-deployment process starts application will be in
>>>> Undeploying state [1].
>>>> 3. In undeploying state user can view the application from topology
>>>> view, which enables the "Force Undeploy" button.
>>>> 4. User can decided to let application undeploy gracefully; Else user
>>>> can undeploy applcaion forcefully by clicking the button on UI. [2]
>>>>
>>>> Please review and merge the PR [3] containing the changes:
>>>>
>>>> [1]
>>>> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
>>>> [2]
>>>> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
>>>> [3] https://github.com/apache/stratos/pull/370
>>>>
>>>> Thanks,
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>

Re: Forcefully Undeploy application from UI

Posted by Vishanth Balasubramaniam <vi...@wso2.com>.
Hi Anuruddha,

I can remember I had an issue some time back where when I try to undeploy an
application, I got the success message

{"statusCode":202,"successMessage":"Application undeployed successfully:
> [application] nested-group-app"}


But application was not getting undeployed and where I was getting the
following error.

[2015-04-30 14:01:12,466]  INFO
> {org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -
>  Could not find application monitor for the application nested-group-app,
> hence returning


I'm not sure how to replicate this issue. But I want to know whether this
is solved in the forceful undeployment of an application?

Regards,
Vishanth

On Thu, Jun 18, 2015 at 8:19 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi Dakshika,
>
> On Thu, Jun 18, 2015 at 7:37 AM, Dakshika Jayathilaka <da...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> Great work Anuruddha, I have few comments on above change.
>>
>> 1. IMO we need to follow current standard of button positioning. So this
>> force action button has to move on to right hand side.
>>
>> 2. I'm Not sure about the button name. Is it "Force Undeploy" or
>> "Forcefully undeploy"
>>
>> @lahiru:
>>
>> AFAIK this appear if application undeloyment didn't get success.
>>
>
> User can directly use forceful undeployment.
>
>> IMO undeployment is a main action to application. This is a secondary
>> option that we are providing. So Do we need to push normal undeployment
>> button to here?
>>
>>
>  Actually i prefer to have all the actions, that are possible after
> deployment, in this page. When the user views the application, he would
> prefer to do these actions without going back.
>
> Thanks.
>
>> Thank you,
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> PMC Member & Committer of Apache Stratos
>> Senior Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> On Wed, Jun 17, 2015 at 9:55 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Great. Shall we bring the normal undeployment button to the same place?
>>>
>>> Thanks.
>>>
>>> On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I have added force undeploy button for UI.
>>>>
>>>> The flow is as follows:
>>>> 1. User can un-deploy the application from UI.
>>>> 2. Once the un-deployment process starts application will be in
>>>> Undeploying state [1].
>>>> 3. In undeploying state user can view the application from topology
>>>> view, which enables the "Force Undeploy" button.
>>>> 4. User can decided to let application undeploy gracefully; Else user
>>>> can undeploy applcaion forcefully by clicking the button on UI. [2]
>>>>
>>>> Please review and merge the PR [3] containing the changes:
>>>>
>>>> [1]
>>>> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
>>>> [2]
>>>> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
>>>> [3] https://github.com/apache/stratos/pull/370
>>>>
>>>> Thanks,
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
*Vishanth Balasubramaniam*
Committer & PMC Member, Apache Stratos,
Software Engineer, WSO2 Inc.; http://wso2.com

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Re: Forcefully Undeploy application from UI

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Dakshika,

On Thu, Jun 18, 2015 at 7:37 AM, Dakshika Jayathilaka <da...@wso2.com>
wrote:

> Hi All,
>
> Great work Anuruddha, I have few comments on above change.
>
> 1. IMO we need to follow current standard of button positioning. So this
> force action button has to move on to right hand side.
>
> 2. I'm Not sure about the button name. Is it "Force Undeploy" or
> "Forcefully undeploy"
>
> @lahiru:
>
> AFAIK this appear if application undeloyment didn't get success.
>

User can directly use forceful undeployment.

> IMO undeployment is a main action to application. This is a secondary
> option that we are providing. So Do we need to push normal undeployment
> button to here?
>
>
 Actually i prefer to have all the actions, that are possible after
deployment, in this page. When the user views the application, he would
prefer to do these actions without going back.

Thanks.

> Thank you,
>
> Regards,
>
> *Dakshika Jayathilaka*
> PMC Member & Committer of Apache Stratos
> Senior Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Wed, Jun 17, 2015 at 9:55 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Great. Shall we bring the normal undeployment button to the same place?
>>
>> Thanks.
>>
>> On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> I have added force undeploy button for UI.
>>>
>>> The flow is as follows:
>>> 1. User can un-deploy the application from UI.
>>> 2. Once the un-deployment process starts application will be in
>>> Undeploying state [1].
>>> 3. In undeploying state user can view the application from topology
>>> view, which enables the "Force Undeploy" button.
>>> 4. User can decided to let application undeploy gracefully; Else user
>>> can undeploy applcaion forcefully by clicking the button on UI. [2]
>>>
>>> Please review and merge the PR [3] containing the changes:
>>>
>>> [1]
>>> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
>>> [2]
>>> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
>>> [3] https://github.com/apache/stratos/pull/370
>>>
>>> Thanks,
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Forcefully Undeploy application from UI

Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi All,

Great work Anuruddha, I have few comments on above change.

1. IMO we need to follow current standard of button positioning. So this
force action button has to move on to right hand side.

2. I'm Not sure about the button name. Is it "Force Undeploy" or
"Forcefully undeploy"

@lahiru:

AFAIK this appear if application undeloyment didn't get success. IMO
undeployment is a main action to application. This is a secondary option
that we are providing. So Do we need to push normal undeployment button to
here?

Thank you,

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Wed, Jun 17, 2015 at 9:55 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Great. Shall we bring the normal undeployment button to the same place?
>
> Thanks.
>
> On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Devs,
>>
>> I have added force undeploy button for UI.
>>
>> The flow is as follows:
>> 1. User can un-deploy the application from UI.
>> 2. Once the un-deployment process starts application will be in
>> Undeploying state [1].
>> 3. In undeploying state user can view the application from topology view,
>> which enables the "Force Undeploy" button.
>> 4. User can decided to let application undeploy gracefully; Else user can
>> undeploy applcaion forcefully by clicking the button on UI. [2]
>>
>> Please review and merge the PR [3] containing the changes:
>>
>> [1]
>> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
>> [2]
>> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
>> [3] https://github.com/apache/stratos/pull/370
>>
>> Thanks,
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>

Re: Forcefully Undeploy application from UI

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Great. Shall we bring the normal undeployment button to the same place?

Thanks.

On Wed, Jun 17, 2015 at 7:41 PM, Anuruddha Liyanarachchi <
anuruddhal@wso2.com> wrote:

> Hi Devs,
>
> I have added force undeploy button for UI.
>
> The flow is as follows:
> 1. User can un-deploy the application from UI.
> 2. Once the un-deployment process starts application will be in
> Undeploying state [1].
> 3. In undeploying state user can view the application from topology view,
> which enables the "Force Undeploy" button.
> 4. User can decided to let application undeploy gracefully; Else user can
> undeploy applcaion forcefully by clicking the button on UI. [2]
>
> Please review and merge the PR [3] containing the changes:
>
> [1]
> https://drive.google.com/file/d/0B0v957zZwVWrbFFJN3o4U1JCRUE/view?usp=sharing
> [2]
> https://drive.google.com/file/d/0B0v957zZwVWrQml4R0gyMjExeWs/view?usp=sharing
> [3] https://github.com/apache/stratos/pull/370
>
> Thanks,
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146