Stedi-Demos / bootstrap-archived

A workflow for receiving and sending EDI documents that you can adjust to build your own EDI system.
Apache License 2.0
7 stars 7 forks source link

fix: do not delete inbound edi file when source is core artifact bucket #182

Closed RossWilliams closed 1 year ago

RossWilliams commented 1 year ago

when using Core's remote sftp poller, the poller adds the document to Core's artifact bucket and sets this as the input when sending transaction processed events. In these cases the edi-inbound function should not attempt to delete the input since Core handles the work and the input is read-only.

Fix tests which use the artifact bucket as the source input by default.