commit | 7cab98ba7db4ae718124c762e5ea1fb25f8d447e | [log] [tgz] |
---|---|---|
author | ramverma <ram.krishna.verma@est.tech> | Tue Apr 30 08:53:31 2019 +0000 |
committer | Ram Krishna Verma <ram.krishna.verma@est.tech> | Tue Apr 30 11:17:17 2019 +0000 |
tree | c46fcc5ec12de5a99bb706c7b522d3ae34a99bfd | |
parent | 3bca010bdcb7b14d7bd3e7cd7b39ee1a562b27b4 [diff] |
Adding algorithm for Pdp registration 1) Adding algorithm for improving Pdp registration. The flow is: When a new Pdp comes for registration, PAP will shortlist a list of PdpGroups based on the supportedPolicyTypes reported by PdpStatus message and the supportedPolicyTypes in the PdpSubGroup. Then PAP will find the PdpGroup which needs the Pdp most in two ways: 1) If there is a subgroup with no Pdp's then that takes the priority. 2) Otherwise the Pdp is allocated to the PdpGroup with highest difference value of desiredInstanceCount - currentInstanceCount. 2) Changing the preconfigured TosaPolicyType for apex to avoid interference with legacy operational policies of drools. Change-Id: I77584c3c030bc27903c11689acaca33148e27e3c Issue-ID: POLICY-1630 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
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