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;