Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-18120: remove unused endpoints in services.js in Solr Admin (#4138)

Eric Pugh2ac2aa2f5cea
diff --git a/solr/webapp/web/js/angular/services.js b/solr/webapp/web/js/angular/services.js
index 424de8d58f5..9c6ea9fb799 100644
--- a/solr/webapp/web/js/angular/services.js
+++ b/solr/webapp/web/js/angular/services.js
@@ -99,17 +99,8 @@ solrAdminServices.factory('System',
return $resource('admin/zookeeper', {wt:'json', _:Date.now()}, {
"simple": {},
"liveNodes": {params: {path: '/live_nodes'}},
- "clusterState": {params: {detail: "true"}},
- "detail": {params: {detail: "true", path: "@path"}},
- "configs": {params: {detail:false, path: "/configs/"}},
- "aliases": {params: {detail: "true", path: "/aliases.json"}, transformResponse:function(data) {
- var znode = $.parseJSON(data).znode;
- if (znode.data) {
- return {aliases: $.parseJSON(znode.data).collection};
- } else {
- return {aliases: {}};
- }
- }}
+ "clusterState": {params: {detail: "true", path: "/clusterstate.json"}},
+ "detail": {params: {detail: "true", path: "@path"}}
});
}])
.factory('ZookeeperStatus',