From d9d40aa325f5ed2767afaeb6c53a86673f91b000 Mon Sep 17 00:00:00 2001 From: Pooja03 Date: Fri, 15 Mar 2019 12:06:11 +0530 Subject: [PATCH] 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 --- UniversalVesAdapter/pom.xml | 16 +- .../domain/ves7_0/AdditionalMeasurementTest.java | 32 ++- .../ves/domain/ves7_0/AdditionalObjectTest.java | 31 ++- .../ves/domain/ves7_0/AdditionalParameterTest.java | 31 ++- .../ves7_0/AlarmAdditionalInformationTest.java | 31 ++- .../ves/domain/ves7_0/CodecUsageArrayTest.java | 31 ++- .../ves/domain/ves7_0/CommonEventHeaderTest.java | 31 ++- .../ves/domain/ves7_0/CpuUsageArrayTest.java | 32 ++- .../ves/domain/ves7_0/DiskUsageArrayTest.java | 32 ++- .../domain/ves7_0/EndOfCallVqmSummariesTest.java | 32 ++- .../onap/dcaegen2/ves/domain/ves7_0/EventTest.java | 32 ++- .../ves/domain/ves7_0/FaultFieldsTest.java | 31 ++- .../domain/ves7_0/FilesystemUsageArrayTest.java | 31 ++- .../ves/domain/ves7_0/GtpPerFlowMetricsTest.java | 31 ++- .../ves/domain/ves7_0/HeartbeatFieldsTest.java | 31 ++- .../ves/domain/ves7_0/HugePagesArrayTest.java | 31 ++- .../domain/ves7_0/InternalHeaderFieldsTest.java | 31 ++- .../ves7_0/IpmiBaseboardTemperatureArrayTest.java | 31 ++- .../IpmiBaseboardVoltageRegulatorArrayTest.java | 31 ++- .../ves/domain/ves7_0/IpmiBatteryArrayTest.java | 31 ++- .../ves/domain/ves7_0/IpmiFanArrayTest.java | 31 ++- ...iGlobalAggregateTemperatureMarginArrayTest.java | 32 ++- .../ves/domain/ves7_0/IpmiHsbpArrayTest.java | 31 ++- .../ves/domain/ves7_0/IpmiNicArrayTest.java | 31 ++- .../domain/ves7_0/IpmiPowerSupplyArrayTest.java | 31 ++- .../ves/domain/ves7_0/IpmiProcessorArrayTest.java | 31 ++- .../onap/dcaegen2/ves/domain/ves7_0/IpmiTest.java | 31 ++- .../ves/domain/ves7_0/LatencyDistributionTest.java | 31 ++- .../dcaegen2/ves/domain/ves7_0/LoadArrayTest.java | 31 ++- .../ves7_0/MachineCheckExceptionArrayTest.java | 31 ++- .../ves/domain/ves7_0/MeasurementFieldsTest.java | 31 ++- .../ves/domain/ves7_0/MemoryUsageArrayTest.java | 31 ++- .../ves/domain/ves7_0/MobileFlowFieldsTest.java | 31 ++- .../ves/domain/ves7_0/NicPerformanceArrayTest.java | 31 ++- .../ves/domain/ves7_0/NotificationFieldsTest.java | 31 ++- .../ves/domain/ves7_0/ObjectInstanceTest.java | 31 ++- .../dcaegen2/ves/domain/ves7_0/ObjectKeyTest.java | 31 ++- .../ves/domain/ves7_0/OtherFieldsTest.java | 31 ++- .../domain/ves7_0/PnfRegistrationFieldsTest.java | 31 ++- .../ves/domain/ves7_0/ProcessStatsArrayTest.java | 31 ++- ...ocessorDimmAggregateThermalMarginArrayTest.java | 31 ++- .../ves/domain/ves7_0/SipSignalingFieldsTest.java | 31 ++- .../ves/domain/ves7_0/StateChangeFieldsTest.java | 31 ++- .../ves/domain/ves7_0/SyslogFieldsTest.java | 31 ++- .../ves7_0/ThresholdCrossingAlertFieldsTest.java | 31 ++- .../ves/domain/ves7_0/VendorNfNameFieldsTest.java | 31 ++- .../dcaegen2/ves/domain/ves7_0/VesEventTest.java | 31 ++- .../ves/domain/ves7_0/VoiceQualityFieldsTest.java | 31 ++- .../adapter/UniversalEventAdapterTest.java | 284 +++++++-------------- 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 @@ 4.12 test - - org.mockito - mockito-core - 2.25.0 - + + org.mockito + mockito-core + 2.0.5-beta + test + + org.powermock powermock-api-mockito - 1.7.4 + 1.6.2 test org.powermock powermock-module-junit4 - 2.0.0 + 1.6.2 test 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 testMap=new HashMap(); - testMap.put("defaultSnmpMappingFile", "\r\n" + - "\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \"3.0\"\r\n" + - " \"XXXX\"\r\n" + - " \"VesAdapter\"\r\n" + - " \"fault\"\r\n" + - " commonEventHeader.domain+\"_\"+commonEventHeader.reportingEntityName +\"_\"+ faultFields.alarmCondition;\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \"Medium\"\r\n" + - " \"VesAdapter\"\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \"MINOR\"\r\n" + - " \"SNMP Agent\"\r\n" + - " \"SNMP Fault\"\r\n" + - " \r\n" + - " \r\n" + - " \"Active\"\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - ""); - testMap.put(".1.3.6.1.4.1.1751.2.46.12", "\r\n" + - "\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \"3.0\"\r\n" + - " \"XXXX\"\r\n" + - " \"VesAdapter\"\r\n" + - " \"fault\"\r\n" + - " commonEventHeader.domain+\"_\"+commonEventHeader.reportingEntityName +\"_\"+ faultFields.alarmCondition;\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \"Medium\"\r\n" + - " \"VesAdapter\"\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \"MINOR\"\r\n" + - " \"SNMP Agent\"\r\n" + - " \"SNMP Fault\"\r\n" + - " \r\n" + - " \r\n" + - " \"Active\"\r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - " \r\n" + - ""); - - 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 testMap = new HashMap(); + testMap.put("defaultMappingFile-" + Thread.currentThread().getName(), + "\n" + + "\n" + + " \n" + + " \n" + + " \n" + + " \n" + " \n" + + " \n" + + " \n" + " \n" + + " \n" + + " \n" + + " \n" + + " \n" + + " \n" + + "" + + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.Version._4_0_1 \n" + + "\"pnfRegistration\"\n" + + "" + + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.VesEventListenerVersion._7_0_1\n" + + " " + + "\"registration_\"+commonEventHeader.ts1\n" + + "\"VESMapper\"\n" + + " " + + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.Domain.PNF_REGISTRATION\n" + + " " + + "commonEventHeader.domain\n" + + "\n" + + "" + + "commonEventHeader.ts1\n" + + " " + + "commonEventHeader.ts1\n" + " " + + "org.onap.dcaegen2.ves.domain.ves7_0.CommonEventHeader.Priority.NORMAL\n" + + " \n" + + " \n" + + " \n" + " \n" + + " " + + "org.onap.dcaegen2.ves.domain.ves7_0.PnfRegistrationFields.PnfRegistrationFieldsVersion._2_0" + + "\n" + + " \n" + + " \n" + " \n" + ""); + 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); + } + } } -- 2.16.6