From 2a76364ed54301623718756d6088fc675516f9d0 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 10 Apr 2019 13:58:05 -0400 Subject: Don't change group version number Modified code to update a PdpGroup, adding or removing policies, without changing the version number. Change-Id: I10031dff5f6d9c7e568605a8d73af6fe3c740901 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn --- .../test/resources/simpleDeploy/getGroupDao.json | 61 +--------------------- 1 file changed, 1 insertion(+), 60 deletions(-) (limited to 'main/src/test/resources') diff --git a/main/src/test/resources/simpleDeploy/getGroupDao.json b/main/src/test/resources/simpleDeploy/getGroupDao.json index 65d0907a..7fd7684b 100644 --- a/main/src/test/resources/simpleDeploy/getGroupDao.json +++ b/main/src/test/resources/simpleDeploy/getGroupDao.json @@ -16,67 +16,8 @@ { "instanceId": "pdpA" } - ] - } - ] - }, - { - "name": "groupA", - "version": "200.2.3", - "pdpSubgroups": [ - { - "pdpType": "pdpTypeA", - "supportedPolicyTypes": [ - { - "name": "typeA", - "version": "100.2.3" - } ], - "pdpInstances": [ - { - "instanceId": "pdpA" - } - ] - } - ] - }, - { - "name": "groupA", - "version": "0.0.1", - "pdpSubgroups": [ - { - "pdpType": "pdpTypeA", - "supportedPolicyTypes": [ - { - "name": "typeA", - "version": "100.2.3" - } - ], - "pdpInstances": [ - { - "instanceId": "pdpA" - } - ] - } - ] - }, - { - "name": "groupA", - "version": "non-numeric-version", - "pdpSubgroups": [ - { - "pdpType": "pdpTypeA", - "supportedPolicyTypes": [ - { - "name": "typeA", - "version": "100.2.3" - } - ], - "pdpInstances": [ - { - "instanceId": "pdpA" - } - ] + "policies": [] } ] } -- cgit 1.2.3-korg