Skip to content

Commit

Permalink
allow to save mappper when upgrading (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuangxiang20240501 authored Nov 12, 2024
1 parent 403c2ad commit 31391c0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -113,7 +112,6 @@ public HttpResponse<List<ComponentWitheVersionDTO>> listVersions(@PathVariable S
resource = AuditConstants.API_MAPPING,
resourceId = "#pathVariable['id']",
description = "update target api mapper")
@TemplateUpgradeBlockChecker
public Mono<IngestionDataResult> updateMapper(
@PathVariable String productId, @PathVariable String id, @RequestBody UnifiedAsset asset) {
return UserContext.getUserId()
Expand Down

0 comments on commit 31391c0

Please sign in to comment.