Skip to content

Commit 2ac2aa2

Browse files
authored
SOLR-18120: remove unused endpoints in services.js in Solr Admin (#4138)
1 parent 386cc6c commit 2ac2aa2

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

solr/webapp/web/js/angular/services.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,8 @@ solrAdminServices.factory('System',
9999
return $resource('admin/zookeeper', {wt:'json', _:Date.now()}, {
100100
"simple": {},
101101
"liveNodes": {params: {path: '/live_nodes'}},
102-
"clusterState": {params: {detail: "true"}},
103-
"detail": {params: {detail: "true", path: "@path"}},
104-
"configs": {params: {detail:false, path: "/configs/"}},
105-
"aliases": {params: {detail: "true", path: "/aliases.json"}, transformResponse:function(data) {
106-
var znode = $.parseJSON(data).znode;
107-
if (znode.data) {
108-
return {aliases: $.parseJSON(znode.data).collection};
109-
} else {
110-
return {aliases: {}};
111-
}
112-
}}
102+
"clusterState": {params: {detail: "true", path: "/clusterstate.json"}},
103+
"detail": {params: {detail: "true", path: "@path"}}
113104
});
114105
}])
115106
.factory('ZookeeperStatus',

0 commit comments

Comments
 (0)