AMBARI-18805 Bulk delete hosts: sending a force option to delete all components (zhewang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5494b6a8 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5494b6a8 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5494b6a8 Branch: refs/heads/branch-feature-AMBARI-18634 Commit: 5494b6a82e36401d271fb2339101b7b5c46cb488 Parents: a17c3ed Author: Zhe (Joe) Wang <zhew...@apache.org> Authored: Mon Nov 7 10:34:12 2016 -0800 Committer: Zhe (Joe) Wang <zhew...@apache.org> Committed: Mon Nov 7 10:34:51 2016 -0800 ---------------------------------------------------------------------- ambari-web/app/utils/ajax/ajax.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/5494b6a8/ambari-web/app/utils/ajax/ajax.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js index d263ba0..6ca014a 100644 --- a/ambari-web/app/utils/ajax/ajax.js +++ b/ambari-web/app/utils/ajax/ajax.js @@ -303,8 +303,9 @@ var urls = { return { data: JSON.stringify({ RequestInfo: { - query: data.query - }, + query: data.query, + force_delete_components: true + } }) } }