diff options
author | Jim Hahn <jrh3@att.com> | 2019-04-05 17:02:06 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-04-05 19:35:55 -0400 |
commit | 8d554587553ab5bd5dff66db81fb45f82f46278c (patch) | |
tree | ee8e3fc69df24d0b51b1e313702f9cb5d6bf75d4 /main/src/test/resources/simpleDeploy/getGroupDao.json | |
parent | 92e0c7a0845be859039b315235fc9025b8363977 (diff) |
Delay DB updates until all policies processed
If an exception is thrown in the middle of processing policies, it's
possible for the DB to reflect a partial deployment. This change
queues the DB changes so that they're all made at once, after all
policies have been processed.
Extracted sort() into a common place.
Corrected some comments.
Simplified the list retrieval in the junits since all DB creates and
updates are now batched together into one operation each.
Change-Id: I835175fc16d4042c741d36ec69caa8f603d46d5a
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources/simpleDeploy/getGroupDao.json')
-rw-r--r-- | main/src/test/resources/simpleDeploy/getGroupDao.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/test/resources/simpleDeploy/getGroupDao.json b/main/src/test/resources/simpleDeploy/getGroupDao.json index 2e74d1bf..65d0907a 100644 --- a/main/src/test/resources/simpleDeploy/getGroupDao.json +++ b/main/src/test/resources/simpleDeploy/getGroupDao.json @@ -2,7 +2,7 @@ "groups": [ { "name": "groupA", - "version": "0.0.0", + "version": "200.2.3", "pdpSubgroups": [ { "pdpType": "pdpTypeA", |