diff options
Diffstat (limited to 'integrity-monitor/src')
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/AdministrativeStateException.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/AdministrativeStateException.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/ForwardProgressException.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/ForwardProgressException.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitor.java) | 18 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorProperties.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorProperties.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorPropertiesException.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorPropertiesException.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/StandbyStatusException.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/StandbyStatusException.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/StateChangeNotifier.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateChangeNotifier.java) | 6 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/StateElement.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateElement.java) | 6 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateManagement.java) | 12 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/StateTransition.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateTransition.java) | 10 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdmin.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/ComponentAdmin.java) | 10 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/ComponentAdminMBean.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/JmxAgentConnection.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/JmxAgentConnection.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ForwardProgressEntity.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ForwardProgressEntity.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ImTestEntity.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ImTestEntity.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ResourceRegistrationEntity.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/StateManagementEntity.java (renamed from integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/StateManagementEntity.java) | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/resources/META-INF/persistence.xml | 16 | ||||
-rw-r--r-- | integrity-monitor/src/main/resources/logback.xml | 2 | ||||
-rw-r--r-- | integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java (renamed from integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/IntegrityMonitorTest.java) | 18 | ||||
-rw-r--r-- | integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementEntityTest.java (renamed from integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateManagementEntityTest.java) | 10 | ||||
-rw-r--r-- | integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementTest.java (renamed from integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateManagementTest.java) | 12 | ||||
-rw-r--r-- | integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateTransitionTest.java (renamed from integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateTransitionTest.java) | 10 | ||||
-rw-r--r-- | integrity-monitor/src/test/resources/logback.xml | 2 |
24 files changed, 77 insertions, 77 deletions
diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/AdministrativeStateException.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/AdministrativeStateException.java index 1115c177..048124ba 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/AdministrativeStateException.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/AdministrativeStateException.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; public class AdministrativeStateException extends Exception{ private static final long serialVersionUID = 1L; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/ForwardProgressException.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/ForwardProgressException.java index 982f71aa..6f54cc9a 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/ForwardProgressException.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/ForwardProgressException.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; public class ForwardProgressException extends Exception{ private static final long serialVersionUID = 1L; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitor.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java index 4e573d8c..06e9b3de 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitor.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; import java.net.InetAddress; import java.util.ArrayList; @@ -38,15 +38,15 @@ import javax.persistence.LockModeType; import javax.persistence.Persistence; import javax.persistence.Query; -import org.openecomp.policy.common.im.jpa.ForwardProgressEntity; -import org.openecomp.policy.common.im.jpa.ResourceRegistrationEntity; -import org.openecomp.policy.common.im.jpa.StateManagementEntity; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.jpa.ForwardProgressEntity; +import org.onap.policy.common.im.jpa.ResourceRegistrationEntity; +import org.onap.policy.common.im.jpa.StateManagementEntity; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; //import org.apache.log4j.Logger; -import org.openecomp.policy.common.im.jmx.ComponentAdmin; -import org.openecomp.policy.common.im.jmx.ComponentAdminMBean; -import org.openecomp.policy.common.im.jmx.JmxAgentConnection; +import org.onap.policy.common.im.jmx.ComponentAdmin; +import org.onap.policy.common.im.jmx.ComponentAdminMBean; +import org.onap.policy.common.im.jmx.JmxAgentConnection; /** * IntegrityMonitor diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorProperties.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorProperties.java index 1a901ba6..a6a7da1f 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorProperties.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorProperties.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; public class IntegrityMonitorProperties { diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorPropertiesException.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorPropertiesException.java index 07737e14..1d56e28a 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/IntegrityMonitorPropertiesException.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorPropertiesException.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; public class IntegrityMonitorPropertiesException extends Exception{ private static final long serialVersionUID = 1L; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StandbyStatusException.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/StandbyStatusException.java index 1de08b0e..787030d4 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StandbyStatusException.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/StandbyStatusException.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; public class StandbyStatusException extends Exception { /** diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateChangeNotifier.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateChangeNotifier.java index 8906bb77..ee148159 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateChangeNotifier.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateChangeNotifier.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; import java.util.Observable; import java.util.Observer; @@ -36,8 +36,8 @@ import java.util.Observer; */ //import org.apache.log4j.Logger; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; /** * diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateElement.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateElement.java index ad60b46d..58cdde1e 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateElement.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateElement.java @@ -18,11 +18,11 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; //import org.apache.log4j.Logger; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; public class StateElement { private static final Logger logger = FlexLogger.getLogger(StateElement.class); diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateManagement.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java index d86cfcfb..4ed5d35a 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateManagement.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; import java.util.*; @@ -31,11 +31,11 @@ import javax.persistence.Query; //import org.apache.log4j.Logger; -import org.openecomp.policy.common.im.jpa.StateManagementEntity; -import org.openecomp.policy.common.im.StateElement; -import org.openecomp.policy.common.im.StandbyStatusException; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.jpa.StateManagementEntity; +import org.onap.policy.common.im.StateElement; +import org.onap.policy.common.im.StandbyStatusException; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; /** * diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateTransition.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateTransition.java index c3805340..746e0cef 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/StateTransition.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateTransition.java @@ -18,16 +18,16 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im; +package org.onap.policy.common.im; import java.util.*; //import org.apache.log4j.Logger; -import org.openecomp.policy.common.im.StateElement; -import org.openecomp.policy.common.im.StateManagement; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.StateElement; +import org.onap.policy.common.im.StateManagement; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; /** * The StateTransition class coordinates all state transitions. diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/ComponentAdmin.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdmin.java index 4d8399a1..551e1b09 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/ComponentAdmin.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdmin.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.jmx; +package org.onap.policy.common.im.jmx; import java.util.ArrayList; import java.util.Iterator; @@ -34,8 +34,8 @@ import javax.management.ObjectName; import org.apache.log4j.Logger; -import org.openecomp.policy.common.im.IntegrityMonitor; -import org.openecomp.policy.common.im.StateManagement; +import org.onap.policy.common.im.IntegrityMonitor; +import org.onap.policy.common.im.StateManagement; /** * Base class for component MBeans. @@ -62,7 +62,7 @@ public class ComponentAdmin implements ComponentAdminMBean { throw new NullPointerException("null input"); } - this.name = "ECOMP_POLICY_COMP:name=" + name; + this.name = "ONAP_POLICY_COMP:name=" + name; this.integrityMonitor = integrityMonitor; this.stateManager = stateManager; @@ -183,7 +183,7 @@ public class ComponentAdmin implements ComponentAdminMBean { */ public static ObjectName getObjectName(String componentName) throws MalformedObjectNameException { - return new ObjectName("ECOMP_POLICY_COMP:name=" + componentName); + return new ObjectName("ONAP_POLICY_COMP:name=" + componentName); } @Override diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/ComponentAdminMBean.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java index 5cf24b6b..d61add59 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/ComponentAdminMBean.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/ComponentAdminMBean.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.jmx; +package org.onap.policy.common.im.jmx; /** * Provides operations to test health, lock and unlock components. diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/JmxAgentConnection.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/JmxAgentConnection.java index bc28c485..7a7e9a80 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jmx/JmxAgentConnection.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jmx/JmxAgentConnection.java @@ -21,7 +21,7 @@ /** * */ -package org.openecomp.policy.common.im.jmx; +package org.onap.policy.common.im.jmx; import java.io.IOException; import java.util.HashMap; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ForwardProgressEntity.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ForwardProgressEntity.java index 99a0d0ad..1dc71a65 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ForwardProgressEntity.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ForwardProgressEntity.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.jpa; +package org.onap.policy.common.im.jpa; import java.io.Serializable; import java.util.Date; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ImTestEntity.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ImTestEntity.java index c7ae0abc..be4470e7 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ImTestEntity.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ImTestEntity.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.jpa; +package org.onap.policy.common.im.jpa; import java.io.Serializable; import java.util.Date; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ResourceRegistrationEntity.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java index 29443088..c4d4aa68 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/ResourceRegistrationEntity.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.jpa; +package org.onap.policy.common.im.jpa; import java.io.Serializable; import java.util.Date; diff --git a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/StateManagementEntity.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/StateManagementEntity.java index 737daec3..2dd18853 100644 --- a/integrity-monitor/src/main/java/org/openecomp/policy/common/im/jpa/StateManagementEntity.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/StateManagementEntity.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.jpa; +package org.onap.policy.common.im.jpa; import java.io.Serializable; import java.util.Date; diff --git a/integrity-monitor/src/main/resources/META-INF/persistence.xml b/integrity-monitor/src/main/resources/META-INF/persistence.xml index 94360109..7fbec098 100644 --- a/integrity-monitor/src/main/resources/META-INF/persistence.xml +++ b/integrity-monitor/src/main/resources/META-INF/persistence.xml @@ -23,10 +23,10 @@ <persistence-unit name="schemaPU" transaction-type="RESOURCE_LOCAL"> <!-- Limited use for generating the DB and schema files for imtest DB - uses eclipselink --> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> - <class>org.openecomp.policy.common.im.jpa.ImTestEntity</class> - <class>org.openecomp.policy.common.im.jpa.StateManagementEntity</class> - <class>org.openecomp.policy.common.im.jpa.ForwardProgressEntity</class> - <class>org.openecomp.policy.common.im.jpa.ResourceRegistrationEntity</class> + <class>org.onap.policy.common.im.jpa.ImTestEntity</class> + <class>org.onap.policy.common.im.jpa.StateManagementEntity</class> + <class>org.onap.policy.common.im.jpa.ForwardProgressEntity</class> + <class>org.onap.policy.common.im.jpa.ResourceRegistrationEntity</class> <shared-cache-mode>NONE</shared-cache-mode> <properties> <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/> @@ -39,10 +39,10 @@ <persistence-unit name="operationalPU" transaction-type="RESOURCE_LOCAL"> <!-- For operational use --> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> - <class>org.openecomp.policy.common.im.jpa.ImTestEntity</class> - <class>org.openecomp.policy.common.im.jpa.StateManagementEntity</class> - <class>org.openecomp.policy.common.im.jpa.ForwardProgressEntity</class> - <class>org.openecomp.policy.common.im.jpa.ResourceRegistrationEntity</class> + <class>org.onap.policy.common.im.jpa.ImTestEntity</class> + <class>org.onap.policy.common.im.jpa.StateManagementEntity</class> + <class>org.onap.policy.common.im.jpa.ForwardProgressEntity</class> + <class>org.onap.policy.common.im.jpa.ResourceRegistrationEntity</class> <shared-cache-mode>NONE</shared-cache-mode> <properties> <!-- none --> diff --git a/integrity-monitor/src/main/resources/logback.xml b/integrity-monitor/src/main/resources/logback.xml index 1c888097..2fa92a09 100644 --- a/integrity-monitor/src/main/resources/logback.xml +++ b/integrity-monitor/src/main/resources/logback.xml @@ -27,7 +27,7 @@ <property name="debugDir" value="logs" /> <!-- specify the component name - <ECOMP-component-name>::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" --> + <ONAP-component-name>::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" --> <property name="componentName" value="common-modules"></property> <property name="subComponentName" value="integrity-monitor"></property> diff --git a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/IntegrityMonitorTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java index 8e8720da..afa2ca94 100644 --- a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/IntegrityMonitorTest.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.test; +package org.onap.policy.common.im.test; import static org.junit.Assert.*; @@ -45,14 +45,14 @@ import org.junit.Test; -import org.openecomp.policy.common.im.IntegrityMonitor; -import org.openecomp.policy.common.im.IntegrityMonitorProperties; -import org.openecomp.policy.common.im.StateManagement; -import org.openecomp.policy.common.im.jpa.ForwardProgressEntity; -import org.openecomp.policy.common.im.jpa.ResourceRegistrationEntity; -import org.openecomp.policy.common.im.jpa.StateManagementEntity; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.IntegrityMonitor; +import org.onap.policy.common.im.IntegrityMonitorProperties; +import org.onap.policy.common.im.StateManagement; +import org.onap.policy.common.im.jpa.ForwardProgressEntity; +import org.onap.policy.common.im.jpa.ResourceRegistrationEntity; +import org.onap.policy.common.im.jpa.StateManagementEntity; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; /* * All JUnits are designed to run in the local development environment diff --git a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateManagementEntityTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementEntityTest.java index 6116ef07..ec5efc02 100644 --- a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateManagementEntityTest.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementEntityTest.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.test; +package org.onap.policy.common.im.test; import java.util.List; import java.util.Properties; @@ -38,10 +38,10 @@ import org.junit.Test; //import org.apache.commons.logging.Log; //import org.apache.commons.logging.LogFactory; -import org.openecomp.policy.common.im.StateManagement; -import org.openecomp.policy.common.im.jpa.StateManagementEntity; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.StateManagement; +import org.onap.policy.common.im.jpa.StateManagementEntity; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; public class StateManagementEntityTest { private static Logger logger = FlexLogger.getLogger(StateManagementEntityTest.class); diff --git a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateManagementTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementTest.java index 92fc225c..98ee0645 100644 --- a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateManagementTest.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementTest.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.test; +package org.onap.policy.common.im.test; import java.util.Properties; import javax.persistence.EntityManagerFactory; @@ -29,11 +29,11 @@ import org.junit.Before; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; -import org.openecomp.policy.common.im.StateManagement; -import org.openecomp.policy.common.im.StandbyStatusException; -import org.openecomp.policy.common.im.StateChangeNotifier; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.StateManagement; +import org.onap.policy.common.im.StandbyStatusException; +import org.onap.policy.common.im.StateChangeNotifier; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; /* * All JUnits are designed to run in the local development environment diff --git a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateTransitionTest.java b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateTransitionTest.java index d90e27bc..80e393ee 100644 --- a/integrity-monitor/src/test/java/org/openecomp/policy/common/im/test/StateTransitionTest.java +++ b/integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateTransitionTest.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.openecomp.policy.common.im.test; +package org.onap.policy.common.im.test; import java.util.Properties; import javax.persistence.EntityManagerFactory; @@ -31,10 +31,10 @@ import org.junit.Test; //import org.apache.commons.logging.Log; //import org.apache.commons.logging.LogFactory; -import org.openecomp.policy.common.im.StateTransition; -import org.openecomp.policy.common.im.StateElement; -import org.openecomp.policy.common.logging.flexlogger.FlexLogger; -import org.openecomp.policy.common.logging.flexlogger.Logger; +import org.onap.policy.common.im.StateTransition; +import org.onap.policy.common.im.StateElement; +import org.onap.policy.common.logging.flexlogger.FlexLogger; +import org.onap.policy.common.logging.flexlogger.Logger; /* * All JUnits are designed to run in the local development environment * where they have write privileges and can execute time-sensitive diff --git a/integrity-monitor/src/test/resources/logback.xml b/integrity-monitor/src/test/resources/logback.xml index 3a879008..544162f3 100644 --- a/integrity-monitor/src/test/resources/logback.xml +++ b/integrity-monitor/src/test/resources/logback.xml @@ -29,7 +29,7 @@ <property name="debugDir" value="testingLogs" /> <!-- specify the component name - <ECOMP-component-name>::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" --> + <ONAP-component-name>::= "MSO" | "DCAE" | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" --> <property name="componentName" value="common-modules"></property> <property name="subComponentName" value="integrity-monitor"></property> |