This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 2ac2aa2f5ce SOLR-18120: remove unused endpoints in services.js in Solr
Admin (#4138)
2ac2aa2f5ce is described below
commit 2ac2aa2f5cea5251ad301e15dfd8a4e0b8bbf4db
Author: Eric Pugh <[email protected]>
AuthorDate: Wed Feb 18 05:10:31 2026 -0500
SOLR-18120: remove unused endpoints in services.js in Solr Admin (#4138)
---
solr/webapp/web/js/angular/services.js | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
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',