[
https://issues.apache.org/jira/browse/SOLR-18120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-18120:
----------------------------------
Labels: pull-request-available (was: )
> 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: 10m
> 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]