Reject policy deployment with version mismatch

PAP should not allow multiple versions of a policy to be deployed
to the same PDP.  Modified the code to reject deployment requests
where a different version of the policy is already deployed.  This
impacts both the PDP-Group-Deploy and the Simple-Deploy REST APIs.

Change-Id: I586b764951c20228d0d80ec8326869215e970fdf
Issue-ID: POLICY-1785
Signed-off-by: Jim Hahn <jrh3@att.com>
3 files changed
tree: d5ae6c720dc9ead5f437a961ffcfc34bf7942cda
  1. main/
  2. packages/
  3. testsuites/
  4. .gitignore
  5. .gitreview
  6. INFO.yaml
  7. LICENSE.txt
  8. pom.xml
  9. README.md
  10. version.properties
README.md

Copyright 2017-2018 AT&T Intellectual Property. 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 Administration Point Backend code.

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