Removed manual shutdown hook for hazelcast

Shutdown hook for hazelcast are already working with spring boot. Just
changed the policy to GRACEFUL (default is TERMINATE). This allow
hazelcast to shutdown gracefully and recover from a rolling upgrade

Also updated the Dockerfile to use multi stage to reduce by ~200Mb
the docker image size.

Issue-ID: CCSDK-2011
Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca>
Change-Id: I0034145c7acefa88ed8d16f23a29249c7225ace3
5 files changed
tree: a84dffc4fdde79555ae81602e6c1c69eb55a9768
  1. cds-ui/
  2. components/
  3. docs/
  4. ms/
  5. py-modules/
  6. releases/
  7. .editorconfig
  8. .gitignore
  9. .gitreview
  10. INFO.yaml
  11. pom.xml
  12. README.md
  13. TagVersion.groovy
  14. version.properties
README.md
Format code with ktlint checkstyle tool use the following command

mvn process-sources -P format

Reference

https://github.com/pinterest/ktlint