soumitra-st opened a new pull request, #11797: URL: https://github.com/apache/pinot/pull/11797
This commit reverts the PR https://github.com/apache/pinot/pull/8852 because the annotations defined on the interface methods are not accessible using https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html#getAnnotation-java.lang.Class- API. The annotations are used to enforce authentication and authorization in the request filter (https://github.com/apache/pinot/blob/61dcea6b71a99746805bc7f322daed67f9bce265/pinot-controller/src/main/java/org/apache/pinot/controller/api/access/AuthenticationFilter.java#L108) Tested that the APIs are visible in the swagger page using quick-start-batch.sh <img width="1476" alt="Screenshot 2023-10-12 at 1 05 55 PM" src="https://github.com/apache/pinot/assets/127247229/263590db-da49-4b27-ab9b-cb1e96c37ae3"> -- 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]
