FC-39 FC-34 FC-42 FC-40 FC-41 FC-32 Added app instance lifecycle handling for blue-green deployment

Added system message handlers to manage application instance lifecycle, for application participating in blue-green deployment. Also added some preliminary changes for configuring number of worker threads independently for each message listener thread pool.

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
FC-39 FC-34 FC-42 FC-40 FC-41 FC-32 Refactored RemoteCall build logic.

Also added some Javadoc

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
FC-39 FC-34 FC-42 FC-40 FC-41 FC-32 Allow application to run without blue-green procedure

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
Merge pull request #9 from clicktravel-steffan/master

FC-39 FC-34 FC-42 FC-40 FC-41 FC-32 Added blue-green deployment support
Updated Cheddar to allow for PersistenceException handling when initialising database write actions.
Improved testing of correct Exception re-throwing when a transactional commit throws an Exception.
Fixed bug with DatabaseAction not propagating Exceptions when there are no PersistenceException handlers
Merge pull request #10 from clicktravel-basharat/master

Updated Cheddar to allow for PersistenceException handling when initialising database write actions
Updated RemoteCallHandler to support handling of exceptions within remote calls via annotations.
Merge branch 'master' of github.com:ClickTravel/Cheddar
Merge pull request #11 from clicktravel-basharat/master

Updated RemoteCallHandler to support handling of exceptions within remote calls via annotations.
DP-69 Continue SQS message processing loop if malformed message received

Fix a bug where receiving an SQS message that cannot be parsed as a Cheddar SimpleMessage would terminate the SQS message processing loop.

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
DP-69 Add MessagingException base for all Cheddar messaging exceptions

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
Merge pull request #12 from clicktravel-steffan/master

DP-69 Continue SQS message processing loop if malformed message received
Remove constructor for ContraintViolationException that used DomainEvent to reduce coupling on application layer
DP-69 REST server should keep running at end of blue-green deployment

Fixed issue where the REST server was terminating at the end of blue-green deployment. Instead it should keep running and report TERMINATING status.
Also removed unused classes originally added for earlier design of blue-green deployment.

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
Merge pull request #14 from clicktravel-steffan/master

DP-69 REST server should keep running at end of blue-green deployment
Merge pull request #13 from clicktravel-basharat/master

Remove constructor for ContraintViolationException that used DomainEvent to reduce coupling on application layer
FC-11 Added content to Cheddar introduction document

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>
FC-11 Correct minor typos

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>