eolivelli commented on code in PR #16822:
URL: https://github.com/apache/pulsar/pull/16822#discussion_r947635295
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Worker.java:
##########
@@ -115,6 +116,21 @@ public List<ConnectorDefinition> getConnectorsList()
throws IOException {
return workers().getListOfConnectors(clientAppId());
}
+ @GET
+ @ApiOperation(
+ value = "Fetches the list of built-in Pulsar functions",
+ response = FunctionDefinition.class,
+ responseContainer = "List"
+ )
+ @ApiResponses(value = {
+ @ApiResponse(code = 200, message = "Get builtin functions
successfully.")
+ })
+ @Path("/builtinfunctions")
Review Comment:
I think that "buildinfunctions" is clearer.
"functions" may look like to refer to "all the functions"
not a big deal
--
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]