[
https://issues.apache.org/jira/browse/AMBARI-21437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083804#comment-16083804
]
Andrii Babiichuk commented on AMBARI-21437:
-------------------------------------------
+1 for the second patch
> Allow user to execute force_remove_packages custom action from UI
> -----------------------------------------------------------------
>
> Key: AMBARI-21437
> URL: https://issues.apache.org/jira/browse/AMBARI-21437
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.5.2
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Priority: Critical
> Fix For: 2.5.2
>
> Attachments: AMBARI-21437_2.patch, AMBARI-21437.patch
>
>
> Removal of iop-select can be done using a custom action.
> Need to add a button to Stack Versions page / some other place that makes
> sense. The action triggered should make a call like this:
> {code}
> curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST -d
> '{"RequestInfo":{"context":"Remove IOP
> select","action":"force_remove_packages", "parameters": { "package_list" :
> "iop-select" }}}' http://localhost:8080/api/v1/clusters/c1/requests
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)