aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/main/java/org/onap/policy/pap/main/rest/StatisticsRestProvider.java
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-02-18 14:13:29 +0000
committera.sreekumar <ajith.sreekumar@bell.ca>2021-02-19 15:21:56 +0000
commitde818b6638b3fe537017fd103c0b9997b707dce0 (patch)
tree3bd3da682c03c6bcac15104ab10a39738f29ad1b /main/src/main/java/org/onap/policy/pap/main/rest/StatisticsRestProvider.java
parentcd8c7690c302973da1811be81a5453aef7469c10 (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>
Diffstat (limited to 'main/src/main/java/org/onap/policy/pap/main/rest/StatisticsRestProvider.java')
0 files changed, 0 insertions, 0 deletions