Fix wrong APEX-PDP behaviour during state change

When a policy is deployed & undeployed, and then on doing
PDP_STATE_CHANGE to passive and then active, previously undeployed
policies are taken from memory and tried to be deployed. Any undeployed
policies should be cleared from the engine memory.
This is fixed here.

Change-Id: I8f6fbc64d29bd8d89e906376d0770d375ffd8b82
Issue-ID: POLICY-4087
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
1 file changed
tree: b9bb3b69b28d6bce62975bcedefe87b5eee7c4bf
  1. auth/
  2. context/
  3. core/
  4. examples/
  5. model/
  6. packages/
  7. plugins/
  8. releases/
  9. services/
  10. testsuites/
  11. tools/
  12. .gitignore
  13. .gitreview
  14. docker_build.sh
  15. docker_merge.sh
  16. docker_verify.sh
  17. INFO.yaml
  18. LICENSE.txt
  19. pom.xml
  20. README.md
  21. 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