From 31391c0c95337be12267cfdf36c823f5738a4ee9 Mon Sep 17 00:00:00 2001 From: kuangxiang20240501 <167289548+kuangxiang20240501@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:45:25 +0800 Subject: [PATCH] allow to save mappper when upgrading (#125) --- .../kraken/operator/controller/api/ComponentMgmtController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/api/ComponentMgmtController.java b/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/api/ComponentMgmtController.java index 24eca5a4..5a602484 100644 --- a/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/api/ComponentMgmtController.java +++ b/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/api/ComponentMgmtController.java @@ -1,7 +1,6 @@ package com.consoleconnect.kraken.operator.controller.api; import com.consoleconnect.kraken.operator.auth.security.UserContext; -import com.consoleconnect.kraken.operator.controller.aspect.TemplateUpgradeBlockChecker; import com.consoleconnect.kraken.operator.controller.dto.*; import com.consoleconnect.kraken.operator.controller.model.ComponentTagFacet; import com.consoleconnect.kraken.operator.controller.service.ApiComponentService; @@ -113,7 +112,6 @@ public HttpResponse> listVersions(@PathVariable S resource = AuditConstants.API_MAPPING, resourceId = "#pathVariable['id']", description = "update target api mapper") - @TemplateUpgradeBlockChecker public Mono updateMapper( @PathVariable String productId, @PathVariable String id, @RequestBody UnifiedAsset asset) { return UserContext.getUserId()