paul-rogers opened a new pull request #12219: URL: https://github.com/apache/druid/pull/12219
### Description See [Support Services in Extensions](https://github.com/apache/druid/issues/12218). Adds the support for an extension service in the `Main` routine, and provides the `PrivateApi` annotation to mark extension service REST endpoints as private. This PR allows launching an extension service as: `<druid> server <extn>` As it turns out, an extension service can be added more simply: just by introducing a new command. However the resulting command is: `<druid> <extn>` Which introduces an odd asymmetry between built-in and extension servers. The proposed solution allows extension services to work identically to built-in services. <hr> This PR has: - [X] been self-reviewed. - [X] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links. - [X] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader. - [X] been tested in a test Druid cluster (as part of the extension in question: hard to test by itself). -- 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]
