Skip to content

Commit

Permalink
Merge pull request #1 from cecid/release2.2
Browse files Browse the repository at this point in the history
Release2.2
  • Loading branch information
tomlee authored Sep 28, 2017
2 parents 4ecbd74 + 057fac3 commit 638494d
Show file tree
Hide file tree
Showing 71 changed files with 5,833 additions and 8,407 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Full documentation is available at [hermes.cecid.org](http://hermes.cecid.org/).
### Install Hermes with Docker
1. Install the [Docker Engine](https://docs.docker.com/engine/installation/).
2. Run the Docker container for Hermes database (MySQL). <br/>
`docker run --name hermes_db -e MYSQL_ROOT_PASSWORD=corvus -d cecid/hermes_db:2.1`
`docker run --name hermes_db -e MYSQL_ROOT_PASSWORD=corvus -d cecid/hermes_db:2.2`

3. Run the Docker container for Hermes application server (Tomcat). <br/>
`docker run --name hermes_app --link hermes_db:db -p 8080:8080 -d cecid/hermes_app:2.1`
`docker run --name hermes_app --link hermes_db:db -p 8080:8080 -d cecid/hermes_app:2.2`

4. Log in to the Hermes administration console at
`http://localhost:8080/corvus/admin/home` (username:`corvus`, password:`corvus`)
Expand All @@ -34,7 +34,7 @@ to check if Hermes is up and running.
1. Install [Apache Maven](http://maven.apache.org/install.html)
2. Execute processes needed prior to actual project build. <br/>
`mvn pre-clean`
3. Compile Hermes.<br/>
3. Compile Hermes and build JAR installer file.<br/>
`mvn install`
4. Locate `hermes2_installer.jar` under the `target/` directory. Install Hermes
following the [installation guide](http://hermes.cecid.org/en/latest/installation.html).
Expand All @@ -43,3 +43,5 @@ following the [installation guide](http://hermes.cecid.org/en/latest/installatio
The Java API Documentations are available at
[javadocs.hermes.cecid.org](http://javadoc.hermes.cecid.org/)

## Digital Signature Setup
Please refer to [How to send messages using Self Signed Certificate](http://hermes.cecid.org/en/latest/message_signing.html#how-to-send-messages-using-self-signed-certificate).
57 changes: 45 additions & 12 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,45 @@
H2O Release Notes
========================================
Sep 8, 2017

[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.


Feb 10, 2017
[What is new]
- Official support for JDK 1.8
- Introduced Vagrant for development
- Introduced Docker for deployment
- Introduced REST API
- Introduced REST API for EBMS messaging

[Upgrades and improvements]
- Updated 3rd party libraries to latest version
Expand Down Expand Up @@ -148,8 +181,8 @@ Aug 01, 2008
- Fixed wrong warning message when add ebMS partnership with same CPA ID, Service and Action
- Fixed partnership ID duplication problem when uploading multiple agreement from CPA
- Fixed ebMS InboxDataSouceDAO.findInboxNextOrderNo() to return 1 when there is no record in inbox table.
- Fixed find_inbox_pending_messages_by_timestamp to remove message_type = 'Order' filter to solve messsage & acknowledgement status synchronization problem. (Reported by Martin Kal�n)
- Added ebMS UTC conversion support for datetime without 'Z' as timezone substitution (Reported by Tao & Martin Kal�n)
- Fixed find_inbox_pending_messages_by_timestamp to remove message_type = 'Order' filter to solve messsage & acknowledgement status synchronization problem. (Reported by Martin Kal�n)
- Added ebMS UTC conversion support for datetime without 'Z' as timezone substitution (Reported by Tao & Martin Kal�n)
- Added InboundMessageProcessorTest to test checkExpiredMessage method
- Added display of party type for each message in EBMS Message History Page detail.
- Removed ebMS principle Id from message, partnership DVO, dao.xml and schema
Expand Down Expand Up @@ -186,8 +219,8 @@ May 02, 2008
Apr 01, 2008
- Added MessageHistoryQueryService (ebms/msg_history), a new web service to look up message ID, works the same as message history page.
- Modified Loopback batch scripts. The batch program will look for libraries in lib folder itself and append to classpath.
- Change H2O webapp context path to be determined during runtime instead of fixed name �corvus�.
- Performance tuning in ebMS MessageDataSourceDAO and MessageHistoryPageletAdaptor to query message history by dynamic SQL. SQL �find_message_by_history� and �find_no_of_messages_by_history� in DAOMessage.xml are modified.
- Change H2O webapp context path to be determined during runtime instead of fixed name �corvus�.
- Performance tuning in ebMS MessageDataSourceDAO and MessageHistoryPageletAdaptor to query message history by dynamic SQL. SQL �find_message_by_history� and �find_no_of_messages_by_history� in DAOMessage.xml are modified.
- Bug fix in ebMS of nonstopping retry when acknowledgement is requested and recipient failed.
- Remove principal ID as searching criteria in AS2 and ebMS message history admin page.

Expand All @@ -199,11 +232,11 @@ Mar 18, 2008
========================================
Feb 28, 2008
- Add parameters testOnBorrow , testOnReturn, testWhileIdle to DAOFactory parameters to enable these parameters in DBCP connection pool in order to enhance DB connection stability.
- Fix �Retry� button bug in admin page for failed message.
- Fix �Retry� button bug in admin page for failed message.
- Change SQL name in EbMS inbox DAO from find_next_inbox_order_no to find_inbox_next_order_no
- Add parameter �wait-for-list� to EbMS InboxCollector to make sure all InboxTask are executed before next iteration.
- Add parameter �wait-for-list� to EbMS InboxCollector to make sure all InboxTask are executed before next iteration.
- Fix concurrent problem of inbox order no. by using DB sequence instead of max() by SQL to generate inbox order no., it will prevent multiple ActiveTask from using same order no.
- Modify SQL find_inbox_pending_messages_by_timestamp only query message_type = �Order� to filter other message type like acknowledge from being executed by InboxTask.
- Modify SQL find_inbox_pending_messages_by_timestamp only query message_type = �Order� to filter other message type like acknowledge from being executed by InboxTask.

========================================
Jan 28, 2008
Expand All @@ -222,7 +255,7 @@ e.g. <parameter type="filter" name="find_message_by_cpa_filter_conv_id" value="m

========================================
Jan 10, 2008
- Fix SQL escape character �%� & �_� bug in AS2 & EbMS MessageHistoryPageletAdaptor. (Reported by Charles)
- Fix SQL escape character �%� & �_� bug in AS2 & EbMS MessageHistoryPageletAdaptor. (Reported by Charles)
- Add test cases for MessageHistoryPageletAdaptor and corresponding ant scripts.
- Modify H2O installer to configure JDBC connection in Loopback test. (Reported by anescu)
- Fix syntax problem in web.xml (Reported by BorgmM)
Expand All @@ -238,11 +271,11 @@ Jan 10, 2008
- Change exception handling in SOAPHttpConnector.send() to throw exception when exception occurs rather than trying to read error input stream. (Reported by phil.owen)
- Add SQL find_inbox_ready_max_sequence_no_by_cpa in EbMS to fix message pending problem when apply message ordering.
- Simplify SQL find_max_sequence_no_by_message_box_and_cpa by removing status clause.
- Change SOAPAction HTTP header to ebXML in ebxml-pkg (Reported by Per J�rgen)
- Remove soap-env:actor from eb:MessageHeader (Reported by Per J�rgen)
- Change SOAPAction HTTP header to ebXML in ebxml-pkg (Reported by Per J�rgen)
- Remove soap-env:actor from eb:MessageHeader (Reported by Per J�rgen)
- Add SQL find_inbox_ready_max_sequence_no_by_cpa in EbMS to fix message pending problem when apply message ordering.
- Add DAOTest for ebMS MessageDataSourceDAO and DAOTest libraries
- Patch for robust JDBC pooling in Hermes H2O SimpleDSDAOFactory (Reported by Martin Kal�n)
- Patch for robust JDBC pooling in Hermes H2O SimpleDSDAOFactory (Reported by Martin Kal�n)

========================================
Nov 10, 2007
Expand Down
6,349 changes: 0 additions & 6,349 deletions corvus-api/doc/API-Reference-1.0.html

This file was deleted.

Loading

0 comments on commit 638494d

Please sign in to comment.