From 93a3df9bfb5439d26d421e8cfaa4daaa40831845 Mon Sep 17 00:00:00 2001 From: etreschenkov Date: Fri, 7 Jul 2023 12:49:29 +0300 Subject: [PATCH] http://jira.mfd.msk:8088/browse/CLS-367 --- .../ru/spcex/clearing/gatewayapi/service/GatewayService.java | 4 ++-- .../main/java/ru/spcex/platform/enumeration/ReportKeys.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/GatewayService.java b/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/GatewayService.java index 9c13a7ea1..8507f874c 100644 --- a/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/GatewayService.java +++ b/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/GatewayService.java @@ -58,7 +58,7 @@ public class GatewayService extends QueueConsumer implements InitializingBean { super(kafkaQueue, kafkaProducer); this.restTemplate = restTemplate; this.userRoleVerification = userRoleVerification; - this.inboundServerSettings = gatewayApiSettings.getInboundServer(); + this.inboundServerSettings = null; this.sentAssets = sentAssets; this.outboundRequestByUuid = outboundRequestByUuid; } @@ -236,7 +236,7 @@ public class GatewayService extends QueueConsumer implements InitializingBean { protected Map makeContentByReportRequest(ReportPart reportPart) { Map content = new HashMap<>(); Matcher matcher = REPORT_FILE_NAME_PATTERN.matcher(reportPart.getFileName()); - ReportKeys reportKeys = IEnumKey.getUndefined(ReportKeys.class); + ReportKeys reportKeys = null; if (matcher.matches()) { String rowKey = matcher.group(1); reportKeys = IEnumKey.getEnumByKeyOrUndefined(ReportKeys.class, rowKey); diff --git a/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ReportKeys.java b/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ReportKeys.java index 1583e5dfd..cbfd61eb0 100644 --- a/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ReportKeys.java +++ b/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ReportKeys.java @@ -15,7 +15,6 @@ public enum ReportKeys implements IEnumKey { KS_REP_TRADES("KS_REP_TRADES"), KS_REP_CASH_NETTO("KS_REP_CASH_NETTO"), KS_REP_DEPO_NETTO("KS_REP_DEPO_NETTO"), - ; private final String key;