Skip to content

Version 2.2

Latest
Compare
Choose a tag to compare
@kennethcywong kennethcywong released this 28 Sep 05:48
· 1 commit to release2.2 since this release

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.