aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-01-11 15:24:26 -0500
committerJim Hahn <jrh3@att.com>2019-01-11 15:24:26 -0500
commitb0c675060d1edcf39bfce758c28b026373e1e56c (patch)
treee37763455d834a9e4b43a279008c489a63a8fc3a
parent31e122b8c77b933db7475b2889efcfba83e378b5 (diff)
Fix policy/engine after integrity-audit changes
In POLICY-1133, some classes in integrity-audit were modified (i.e., DbDAO => DbDao). Policy/engine uses those classes, too, so it must also be updated to reflect. Change-Id: I01ebad1ddfe8f1bb490c56b2eb3336c691688a24 Issue-ID: POLICY-1133 Signed-off-by: Jim Hahn <jrh3@att.com>
-rw-r--r--ONAP-PAP-REST/src/test/java/org/onap/policy/pap/ia/DbAuditCompareEntriesTest.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/ia/DbAuditCompareEntriesTest.java b/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/ia/DbAuditCompareEntriesTest.java
index 5b4165fdb..9fded580c 100644
--- a/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/ia/DbAuditCompareEntriesTest.java
+++ b/ONAP-PAP-REST/src/test/java/org/onap/policy/pap/ia/DbAuditCompareEntriesTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP-PAP-REST
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.onap.policy.common.ia.DbAudit;
-import org.onap.policy.common.ia.DbDAO;
+import org.onap.policy.common.ia.DbDao;
import org.onap.policy.common.ia.IntegrityAuditProperties;
import org.onap.policy.common.ia.jpa.IntegrityAuditEntity;
import org.onap.policy.common.im.jpa.ForwardProgressEntity;
@@ -51,7 +51,7 @@ import org.onap.policy.jpa.BackUpMonitorEntity;
public class DbAuditCompareEntriesTest {
private static Log logger = LogFactory.getLog(DbAuditCompareEntriesTest.class);
- private DbDAO dbDAO;
+ private DbDao dbDAO;
private String persistenceUnit;
private Properties properties;
private String resourceName;
@@ -145,7 +145,7 @@ public class DbAuditCompareEntriesTest {
public void testIntegrityAuditEntity() throws Exception {
logger.info("testIntegrityAuditEntity: Entering");
- dbDAO = new DbDAO(resourceName, persistenceUnit, properties);
+ dbDAO = new DbDao(resourceName, persistenceUnit, properties);
DbAudit dbAudit = new DbAudit(dbDAO);
String className = null;
@@ -223,7 +223,7 @@ public class DbAuditCompareEntriesTest {
void testBackupMonitorEntity() throws Exception {
logger.info("testBackupMonitorEntity: Entering");
- dbDAO = new DbDAO(resourceName, persistenceUnit, properties);
+ dbDAO = new DbDao(resourceName, persistenceUnit, properties);
DbAudit dbAudit = new DbAudit(dbDAO);
BackUpMonitorEntity entry1 = new BackUpMonitorEntity();
@@ -282,7 +282,7 @@ public class DbAuditCompareEntriesTest {
void testStateManagementEntity() throws Exception {
logger.info("testStateManagementEntity: Entering");
- dbDAO = new DbDAO(resourceName, persistenceUnit, properties);
+ dbDAO = new DbDao(resourceName, persistenceUnit, properties);
DbAudit dbAudit = new DbAudit(dbDAO);
StateManagementEntity entry1 = new StateManagementEntity();
@@ -342,7 +342,7 @@ public class DbAuditCompareEntriesTest {
void testForwardProgressEntity() throws Exception {
logger.info("testForwardProgressEntity: Entering");
- dbDAO = new DbDAO(resourceName, persistenceUnit, properties);
+ dbDAO = new DbDao(resourceName, persistenceUnit, properties);
DbAudit dbAudit = new DbAudit(dbDAO);
ForwardProgressEntity entry1 = new ForwardProgressEntity();
@@ -397,7 +397,7 @@ public class DbAuditCompareEntriesTest {
void testResourceRegistrationEntity() throws Exception {
logger.info("testResourceRegistrationEntity: Entering");
- dbDAO = new DbDAO(resourceName, persistenceUnit, properties);
+ dbDAO = new DbDao(resourceName, persistenceUnit, properties);
DbAudit dbAudit = new DbAudit(dbDAO);
ResourceRegistrationEntity entry1 = new ResourceRegistrationEntity();