summaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'PolicyEngineAPI/src/test/java/org')
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/AutoClientEndTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/AutoClientEndTest.java)20
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/AutoClientUEBTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/AutoClientUEBTest.java)56
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/Handler.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/Handler.java)26
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/ManualClientEndTest.java)8
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndUEBTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/ManualClientEndUEBTest.java)10
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java)104
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchesTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchesTest.java)30
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/NotificationStoreTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/NotificationStoreTest.java)6
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/NotificationUnMarshalTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/NotificationUnMarshalTest.java)6
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdLoadedPolicyTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdLoadedPolicyTest.java)6
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPDPNotificationTest.java)14
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyChangeResponseTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyChangeResponseTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyConfigTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyConfigTest.java)8
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyResponseTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyResponseTest.java)6
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdRemovedPolicyTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdRemovedPolicyTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdStatusTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdStatusTest.java)12
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/package-info.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/package-info.java)2
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/ActionPolicyApiTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ActionPolicyApiTest.java)20
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/AttributeTypeTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/AttributeTypeTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigBasePolicyTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigBasePolicyTest.java)36
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigFirewallPolicyTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigFirewallPolicyTest.java)18
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigRequestParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigRequestParametersTest.java)30
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionPolicyApiTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DecisionPolicyApiTest.java)30
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DecisionRequestParametersTest.java)26
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/DeletePolicyConditionTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DeletePolicyConditionTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/DeletePolicyParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DeletePolicyParametersTest.java)6
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/EventRequestParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/EventRequestParametersTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigByPolicyNameTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigByPolicyNameTest.java)14
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringStringMapTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringStringMapTest.java)60
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringStringTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringStringTest.java)52
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringTest.java)40
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/ImportParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ImportParametersTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/LoadedPolicyTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/LoadedPolicyTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationHandlerTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationHandlerTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationSchemeTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationSchemeTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationTypeTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationTypeTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PDPNotificationTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PDPNotificationTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyChangeResponseTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyChangeResponseTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyClassTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyClassTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigExceptionTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigExceptionTest.java)14
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigStatusTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigStatusTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigTypeTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigTypeTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyDecisionExceptionTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyDecisionExceptionTest.java)14
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyDecisionTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyDecisionTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineExceptionTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineExceptionTest.java)14
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineInterfaceTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineInterfaceTest.java)90
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineTest.java)12
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEventExceptionTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEventExceptionTest.java)14
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyParametersTest.java)102
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyResponseStatusTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyResponseStatusTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyResponseTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyResponseTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyTypeTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyTypeTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/PushPolicyParametersTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PushPolicyParametersTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/RemovedPolicyTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/RemovedPolicyTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/SendEventTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/SendEventTest.java)16
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/TestRunner.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/TestRunner.java)2
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/UpdateTypeTest.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/UpdateTypeTest.java)4
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/test/package-info.java (renamed from PolicyEngineAPI/src/test/java/org/openecomp/policy/test/package-info.java)2
59 files changed, 509 insertions, 509 deletions
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/AutoClientEndTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/AutoClientEndTest.java
index 86f15992a..203b9f54f 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/AutoClientEndTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/AutoClientEndTest.java
@@ -18,17 +18,17 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import static org.junit.Assert.assertNotNull;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.NotificationHandler;
-import org.openecomp.policy.api.NotificationScheme;
-import org.openecomp.policy.std.AutoClientEnd;
-import org.openecomp.policy.std.StdPolicyEngine;
+import org.onap.policy.api.NotificationHandler;
+import org.onap.policy.api.NotificationScheme;
+import org.onap.policy.std.AutoClientEnd;
+import org.onap.policy.std.StdPolicyEngine;
/**
* The class <code>AutoClientEndTest</code> contains tests for the class <code>{@link AutoClientEnd}</code>.
@@ -81,7 +81,7 @@ public class AutoClientEndTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientEnd
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientEnd
assertNotNull(result);
}
@@ -105,7 +105,7 @@ public class AutoClientEndTest {
// An unexpected exception was thrown in user code while executing this test:
// java.lang.ExceptionInInitializerError
// at org.apache.log4j.Logger.getLogger(Logger.java:104)
- // at org.openecomp.policy.std.AutoClientEnd.<clinit>(AutoClientEnd.java:39)
+ // at org.onap.policy.std.AutoClientEnd.<clinit>(AutoClientEnd.java:39)
}
/**
@@ -140,7 +140,7 @@ public class AutoClientEndTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientEnd
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientEnd
}
@@ -160,7 +160,7 @@ public class AutoClientEndTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientEnd
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientEnd
}
/**
@@ -178,7 +178,7 @@ public class AutoClientEndTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientEnd
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientEnd
}
/**
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/AutoClientUEBTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/AutoClientUEBTest.java
index 28889677b..94c2ac781 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/AutoClientUEBTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/AutoClientUEBTest.java
@@ -18,15 +18,15 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.LinkedList;
import java.util.List;
import org.junit.*;
-import org.openecomp.policy.api.NotificationHandler;
-import org.openecomp.policy.api.NotificationScheme;
-import org.openecomp.policy.std.AutoClientUEB;
+import org.onap.policy.api.NotificationHandler;
+import org.onap.policy.api.NotificationScheme;
+import org.onap.policy.std.AutoClientUEB;
import static org.junit.Assert.*;
@@ -58,7 +58,7 @@ public class AutoClientUEBTest {
// An unexpected exception was thrown in user code while executing this test:
// java.lang.ExceptionInInitializerError
// at org.apache.log4j.Logger.getLogger(Logger.java:104)
- // at org.openecomp.policy.std.AutoClientUEB.<clinit>(AutoClientUEB.java:39)
+ // at org.onap.policy.std.AutoClientUEB.<clinit>(AutoClientUEB.java:39)
assertNotNull(result);
}
@@ -77,7 +77,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
assertNull(result);
}
@@ -96,7 +96,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
assertFalse(result);
}
@@ -115,7 +115,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
assertNotNull(result);
}
@@ -136,7 +136,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
assertTrue(result);
}
@@ -157,7 +157,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -177,7 +177,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -197,7 +197,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -217,7 +217,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -237,7 +237,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -257,7 +257,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -277,7 +277,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -297,7 +297,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -317,7 +317,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -337,7 +337,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -357,7 +357,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -377,7 +377,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -397,7 +397,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -417,7 +417,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -437,7 +437,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -457,7 +457,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -479,7 +479,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -498,7 +498,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
@@ -518,7 +518,7 @@ public class AutoClientUEBTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.AutoClientUEB
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.AutoClientUEB
}
/**
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/Handler.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/Handler.java
index 9879174cb..388ca078d 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/Handler.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/Handler.java
@@ -18,22 +18,22 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Collection;
-import org.openecomp.policy.api.LoadedPolicy;
-import org.openecomp.policy.api.NotificationHandler;
-import org.openecomp.policy.api.NotificationType;
-import org.openecomp.policy.api.PDPNotification;
-import org.openecomp.policy.api.PolicyConfig;
-import org.openecomp.policy.api.PolicyConfigException;
-import org.openecomp.policy.api.PolicyConfigStatus;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.RemovedPolicy;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.LoadedPolicy;
+import org.onap.policy.api.NotificationHandler;
+import org.onap.policy.api.NotificationType;
+import org.onap.policy.api.PDPNotification;
+import org.onap.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyConfigStatus;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.RemovedPolicy;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
public class Handler implements NotificationHandler{
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/ManualClientEndTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndTest.java
index c44dac606..2ae522c1d 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/ManualClientEndTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -26,9 +26,9 @@ import static org.junit.Assert.assertNull;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.NotificationScheme;
-import org.openecomp.policy.api.PDPNotification;
-import org.openecomp.policy.std.ManualClientEnd;
+import org.onap.policy.api.NotificationScheme;
+import org.onap.policy.api.PDPNotification;
+import org.onap.policy.std.ManualClientEnd;
/**
* The class <code>ManualClientEndTest</code> contains tests for the class <code>{@link ManualClientEnd}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/ManualClientEndUEBTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndUEBTest.java
index f19697597..77b0c6f49 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/ManualClientEndUEBTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/ManualClientEndUEBTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -29,10 +29,10 @@ import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.NotificationScheme;
-import org.openecomp.policy.api.PDPNotification;
-import org.openecomp.policy.std.ManualClientEndUEB;
-import org.openecomp.policy.std.StdPDPNotification;
+import org.onap.policy.api.NotificationScheme;
+import org.onap.policy.api.PDPNotification;
+import org.onap.policy.std.ManualClientEndUEB;
+import org.onap.policy.std.StdPDPNotification;
/**
* The class <code>ManualClientEndUEBTest</code> contains tests for the class <code>{@link ManualClientEndUEB}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java
index ab8946c60..856474dd8 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchStoreTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchStoreTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -29,10 +29,10 @@ import java.util.Hashtable;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.PDPNotification;
-import org.openecomp.policy.std.MatchStore;
-import org.openecomp.policy.std.Matches;
-import org.openecomp.policy.std.StdPDPNotification;
+import org.onap.policy.api.PDPNotification;
+import org.onap.policy.std.MatchStore;
+import org.onap.policy.std.Matches;
+import org.onap.policy.std.StdPDPNotification;
/**
* The class <code>MatchStoreTest</code> contains tests for the class <code>{@link MatchStore}</code>.
@@ -70,7 +70,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNull(result);
}
@@ -90,7 +90,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -110,7 +110,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -130,7 +130,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -150,7 +150,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -170,7 +170,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -190,7 +190,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -210,7 +210,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -230,7 +230,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -250,7 +250,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -270,7 +270,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -290,7 +290,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -310,7 +310,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -330,7 +330,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -350,7 +350,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -370,7 +370,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
assertNotNull(result);
}
@@ -391,7 +391,7 @@ public class MatchStoreTest {
// An unexpected exception was thrown in user code while executing this test:
// java.lang.ExceptionInInitializerError
// at org.apache.log4j.Logger.getLogger(Logger.java:104)
- // at org.openecomp.policy.std.MatchStore.<clinit>(MatchStore.java:15)
+ // at org.onap.policy.std.MatchStore.<clinit>(MatchStore.java:15)
assertNotNull(result);
}
@@ -407,13 +407,13 @@ public class MatchStoreTest {
throws Exception {
Matches newMatch = new Matches();
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -428,13 +428,13 @@ public class MatchStoreTest {
throws Exception {
Matches newMatch = new Matches();
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -449,13 +449,13 @@ public class MatchStoreTest {
throws Exception {
Matches newMatch = new Matches();
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -471,13 +471,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -493,13 +493,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -515,13 +515,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -537,13 +537,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -558,13 +558,13 @@ public class MatchStoreTest {
throws Exception {
Matches newMatch = new Matches();
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -578,13 +578,13 @@ public class MatchStoreTest {
public void testStoreMatch_9()
throws Exception {
Matches newMatch = new Matches();
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -600,13 +600,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -622,13 +622,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -644,13 +644,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -666,13 +666,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -688,13 +688,13 @@ public class MatchStoreTest {
Matches newMatch = new Matches();
newMatch.setConfigAttributes(new Hashtable<String, String>());
newMatch.setConfigName("");
- newMatch.setEcompName("");
+ newMatch.setOnapName("");
MatchStore.storeMatch(newMatch);
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -713,7 +713,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
@@ -732,7 +732,7 @@ public class MatchStoreTest {
// add additional test code here
// An unexpected exception was thrown in user code while executing this test:
- // java.lang.NoClassDefFoundError: Could not initialize class org.openecomp.policy.std.MatchStore
+ // java.lang.NoClassDefFoundError: Could not initialize class org.onap.policy.std.MatchStore
}
/**
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchesTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchesTest.java
index cdc9b5595..f71d93cb8 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/MatchesTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/MatchesTest.java
@@ -18,13 +18,13 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Hashtable;
import java.util.Map;
import org.junit.*;
-import org.openecomp.policy.std.Matches;
+import org.onap.policy.std.Matches;
import static org.junit.Assert.*;
@@ -59,7 +59,7 @@ public class MatchesTest {
public void testGetConfigAttributes_1()
throws Exception {
Matches fixture = new Matches();
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigAttributes(new Hashtable<String, String>());
fixture.setConfigName("");
@@ -81,7 +81,7 @@ public class MatchesTest {
public void testGetConfigName_1()
throws Exception {
Matches fixture = new Matches();
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigAttributes(new Hashtable<String, String>());
fixture.setConfigName("");
@@ -92,21 +92,21 @@ public class MatchesTest {
}
/**
- * Run the String getEcompName() method test.
+ * Run the String getOnapName() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testGetEcompName_1()
+ public void testGetOnapName_1()
throws Exception {
Matches fixture = new Matches();
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigAttributes(new Hashtable<String, String>());
fixture.setConfigName("");
- String result = fixture.getEcompName();
+ String result = fixture.getOnapName();
// add additional test code here
assertEquals("", result);
@@ -123,7 +123,7 @@ public class MatchesTest {
public void testSetConfigAttributes_1()
throws Exception {
Matches fixture = new Matches();
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigAttributes(new Hashtable<String, String>());
fixture.setConfigName("");
Map<String, String> configAttributes = new Hashtable<String, String>();
@@ -144,7 +144,7 @@ public class MatchesTest {
public void testSetConfigName_1()
throws Exception {
Matches fixture = new Matches();
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigAttributes(new Hashtable<String, String>());
fixture.setConfigName("");
String configName = "";
@@ -155,22 +155,22 @@ public class MatchesTest {
}
/**
- * Run the void setEcompName(String) method test.
+ * Run the void setOnapName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testSetEcompName_1()
+ public void testSetOnapName_1()
throws Exception {
Matches fixture = new Matches();
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigAttributes(new Hashtable<String, String>());
fixture.setConfigName("");
- String ecompName = "";
+ String onapName = "";
- fixture.setEcompName(ecompName);
+ fixture.setOnapName(onapName);
// add additional test code here
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/NotificationStoreTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/NotificationStoreTest.java
index d54c4f4cb..ed7383e1a 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/NotificationStoreTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/NotificationStoreTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import org.junit.*;
-import org.openecomp.policy.std.NotificationStore;
-import org.openecomp.policy.std.StdPDPNotification;
+import org.onap.policy.std.NotificationStore;
+import org.onap.policy.std.StdPDPNotification;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/NotificationUnMarshalTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/NotificationUnMarshalTest.java
index 674c58a00..fb42f98aa 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/NotificationUnMarshalTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/NotificationUnMarshalTest.java
@@ -18,15 +18,15 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import static org.junit.Assert.assertNotNull;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.std.NotificationUnMarshal;
-import org.openecomp.policy.std.StdPDPNotification;
+import org.onap.policy.std.NotificationUnMarshal;
+import org.onap.policy.std.StdPDPNotification;
/**
* The class <code>NotificationUnMarshalTest</code> contains tests for the class <code>{@link NotificationUnMarshal}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdLoadedPolicyTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdLoadedPolicyTest.java
index de8a6a7ad..c45a5aca7 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdLoadedPolicyTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdLoadedPolicyTest.java
@@ -18,14 +18,14 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Hashtable;
import java.util.Map;
import org.junit.*;
-import org.openecomp.policy.api.UpdateType;
-import org.openecomp.policy.std.StdLoadedPolicy;
+import org.onap.policy.api.UpdateType;
+import org.onap.policy.std.StdLoadedPolicy;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPDPNotificationTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java
index 1bda0e59f..6a558006d 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPDPNotificationTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java
@@ -18,18 +18,18 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Collection;
import java.util.LinkedList;
import org.junit.*;
-import org.openecomp.policy.api.LoadedPolicy;
-import org.openecomp.policy.api.NotificationType;
-import org.openecomp.policy.api.RemovedPolicy;
-import org.openecomp.policy.std.StdLoadedPolicy;
-import org.openecomp.policy.std.StdPDPNotification;
-import org.openecomp.policy.std.StdRemovedPolicy;
+import org.onap.policy.api.LoadedPolicy;
+import org.onap.policy.api.NotificationType;
+import org.onap.policy.api.RemovedPolicy;
+import org.onap.policy.std.StdLoadedPolicy;
+import org.onap.policy.std.StdPDPNotification;
+import org.onap.policy.std.StdRemovedPolicy;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyChangeResponseTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyChangeResponseTest.java
index 45c70187d..5ce53d133 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyChangeResponseTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyChangeResponseTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import org.junit.*;
-import org.openecomp.policy.std.StdPolicyChangeResponse;
+import org.onap.policy.std.StdPolicyChangeResponse;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyConfigTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyConfigTest.java
index a34737477..736f51b57 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyConfigTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyConfigTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Hashtable;
import java.util.Map;
@@ -27,9 +27,9 @@ import java.util.Properties;
import javax.json.JsonObject;
import org.junit.*;
-import org.openecomp.policy.api.PolicyConfigStatus;
-import org.openecomp.policy.api.PolicyType;
-import org.openecomp.policy.std.StdPolicyConfig;
+import org.onap.policy.api.PolicyConfigStatus;
+import org.onap.policy.api.PolicyType;
+import org.onap.policy.std.StdPolicyConfig;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyResponseTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyResponseTest.java
index a593c460b..11179aece 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdPolicyResponseTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPolicyResponseTest.java
@@ -18,14 +18,14 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Hashtable;
import java.util.Map;
import org.junit.*;
-import org.openecomp.policy.api.PolicyResponseStatus;
-import org.openecomp.policy.std.StdPolicyResponse;
+import org.onap.policy.api.PolicyResponseStatus;
+import org.onap.policy.std.StdPolicyResponse;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdRemovedPolicyTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdRemovedPolicyTest.java
index 0a0865c82..2482c3015 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdRemovedPolicyTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdRemovedPolicyTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import org.junit.*;
-import org.openecomp.policy.std.StdRemovedPolicy;
+import org.onap.policy.std.StdRemovedPolicy;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdStatusTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdStatusTest.java
index 34918c2ea..b72d2568d 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/StdStatusTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdStatusTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
import java.util.Hashtable;
import java.util.Map;
@@ -27,11 +27,11 @@ import java.util.Properties;
import javax.json.JsonObject;
import org.junit.*;
-import org.openecomp.policy.api.PolicyConfigStatus;
-import org.openecomp.policy.api.PolicyDecision;
-import org.openecomp.policy.api.PolicyResponseStatus;
-import org.openecomp.policy.api.PolicyType;
-import org.openecomp.policy.std.StdStatus;
+import org.onap.policy.api.PolicyConfigStatus;
+import org.onap.policy.api.PolicyDecision;
+import org.onap.policy.api.PolicyResponseStatus;
+import org.onap.policy.api.PolicyType;
+import org.onap.policy.std.StdStatus;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/package-info.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/package-info.java
index 75bfc39ad..4c98f98a9 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/std/test/package-info.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/package-info.java
@@ -24,4 +24,4 @@
/**
*
*/
-package org.openecomp.policy.std.test;
+package org.onap.policy.std.test;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ActionPolicyApiTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ActionPolicyApiTest.java
index 398efe0f1..a66256432 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ActionPolicyApiTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ActionPolicyApiTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.HashMap;
import java.util.Map;
@@ -27,15 +27,15 @@ import java.util.UUID;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
-import org.openecomp.policy.api.AttributeType;
-import org.openecomp.policy.api.PolicyChangeResponse;
-import org.openecomp.policy.api.PolicyClass;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyParameters;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
-import org.openecomp.policy.std.StdPolicyChangeResponse;
+import org.onap.policy.api.AttributeType;
+import org.onap.policy.api.PolicyChangeResponse;
+import org.onap.policy.api.PolicyClass;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyParameters;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.std.StdPolicyChangeResponse;
import junit.framework.TestCase;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/AttributeTypeTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/AttributeTypeTest.java
index df8713ab8..62c447fae 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/AttributeTypeTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/AttributeTypeTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.AttributeType;
+import org.onap.policy.api.AttributeType;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigBasePolicyTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigBasePolicyTest.java
index 69de7fe87..5d5a076ae 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigBasePolicyTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigBasePolicyTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.HashMap;
import java.util.Map;
@@ -26,16 +26,16 @@ import java.util.UUID;
import org.junit.Test;
import org.mockito.Mockito;
-import org.openecomp.policy.api.AttributeType;
-import org.openecomp.policy.api.PolicyChangeResponse;
-import org.openecomp.policy.api.PolicyConfigType;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyParameters;
-import org.openecomp.policy.api.PolicyType;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
-import org.openecomp.policy.std.StdPolicyChangeResponse;
+import org.onap.policy.api.AttributeType;
+import org.onap.policy.api.PolicyChangeResponse;
+import org.onap.policy.api.PolicyConfigType;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyParameters;
+import org.onap.policy.api.PolicyType;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.std.StdPolicyChangeResponse;
import junit.framework.TestCase;
@@ -77,7 +77,7 @@ public class ConfigBasePolicyTest extends TestCase {
policyParameters.setPolicyConfigType(PolicyConfigType.Base); //required
policyParameters.setPolicyName("test.junitTest"); //required
- policyParameters.setEcompName("test");
+ policyParameters.setOnapName("test");
policyParameters.setConfigName("testBase");
policyParameters.setConfigBodyType(PolicyType.OTHER);
policyParameters.setConfigBody("testing");
@@ -204,9 +204,9 @@ public class ConfigBasePolicyTest extends TestCase {
}
@Test
- public final void testCreatePolicyNullEcompName() {
- response.setResponseMessage("PE300 - Data Issue: No ECOMP Name given.");
- policyParameters.setEcompName(null);
+ public final void testCreatePolicyNullOnapName() {
+ response.setResponseMessage("PE300 - Data Issue: No ONAP Name given.");
+ policyParameters.setOnapName(null);
try{
result = policyEngine.createPolicy(policyParameters);
} catch (Exception e){
@@ -276,9 +276,9 @@ public class ConfigBasePolicyTest extends TestCase {
}
@Test
- public final void testUpdatePolicyNullEcompName() {
- response.setResponseMessage("PE300 - Data Issue: No ECOMP Name given.");
- policyParameters.setEcompName(null);
+ public final void testUpdatePolicyNullOnapName() {
+ response.setResponseMessage("PE300 - Data Issue: No ONAP Name given.");
+ policyParameters.setOnapName(null);
try{
result = policyEngine.updatePolicy(policyParameters);
} catch (Exception e){
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigFirewallPolicyTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigFirewallPolicyTest.java
index 280f06e10..78ae2493b 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigFirewallPolicyTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigFirewallPolicyTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.io.StringReader;
import java.util.UUID;
@@ -29,14 +29,14 @@ import javax.json.JsonReader;
import org.junit.Test;
import org.mockito.Mockito;
-import org.openecomp.policy.api.PolicyChangeResponse;
-import org.openecomp.policy.api.PolicyConfigType;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyParameters;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
-import org.openecomp.policy.std.StdPolicyChangeResponse;
+import org.onap.policy.api.PolicyChangeResponse;
+import org.onap.policy.api.PolicyConfigType;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyParameters;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.std.StdPolicyChangeResponse;
import junit.framework.TestCase;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigRequestParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigRequestParametersTest.java
index 0e8f912c9..91025f5c0 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ConfigRequestParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ConfigRequestParametersTest.java
@@ -18,14 +18,14 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.Hashtable;
import java.util.Map;
import java.util.UUID;
import org.junit.*;
-import org.openecomp.policy.api.ConfigRequestParameters;
+import org.onap.policy.api.ConfigRequestParameters;
import static org.junit.Assert.*;
@@ -55,7 +55,7 @@ public class ConfigRequestParametersTest {
assertEquals(null, result.getConfigName());
assertEquals(null, result.getConfigAttributes());
assertEquals(null, result.getRequestID());
- assertEquals(null, result.getEcompName());
+ assertEquals(null, result.getOnapName());
assertEquals(Boolean.FALSE, result.getUnique());
}
@@ -70,19 +70,19 @@ public class ConfigRequestParametersTest {
public void testConfigRequestParameters_2()
throws Exception {
String policyName = "";
- String eCOMPComponentName = "";
+ String onapComponentName = "";
String configName = "";
Map<String, String> configAttributes = new Hashtable<String, String>();
Boolean unique = new Boolean(true);
UUID requestID = UUID.randomUUID();
- ConfigRequestParameters result = createConfigRequest(policyName, eCOMPComponentName, configName, configAttributes, unique, requestID);
+ ConfigRequestParameters result = createConfigRequest(policyName, onapComponentName, configName, configAttributes, unique, requestID);
// add additional test code here
assertNotNull(result);
assertEquals("", result.getPolicyName());
assertEquals("", result.getConfigName());
- assertEquals("", result.getEcompName());
+ assertEquals("", result.getOnapName());
assertEquals(Boolean.TRUE, result.getUnique());
}
@@ -124,18 +124,18 @@ public class ConfigRequestParametersTest {
}
/**
- * Run the String getEcompName() method test.
+ * Run the String getOnapName() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:40 PM
*/
@Test
- public void testGetEcompName_1()
+ public void testGetOnapName_1()
throws Exception {
ConfigRequestParameters fixture = createConfigRequest("", "", "", new Hashtable<String, String>(), new Boolean(true), UUID.randomUUID());
- String result = fixture.getEcompName();
+ String result = fixture.getOnapName();
// add additional test code here
assertEquals("", result);
@@ -257,19 +257,19 @@ public class ConfigRequestParametersTest {
}
/**
- * Run the void setEcompName(String) method test.
+ * Run the void setOnapName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:40 PM
*/
@Test
- public void testSetEcompName_1()
+ public void testSetOnapName_1()
throws Exception {
ConfigRequestParameters fixture = createConfigRequest("", "", "", new Hashtable<String, String>(), new Boolean(true), UUID.randomUUID());
- String eCOMPComponentName = "";
+ String onapComponentName = "";
- fixture.setEcompName(eCOMPComponentName);
+ fixture.setOnapName(onapComponentName);
// add additional test code here
}
@@ -349,11 +349,11 @@ public class ConfigRequestParametersTest {
new org.junit.runner.JUnitCore().run(ConfigRequestParametersTest.class);
}
- private ConfigRequestParameters createConfigRequest(String policyName, String eCOMPComponentName, String configName, Map<String,String> configAttributes, Boolean unique, UUID requestID){
+ private ConfigRequestParameters createConfigRequest(String policyName, String onapComponentName, String configName, Map<String,String> configAttributes, Boolean unique, UUID requestID){
ConfigRequestParameters configRequestParameters = new ConfigRequestParameters();
configRequestParameters.setRequestID(requestID);
configRequestParameters.setPolicyName(policyName);
- configRequestParameters.setEcompName(eCOMPComponentName);
+ configRequestParameters.setOnapName(onapComponentName);
configRequestParameters.setConfigName(configName);
configRequestParameters.setConfigAttributes(configAttributes);
configRequestParameters.makeUnique(unique);
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DecisionPolicyApiTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionPolicyApiTest.java
index 82ba1c7ca..a80093470 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DecisionPolicyApiTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionPolicyApiTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.HashMap;
import java.util.Map;
@@ -26,15 +26,15 @@ import java.util.UUID;
import org.junit.Test;
import org.mockito.Mockito;
-import org.openecomp.policy.api.AttributeType;
-import org.openecomp.policy.api.PolicyChangeResponse;
-import org.openecomp.policy.api.PolicyClass;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyParameters;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
-import org.openecomp.policy.std.StdPolicyChangeResponse;
+import org.onap.policy.api.AttributeType;
+import org.onap.policy.api.PolicyChangeResponse;
+import org.onap.policy.api.PolicyClass;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyParameters;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.std.StdPolicyChangeResponse;
import junit.framework.TestCase;
@@ -76,7 +76,7 @@ public class DecisionPolicyApiTest extends TestCase {
policyParameters.setPolicyClass(PolicyClass.Decision); //required
policyParameters.setPolicyName("test.junitTest"); //required
- policyParameters.setEcompName("test");
+ policyParameters.setOnapName("test");
policyParameters.setPolicyDescription("testing"); //optional
//policyParameters.setPolicyScope("test"); //Directory will be created where the Policies are saved... this displays a a subscope on the GUI
@@ -170,9 +170,9 @@ public class DecisionPolicyApiTest extends TestCase {
}
@Test
- public final void testCreatePolicyNullEcompName() {
+ public final void testCreatePolicyNullOnapName() {
response.setResponseMessage("PE500 - Process Flow Issue: :500:");
- policyParameters.setEcompName(null);
+ policyParameters.setOnapName(null);
try{
result = policyEngine.createPolicy(policyParameters);
} catch (Exception e){
@@ -206,9 +206,9 @@ public class DecisionPolicyApiTest extends TestCase {
}
@Test
- public final void testUpdatePolicyNullEcompName() {
+ public final void testUpdatePolicyNullOnapName() {
response.setResponseMessage("PE500 - Process Flow Issue: :500:");
- policyParameters.setEcompName(null);
+ policyParameters.setOnapName(null);
try{
result = policyEngine.updatePolicy(policyParameters);
} catch (Exception e){
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DecisionRequestParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java
index d8fdfbc0a..746822f94 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DecisionRequestParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DecisionRequestParametersTest.java
@@ -18,14 +18,14 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.Hashtable;
import java.util.Map;
import java.util.UUID;
import org.junit.*;
-import org.openecomp.policy.api.DecisionRequestParameters;
+import org.onap.policy.api.DecisionRequestParameters;
import static org.junit.Assert.*;
@@ -51,7 +51,7 @@ public class DecisionRequestParametersTest {
// add additional test code here
assertNotNull(result);
- assertEquals(null, result.getECOMPComponentName());
+ assertEquals(null, result.getONAPComponentName());
assertEquals(null, result.getDecisionAttributes());
assertEquals(null, result.getRequestID());
}
@@ -66,15 +66,15 @@ public class DecisionRequestParametersTest {
@Test
public void testDecisionRequestParameters_2()
throws Exception {
- String eCOMPComponentName = "";
+ String onapComponentName = "";
Map<String, String> decisionAttributes = new Hashtable<String, String>();
UUID requestID = UUID.randomUUID();
- DecisionRequestParameters result = new DecisionRequestParameters(eCOMPComponentName, decisionAttributes, requestID);
+ DecisionRequestParameters result = new DecisionRequestParameters(onapComponentName, decisionAttributes, requestID);
// add additional test code here
assertNotNull(result);
- assertEquals("", result.getECOMPComponentName());
+ assertEquals("", result.getONAPComponentName());
}
/**
@@ -97,18 +97,18 @@ public class DecisionRequestParametersTest {
}
/**
- * Run the String getECOMPComponentName() method test.
+ * Run the String getONAPComponentName() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testGetECOMPComponentName_1()
+ public void testGetONAPComponentName_1()
throws Exception {
DecisionRequestParameters fixture = new DecisionRequestParameters("", new Hashtable<String, String>(), UUID.randomUUID());
- String result = fixture.getECOMPComponentName();
+ String result = fixture.getONAPComponentName();
// add additional test code here
assertEquals("", result);
@@ -156,19 +156,19 @@ public class DecisionRequestParametersTest {
}
/**
- * Run the void setECOMPComponentName(String) method test.
+ * Run the void setONAPComponentName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testSetECOMPComponentName_1()
+ public void testSetONAPComponentName_1()
throws Exception {
DecisionRequestParameters fixture = new DecisionRequestParameters("", new Hashtable<String, String>(), UUID.randomUUID());
- String eCOMPComponentName = "";
+ String onapComponentName = "";
- fixture.setECOMPComponentName(eCOMPComponentName);
+ fixture.setONAPComponentName(onapComponentName);
// add additional test code here
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DeletePolicyConditionTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DeletePolicyConditionTest.java
index c2941202b..2513816bb 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DeletePolicyConditionTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DeletePolicyConditionTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.DeletePolicyCondition;
+import org.onap.policy.api.DeletePolicyCondition;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DeletePolicyParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DeletePolicyParametersTest.java
index 7723f9819..423b839f6 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/DeletePolicyParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/DeletePolicyParametersTest.java
@@ -18,13 +18,13 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.UUID;
import org.junit.*;
-import org.openecomp.policy.api.DeletePolicyCondition;
-import org.openecomp.policy.api.DeletePolicyParameters;
+import org.onap.policy.api.DeletePolicyCondition;
+import org.onap.policy.api.DeletePolicyParameters;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/EventRequestParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/EventRequestParametersTest.java
index abfc31f8b..4fecea8c2 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/EventRequestParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/EventRequestParametersTest.java
@@ -18,14 +18,14 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.Hashtable;
import java.util.Map;
import java.util.UUID;
import org.junit.*;
-import org.openecomp.policy.api.EventRequestParameters;
+import org.onap.policy.api.EventRequestParameters;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigByPolicyNameTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigByPolicyNameTest.java
index 7bfa27c6e..07af71eaf 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigByPolicyNameTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigByPolicyNameTest.java
@@ -18,18 +18,18 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.Collection;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.PolicyConfig;
-import org.openecomp.policy.api.PolicyConfigException;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
import junit.framework.TestCase;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringStringMapTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringStringMapTest.java
index c5b7f8f6d..f70a16a98 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringStringMapTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringStringMapTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -31,19 +31,19 @@ import java.util.Map;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.PolicyConfig;
-import org.openecomp.policy.api.PolicyConfigException;
-import org.openecomp.policy.api.PolicyConfigStatus;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyType;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyConfigStatus;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyType;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
public class GetConfigStringStringMapTest {
private PolicyEngine policyEngine = null;
- private String eCOMPComponentName = null;
+ private String onapComponentName = null;
private String configName = null;
private Map<String,String> configAttributes = new HashMap<String,String>();
private Collection<PolicyConfig> policyConfig = null;
@@ -62,11 +62,11 @@ public class GetConfigStringStringMapTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringMapFail() {
- eCOMPComponentName = null;
+ onapComponentName = null;
configName = null;
configAttributes = null;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -76,11 +76,11 @@ public class GetConfigStringStringMapTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringMapFail1() {
- eCOMPComponentName = null;
+ onapComponentName = null;
configName = "testFail";
configAttributes.put("TestValue", "Fail");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -90,11 +90,11 @@ public class GetConfigStringStringMapTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringMapFail2() {
- eCOMPComponentName = "TestFail";
+ onapComponentName = "TestFail";
configName = null;
configAttributes.put("TestValue", "Fail");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -104,11 +104,11 @@ public class GetConfigStringStringMapTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringMapFail3() {
- eCOMPComponentName = "TestFail";
+ onapComponentName = "TestFail";
configName = "configFail";
configAttributes= null;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -118,11 +118,11 @@ public class GetConfigStringStringMapTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringMapfail4() {
- eCOMPComponentName = "TestFail";
+ onapComponentName = "TestFail";
configName = "configFail";
configAttributes.put("", "");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -132,11 +132,11 @@ public class GetConfigStringStringMapTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringMapNotValid() {
- eCOMPComponentName = "TestFail";
+ onapComponentName = "TestFail";
configName = "configFail";
configAttributes.put("Action:com.test.fail", "Value");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -156,13 +156,13 @@ public class GetConfigStringStringMapTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringMapValidJSON() {
- eCOMPComponentName = "JSON";
+ onapComponentName = "JSON";
configName = "JSONconfig";
configAttributes.put("Resource.com:test:resource:json", "Test");
configAttributes.put("Action.com:test:action:json", "TestJSON");
configAttributes.put("Subject.com:test:subject:json", "TestSubject");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -182,13 +182,13 @@ public class GetConfigStringStringMapTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringMapValidXML() {
- eCOMPComponentName = "XML";
+ onapComponentName = "XML";
configName = "XMLconfig";
configAttributes.put("Resource.com:test:resource:json", "Test");
configAttributes.put("Action.com:test:action:json", "TestJSON");
configAttributes.put("Subject.com:test:subject:json", "TestSubject");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -208,13 +208,13 @@ public class GetConfigStringStringMapTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringMapValidProperties() {
- eCOMPComponentName = "Properties";
+ onapComponentName = "Properties";
configName = "PropConfig" ;
configAttributes.put("Resource.com:test:resource:json", "Test");
configAttributes.put("Action.com:test:action:json", "TestJSON");
configAttributes.put("Subject.com:test:subject:json", "TestSubject");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -234,13 +234,13 @@ public class GetConfigStringStringMapTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringMapValidOther() {
- eCOMPComponentName = "Other";
+ onapComponentName = "Other";
configName = "OtherConfig" ;
configAttributes.put("Resource.com:test:resource:json", "Test");
configAttributes.put("Action.com:test:action:json", "TestJSON");
configAttributes.put("Subject.com:test:subject:json", "TestSubject");
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName, configAttributes);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName, configAttributes);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringStringTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringStringTest.java
index b55abd734..0a6db2dd4 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringStringTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringStringTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -29,19 +29,19 @@ import java.util.Collection;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.PolicyConfig;
-import org.openecomp.policy.api.PolicyConfigException;
-import org.openecomp.policy.api.PolicyConfigStatus;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyType;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyConfigStatus;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyType;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
public class GetConfigStringStringTest {
private PolicyEngine policyEngine = null;
- private String eCOMPComponentName = null;
+ private String onapComponentName = null;
private String configName = null;
private Collection<PolicyConfig> policyConfig = null;
private static final Logger logger = FlexLogger.getLogger(GetConfigStringStringTest.class);
@@ -59,10 +59,10 @@ public class GetConfigStringStringTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringFail() {
- eCOMPComponentName = null;
+ onapComponentName = null;
configName = null;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -72,10 +72,10 @@ public class GetConfigStringStringTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringFail1() {
- eCOMPComponentName = null;
+ onapComponentName = null;
configName = "";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -85,10 +85,10 @@ public class GetConfigStringStringTest {
@SuppressWarnings("deprecation")
@Test
public void testGetConfigStringStringFail2() {
- eCOMPComponentName = "";
+ onapComponentName = "";
configName = null;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -98,10 +98,10 @@ public class GetConfigStringStringTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringNotvalid() {
- eCOMPComponentName = "fail";
+ onapComponentName = "fail";
configName = "fail";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -121,10 +121,10 @@ public class GetConfigStringStringTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringValidJSON() {
- eCOMPComponentName = "JSON";
+ onapComponentName = "JSON";
configName = "JSONconfig";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -144,10 +144,10 @@ public class GetConfigStringStringTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringValidXML() {
- eCOMPComponentName = "XML";
+ onapComponentName = "XML";
configName = "XMLconfig";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -167,10 +167,10 @@ public class GetConfigStringStringTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringValidProperties() {
- eCOMPComponentName = "Properties";
+ onapComponentName = "Properties";
configName = "PropConfig" ;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -190,10 +190,10 @@ public class GetConfigStringStringTest {
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringStringValidOther() {
- eCOMPComponentName = "Other";
+ onapComponentName = "Other";
configName = "OtherConfig" ;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName, configName);
+ policyConfig = policyEngine.getConfig(onapComponentName, configName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringTest.java
index ffa1913aa..f87a59c09 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/GetConfigStringTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/GetConfigStringTest.java
@@ -18,24 +18,24 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.Collection;
import org.junit.Before;
-import org.openecomp.policy.api.PolicyConfig;
-import org.openecomp.policy.api.PolicyConfigException;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
import junit.framework.TestCase;
public class GetConfigStringTest extends TestCase{
private PolicyEngine policyEngine = null;
- private String eCOMPComponentName = null;
+ private String onapComponentName = null;
private Collection<PolicyConfig> policyConfig = null;
private static final Logger logger = FlexLogger.getLogger(GetConfigStringTest.class);
@Before
@@ -52,9 +52,9 @@ public class GetConfigStringTest extends TestCase{
//@Test
@SuppressWarnings("deprecation")
public void testGetConfigStringFail() {
- eCOMPComponentName = null;
+ onapComponentName = null;
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName);
+ policyConfig = policyEngine.getConfig(onapComponentName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -63,9 +63,9 @@ public class GetConfigStringTest extends TestCase{
/*@Test
public void testGetConfigStringNotvalid() {
- eCOMPComponentName = "fail";
+ onapComponentName = "fail";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName);
+ policyConfig = policyEngine.getConfig(onapComponentName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -85,9 +85,9 @@ public class GetConfigStringTest extends TestCase{
/*@Test
public void testGetConfigStringValidJSON() {
- eCOMPComponentName = "JSON";
+ onapComponentName = "JSON";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName);
+ policyConfig = policyEngine.getConfig(onapComponentName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -106,9 +106,9 @@ public class GetConfigStringTest extends TestCase{
*/
/*@Test
public void testGetConfigStringValidXML() {
- eCOMPComponentName = "XML";
+ onapComponentName = "XML";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName);
+ policyConfig = policyEngine.getConfig(onapComponentName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -127,9 +127,9 @@ public class GetConfigStringTest extends TestCase{
*/
/*@Test
public void testGetConfigStringValidProperties() {
- eCOMPComponentName = "Properties";
+ onapComponentName = "Properties";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName);
+ policyConfig = policyEngine.getConfig(onapComponentName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
@@ -148,9 +148,9 @@ public class GetConfigStringTest extends TestCase{
*/
/*@Test
public void testGetConfigStringValidOther() {
- eCOMPComponentName = "Other";
+ onapComponentName = "Other";
try {
- policyConfig = policyEngine.getConfig(eCOMPComponentName);
+ policyConfig = policyEngine.getConfig(onapComponentName);
} catch (PolicyConfigException e) {
logger.warn(e.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ImportParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ImportParametersTest.java
index 3719b5d2f..be3e9c39b 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/ImportParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/ImportParametersTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -28,7 +28,7 @@ import java.util.UUID;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.ImportParameters;
+import org.onap.policy.api.ImportParameters;
/**
* The class <code>ImportParametersTest</code> contains tests for the class <code>{@link ImportParameters}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/LoadedPolicyTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/LoadedPolicyTest.java
index 0748d0ad9..1cc9de8df 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/LoadedPolicyTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/LoadedPolicyTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.LoadedPolicy;
+import org.onap.policy.api.LoadedPolicy;
/**
* The class <code>LoadedPolicyTest</code> contains tests for the class <code>{@link LoadedPolicy}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationHandlerTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationHandlerTest.java
index 68ba3a773..4b996ce35 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationHandlerTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationHandlerTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.NotificationHandler;
+import org.onap.policy.api.NotificationHandler;
/**
* The class <code>NotificationHandlerTest</code> contains tests for the class <code>{@link NotificationHandler}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationSchemeTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationSchemeTest.java
index 1cb105c2f..3274cf3ac 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationSchemeTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationSchemeTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.NotificationScheme;
+import org.onap.policy.api.NotificationScheme;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationTypeTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationTypeTest.java
index 95dce6a60..53ef086e2 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/NotificationTypeTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/NotificationTypeTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.NotificationType;
+import org.onap.policy.api.NotificationType;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PDPNotificationTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PDPNotificationTest.java
index 43754f8df..50d0aa324 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PDPNotificationTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PDPNotificationTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.PDPNotification;
+import org.onap.policy.api.PDPNotification;
/**
* The class <code>PDPNotificationTest</code> contains tests for the class <code>{@link PDPNotification}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyChangeResponseTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyChangeResponseTest.java
index d36ae44c2..e8fd6346a 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyChangeResponseTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyChangeResponseTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.PolicyChangeResponse;
+import org.onap.policy.api.PolicyChangeResponse;
/**
* The class <code>PolicyChangeResponseTest</code> contains tests for the class <code>{@link PolicyChangeResponse}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyClassTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyClassTest.java
index 28e5beefd..24eafc1ad 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyClassTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyClassTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyClass;
+import org.onap.policy.api.PolicyClass;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigExceptionTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigExceptionTest.java
index 4134eacc2..60b11b5c4 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigExceptionTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigExceptionTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyConfigException;
import static org.junit.Assert.*;
@@ -48,7 +48,7 @@ public class PolicyConfigExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyConfigException", result.toString());
+ assertEquals("org.onap.policy.api.PolicyConfigException", result.toString());
assertEquals(null, result.getLocalizedMessage());
assertEquals(null, result.getMessage());
}
@@ -70,7 +70,7 @@ public class PolicyConfigExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyConfigException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyConfigException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -91,7 +91,7 @@ public class PolicyConfigExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyConfigException: java.lang.Throwable", result.toString());
+ assertEquals("org.onap.policy.api.PolicyConfigException: java.lang.Throwable", result.toString());
assertEquals("java.lang.Throwable", result.getLocalizedMessage());
assertEquals("java.lang.Throwable", result.getMessage());
}
@@ -113,7 +113,7 @@ public class PolicyConfigExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyConfigException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyConfigException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -137,7 +137,7 @@ public class PolicyConfigExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyConfigException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyConfigException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigStatusTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigStatusTest.java
index c40253890..7a93f0505 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigStatusTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigStatusTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyConfigStatus;
+import org.onap.policy.api.PolicyConfigStatus;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigTest.java
index c6247fcdf..0aa4fbbfa 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfig;
/**
* The class <code>PolicyConfigTest</code> contains tests for the class <code>{@link PolicyConfig}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigTypeTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigTypeTest.java
index cd6c6a977..e5e0b5494 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyConfigTypeTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyConfigTypeTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyConfigType;
+import org.onap.policy.api.PolicyConfigType;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyDecisionExceptionTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyDecisionExceptionTest.java
index 95dfd7acd..f0ee88151 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyDecisionExceptionTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyDecisionExceptionTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyDecisionException;
+import org.onap.policy.api.PolicyDecisionException;
import static org.junit.Assert.*;
@@ -48,7 +48,7 @@ public class PolicyDecisionExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyDecisionException", result.toString());
+ assertEquals("org.onap.policy.api.PolicyDecisionException", result.toString());
assertEquals(null, result.getLocalizedMessage());
assertEquals(null, result.getMessage());
}
@@ -70,7 +70,7 @@ public class PolicyDecisionExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyDecisionException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyDecisionException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -91,7 +91,7 @@ public class PolicyDecisionExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyDecisionException: java.lang.Throwable", result.toString());
+ assertEquals("org.onap.policy.api.PolicyDecisionException: java.lang.Throwable", result.toString());
assertEquals("java.lang.Throwable", result.getLocalizedMessage());
assertEquals("java.lang.Throwable", result.getMessage());
}
@@ -113,7 +113,7 @@ public class PolicyDecisionExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyDecisionException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyDecisionException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -137,7 +137,7 @@ public class PolicyDecisionExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyDecisionException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyDecisionException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyDecisionTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyDecisionTest.java
index 12069abeb..4d9523859 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyDecisionTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyDecisionTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyDecision;
+import org.onap.policy.api.PolicyDecision;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineExceptionTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineExceptionTest.java
index d21fb12e2..58c45b97c 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineExceptionTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineExceptionTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyEngineException;
import static org.junit.Assert.*;
@@ -48,7 +48,7 @@ public class PolicyEngineExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyEngineException", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEngineException", result.toString());
assertEquals(null, result.getLocalizedMessage());
assertEquals(null, result.getMessage());
}
@@ -70,7 +70,7 @@ public class PolicyEngineExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyEngineException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEngineException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -91,7 +91,7 @@ public class PolicyEngineExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyEngineException: java.lang.Throwable", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEngineException: java.lang.Throwable", result.toString());
assertEquals("java.lang.Throwable", result.getLocalizedMessage());
assertEquals("java.lang.Throwable", result.getMessage());
}
@@ -113,7 +113,7 @@ public class PolicyEngineExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyEngineException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEngineException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -137,7 +137,7 @@ public class PolicyEngineExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyEngineException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEngineException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineInterfaceTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineInterfaceTest.java
index fd5f65fa3..be9e0e7e8 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineInterfaceTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineInterfaceTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.io.StringReader;
import java.net.HttpURLConnection;
@@ -32,34 +32,34 @@ import javax.json.JsonObject;
import javax.json.JsonReader;
import org.mockito.Mockito;
-import org.openecomp.policy.api.AttributeType;
-import org.openecomp.policy.api.ConfigRequestParameters;
-import org.openecomp.policy.api.DecisionRequestParameters;
-import org.openecomp.policy.api.DecisionResponse;
-import org.openecomp.policy.api.DeletePolicyCondition;
-import org.openecomp.policy.api.DeletePolicyParameters;
-import org.openecomp.policy.api.EventRequestParameters;
-import org.openecomp.policy.api.ImportParameters;
-import org.openecomp.policy.api.ImportParameters.IMPORT_TYPE;
-import org.openecomp.policy.api.NotificationHandler;
-import org.openecomp.policy.api.NotificationScheme;
-import org.openecomp.policy.api.PDPNotification;
-import org.openecomp.policy.api.PolicyChangeResponse;
-import org.openecomp.policy.api.PolicyClass;
-import org.openecomp.policy.api.PolicyConfig;
-import org.openecomp.policy.api.PolicyConfigException;
-import org.openecomp.policy.api.PolicyDecisionException;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyEventException;
-import org.openecomp.policy.api.PolicyParameters;
-import org.openecomp.policy.api.PolicyResponse;
-import org.openecomp.policy.api.PushPolicyParameters;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
-import org.openecomp.policy.std.StdPDPNotification;
-import org.openecomp.policy.std.StdPolicyChangeResponse;
-import org.openecomp.policy.std.StdPolicyResponse;
+import org.onap.policy.api.AttributeType;
+import org.onap.policy.api.ConfigRequestParameters;
+import org.onap.policy.api.DecisionRequestParameters;
+import org.onap.policy.api.DecisionResponse;
+import org.onap.policy.api.DeletePolicyCondition;
+import org.onap.policy.api.DeletePolicyParameters;
+import org.onap.policy.api.EventRequestParameters;
+import org.onap.policy.api.ImportParameters;
+import org.onap.policy.api.ImportParameters.IMPORT_TYPE;
+import org.onap.policy.api.NotificationHandler;
+import org.onap.policy.api.NotificationScheme;
+import org.onap.policy.api.PDPNotification;
+import org.onap.policy.api.PolicyChangeResponse;
+import org.onap.policy.api.PolicyClass;
+import org.onap.policy.api.PolicyConfig;
+import org.onap.policy.api.PolicyConfigException;
+import org.onap.policy.api.PolicyDecisionException;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyEventException;
+import org.onap.policy.api.PolicyParameters;
+import org.onap.policy.api.PolicyResponse;
+import org.onap.policy.api.PushPolicyParameters;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.std.StdPDPNotification;
+import org.onap.policy.std.StdPolicyChangeResponse;
+import org.onap.policy.std.StdPolicyResponse;
import junit.framework.TestCase;
@@ -163,10 +163,10 @@ public class PolicyEngineInterfaceTest extends TestCase {
*/
@SuppressWarnings("deprecation")
public void testGetConfig() {
- String ecompName = null;
+ String onapName = null;
try{
- policyConfig = policyEngine.getConfig(ecompName);
+ policyConfig = policyEngine.getConfig(onapName);
} catch (PolicyConfigException e){
logger.warn(e.getMessage());
}
@@ -175,10 +175,10 @@ public class PolicyEngineInterfaceTest extends TestCase {
@SuppressWarnings("deprecation")
public void testGetConfig2() {
- String ecompName = null;
+ String onapName = null;
try{
- policyConfig = policyEngine.getConfig(ecompName,requestID);
+ policyConfig = policyEngine.getConfig(onapName,requestID);
} catch (PolicyConfigException e){
logger.warn(e.getMessage());
}
@@ -188,11 +188,11 @@ public class PolicyEngineInterfaceTest extends TestCase {
@SuppressWarnings("deprecation")
public void testGetConfig3() {
- String ecompName = null;
+ String onapName = null;
String configName = null;
try{
- policyConfig = policyEngine.getConfig(ecompName,configName,requestID);
+ policyConfig = policyEngine.getConfig(onapName,configName,requestID);
} catch (PolicyConfigException e){
logger.warn(e.getMessage());
}
@@ -201,12 +201,12 @@ public class PolicyEngineInterfaceTest extends TestCase {
@SuppressWarnings("deprecation")
public void testGetConfig4() {
- String ecompName = null;
+ String onapName = null;
String configName = null;
Map<String,String> configAttributes = null;
try{
- policyConfig = policyEngine.getConfig(ecompName,configName,configAttributes);
+ policyConfig = policyEngine.getConfig(onapName,configName,configAttributes);
} catch (PolicyConfigException e){
logger.warn(e.getMessage());
}
@@ -215,12 +215,12 @@ public class PolicyEngineInterfaceTest extends TestCase {
@SuppressWarnings("deprecation")
public void testGetConfig5() {
- String ecompName = null;
+ String onapName = null;
String configName = null;
Map<String,String> configAttributes = null;
try{
- policyConfig = policyEngine.getConfig(ecompName,configName,configAttributes,requestID);
+ policyConfig = policyEngine.getConfig(onapName,configName,configAttributes,requestID);
} catch (PolicyConfigException e){
logger.warn(e.getMessage());
}
@@ -307,14 +307,14 @@ public class PolicyEngineInterfaceTest extends TestCase {
@SuppressWarnings("deprecation")
public void testGetDecision()
{
- String eCOMPComponentName = null;
+ String onapComponentName = null;
Map<String,String> decisionAttributes = null;
DecisionResponse result = null;
try {
- Mockito.when(mockPolicyEngine.getDecision(eCOMPComponentName,decisionAttributes)).thenReturn(null);
- result = mockPolicyEngine.getDecision(eCOMPComponentName,decisionAttributes);
+ Mockito.when(mockPolicyEngine.getDecision(onapComponentName,decisionAttributes)).thenReturn(null);
+ result = mockPolicyEngine.getDecision(onapComponentName,decisionAttributes);
} catch (PolicyDecisionException e) {
logger.error("Exception Occured"+e);
}
@@ -325,14 +325,14 @@ public class PolicyEngineInterfaceTest extends TestCase {
@SuppressWarnings("deprecation")
public void testGetDecision2()
{
- String eCOMPComponentName = null;
+ String onapComponentName = null;
Map<String,String> decisionAttributes = null;
DecisionResponse result = null;
try {
- Mockito.when(mockPolicyEngine.getDecision(eCOMPComponentName,decisionAttributes,requestID)).thenReturn(null);
- result = mockPolicyEngine.getDecision(eCOMPComponentName,decisionAttributes);
+ Mockito.when(mockPolicyEngine.getDecision(onapComponentName,decisionAttributes,requestID)).thenReturn(null);
+ result = mockPolicyEngine.getDecision(onapComponentName,decisionAttributes);
} catch (PolicyDecisionException e) {
logger.error("Exception Occured"+e);
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineTest.java
index c36a921d4..abfab075b 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEngineTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEngineTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -29,11 +29,11 @@ import java.nio.file.Path;
import java.nio.file.Paths;
import org.junit.Test;
-import org.openecomp.policy.api.NotificationScheme;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.NotificationScheme;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
public class PolicyEngineTest {
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEventExceptionTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEventExceptionTest.java
index fa8d5d1d8..6f7573352 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyEventExceptionTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyEventExceptionTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyEventException;
+import org.onap.policy.api.PolicyEventException;
import static org.junit.Assert.*;
@@ -48,7 +48,7 @@ public class PolicyEventExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyEventException", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEventException", result.toString());
assertEquals(null, result.getLocalizedMessage());
assertEquals(null, result.getMessage());
}
@@ -70,7 +70,7 @@ public class PolicyEventExceptionTest {
// add additional test code here
assertNotNull(result);
assertEquals(null, result.getCause());
- assertEquals("org.openecomp.policy.api.PolicyEventException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEventException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -91,7 +91,7 @@ public class PolicyEventExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyEventException: java.lang.Throwable", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEventException: java.lang.Throwable", result.toString());
assertEquals("java.lang.Throwable", result.getLocalizedMessage());
assertEquals("java.lang.Throwable", result.getMessage());
}
@@ -113,7 +113,7 @@ public class PolicyEventExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyEventException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEventException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
@@ -137,7 +137,7 @@ public class PolicyEventExceptionTest {
// add additional test code here
assertNotNull(result);
- assertEquals("org.openecomp.policy.api.PolicyEventException: ", result.toString());
+ assertEquals("org.onap.policy.api.PolicyEventException: ", result.toString());
assertEquals("", result.getLocalizedMessage());
assertEquals("", result.getMessage());
}
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyParametersTest.java
index eeb973b90..ff192dcab 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyParametersTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -32,11 +32,11 @@ import java.util.UUID;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-import org.openecomp.policy.api.AttributeType;
-import org.openecomp.policy.api.PolicyClass;
-import org.openecomp.policy.api.PolicyConfigType;
-import org.openecomp.policy.api.PolicyParameters;
-import org.openecomp.policy.api.PolicyType;
+import org.onap.policy.api.AttributeType;
+import org.onap.policy.api.PolicyClass;
+import org.onap.policy.api.PolicyConfigType;
+import org.onap.policy.api.PolicyParameters;
+import org.onap.policy.api.PolicyType;
/**
* The class <code>PolicyParametersTest</code> contains tests for the class <code>{@link PolicyParameters}</code>.
@@ -67,7 +67,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -102,7 +102,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -138,7 +138,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -175,7 +175,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -211,7 +211,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -250,7 +250,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -286,7 +286,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -323,7 +323,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -360,7 +360,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -397,7 +397,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -412,14 +412,14 @@ public class PolicyParametersTest {
}
/**
- * Run the String getEcompName() method test.
+ * Run the String getOnapName() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testGetEcompName_1()
+ public void testGetOnapName_1()
throws Exception {
PolicyParameters fixture = new PolicyParameters();
fixture.setRequestID(UUID.randomUUID());
@@ -434,14 +434,14 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
fixture.setActionPerformer("");
fixture.setConfigBody("");
- String result = fixture.getEcompName();
+ String result = fixture.getOnapName();
// add additional test code here
assertEquals("", result);
@@ -470,7 +470,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -509,7 +509,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -548,7 +548,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -584,7 +584,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -620,7 +620,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -656,7 +656,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -697,7 +697,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -733,7 +733,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -769,7 +769,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -805,7 +805,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -841,7 +841,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -877,7 +877,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -915,7 +915,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -951,7 +951,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -960,14 +960,14 @@ public class PolicyParametersTest {
PolicyConfigType policyConfigType = PolicyConfigType.BRMS_PARAM;
String policyName = "";
String policyDescription = "";
- String ecompName = "";
+ String onapName = "";
String configName = "";
Map<AttributeType, Map<String, String>> attributes = new Hashtable<AttributeType, Map<String, String>>();
PolicyType configBodyType = PolicyType.JSON;
String configBody = "";
UUID requestID = UUID.randomUUID();
- fixture.setConfigPolicyParameters(policyConfigType, policyName, policyDescription, ecompName, configName, attributes, configBodyType, configBody, requestID);
+ fixture.setConfigPolicyParameters(policyConfigType, policyName, policyDescription, onapName, configName, attributes, configBodyType, configBody, requestID);
// add additional test code here
}
@@ -995,7 +995,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1031,7 +1031,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1067,7 +1067,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1103,7 +1103,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1117,14 +1117,14 @@ public class PolicyParametersTest {
}
/**
- * Run the void setEcompName(String) method test.
+ * Run the void setOnapName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 6/1/16 1:41 PM
*/
@Test
- public void testSetEcompName_1()
+ public void testSetOnapName_1()
throws Exception {
PolicyParameters fixture = new PolicyParameters();
fixture.setRequestID(UUID.randomUUID());
@@ -1139,15 +1139,15 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
fixture.setActionPerformer("");
fixture.setConfigBody("");
- String ecompName = "";
+ String onapName = "";
- fixture.setEcompName(ecompName);
+ fixture.setOnapName(onapName);
// add additional test code here
}
@@ -1175,7 +1175,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1211,7 +1211,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1247,7 +1247,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1283,7 +1283,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1319,7 +1319,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
@@ -1355,7 +1355,7 @@ public class PolicyParametersTest {
fixture.setConfigName("");
fixture.setDynamicRuleAlgorithmFunctions(new LinkedList<String>());
fixture.setPolicyClass(PolicyClass.Action);
- fixture.setEcompName("");
+ fixture.setOnapName("");
fixture.setConfigBodyType(PolicyType.JSON);
fixture.setDynamicRuleAlgorithmField1(new LinkedList<String>());
fixture.setPriority("");
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyResponseStatusTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyResponseStatusTest.java
index 5841571bd..294f0929d 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyResponseStatusTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyResponseStatusTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyResponseStatus;
+import org.onap.policy.api.PolicyResponseStatus;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyResponseTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyResponseTest.java
index ec6ac09f0..b0a71d375 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyResponseTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyResponseTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.PolicyResponse;
+import org.onap.policy.api.PolicyResponse;
/**
* The class <code>PolicyResponseTest</code> contains tests for the class <code>{@link PolicyResponse}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyTypeTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyTypeTest.java
index 5b31e857b..9f1a608da 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PolicyTypeTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PolicyTypeTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.PolicyType;
+import org.onap.policy.api.PolicyType;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PushPolicyParametersTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PushPolicyParametersTest.java
index ef005f1f4..832589757 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/PushPolicyParametersTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/PushPolicyParametersTest.java
@@ -18,12 +18,12 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import java.util.UUID;
import org.junit.*;
-import org.openecomp.policy.api.PushPolicyParameters;
+import org.onap.policy.api.PushPolicyParameters;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/RemovedPolicyTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/RemovedPolicyTest.java
index ef77e6d5f..6a53cbfb1 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/RemovedPolicyTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/RemovedPolicyTest.java
@@ -18,11 +18,11 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.After;
import org.junit.Before;
-import org.openecomp.policy.api.RemovedPolicy;
+import org.onap.policy.api.RemovedPolicy;
/**
* The class <code>RemovedPolicyTest</code> contains tests for the class <code>{@link RemovedPolicy}</code>.
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/SendEventTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/SendEventTest.java
index 5757f8915..560ca463f 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/SendEventTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/SendEventTest.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -30,13 +30,13 @@ import java.util.HashMap;
import java.util.Map;
import org.junit.Before;
-import org.openecomp.policy.api.PolicyEngine;
-import org.openecomp.policy.api.PolicyEngineException;
-import org.openecomp.policy.api.PolicyEventException;
-import org.openecomp.policy.api.PolicyResponse;
-import org.openecomp.policy.api.PolicyResponseStatus;
-import org.openecomp.policy.common.logging.flexlogger.FlexLogger;
-import org.openecomp.policy.common.logging.flexlogger.Logger;
+import org.onap.policy.api.PolicyEngine;
+import org.onap.policy.api.PolicyEngineException;
+import org.onap.policy.api.PolicyEventException;
+import org.onap.policy.api.PolicyResponse;
+import org.onap.policy.api.PolicyResponseStatus;
+import org.onap.policy.common.logging.flexlogger.FlexLogger;
+import org.onap.policy.common.logging.flexlogger.Logger;
public class SendEventTest {
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/TestRunner.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/TestRunner.java
index 69cbd834e..87687f0ab 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/TestRunner.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/TestRunner.java
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/UpdateTypeTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/UpdateTypeTest.java
index 909a05f0e..500d6c1c5 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/UpdateTypeTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/UpdateTypeTest.java
@@ -18,10 +18,10 @@
* ============LICENSE_END=========================================================
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;
import org.junit.*;
-import org.openecomp.policy.api.UpdateType;
+import org.onap.policy.api.UpdateType;
import static org.junit.Assert.*;
diff --git a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/package-info.java b/PolicyEngineAPI/src/test/java/org/onap/policy/test/package-info.java
index e678c4be2..eb92f89bd 100644
--- a/PolicyEngineAPI/src/test/java/org/openecomp/policy/test/package-info.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/test/package-info.java
@@ -21,4 +21,4 @@
/**
* API JUNIT TestCases.
*/
-package org.openecomp.policy.test;
+package org.onap.policy.test;