etreschenkov 2023-07-07 12:49:29 +03:00
parent e59b718eab
commit 93a3df9bfb
2 changed files with 2 additions and 3 deletions

View file

@ -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<String, Object> makeContentByReportRequest(ReportPart reportPart) {
Map<String, Object> 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);

View file

@ -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;