Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
5656-app - EDI-Tweaks
Browse files Browse the repository at this point in the history
change format of the PartnerId settings, preparing the ground for more settings
metasfresh/metasfresh#5656
  • Loading branch information
metas-ts committed Oct 30, 2019
1 parent 7a43752 commit 186d8dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/de/metas/edi/esb/commons/StepComUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public String resolvePartnerId(
@NonNull final CamelContext context,
@NonNull final String ediRecipientGLN)
{
final String partnerId = Util.resolvePropertyPlaceholders(context, "edi.stepcom.partnerId.of.ediRecipientGLN." + ediRecipientGLN);
final String partnerId = Util.resolvePropertyPlaceholders(context, "edi.stepcom.recipientGLN." + ediRecipientGLN + ".partnerId");
return partnerId;
}

Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ spring.application.title=metasfresh edi esb-service
#camel.springboot.jmx-enabled = false
server.port=8184

# Specifies that the BPartner with EDI recipient GLN 1234567890123 get the PARTNERID==STEPCOM-PARTNERI in the stepCOM EDI file that we export
edi.stepcom.partnerId.of.ediRecipientGLN.1234567890123=STEPCOM-PARTNERID
# Specifies that the BPartner with EDI recipient GLN 1234567890123 get the PARTNERID==STEPCOM-PARTNERID in the stepCOM EDI file that we export
edi.stepcom.recipientGLN.1234567890123.partnerId=STEPCOM-PARTNERID


# SFTP settings
edi.sftpserver.hostAndPort=editeststorage.metasfresh.com:22
Expand Down

0 comments on commit 186d8dc

Please sign in to comment.