From 230c03633f8ea4ef78aa0025ec64193937315cd7 Mon Sep 17 00:00:00 2001 From: gongzhongqiang Date: Tue, 1 Aug 2023 15:58:36 +0800 Subject: [PATCH] Add catalog management and sql gateway api --- .../console/core/controller/FlinkGateWayController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/FlinkGateWayController.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/FlinkGateWayController.java index 6f0e0ec4fa..a3c1555b89 100644 --- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/FlinkGateWayController.java +++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/FlinkGateWayController.java @@ -93,9 +93,9 @@ public RestResponse get(@PathVariable Long id) { } @Operation(summary = "Delete flink gateway by id") - @DeleteMapping("delete") + @DeleteMapping("delete/{id}") public RestResponse delete( - @NotNull(message = "The Gateway id cannot be null") @RequestParam("id") Long id) { + @NotNull(message = "The Gateway id cannot be null") @PathVariable Long id) { flinkGatewayService.removeById(id); return RestResponse.success(); }