Releases: cecid/hermes
Releases · cecid/hermes
Version 2.2
What is new
- Introduced REST API for AS2 messaging (For details, pls refer to https://app.swaggerhub.com/apis/cecid-dev/Hermes2/1.0.0)
GET /partnership/as2 : Query AS2 partnership
POST /partnership/as2 : Create or edit an AS2 partnership
DELETE /partnership/as2/{pid} : Delete an AS2 partnership
POST /message/send/as2 : Send an AS2 message
GET /message/send/as2 : Query for the status of a AS2 message sending request
GET /message/history/as2 : Get AS2 message history
POST /message/history/as2 : Reset message delivery status
GET /message/receive/as2 : Get a list of received AS2 message
POST /message/receive/as2 : Get AS2 message by identifier - Added new restful API /message/redownload/ebms to change the incoming message status from DL to PS for redownload.
Upgrades and improvements
- Disabled the SOAP Fault in SOAP response, return a HTTP/500 error code instead.
- Removed the "Non WS-I request" and "Non WS-I response" debug message in ebms.log to reduce noise.
- Enhanced the add ebms partnership API to edit the partnership if partnership ID already exists.
- Significantly reduced Hermes_app docker image build time by skiping the test cases in Dockerfile.
- Updated documentation and secure message signing instructions in hermes.cecid.org.
Bug Fixes
- Changed the log type of message "Corvus Kernel has been shutdown successfully" in corvus.log to "INFO" instead of "ERROR".
- Added de-registration and shutdown logic for Hermes running in Tomcat to avoid memory leak if Tomcat is shut down abnormally.
- Fixed error messages logged in tomcat.log about security constraint due to the misconfiguration in web.xml.
- Changed the behavior of restful API /message/send/ebms to return an error response with error-code 10006 instead of a success response when payload is corrupted and cannot be base64 encoded.
- Changed the response HTTP status code of all restful API to 400 instead of 200 for illegal request value.
- Added endpoint URL validation to add parthernship API.
- Fixed several typo errors in log message.
- Solved the warning message issue in log file by handling the both file separator of Linux and Windows properly.
- Fixed various minor bugs.
Version 2.1
What is new
- Official support for JDK 1.8
- Introduced Vagrant for development
- Introduced Docker for deployment
- Introduced REST API
Upgrades and improvements
- Updated 3rd party libraries to latest version
ant
(1.7.1
to1.9.7
)ant-contrib
(20020829
to1.0b3
)bouncycastle
(bcmail-jdk15 1.43
tobcmail-jdk15on 1.55
)commons-dbcp
(commons-dbcp:commons-dbcp 1.2.2
toorg.apache.commons:commons-dbcp2 2.1.1
)commons-fileupload
(1
to1.3.2
)commons-io
(1.4
to2.5
)commons-logging
(1.0.4
to1.2
)jaxen
(1.1.1
to1.1.6
)javax.mail
(javax.mail:mail 1.4.1
tocom.sun.mail:javax.mail 1.5.6
)jboxx
(jboss:jboss-j2ee 3.2.3
tojboss-javaee-7.0 1.0.3.Final
)servlet-api
(javax.servlet:servlet-api 2.5
tojavax.servlet:javax.servlet-api 3.1.0
)saaj-impl
(1.3.2
to1.3.25
)xalan
(2.7.1
to2.7.2
)xmlsec
(1.4.2
to2.0.7
)Oracle JDBC driver
mySQL JDBC driver
(5.0.8
to5.1.40
)PostgreSQL JDBC driver
(8.3-604.jdbc3
to9.4.1212
)
- Updated libraries for testing
jmock
(2.5.1
to2.8.2
)junit
(4.8.1
to4.12
)hsqldb
(hsqldb:hsqldb 1.8.0.10
toorg.hsqldb:hsqldb 2.3.4
)
- Added new library for json processing
javax.json 1.0.4
- Updated Maven plugins as listed below:
maven-assembly-plugin
(2.2-beta-5
to2.6
)maven-compiler-plugin
(3.1
to3.6
)maven-dependency-plugin
(2.8
to2.10
)maven-ejb-plugin
(null
to2.5.1
)maven-install-plugin
(2.4
to2.5.2
)maven-javadoc-plugin
(null
to2.10.4
)maven-jar-plugin
(2.4
to2.5
)maven-resources-plugin
(null
to2.7
)maven-surefire-plugin
(2.12.4
to2.19.1
)maven-war-plugin
(null
to2.6
)jacoco-maven-plugin
(0.7.6.201602180812
to0.7.7.201606060606
)jetty-maven-plugin
(org.mortbay.jetty:maven-jetty-plugin 6.1.24
toorg.eclipse.jetty:jetty-maven-plugin 9.4.0.RC2
)
- Removed 3rd party libraries/ drivers
saaj-api
(library is integrated into JDK 1.6 or later)wrapper
ojdbc
- Oracle JDBC driver, mySQL JDBC driver (not shipped with release, but still fully supported)
- Updated documentation and instructions
- Changed api servlet authentication method to digest
- Renew all public and private certifications (sample) for message signing and encryption
Bug Fixes
- Fixed various issues in test cases