epugh commented on code in PR #4901:
URL: https://github.com/apache/solr/pull/4901#discussion_r4029425841
##########
solr/webapp/web/js/angular/services.js:
##########
@@ -204,10 +210,38 @@ solrAdminServices.factory('Metrics',
"monitor": {}
});
}])
-.factory('Properties',
- ['$resource', function($resource) {
- return $resource('admin/info/properties', {'wt':'json', '_':Date.now()});
+.factory('ZookeeperReadV2',
+ ['$http', function($http) {
+ // Hand-rolled rather than the generated solrApi.ZookeeperReadApi client:
the generated
+ // ApiClient.buildUrl() runs encodeURIComponent() on the whole zkPath
value, turning its '/'
Review Comment:
I tried to deal with this, and we neded up hacking up OpenAPI annotation
templates!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]