commit | de818b6638b3fe537017fd103c0b9997b707dce0 | [log] [tgz] |
---|---|---|
author | a.sreekumar <ajith.sreekumar@bell.ca> | Thu Feb 18 14:13:29 2021 +0000 |
committer | a.sreekumar <ajith.sreekumar@bell.ca> | Fri Feb 19 15:21:56 2021 +0000 |
tree | 3bd3da682c03c6bcac15104ab10a39738f29ad1b | |
parent | cd8c7690c302973da1811be81a5453aef7469c10 [diff] |
Update Pdp policy status during registration or State change The Pdp Policy Status is not updated during the pdp heartbeat handling/registration flow, or during State change. When a PDP goes down the pdppolicystatus gets cleared. But when the PDP comes back online, PAP deploys the right policies into it, but the deployment status was not getting updated. Similarly, when the State is changed to PASSIVE, the status should be undeployed, and when the state is changed back to ACTIVE, then the status should be deployed for any active policies in any PDP. These issues are fixed here. Updating postman collection. Also updating the csit test to check for 202 instead of 200 for the deployment api response. Change-Id: I1e05f22df23daaa8da8be1376413e995be2376f3 Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
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