aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPooja03 <pm00501616@techmahindra.com>2019-03-15 12:06:11 +0530
committerPooja03 <pm00501616@techmahindra.com>2019-03-15 12:08:12 +0530
commitd9d40aa325f5ed2767afaeb6c53a86673f91b000 (patch)
tree0b624749a2a65ca1175ac0770c22876bdb659503
parenta54913c3004c1aadfe39170683a485f5e959a18c (diff)
Fixed License Issue in the Test Cases
Updated Test Cases by fixing License in proper Format. Issue-ID: DCAEGEN2-1265 Change-Id: Ie6540bcdf4adc5c7af4ae69c0ff4fd6e48231e98 Signed-off-by: Pooja03 <pm00501616@techmahindra.com>
-rw-r--r--UniversalVesAdapter/pom.xml16
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalMeasurementTest.java32
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalObjectTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalParameterTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AlarmAdditionalInformationTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CodecUsageArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CommonEventHeaderTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CpuUsageArrayTest.java32
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/DiskUsageArrayTest.java32
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EndOfCallVqmSummariesTest.java32
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EventTest.java32
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FaultFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FilesystemUsageArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/GtpPerFlowMetricsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HeartbeatFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HugePagesArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/InternalHeaderFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardVoltageRegulatorArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBatteryArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiFanArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiGlobalAggregateTemperatureMarginArrayTest.java32
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiHsbpArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiNicArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiPowerSupplyArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiProcessorArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LatencyDistributionTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LoadArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MachineCheckExceptionArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MeasurementFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MemoryUsageArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MobileFlowFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NicPerformanceArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NotificationFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectInstanceTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectKeyTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/OtherFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/PnfRegistrationFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessStatsArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessorDimmAggregateThermalMarginArrayTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SipSignalingFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/StateChangeFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SyslogFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ThresholdCrossingAlertFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VendorNfNameFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VesEventTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VoiceQualityFieldsTest.java31
-rw-r--r--UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/adapter/UniversalEventAdapterTest.java284
49 files changed, 951 insertions, 812 deletions
diff --git a/UniversalVesAdapter/pom.xml b/UniversalVesAdapter/pom.xml
index ba5e07d..e65efdc 100644
--- a/UniversalVesAdapter/pom.xml
+++ b/UniversalVesAdapter/pom.xml
@@ -55,21 +55,23 @@
<version>4.12</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>2.25.0</version>
- </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>2.0.5-beta</version>
+ <scope>test</scope>
+</dependency>
+
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
- <version>1.7.4</version>
+ <version>1.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
- <version>2.0.0</version>
+ <version>1.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalMeasurementTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalMeasurementTest.java
index 7a55485..e1cb555 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalMeasurementTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalMeasurementTest.java
@@ -1,18 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalObjectTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalObjectTest.java
index 4e7033f..e0dd676 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalObjectTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalObjectTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalParameterTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalParameterTest.java
index 77c238c..4b911cf 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalParameterTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AdditionalParameterTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AlarmAdditionalInformationTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AlarmAdditionalInformationTest.java
index dba9bfa..88f6eaa 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AlarmAdditionalInformationTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/AlarmAdditionalInformationTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CodecUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CodecUsageArrayTest.java
index 6fa2bbc..79741ae 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CodecUsageArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CodecUsageArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CommonEventHeaderTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CommonEventHeaderTest.java
index e220178..4eb9166 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CommonEventHeaderTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CommonEventHeaderTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CpuUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CpuUsageArrayTest.java
index 3d24182..91b0fa7 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CpuUsageArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/CpuUsageArrayTest.java
@@ -1,18 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
import static org.junit.Assert.assertNotNull;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/DiskUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/DiskUsageArrayTest.java
index 8068df7..b0fc836 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/DiskUsageArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/DiskUsageArrayTest.java
@@ -1,18 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
import static org.junit.Assert.assertNotNull;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EndOfCallVqmSummariesTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EndOfCallVqmSummariesTest.java
index f902017..91e18e5 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EndOfCallVqmSummariesTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EndOfCallVqmSummariesTest.java
@@ -1,18 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
import static org.junit.Assert.assertNotNull;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EventTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EventTest.java
index 98c5308..eb7e472 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EventTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/EventTest.java
@@ -1,18 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
import static org.junit.Assert.assertNotNull;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FaultFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FaultFieldsTest.java
index 2ab99eb..c26cd03 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FaultFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FaultFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FilesystemUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FilesystemUsageArrayTest.java
index 25372f4..24ea16d 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FilesystemUsageArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/FilesystemUsageArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/GtpPerFlowMetricsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/GtpPerFlowMetricsTest.java
index c15ab1c..6738fad 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/GtpPerFlowMetricsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/GtpPerFlowMetricsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HeartbeatFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HeartbeatFieldsTest.java
index 374a793..8983785 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HeartbeatFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HeartbeatFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HugePagesArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HugePagesArrayTest.java
index bf039ee..83aa2b3 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HugePagesArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/HugePagesArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/InternalHeaderFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/InternalHeaderFieldsTest.java
index 245e991..2f223b8 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/InternalHeaderFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/InternalHeaderFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArrayTest.java
index 35bd36a..a2d74fd 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardTemperatureArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardVoltageRegulatorArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardVoltageRegulatorArrayTest.java
index ff69a6b..e1e015d 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardVoltageRegulatorArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBaseboardVoltageRegulatorArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBatteryArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBatteryArrayTest.java
index 8c45712..a97169e 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBatteryArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiBatteryArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiFanArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiFanArrayTest.java
index 8b863c6..c782aaf 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiFanArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiFanArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiGlobalAggregateTemperatureMarginArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiGlobalAggregateTemperatureMarginArrayTest.java
index f4f2830..120d054 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiGlobalAggregateTemperatureMarginArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiGlobalAggregateTemperatureMarginArrayTest.java
@@ -1,18 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
import static org.junit.Assert.assertNotNull;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiHsbpArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiHsbpArrayTest.java
index ad26b76..deaf91f 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiHsbpArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiHsbpArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiNicArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiNicArrayTest.java
index c61fce3..0a3e33f 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiNicArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiNicArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiPowerSupplyArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiPowerSupplyArrayTest.java
index d719212..8c96746 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiPowerSupplyArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiPowerSupplyArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiProcessorArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiProcessorArrayTest.java
index 4fd0a9d..23c51d2 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiProcessorArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiProcessorArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiTest.java
index b037208..4cb0224 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/IpmiTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LatencyDistributionTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LatencyDistributionTest.java
index 169edb0..e1b74d9 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LatencyDistributionTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LatencyDistributionTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LoadArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LoadArrayTest.java
index d5da182..515c9e1 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LoadArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/LoadArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MachineCheckExceptionArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MachineCheckExceptionArrayTest.java
index 7a9bf76..247c680 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MachineCheckExceptionArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MachineCheckExceptionArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MeasurementFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MeasurementFieldsTest.java
index 6767e35..df24c3f 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MeasurementFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MeasurementFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MemoryUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MemoryUsageArrayTest.java
index 0328033..533864a 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MemoryUsageArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MemoryUsageArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MobileFlowFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MobileFlowFieldsTest.java
index 7fbe098..966666f 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MobileFlowFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/MobileFlowFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NicPerformanceArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NicPerformanceArrayTest.java
index de9e80b..cc6781d 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NicPerformanceArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NicPerformanceArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NotificationFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NotificationFieldsTest.java
index c69c4bc..ddce424 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NotificationFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/NotificationFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectInstanceTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectInstanceTest.java
index aca06fa..9895561 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectInstanceTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectInstanceTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectKeyTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectKeyTest.java
index c0be872..09e67d6 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectKeyTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ObjectKeyTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/OtherFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/OtherFieldsTest.java
index 5407e23..8096fc8 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/OtherFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/OtherFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/PnfRegistrationFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/PnfRegistrationFieldsTest.java
index a089344..f3ca56f 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/PnfRegistrationFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/PnfRegistrationFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessStatsArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessStatsArrayTest.java
index da11bbd..a3cb152 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessStatsArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessStatsArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessorDimmAggregateThermalMarginArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessorDimmAggregateThermalMarginArrayTest.java
index 7df77c9..e08487c 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessorDimmAggregateThermalMarginArrayTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ProcessorDimmAggregateThermalMarginArrayTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SipSignalingFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SipSignalingFieldsTest.java
index c40ab12..1168d05 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SipSignalingFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SipSignalingFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/StateChangeFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/StateChangeFieldsTest.java
index 22137d3..45fe2e1 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/StateChangeFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/StateChangeFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SyslogFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SyslogFieldsTest.java
index 7479ec1..ac6663e 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SyslogFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/SyslogFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ThresholdCrossingAlertFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ThresholdCrossingAlertFieldsTest.java
index 4287e18..3502fb0 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ThresholdCrossingAlertFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/ThresholdCrossingAlertFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VendorNfNameFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VendorNfNameFieldsTest.java
index 7be336d..8bab095 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VendorNfNameFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VendorNfNameFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VesEventTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VesEventTest.java
index b68e23f..732c416 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VesEventTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VesEventTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VoiceQualityFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VoiceQualityFieldsTest.java
index 9352b2a..8c51ae4 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VoiceQualityFieldsTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves7_0/VoiceQualityFieldsTest.java
@@ -1,17 +1,22 @@
/*
- * ============LICENSE_START======================================================= ONAP : DCAE
- * ================================================================================ Copyright 2018
- * TechMahindra =================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License. ============LICENSE_END=========================================================
- */
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2018 TechMahindra
+*=================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
package org.onap.dcaegen2.ves.domain.ves7_0;
diff --git a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/adapter/UniversalEventAdapterTest.java b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/adapter/UniversalEventAdapterTest.java
index b4230d6..c866235 100644
--- a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/adapter/UniversalEventAdapterTest.java
+++ b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/adapter/UniversalEventAdapterTest.java
@@ -17,6 +17,7 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.universalvesadapter.adapter;
import static org.junit.Assert.assertNotEquals;
@@ -24,9 +25,7 @@ import static org.junit.Assert.assertNotNull;
import java.util.HashMap;
import java.util.Map;
-
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
@@ -35,199 +34,108 @@ import org.mockito.MockitoAnnotations;
import org.onap.universalvesadapter.Application;
import org.onap.universalvesadapter.exception.VesException;
import org.onap.universalvesadapter.service.VESAdapterInitializer;
+import org.onap.universalvesadapter.utils.CollectorConfigPropertyRetrival;
+import org.powermock.api.mockito.PowerMockito;
+import org.powermock.core.classloader.annotations.PrepareForTest;
+import org.powermock.modules.junit4.PowerMockRunner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.context.junit4.SpringRunner;
-@RunWith(SpringRunner.class)
-@SpringBootTest(classes=Application.class)
-@Ignore
-public class UniversalEventAdapterTest {
-
- private static final Logger errorLogger = LoggerFactory.getLogger("errorLogger");
-
- @Mock
- private VESAdapterInitializer vESAdapterInitializer;
-
- @InjectMocks
- private UniversalEventAdapter universalVesAdapter;
-
-
- @Before
- public void init() {
- MockitoAnnotations.initMocks(this);
- }
-
-
-
- @Test
- public void testtransform() {
- StringBuffer incomingJsonString = new StringBuffer("{ ")
- .append("\"protocol version\":\"v2c\", ")
- .append("\"notify OID\":\".1.3.6.1.4.1.1751.2.46.12.1.1\", ")
- .append("\"cambria.partition\":\"dcae-snmp.client.research.att.com\", ")
- .append("\"trap category\":\"UCSNMP-HEARTBEAT\", ")
- .append("\"epoch_serno\": 15161177410000, ")
- .append("\"community\":\"public\", ")
- .append("\"time received\": 1516117741, ")
- .append("\"agent name\":\"localhost\", ")
- .append("\"agent address\":\"127.0.0.1\", ")
- .append("\"community len\": 6, ")
- .append("\"notify OID len\": 12, ")
- .append("\"varbinds\": [{ ")
- .append(" \"varbind_type\":\"octet\", ")
- .append(" \"varbind_oid\":\".1.3.6.1.4.1.74.2.46.12.1.1.1\", ")
- .append(" \"varbind_value\":\"ucsnmp heartbeat - ignore\" ")
- .append(" }, { ")
- .append(" \"varbind_type\":\"octet\", ")
- .append(" \"varbind_oid\":\".1.3.6.1.4.1.74.2.46.12.1.1.2\", ")
- .append(" \"varbind_value\":\"Tue Jan 16 10:49:01 EST 2018\" ")
- .append(" }] ")
- .append("}");
-
- Map<String,String> testMap=new HashMap<String,String>();
- testMap.put("defaultSnmpMappingFile", "<?xml version=\"1.0\"?>\r\n" +
- "<smooks-resource-list\r\n" +
- " xmlns=\"http://www.milyn.org/xsd/smooks-1.1.xsd\"\r\n" +
- " xmlns:json=\"http://www.milyn.org/xsd/smooks/json-1.1.xsd\"\r\n" +
- " xmlns:jb=\"http://www.milyn.org/xsd/smooks/javabean-1.4.xsd\">\r\n" +
- " <json:reader rootName=\"vesevent\" keyWhitspaceReplacement=\"-\">\r\n" +
- " <json:keyMap>\r\n" +
- " <json:key from=\"date&amp;time\" to=\"date-and-time\" />\r\n" +
- " </json:keyMap>\r\n" +
- " </json:reader>\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.VesEvent\" beanId=\"vesEvent\" createOnElement=\"vesevent\">\r\n" +
- " <jb:wiring property=\"event\" beanIdRef=\"event\"/>\r\n" +
- " </jb:bean>\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.Event\" beanId=\"event\" createOnElement=\"vesevent\">\r\n" +
- " <jb:wiring property=\"commonEventHeader\" beanIdRef=\"commonEventHeader\"/>\r\n" +
- " <jb:wiring property=\"faultFields\" beanIdRef=\"faultFields\"/> \r\n" +
- " <!--<jb:wiring property=\"measurementsForVfScalingFields\" beanIdRef=\"measurementsForVfScalingFields\"/> --> \r\n" +
- " </jb:bean> \r\n" +
- " <!--<jb:bean class=\"org.onap.dcaegen2.ves.domain.MeasurementsForVfScalingFields\" beanId=\"measurementsForVfScalingFields\" createOnElement=\"simple\">\r\n" +
- " <jb:wiring property=\"additionalMeasurements\" beanIdRef=\"additionalMeasurements\"/>\r\n" +
- " </jb:bean>-->\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.CommonEventHeader\" beanId=\"commonEventHeader\" createOnElement=\"vesevent\">\r\n" +
- " <jb:expression property=\"version\">\"3.0\"</jb:expression>\r\n" +
- " <jb:expression property=\"eventId\">\"XXXX\"</jb:expression>\r\n" +
- " <jb:expression property=\"reportingEntityName\">\"VesAdapter\"</jb:expression>\r\n" +
- " <jb:expression property=\"domain\">\"fault\"</jb:expression>\r\n" +
- " <jb:expression property=\"eventName\" execOnElement=\"vesevent\" >commonEventHeader.domain+\"_\"+commonEventHeader.reportingEntityName +\"_\"+ faultFields.alarmCondition;</jb:expression>\r\n" +
- " <jb:value property=\"sequence\" data=\"0\" default=\"0\" decoder=\"Long\"/>\r\n" +
- " <jb:value property=\"lastEpochMicrosec\" data=\"#/time-received\" decoder=\"Double\" />\r\n" +
- " <jb:value property=\"startEpochMicrosec\" data=\"#/time-received\" decoder=\"Double\"/>\r\n" +
- " <jb:expression property=\"priority\">\"Medium\"</jb:expression>\r\n" +
- " <jb:expression property=\"sourceName\">\"VesAdapter\"</jb:expression>\r\n" +
- " </jb:bean> \r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.FaultFields\" beanId=\"faultFields\" createOnElement=\"vesevent\">\r\n" +
- " <jb:value property=\"alarmCondition\" data=\"#/trap-category\" />\r\n" +
- " <jb:expression property=\"eventSeverity\">\"MINOR\"</jb:expression>\r\n" +
- " <jb:expression property=\"eventSourceType\">\"SNMP Agent\"</jb:expression>\r\n" +
- " <jb:expression property=\"specificProblem\">\"SNMP Fault\"</jb:expression>\r\n" +
- " <jb:value property=\"faultFieldsVersion\" data=\"2.0\" default=\"2.0\" decoder=\"Double\" />\r\n" +
- " <jb:wiring property=\"alarmAdditionalInformation\" beanIdRef=\"alarmAdditionalInformationroot\"/> \r\n" +
- " <jb:expression property=\"vfStatus\">\"Active\"</jb:expression>\r\n" +
- " \r\n" +
- " </jb:bean> \r\n" +
- " <jb:bean class=\"java.util.ArrayList\" beanId=\"alarmAdditionalInformationroot\" createOnElement=\"vesevent\">\r\n" +
- " <jb:wiring beanIdRef=\"alarmAdditionalInformation\"/>\r\n" +
- " </jb:bean>\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.AlarmAdditionalInformation\" beanId=\"alarmAdditionalInformation\" createOnElement=\"varbinds/element\">\r\n" +
- " <jb:value property=\"name\" data=\"#/varbind_oid\"/>\r\n" +
- " <jb:value property=\"value\" data=\"#/varbind_value\" />\r\n" +
- " </jb:bean>\r\n" +
- " <!--<jb:bean class=\"java.util.ArrayList\" beanId=\"additionalMeasurements\" createOnElement=\"simple\">\r\n" +
- " <jb:wiring beanIdRef=\"additionalMeasurement\"/>\r\n" +
- " </jb:bean> \r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.AdditionalMeasurement\" beanId=\"additionalMeasurement\" createOnElement=\"varbinds/element\">\r\n" +
- " <jb:value property=\"name\" data=\"#/varbind_value\" />\r\n" +
- " </jb:bean> --> \r\n" +
- " \r\n" +
- "</smooks-resource-list>");
- testMap.put(".1.3.6.1.4.1.1751.2.46.12", "<?xml version=\"1.0\"?>\r\n" +
- "<smooks-resource-list\r\n" +
- " xmlns=\"http://www.milyn.org/xsd/smooks-1.1.xsd\"\r\n" +
- " xmlns:json=\"http://www.milyn.org/xsd/smooks/json-1.1.xsd\"\r\n" +
- " xmlns:jb=\"http://www.milyn.org/xsd/smooks/javabean-1.4.xsd\">\r\n" +
- " <json:reader rootName=\"vesevent\" keyWhitspaceReplacement=\"-\">\r\n" +
- " <json:keyMap>\r\n" +
- " <json:key from=\"date&amp;time\" to=\"date-and-time\" />\r\n" +
- " </json:keyMap>\r\n" +
- " </json:reader>\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.VesEvent\" beanId=\"vesEvent\" createOnElement=\"vesevent\">\r\n" +
- " <jb:wiring property=\"event\" beanIdRef=\"event\"/>\r\n" +
- " </jb:bean>\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.Event\" beanId=\"event\" createOnElement=\"vesevent\">\r\n" +
- " <jb:wiring property=\"commonEventHeader\" beanIdRef=\"commonEventHeader\"/>\r\n" +
- " <jb:wiring property=\"faultFields\" beanIdRef=\"faultFields\"/> \r\n" +
- " <!--<jb:wiring property=\"measurementsForVfScalingFields\" beanIdRef=\"measurementsForVfScalingFields\"/> --> \r\n" +
- " </jb:bean> \r\n" +
- " <!--<jb:bean class=\"org.onap.dcaegen2.ves.domain.MeasurementsForVfScalingFields\" beanId=\"measurementsForVfScalingFields\" createOnElement=\"simple\">\r\n" +
- " <jb:wiring property=\"additionalMeasurements\" beanIdRef=\"additionalMeasurements\"/>\r\n" +
- " </jb:bean>-->\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.CommonEventHeader\" beanId=\"commonEventHeader\" createOnElement=\"vesevent\">\r\n" +
- " <jb:expression property=\"version\">\"3.0\"</jb:expression>\r\n" +
- " <jb:expression property=\"eventId\">\"XXXX\"</jb:expression>\r\n" +
- " <jb:expression property=\"reportingEntityName\">\"VesAdapter\"</jb:expression>\r\n" +
- " <jb:expression property=\"domain\">\"fault\"</jb:expression>\r\n" +
- " <jb:expression property=\"eventName\" execOnElement=\"vesevent\" >commonEventHeader.domain+\"_\"+commonEventHeader.reportingEntityName +\"_\"+ faultFields.alarmCondition;</jb:expression>\r\n" +
- " <jb:value property=\"sequence\" data=\"0\" default=\"0\" decoder=\"Long\"/>\r\n" +
- " <jb:value property=\"lastEpochMicrosec\" data=\"#/time-received\" decoder=\"Double\" />\r\n" +
- " <jb:value property=\"startEpochMicrosec\" data=\"#/time-received\" decoder=\"Double\"/>\r\n" +
- " <jb:expression property=\"priority\">\"Medium\"</jb:expression>\r\n" +
- " <jb:expression property=\"sourceName\">\"VesAdapter\"</jb:expression>\r\n" +
- " </jb:bean> \r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.FaultFields\" beanId=\"faultFields\" createOnElement=\"vesevent\">\r\n" +
- " <jb:value property=\"alarmCondition\" data=\"#/trap-category\" />\r\n" +
- " <jb:expression property=\"eventSeverity\">\"MINOR\"</jb:expression>\r\n" +
- " <jb:expression property=\"eventSourceType\">\"SNMP Agent\"</jb:expression>\r\n" +
- " <jb:expression property=\"specificProblem\">\"SNMP Fault\"</jb:expression>\r\n" +
- " <jb:value property=\"faultFieldsVersion\" data=\"2.0\" default=\"2.0\" decoder=\"Double\" />\r\n" +
- " <jb:wiring property=\"alarmAdditionalInformation\" beanIdRef=\"alarmAdditionalInformationroot\"/> \r\n" +
- " <jb:expression property=\"vfStatus\">\"Active\"</jb:expression>\r\n" +
- " \r\n" +
- " </jb:bean> \r\n" +
- " <jb:bean class=\"java.util.ArrayList\" beanId=\"alarmAdditionalInformationroot\" createOnElement=\"vesevent\">\r\n" +
- " <jb:wiring beanIdRef=\"alarmAdditionalInformation\"/>\r\n" +
- " </jb:bean>\r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.AlarmAdditionalInformation\" beanId=\"alarmAdditionalInformation\" createOnElement=\"varbinds/element\">\r\n" +
- " <jb:value property=\"name\" data=\"#/varbind_oid\"/>\r\n" +
- " <jb:value property=\"value\" data=\"#/varbind_value\" />\r\n" +
- " </jb:bean>\r\n" +
- " <!--<jb:bean class=\"java.util.ArrayList\" beanId=\"additionalMeasurements\" createOnElement=\"simple\">\r\n" +
- " <jb:wiring beanIdRef=\"additionalMeasurement\"/>\r\n" +
- " </jb:bean> \r\n" +
- " \r\n" +
- " <jb:bean class=\"org.onap.dcaegen2.ves.domain.AdditionalMeasurement\" beanId=\"additionalMeasurement\" createOnElement=\"varbinds/element\">\r\n" +
- " <jb:value property=\"name\" data=\"#/varbind_value\" />\r\n" +
- " </jb:bean> --> \r\n" +
- " \r\n" +
- "</smooks-resource-list>");
-
- try {
-
- VESAdapterInitializer.setMappingFiles(testMap);
- String actualResult = universalVesAdapter.transform(incomingJsonString.toString());
- assertNotNull(actualResult);
- assertNotEquals("", actualResult);
- } catch (VesException exception) {
- errorLogger.error("Error occurred : {}", exception );
- }
+@RunWith(PowerMockRunner.class)
+@SpringBootTest(classes = Application.class)
+public class UniversalEventAdapterTest {
+
+ private static final Logger errorLogger = LoggerFactory.getLogger("errorLogger");
+
+ @Mock
+ private VESAdapterInitializer vesAdapterInitializer;
+
+ @InjectMocks
+ private UniversalEventAdapter universalVesAdapter;
+
+ @Before
+ public void init() {
+ MockitoAnnotations.initMocks(this);
}
+ @PrepareForTest({ CollectorConfigPropertyRetrival.class })
+ @Test
+ public void testtransform() {
+
+ StringBuffer incomingJsonString = new StringBuffer("{\n" + " \"rule-id\": \"12121\",\n"
+ + " \"notification\": {\n" + " \"event-time\": \"2018-03-15T08:15:32.000Z\",\n"
+ + " \"notification-id\": \"2541256\",\n" + " \"message\": {\n"
+ + " \"topic\":\"resource\",\n" + " \"object-type\":\"onu\", \n"
+ + " \"version\": \"v1\", \n" + " \"operation\": \"create\", \n"
+ + " \"target\": \"ont/ont=23hk1231231232\", \n" + " \"content\": {\n"
+ + " \"onu\": {\n" + " \"sn\": \"48575443FA637D1A\",\n"
+ + " \"refParentNE\": \"550e8400-e29b-41d4-a716-446655440000\",\n"
+ + " \"refParentNeNativeId\": \"FDN\",\n"
+ + " \"refParentLTP\": \"8c0db89e-218c-4e18-b0de-7a6788b3dda4\",\n"
+ + " \"refParentLTPNativeId\": \"FDN\",\n"
+ + " \"onuId\": \"213\",\n" + " \"accessID\": \"HG65875420001\"\n"
+ + " }\n" + " }\n" + " }\n" + " }\n" + "}");
+ Map<String, String> testMap = new HashMap<String, String>();
+ testMap.put("defaultMappingFile-" + Thread.currentThread().getName(),
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ + "<smooks-resource-list xmlns=\"http://www.milyn.org/xsd/smooks-1.1.xsd\" xmlns:jb=\"http://www.milyn.org/xsd/smooks/javabean-1.4.xsd\" xmlns:json=\"http://www.milyn.org/xsd/smooks/json-1.1.xsd\">\n"
+ + " <json:reader rootName=\"vesevent\" keyWhitspaceReplacement=\"-\">\n"
+ + " <json:keyMap>\n"
+ + " <json:key from=\"date&amp;time\" to=\"date-and-time\" />\n"
+ + " </json:keyMap>\n" + " </json:reader>\n"
+ + " <jb:bean class=\"org.onap.dcaegen2.ves.domain.ves7_0.VesEvent\""
+ + " beanId=\"vesEvent\" createOnElement=\"vesevent\">\n"
+ + " <jb:wiring property=\"event\" beanIdRef=\"event\" />\n" + " </jb:bean>\n"
+ + " <jb:bean class=\"org.onap.dcaegen2.ves.domain.ves7_0.Event\" "
+ + "beanId=\"event\" createOnElement=\"vesevent\">\n"
+ + " <jb:wiring property=\"commonEventHeader\" beanIdRef=\"commonEventHeader\" />\n"
+ + " <jb:wiring property=\"pnfRegistrationFields\" beanIdRef=\"pnfRegistrationFields\" />\n"
+ + " </jb:bean>\n"
+ + " <jb:bean class=\"org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader\""
+ + " beanId=\"commonEventHeader\" createOnElement=\"vesevent\">\n"
+ + "<jb:expression property=\"version\">"
+ + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.Version._4_0_1</jb:expression> \n"
+ + "<jb:expression property=\"eventType\">\"pnfRegistration\"</jb:expression>\n"
+ + "<jb:expression property=\"vesEventListenerVersion\">"
+ + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.VesEventListenerVersion._7_0_1</jb:expression>\n"
+ + " <jb:expression property=\"eventId\" execOnElement=\"vesevent\">"
+ + "\"registration_\"+commonEventHeader.ts1</jb:expression>\n"
+ + "<jb:expression property=\"reportingEntityName\">\"VESMapper\"</jb:expression>\n"
+ + " <jb:expression property=\"domain\">"
+ + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.Domain.PNF_REGISTRATION</jb:expression>\n"
+ + " <jb:expression property=\"eventName\" execOnElement=\"vesevent\">"
+ + "commonEventHeader.domain</jb:expression>\n"
+ + "<jb:value property=\"sequence\" data=\"0\" default=\"0\" decoder=\"Long\" />\n"
+ + "<jb:expression property=\"lastEpochMicrosec\" execOnElement=\"vesevent\">"
+ + "commonEventHeader.ts1</jb:expression>\n"
+ + " <jb:expression property=\"startEpochMicrosec\" execOnElement=\"vesevent\">"
+ + "commonEventHeader.ts1</jb:expression>\n" + " <jb:expression property=\"priority\">"
+ + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.Priority.NORMAL</jb:expression>\n"
+ + " <jb:value property=\"sourceName\" data=\"notification/message/target\" />\n"
+ + " </jb:bean>\n"
+ + " <jb:bean class=\"org.onap.dcaegen2.ves.domain.ves7_0.PnfRegistrationFields\""
+ + " beanId=\"pnfRegistrationFields\" createOnElement=\"vesevent\">\n" + " \n"
+ + " <jb:expression property=\"pnfRegistrationFieldsVersion\">"
+ + "org.onap.dcaegen2.ves.domain.ves7_0.PnfRegistrationFields.PnfRegistrationFieldsVersion._2_0"
+ + "</jb:expression>\n"
+ + " <jb:value property=\"serialNumber\" data=\"notification/message/content/onu/sn\" />\n"
+ + " \n" + " </jb:bean>\n" + "</smooks-resource-list>");
+ try {
+ vesAdapterInitializer.setMappingFiles(testMap);
+ String identifiertest[] = CollectorConfigPropertyRetrival.getProperyArray("identifier", "kvTest.json");
+ PowerMockito.mockStatic(CollectorConfigPropertyRetrival.class);
+ PowerMockito.when(CollectorConfigPropertyRetrival.getProperyArray("identifier", null))
+ .thenReturn(identifiertest);
+
+ String actualResult = universalVesAdapter.transform(incomingJsonString.toString());
+ assertNotNull(actualResult);
+ assertNotEquals("", actualResult);
+ } catch (VesException exception) {
+ errorLogger.error("Error occurred : {}", exception);
+ }
+ }
}