holodeck-b2b / file-backend Goto Github PK
View Code? Open in Web Editor NEWHolodeck B2B extension that implements a file based back-end integration
License: GNU General Public License v3.0
Holodeck B2B extension that implements a file based back-end integration
License: GNU General Public License v3.0
The HB2B version in the pom.xml
should be updated to 5.3.1:
<holodeckb2b.version>5.1.0</holodeckb2b.version>
When the deliveryDir parameter of the delivery operation is a relative path it is not evaluated against the Holodeck B2B home directory but the directory where Holodeck B2B is installed.
Currently the meta-data file uses the xml
extension when it is being written to disk. This may cause the receiving back-end application to start reading it before the delivery operation has finished. It would therefore be better to use a temporary extension when writing the file to disk and rename it as last step.
In the file based back end integrator the current default is that after submission, files are not removed unless the back end system instructs Holodeck B2B to do so.
This can cause disk space to run out if the back end system does not do this (or not properly).
Sent payloads must then be removed manually or using a script.
Solution: Switch to default file removal after submission.
Even when specifying the delivery format as "mmd" or "single_xml" the "ebms" format is used.
After implementing #2 submitted payloads files are removed by default. If these files should be kept, for example for archiving or sending to another partner, the back-end needs to indicate this in the MMD. This behaviour therefore causes backwards incompatibility and requires a change in the back-end application. It would therefore be better if the default removal of submitted payloads is configurable so it can be disabled in cases where payload files should be kept.
Currently, if a inbound message has an agreement then the MMD has:
<AgreementRef>http://agreements.holodeckb2b.org/examples/agreement0</AgreementRef>
Where the outbound MMD had
<AgreementRef pmode="ex-pm-push"/>
When using the single_xml format the XML document contains duplicate occurrences of the eb3:PayloadInfo
elements. The second occurrence contains the modified eb3:PartInfo
elements with the additional org:holodeckb2b:ref part property. There should however be just one occurrence of these elements that includes this additional property.
When a User Message unit is delivered in the single_xml format there is no default namespace declaration on the root element.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.