Closed henokzion closed 6 years ago
This one requires to change the handling of GET /domains/{domain}/sensors
.
Currently, we fetch all the sensors from Orion with GET /entities
.
However, this will also return forbidden sensors without checking.
Solution is to iterate through the sensors returned and query Keycloak for each of them.
The sensors end point doesnt support separation of private sensors. GET /sensors responds with all the sensors including the private ones.