Fix soft stop and start of engine

Stopping an apexc engine is a soft stop, allowing the engine
to be restarted again. However, when a model upgrade is carried out
the engine must be stopped and cleared to clear the previous model,
loaded with the new model and started again.

THis handling must work over the Web Socket admin interface and
also when apex is started as a service.

This change fixes the handling so that it is consistent and
works the same when apex is stopped/started/upgraded from
the command line or over the management web socket interface

Issue-ID: POLICY-1101
Change-Id: I1fe619641cb6ecd34d0669b4b7df105280e5e2c0
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
7 files changed
tree: ebbe32d73198da6f842eab41eac0e600195bcad9
  1. auth/
  2. client/
  3. context/
  4. core/
  5. examples/
  6. model/
  7. packages/
  8. plugins/
  9. services/
  10. src/
  11. testsuites/
  12. tools/
  13. .gitignore
  14. .gitreview
  15. BUILD.adoc
  16. docker_build.sh
  17. docker_merge.sh
  18. docker_verify.sh
  19. INFO.yaml
  20. LICENSE.txt
  21. pom.xml
  22. README.md
  23. version.properties
README.md

Copyright (C) 2016-2018 Ericsson. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy APEX PDP Engine code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.

To build it using Maven 3, run: mvn clean install