Some fixes.
This commit is contained in:
@ -96,7 +96,11 @@ public class QueryRestController {
|
||||
produces = {MediaType.APPLICATION_JSON_VALUE})
|
||||
public @ResponseBody List<ChannelsResponse> getChannels(@RequestBody(required = false) ChannelsRequest request)
|
||||
throws Throwable {
|
||||
return queryManager.getChannels(request);
|
||||
List<ChannelsResponse> channels = queryManager.getChannels(request);
|
||||
channels = channels.stream()
|
||||
.filter(channelsResponse -> activeBackends.contains(channelsResponse.getBackend()))
|
||||
.collect(Collectors.toList());
|
||||
return channels;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -5,4 +5,5 @@ dispatcher.validate.mainheader=false
|
||||
dispatcher.validate.mainheader.log=false
|
||||
query.min.time=1970-01-01T00:00:00.000000000+00:00
|
||||
# enable/disable validation
|
||||
filestorage.pulseidtime.store.validate.range=false
|
||||
filestorage.pulseidtime.store.validate.range=false
|
||||
filestorage.pulseidtime.cache.commit.period=0
|
Reference in New Issue
Block a user