[ 
https://issues.apache.org/jira/browse/SOLR-18120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059284#comment-18059284
 ] 

ASF subversion and git services commented on SOLR-18120:
--------------------------------------------------------

Commit 2ac2aa2f5cea5251ad301e15dfd8a4e0b8bbf4db in solr's branch 
refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=2ac2aa2f5ce ]

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



> Remove remnant Aliases code from Solr Admin Webapp
> --------------------------------------------------
>
>                 Key: SOLR-18120
>                 URL: https://issues.apache.org/jira/browse/SOLR-18120
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 10.0
>            Reporter: Eric Pugh
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I was looking for werid use of "$.parseJSON(data)" in the solr webapp, and 
> noticed that in services.js we have a set of resources defined:
> {{{
> return $resource('admin/zookeeper', \{wt:'json', _:Date.now()}, {
>       "simple": {},
>       "liveNodes": \{params: {path: '/live_nodes'}},
>       "clusterState": \{params: {detail: "true", path: "/clusterstate.json"}},
>       "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: {}};
>         }
>       }}
> }}}
>  
> I think "aliases" no longer is used.   I want to check the others.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to