This commit is contained in:
parent
e59b718eab
commit
93a3df9bfb
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue