lvshaokang commented on code in PR #2268:
URL:
https://github.com/apache/incubator-streampark/pull/2268#discussion_r1098114295
##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/SavePointController.java:
##########
@@ -64,4 +66,11 @@ public RestResponse delete(Long id) throws InternalException
{
Boolean deleted = savePointService.delete(id, application);
return RestResponse.success(deleted);
}
+
+ @PostMapping("trigger")
+ @RequiresPermissions("savepoint:trigger")
+ public RestResponse trigger(Long appId, @Nullable String savepointPath) {
Review Comment:
Could you add swagger annotations to help third-party services interface
with streampark?
--
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]