commit | f9b1e7a0cd418738375505a9269f50f903d459ad | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Fri May 10 10:19:43 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Fri May 10 10:45:00 2019 -0400 |
tree | 1aed0143bdefd7d31ab1d631e43c811469581500 | |
parent | 2de7e5642b9a61566e7e6ad52ccdcb5798f0924f [diff] |
Return 200 when policy successfully undeployed The PAP Undeploy CSIT was failing, because it was returning 400. The code was counting PDP UPDATE requests to determine whether or not the policy had been found. However, if a subgroup currently has no PDPs assigned (as is the case with the CSIT), then there will be no PDP UPDATEs, thus it will think that the policy was not found and return 400. Modified the code to count updates to the DB instead. Change-Id: I80cdcc738e07c418e0a7184284e7a228e3a6014d Issue-ID: POLICY-1758 Signed-off-by: Jim Hahn <jrh3@att.com>
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