You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "RocMarshal (via GitHub)" <gi...@apache.org> on 2023/03/06 04:38:42 UTC
[GitHub] [incubator-streampark] RocMarshal commented on a diff in pull request #2402: [Feature][ISSUE-2401] add list api and delete api in FlinkSqlController
RocMarshal commented on code in PR #2402:
URL: https://github.com/apache/incubator-streampark/pull/2402#discussion_r1125897557
##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/FlinkSqlController.java:
##########
@@ -79,6 +81,18 @@ public RestResponse verify(String sql, Long versionId, Long teamId) {
}
}
+ @PostMapping("list")
+ public RestResponse list(Long appId, RestRequest request) {
+ IPage<FlinkSql> page = flinkSqlService.page(appId, request);
+ return RestResponse.success(page);
+ }
+
+ @PostMapping("delete")
Review Comment:
@zhoulii Thanks for the contribution.
Does this operation need permission?
--
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