mirror of https://github.com/apache/druid.git
cf9a3bdc14
Changes: - Handle exceptions in the API and map them to a `Response` object with the appropriate error code. - Replace `AuthorizationUtils.filterAuthorizedResources()` with `DatasourceResourceFilter`. The endpoint is annotated consistent with other usages. - Update `DatasourceResourceFilter` to remove the lambda and update javadocs. The usages information is self-evident with an IDE. - Adjust the invalid interval exception message. - Break up the large unit test `testGetUnusedSegmentsInDataSource()` into smaller unit tests for each test case. Also, validate the error codes. |
||
---|---|---|
.. | ||
src | ||
pom.xml |