You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "lvshaokang (via GitHub)" <gi...@apache.org> on 2023/02/07 02:39:39 UTC
[GitHub] [incubator-streampark] lvshaokang commented on a diff in pull request #2268: [Feature][Issue-2192] Support trigger savepoint manually.
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: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org