diff options
author | ramverma <ram.krishna.verma@est.tech> | 2019-11-22 16:42:03 +0000 |
---|---|---|
committer | ramverma <ram.krishna.verma@est.tech> | 2019-11-22 16:42:11 +0000 |
commit | 855fade6ec6e31a80681c692ddfdc21c97e97b08 (patch) | |
tree | 88ca863e1ec84107d80d31f0ad811cc9c692d409 /main/src/test/resources | |
parent | 83e087bcb5759dee5afc2be6ecee7ed47fb6a7dc (diff) |
Re-register pdp if not found in DB
During heartbeat processing, if the pdp instance is not found in the DB
then registering the pdp again. So that it doesn't go out of sync.
Added related test cases.
Issue-ID: POLICY-2158
Change-Id: I557e2397536fd5b3a2783ec89d75ca0e43dcf9d0
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'main/src/test/resources')
-rw-r--r-- | main/src/test/resources/e2e/PdpGroups.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/src/test/resources/e2e/PdpGroups.json b/main/src/test/resources/e2e/PdpGroups.json index a92ec063..e15a7acd 100644 --- a/main/src/test/resources/e2e/PdpGroups.json +++ b/main/src/test/resources/e2e/PdpGroups.json @@ -102,9 +102,14 @@ "version": "1.0.0" } ], + "policies": [ + { + "name": "onap.policies.controlloop.operational.Apex.SampleDomain", + "version": "1.0.0" + } + ], "currentInstanceCount": 0, - "desiredInstanceCount": 1, - "policies": [] + "desiredInstanceCount": 1 } ] } |