Increase test coverage - openecomp-sdc-vendor-software-product-lib 81/106981/2
authorvasraz <vasyl.razinkov@est.tech>
Fri, 1 May 2020 14:35:01 +0000 (15:35 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Wed, 6 May 2020 06:47:11 +0000 (06:47 +0000)
Change-Id: Id51ce6f488efd6db02aad479ff419b58436be27c
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3001

75 files changed:
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentCompositionSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComputeCompositionSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/DeploymentFlavorCompositionSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ImageCompositionSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NetworkCompositionSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NicCompositionSchemaInputTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentComputeAssociationTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentDataTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionDataTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionEntityValidationDataTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComputeDataTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/DeploymentFlavorTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ExtractCompositionDataContextTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageDataTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/NetworkTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/NicTest.java [deleted file]
openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/VmSizingTest.java [deleted file]
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/CandidateDataEntityTo.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/candidateheat/AnalyzedZipHeatFiles.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/candidateheat/FilesDataStructure.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/candidateheat/Module.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/Component.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentComputeAssociation.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentData.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionData.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionEntityId.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionEntityValidationData.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComputeData.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/DeploymentFlavor.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ExtractCompositionDataContext.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/Image.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageData.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/Network.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/Nic.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/VmSizing.java [deleted file]
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/ComponentQuestionnaire.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/Compute.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/GuestOS.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/NumOfVMs.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/compute/VmSizing.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/General.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Hypervisor.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Image.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/general/Recovery.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/highAvailability/HighAvailabilityAndLoadBalancing.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/image/ImageDetails.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/Network.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/network/NetworkCapacity.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Backup.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/LogBackup.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/SnapshotBackup.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/component/storage/Storage.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/AcceptableJitter.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/IpConfiguration.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Network.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/NicQuestionnaire.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PacketsAndBytes.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/PeakAndAvg.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Protocols.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/nic/Sizing.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/VspQuestionnaire.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentCompositionSchemaInput.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInput.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComputeCompositionSchemaInput.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/DeploymentFlavorCompositionSchemaInput.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ImageCompositionSchemaInput.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NetworkCompositionSchemaInput.java
openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NicCompositionSchemaInput.java

diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentCompositionSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentCompositionSchemaInputTest.java
deleted file mode 100644 (file)
index 08a673d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ComponentCompositionSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        assertThat(ComponentCompositionSchemaInput.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComponentQuestionnaireSchemaInputTest.java
deleted file mode 100644 (file)
index 2c68dc2..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import static org.junit.Assert.assertEquals;
-
-public class ComponentQuestionnaireSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        List<String> nicNames = new ArrayList<>();
-        Map<String, String> componentQuestionnaireData = new HashMap<>();
-        String displayName = "componentDisplayName";
-        boolean manual = false;
-
-        ComponentQuestionnaireSchemaInput input =
-                new ComponentQuestionnaireSchemaInput(nicNames, componentQuestionnaireData, displayName, manual);
-        assertEquals(nicNames, input.getNicNames());
-        assertEquals(componentQuestionnaireData, input.getComponentQuestionnaireData());
-        assertEquals(displayName, input.getComponentDisplayName());
-        assertEquals(manual, input.isManual());
-
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComputeCompositionSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ComputeCompositionSchemaInputTest.java
deleted file mode 100644 (file)
index 2756b11..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ComputeCompositionSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        assertThat(ComputeCompositionSchemaInput.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/DeploymentFlavorCompositionSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/DeploymentFlavorCompositionSchemaInputTest.java
deleted file mode 100644 (file)
index 9171c84..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class DeploymentFlavorCompositionSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        assertThat(DeploymentFlavorCompositionSchemaInput.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ImageCompositionSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/ImageCompositionSchemaInputTest.java
deleted file mode 100644 (file)
index 7e37f62..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ImageCompositionSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        assertThat(ImageCompositionSchemaInput.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NetworkCompositionSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NetworkCompositionSchemaInputTest.java
deleted file mode 100644 (file)
index f219e73..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class NetworkCompositionSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        assertThat(NetworkCompositionSchemaInput.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NicCompositionSchemaInputTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-services/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/schemagenerator/NicCompositionSchemaInputTest.java
deleted file mode 100644 (file)
index 6078752..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class NicCompositionSchemaInputTest {
-    @Test
-    public void shouldHaveValidGettersAndSetters() {
-        assertThat(NicCompositionSchemaInput.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentComputeAssociationTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentComputeAssociationTest.java
deleted file mode 100644 (file)
index 182953d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ComponentComputeAssociationTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(ComponentComputeAssociation.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentDataTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentDataTest.java
deleted file mode 100644 (file)
index 47ee5db..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEquals;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanHashCode;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ComponentDataTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(ComponentData.class, hasValidGettersAndSetters());
-    }
-
-    @Test
-    public void equalsTest() {
-        assertThat(ComponentData.class, hasValidBeanEquals());
-    }
-
-    @Test
-    public void hashCodeTest() {
-        assertThat(ComponentData.class, hasValidBeanHashCode());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComponentTest.java
deleted file mode 100644 (file)
index 88ec1b5..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ComponentTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(Component.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionDataTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionDataTest.java
deleted file mode 100644 (file)
index f6def25..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class CompositionDataTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(CompositionData.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionEntityValidationDataTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/CompositionEntityValidationDataTest.java
deleted file mode 100644 (file)
index 8f1121e..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEquals;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanHashCode;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class CompositionEntityValidationDataTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(CompositionEntityValidationData.class, hasValidGettersAndSetters());
-    }
-
-    @Test
-    public void equalsTest() {
-        assertThat(CompositionEntityValidationData.class, hasValidBeanEquals());
-    }
-
-    @Test
-    public void hashCodeTest() {
-        assertThat(CompositionEntityValidationData.class, hasValidBeanHashCode());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComputeDataTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ComputeDataTest.java
deleted file mode 100644 (file)
index 0175ff1..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEquals;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanHashCode;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ComputeDataTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(ComputeData.class, hasValidGettersAndSetters());
-    }
-
-    @Test
-    public void equalsTest() {
-        assertThat(ComputeData.class, hasValidBeanEquals());
-    }
-
-    @Test
-    public void hashCodeTest() {
-        assertThat(ComputeData.class, hasValidBeanHashCode());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/DeploymentFlavorTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/DeploymentFlavorTest.java
deleted file mode 100644 (file)
index 51518d7..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class DeploymentFlavorTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(DeploymentFlavor.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ExtractCompositionDataContextTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ExtractCompositionDataContextTest.java
deleted file mode 100644 (file)
index f3e59ab..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ExtractCompositionDataContextTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(ExtractCompositionDataContext.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageDataTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageDataTest.java
deleted file mode 100644 (file)
index 39965a1..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ImageDataTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(ImageData.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/ImageTest.java
deleted file mode 100644 (file)
index 9ed5aab..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class ImageTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(Image.class, hasValidGettersAndSetters());
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/NetworkTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/NetworkTest.java
deleted file mode 100644 (file)
index 397486b..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEquals;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanHashCode;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class NetworkTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(Network.class, hasValidGettersAndSetters());
-    }
-
-    @Test
-    public void equalsTest() {
-        assertThat(Network.class, hasValidBeanEquals());
-    }
-
-    @Test
-    public void hashCodeTest() {
-        assertThat(Network.class, hasValidBeanHashCode());
-    }
-
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/NicTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/NicTest.java
deleted file mode 100644 (file)
index 4976a5f..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanEqualsExcluding;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanHashCodeExcluding;
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class NicTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(Nic.class, hasValidGettersAndSetters());
-    }
-
-    @Test
-    public void equalsTest() {
-        assertThat(Nic.class, hasValidBeanEqualsExcluding("networkName"));
-    }
-
-    @Test
-    public void hashCodeTest() {
-        assertThat(Nic.class, hasValidBeanHashCodeExcluding("networkName"));
-    }
-}
\ No newline at end of file
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/VmSizingTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/conflict-rest/conflict-rest-types/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/VmSizingTest.java
deleted file mode 100644 (file)
index 463ac6f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 Nokia. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-import org.junit.Test;
-
-import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters;
-import static org.junit.Assert.assertThat;
-
-public class VmSizingTest {
-    @Test
-    public void accessorsTest() {
-        assertThat(VmSizing.class, hasValidGettersAndSetters());
-    }
-
-}
\ No newline at end of file
index cf6e6f7..3a535e1 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types;
 
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import lombok.Getter;
+import lombok.Setter;
 import org.openecomp.core.utilities.file.FileContentHandler;
 import org.openecomp.sdc.datatypes.error.ErrorMessage;
 import org.openecomp.sdc.heat.datatypes.structure.HeatStructureTree;
 import org.openecomp.sdc.versioning.dao.types.Version;
 
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
+@Getter
 public class CandidateDataEntityTo {
-  private final String vspId;
-  private final Version version;
-  private final byte[] uploadedFileData;
-  private final HeatStructureTree tree;
-  private final FileContentHandler contentMap;
-  private Map<String, List<ErrorMessage>> errors = new HashMap<>();
-
-  /**
-   * Instantiates a new Candidate data entity to.
-   *
-   * @param vspId            the vsp id
-   * @param uploadedFileData the uploaded file data
-   * @param tree             the tree
-   * @param contentMap       the content map
-   */
-  public CandidateDataEntityTo(String vspId, Version version, byte[] uploadedFileData,
-                               HeatStructureTree tree, FileContentHandler contentMap) {
-    this.vspId = vspId;
-    this.version = version;
-    this.uploadedFileData = uploadedFileData;
-    this.tree = tree;
-    this.contentMap = contentMap;
-  }
-
-  public String getVspId() {
-    return vspId;
-  }
-
-  public byte[] getUploadedFileData() {
-    return uploadedFileData;
-  }
-
-  public HeatStructureTree getTree() {
-    return tree;
-  }
-
-  public Version getVersion() {
-    return version;
-  }
-
-  public FileContentHandler getContentMap() {
-    return contentMap;
-  }
 
-  public Map<String, List<ErrorMessage>> getErrors() {
-    return errors;
-  }
+    private final String vspId;
+    private final Version version;
+    private final byte[] uploadedFileData;
+    private final HeatStructureTree tree;
+    private final FileContentHandler contentMap;
+    @Setter
+    private Map<String, List<ErrorMessage>> errors = new HashMap<>();
+
+    /**
+     * Instantiates a new Candidate data entity to.
+     *
+     * @param vspId            the vsp id
+     * @param uploadedFileData the uploaded file data
+     * @param tree             the tree
+     * @param contentMap       the content map
+     */
+    public CandidateDataEntityTo(String vspId, Version version, byte[] uploadedFileData,
+                                 HeatStructureTree tree, FileContentHandler contentMap) {
+        this.vspId = vspId;
+        this.version = version;
+        this.uploadedFileData = uploadedFileData;
+        this.tree = tree;
+        this.contentMap = contentMap;
+    }
 
-  public void setErrors(Map<String, List<ErrorMessage>> errors) {
-    this.errors = errors;
-  }
 }
index 3d65260..63067e3 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.candidateheat;
 
-import org.apache.commons.collections4.CollectionUtils;
-
 import java.util.Collection;
 import java.util.HashSet;
 import java.util.Set;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import org.apache.commons.collections4.CollectionUtils;
 
-/**
- * @author Avrahamg
- * @since December 25, 2016
- */
+@Getter
+@NoArgsConstructor
 public class AnalyzedZipHeatFiles {
-  private Set<String> nestedFiles = new HashSet<>();
-  private Set<String> otherNonModuleFiles = new HashSet<>();
-  private Set<String> moduleFiles = new HashSet<>();
-
-  public void addNestedFile(String fileName)
-  {
-    nestedFiles.add(fileName);
-    moduleFiles.remove(fileName);
-  }
 
-  public void addNestedFiles(Collection<String> fileNames)
-  {
-    nestedFiles.addAll(fileNames);
-    moduleFiles.removeAll(fileNames);
-  }
+    private final Set<String> nestedFiles = new HashSet<>();
+    private final Set<String> otherNonModuleFiles = new HashSet<>();
+    private final Set<String> moduleFiles = new HashSet<>();
 
-  public void addOtherNonModuleFile(String fileName)
-  {
-    otherNonModuleFiles.add(fileName);
-    moduleFiles.remove(fileName);
-  }
+    public void addNestedFile(String fileName) {
+        nestedFiles.add(fileName);
+        moduleFiles.remove(fileName);
+    }
 
-  public void addOtherNonModuleFiles(Collection<String> fileNames)
-  {
-    otherNonModuleFiles.addAll(fileNames);
-    moduleFiles.removeAll(fileNames);
-  }
+    public void addNestedFiles(Collection<String> fileNames) {
+        nestedFiles.addAll(fileNames);
+        moduleFiles.removeAll(fileNames);
+    }
 
-  public void addModuleFile(String fileName)
-  {
-    moduleFiles.add(fileName);
-  }
+    public void addOtherNonModuleFile(String fileName) {
+        otherNonModuleFiles.add(fileName);
+        moduleFiles.remove(fileName);
+    }
 
-  public Collection<String> getFilesNotEligbleForModules()
-  {
-    return CollectionUtils.union(this.getNestedFiles(), this.getOtherNonModuleFiles());
-  }
+    public void addOtherNonModuleFiles(Collection<String> fileNames) {
+        otherNonModuleFiles.addAll(fileNames);
+        moduleFiles.removeAll(fileNames);
+    }
 
-  public Set<String> getNestedFiles() {
-    return nestedFiles;
-  }
+    public void addModuleFile(String fileName) {
+        moduleFiles.add(fileName);
+    }
 
-  public Set<String> getOtherNonModuleFiles() {
-    return otherNonModuleFiles;
-  }
+    public Collection<String> getFilesNotEligbleForModules() {
+        return CollectionUtils.union(this.getNestedFiles(), this.getOtherNonModuleFiles());
+    }
 
-  public Set<String> getModuleFiles() {
-    return moduleFiles;
-  }
 }
index f0d5458..22c4534 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
@@ -22,42 +22,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.candidateheat;
 
 import java.util.ArrayList;
 import java.util.List;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class FilesDataStructure {
-  private List<Module> modules = new ArrayList<>();
-  private List<String> unassigned = new ArrayList<>();
-  private List<String> artifacts = new ArrayList<>();
-  private List<String> nested = new ArrayList<>();
 
-  public List<Module> getModules() {
-    return modules;
-  }
+    private List<Module> modules = new ArrayList<>();
+    private List<String> unassigned = new ArrayList<>();
+    private List<String> artifacts = new ArrayList<>();
+    private List<String> nested = new ArrayList<>();
 
-  public void setModules(List<Module> modules) {
-    this.modules = modules;
-  }
-
-  public List<String> getUnassigned() {
-    return unassigned;
-  }
-
-  public void setUnassigned(List<String> unassigned) {
-    this.unassigned = unassigned;
-  }
-
-  public List<String> getArtifacts() {
-    return artifacts;
-  }
-
-  public void setArtifacts(List<String> artifacts) {
-    this.artifacts = artifacts;
-  }
-
-  public List<String> getNested() {
-    return nested;
-  }
-
-  public void setNested(List<String> nested) {
-    this.nested = nested;
-  }
 }
index 45a29f9..d253414 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.candidateheat;
 
-public class Module {
-  private String name;
-  private Boolean isBase;
-  private String yaml;
-  private String env;
-  private String vol;
-  private String volEnv;
-
-  public String getName() {
-    return name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public Boolean getIsBase() {
-    return isBase;
-  }
-
-  public void setIsBase(Boolean isBase) {
-    this.isBase = isBase;
-  }
-
-  public String getYaml() {
-    return yaml;
-  }
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
-  public void setYaml(String yaml) {
-    this.yaml = yaml;
-  }
-
-  public String getEnv() {
-    return env;
-  }
-
-  public void setEnv(String env) {
-    this.env = env;
-  }
-
-  public String getVol() {
-    return vol;
-  }
-
-  public void setVol(String vol) {
-    this.vol = vol;
-  }
-
-  public String getVolEnv() {
-    return volEnv;
-  }
+@Getter
+@Setter
+@NoArgsConstructor
+public class Module {
 
-  public void setVolEnv(String volEnv) {
-    this.volEnv = volEnv;
-  }
+    private String name;
+    private Boolean isBase;
+    private String yaml;
+    private String env;
+    private String vol;
+    private String volEnv;
 
 }
index 1e30144..de15c64 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
 import java.util.List;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class Component {
-  private ComponentData data;
-  private List<Nic> nics;
-  private List<Image> images;
-  private List<ComputeData> compute;
 
-  public ComponentData getData() {
-    return data;
-  }
+    private ComponentData data;
+    private List<Nic> nics;
+    private List<Image> images;
+    private List<ComputeData> compute;
 
-  public void setData(ComponentData data) {
-    this.data = data;
-  }
-
-  public List<Nic> getNics() {
-    return nics;
-  }
-
-  public void setNics(List<Nic> nics) {
-    this.nics = nics;
-  }
-
-  public List<Image> getImages() {
-    return images;
-  }
-
-  public void setImages(List<Image> images) {
-    this.images = images;
-  }
-
-  public List<ComputeData> getCompute() {
-    return compute;
-  }
-
-  public void setCompute(
-      List<ComputeData> compute) {
-    this.compute = compute;
-  }
 }
index d119337..c58a1df 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class ComponentComputeAssociation {
+
     private String componentId;
     private String computeFlavorId;
 
-    public String getComponentId() {
-        return componentId;
-    }
-    public void setComponentId(String componentId) {
-        this.componentId = componentId;
-    }
-    public String getComputeFlavorId() {
-        return computeFlavorId;
-    }
-
-    public void setComputeFlavorId(String computeFlavorId) {
-        this.computeFlavorId = computeFlavorId;
-    }
-
 }
index 2a1e833..8e0d187 100644 (file)
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-import java.util.Objects;
-
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
+@EqualsAndHashCode
 public class ComponentData implements CompositionDataEntity {
-  private String name;
-  private String description;
-  private String displayName;
-
-  public String getName() {
-    return name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public String getDescription() {
-    return description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  public String getDisplayName() {
-    return displayName;
-  }
-
-  public void setDisplayName(String displayName) {
-    this.displayName = displayName;
-  }
-
-  @Override
-  public int hashCode() {
-    int result = name != null ? name.hashCode() : 0;
-    result = 31 * result + (description != null ? description.hashCode() : 0);
-    result = 31 * result + (displayName != null ? displayName.hashCode() : 0);
-    return result;
-  }
-
-  @Override
-  public boolean equals(Object object) {
-    if (this == object) {
-      return true;
-    }
-    if (!(object instanceof ComponentData)) {
-      return false;
-    }
-
-    ComponentData that = (ComponentData) object;
 
-    if (!Objects.equals(name, that.name)) {
-      return false;
-    }
-    if (description != null ? !description.equals(that.description) : that.description != null) {
-      return false;
-    }
-    return displayName != null ? displayName.equals(that.displayName) : that.displayName == null;
+    private String name;
+    private String description;
+    private String displayName;
 
-  }
 }
index 30e11cd..7809cf5 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
 import java.util.List;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class CompositionData {
-  private List<Network> networks;
-  private List<Component> components;
 
-  public List<Network> getNetworks() {
-    return networks;
-  }
+    private List<Network> networks;
+    private List<Component> components;
 
-  public void setNetworks(List<Network> networks) {
-    this.networks = networks;
-  }
-
-  public List<Component> getComponents() {
-    return components;
-  }
-
-  public void setComponents(List<Component> components) {
-    this.components = components;
-  }
 }
index 98fde5b..c361179 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-import com.google.common.annotations.VisibleForTesting;
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.RequiredArgsConstructor;
 
+@Getter
+@EqualsAndHashCode
+@RequiredArgsConstructor
 public class CompositionEntityId {
-  private String id;
-  private CompositionEntityId parentId;
 
-  @VisibleForTesting
-  CompositionEntityId() {}
+    private final String id;
+    private final CompositionEntityId parentId;
 
-  public CompositionEntityId(String id, CompositionEntityId parentId) {
-    this.id = id;
-    this.parentId = parentId;
-  }
-
-  public String getId() {
-    return id;
-  }
-
-  public CompositionEntityId getParentId() {
-    return parentId;
-  }
-
-  @Override
-  public int hashCode() {
-    int result = id != null ? id.hashCode() : 0;
-    result = 31 * result + (parentId != null ? parentId.hashCode() : 0);
-    return result;
-  }
-
-  @Override
-  public boolean equals(Object object) {
-    if (this == object) {
-      return true;
-    }
-    if (object == null || getClass() != object.getClass()) {
-      return false;
+    @Override
+    public String toString() {
+        return parentId == null
+            ? id
+            : parentId + "/" + id;
     }
 
-    CompositionEntityId that = (CompositionEntityId) object;
-
-    if (id != null ? !id.equals(that.id) : that.id != null) {
-      return false;
-    }
-    return parentId != null ? parentId.equals(that.parentId) : that.parentId == null;
-
-  }
-
-  @Override
-  public String toString() {
-    return parentId == null
-        ? id
-        : parentId.toString() + "/" + id;
-  }
 }
index 95514d6..8bb0881 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-import com.google.common.annotations.VisibleForTesting;
-
 import java.util.ArrayList;
 import java.util.Collection;
-
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
+@EqualsAndHashCode
 public class CompositionEntityValidationData {
-  private CompositionEntityType entityType;
-  private String entityId;
-  private String entityName;
-  private Collection<String> errors;
-  private Collection<CompositionEntityValidationData> subEntitiesValidationData;
-
-  @VisibleForTesting
-  CompositionEntityValidationData() {}
-
-  public CompositionEntityValidationData(CompositionEntityType entityType, String entityId) {
-    this.entityType = entityType;
-    this.entityId = entityId;
-  }
-
-  public String getEntityName() {
-    return entityName;
-  }
-
-  public void setEntityName(String entityName) {
-    this.entityName = entityName;
-  }
-
-  public CompositionEntityType getEntityType() {
-    return entityType;
-  }
-
-  public void setEntityType(CompositionEntityType entityType) {
-    this.entityType = entityType;
-  }
-
-  public String getEntityId() {
-    return entityId;
-  }
-
-  public void setEntityId(String entityId) {
-    this.entityId = entityId;
-  }
-
-  public Collection<String> getErrors() {
-    return errors;
-  }
 
-  public void setErrors(Collection<String> errors) {
-    this.errors = errors;
-  }
+    private CompositionEntityType entityType;
+    private String entityId;
+    private String entityName;
+    private Collection<String> errors;
+    private Collection<CompositionEntityValidationData> subEntitiesValidationData;
 
-  public Collection<CompositionEntityValidationData> getSubEntitiesValidationData() {
-    return subEntitiesValidationData;
-  }
-
-  public void setSubEntitiesValidationData(Collection<CompositionEntityValidationData> toSet) {
-    this.subEntitiesValidationData = toSet;
-  }
-
-  /**
-   * Add sub entity validation data.
-   *
-   * @param subEntityValidationData the sub entity validation data
-   */
-  public void addSubEntityValidationData(CompositionEntityValidationData subEntityValidationData) {
-    if (subEntitiesValidationData == null) {
-      subEntitiesValidationData = new ArrayList<>();
-    }
-    subEntitiesValidationData.add(subEntityValidationData);
-  }
-
-  @Override
-  public boolean equals(Object o) {
-    if (this == o) {
-      return true;
-    }
-    if (o == null || getClass() != o.getClass()) {
-      return false;
+    public CompositionEntityValidationData(CompositionEntityType entityType, String entityId) {
+        this.entityType = entityType;
+        this.entityId = entityId;
     }
 
-    CompositionEntityValidationData that = (CompositionEntityValidationData) o;
-
-    if (entityType != that.entityType) {
-      return false;
+    /**
+     * Add sub entity validation data.
+     *
+     * @param subEntityValidationData the sub entity validation data
+     */
+    public void addSubEntityValidationData(CompositionEntityValidationData subEntityValidationData) {
+        if (subEntitiesValidationData == null) {
+            subEntitiesValidationData = new ArrayList<>();
+        }
+        subEntitiesValidationData.add(subEntityValidationData);
     }
-    if (entityId != null ? !entityId.equals(that.entityId) : that.entityId != null) {
-      return false;
-    }
-    if (entityName != null ? !entityName.equals(that.entityName) : that.entityName != null) {
-      return false;
-    }
-    if (errors != null ? !errors.equals(that.errors) : that.errors != null) {
-      return false;
-    }
-    if (subEntitiesValidationData != null ? !subEntitiesValidationData
-        .equals(that.subEntitiesValidationData) : that.subEntitiesValidationData != null) {
-      return false;
-    }
-
-    return true;
-  }
 
-  @Override
-  public int hashCode() {
-    int result = entityType != null ? entityType.hashCode() : 0;
-    result = 31 * result + (entityId != null ? entityId.hashCode() : 0);
-    result = 31 * result + (entityName != null ? entityName.hashCode() : 0);
-    result = 31 * result + (errors != null ? errors.hashCode() : 0);
-    result =
-        31 * result +
-            (subEntitiesValidationData != null ? subEntitiesValidationData.hashCode() : 0);
-    return result;
-  }
 }
index ec66d0e..bff5df6 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-import java.util.Objects;
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
+@EqualsAndHashCode
 public class ComputeData implements CompositionDataEntity {
-  private String name;
-  private String description;
 
-  public ComputeData(){}
+    private String name;
+    private String description;
 
-  public ComputeData(String name) {
-    this.name = name;
-  }
-
-  public String getName() {
-    return name;
-  }
-
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public String getDescription() {
-    return description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  @Override
-  public int hashCode() {
-    int result = name != null ? name.hashCode() : 0;
-    result = 31 * result + (description != null ? description.hashCode() : 0);
-    return result;
-  }
-
-  @Override
-  public boolean equals(Object object) {
-    if (this == object) {
-      return true;
-    }
-    if (!(object instanceof ComputeData)) {
-      return false;
+    public ComputeData(String name) {
+        this.name = name;
     }
 
-    ComputeData that = (ComputeData) object;
-
-    if (!Objects.equals(name, that.name)) {
-      return false;
-    }
-    return description != null ? description.equals(that.description): that.description == null;
-  }
 }
index e5fc6fe..6357799 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
@@ -22,43 +22,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
 
 import java.util.List;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class DeploymentFlavor implements CompositionDataEntity {
+
     private String model;
     private String description;
     private String featureGroupId;
     private List<ComponentComputeAssociation> componentComputeAssociations;
 
-    public String getModel() {
-        return model;
-    }
-
-    public void setModel(String model) {
-        this.model = model;
-    }
-
-    public String getDescription() {
-        return description;
-    }
-
-    public void setDescription(String description) {
-        this.description = description;
-    }
-
-    public String getFeatureGroupId() {
-        return featureGroupId;
-    }
-
-    public void setFeatureGroupId(String featureGroupId) {
-        this.featureGroupId = featureGroupId;
-    }
-
-    public List<ComponentComputeAssociation> getComponentComputeAssociations() {
-        return componentComputeAssociations;
-    }
-
-    public void setComponentComputeAssociations(List<ComponentComputeAssociation> componentComputeAssociations) {
-        this.componentComputeAssociations = componentComputeAssociations;
-    }
-
 }
index 46b0c84..ef202d0 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-import java.util.*;
-
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+
+@Getter
+@NoArgsConstructor
 public class ExtractCompositionDataContext {
-  private List<Network> networks = new ArrayList<>();
-  private List<Component> components = new ArrayList<>();
-  private Map<String, Nic> nics = new HashMap<>();
-  private Map<String, Image> images = new HashMap<>();
-  private Map<String, ComputeData> computes = new HashMap<>();
-  private Set<String> handledServiceTemplates = new HashSet<>();
-  private Set<String> createdComponents = new HashSet<>();
-
-  public Set<String> getCreatedComponents() {
-    return createdComponents;
-  }
-
-  public void setCreatedComponents(Set<String> createdComponents) {
-    this.createdComponents = createdComponents;
-  }
-
-  public Set<String> getHandledServiceTemplates() {
-    return handledServiceTemplates;
-  }
-
-  public void setHandledServiceTemplates(Set<String> handledServiceTemplates) {
-    this.handledServiceTemplates = handledServiceTemplates;
-  }
 
-  public void addHandledServiceTemplates(String handledServiceTemplate) {
-    this.handledServiceTemplates.add(handledServiceTemplate);
-  }
+    private List<Network> networks = new ArrayList<>();
+    private List<Component> components = new ArrayList<>();
+    private Map<String, Nic> nics = new HashMap<>();
+    private Map<String, Image> images = new HashMap<>();
+    private Map<String, ComputeData> computes = new HashMap<>();
+    private Set<String> handledServiceTemplates = new HashSet<>();
+    private Set<String> createdComponents = new HashSet<>();
 
-  public List<Network> getNetworks() {
-    return networks;
-  }
-
-  public void setNetworks(List<Network> networks) {
-    this.networks = networks;
-  }
-
-  /**
-   * Add network.
-   *
-   * @param network the network
-   */
-  public void addNetwork(Network network) {
-    if (network != null) {
-      networks.add(network);
+    public void addHandledServiceTemplates(String handledServiceTemplate) {
+        this.handledServiceTemplates.add(handledServiceTemplate);
     }
-  }
 
-  /**
-   * Add networks.
-   *
-   * @param network the network
-   */
-  public void addNetworks(List<Network> network) {
-    if (networks != null) {
-      networks.addAll(network);
+    /**
+     * Add network.
+     *
+     * @param network the network
+     */
+    public void addNetwork(Network network) {
+        if (network != null) {
+            networks.add(network);
+        }
     }
-  }
-
-  public List<Component> getComponents() {
-    return components;
-  }
 
-  public void setComponents(List<Component> components) {
-    this.components = components;
-  }
-
-  /**
-   * Add component.
-   *
-   * @param component the component
-   */
-  public void addComponent(Component component) {
-    if (component != null) {
-      components.add(component);
+    /**
+     * Add networks.
+     *
+     * @param network the network
+     */
+    public void addNetworks(List<Network> network) {
+        if (networks != null) {
+            networks.addAll(network);
+        }
     }
-  }
 
-  /**
-   * Add components.
-   *
-   * @param components the components
-   */
-  public void addComponents(List<Component> components) {
-    if (components != null) {
-      this.components.addAll(components);
+    /**
+     * Add component.
+     *
+     * @param component the component
+     */
+    public void addComponent(Component component) {
+        if (component != null) {
+            components.add(component);
+        }
     }
-  }
-
-  public Map<String, Nic> getNics() {
-    return nics;
-  }
-
-  public void setNics(Map<String, Nic> nics) {
-    this.nics = nics;
-  }
-
-  public void addNic(String nicId, Nic nic) {
-    this.nics.put(nicId, nic);
-  }
-
-  public Map<String, Image> getImages() {
-    return images;
-  }
-
-  public void setImages(Map<String, Image> images) {
-    this.images = images;
-  }
-
-  public void addImage(String imageId, Image image) {
-    this.images.put(imageId, image);
-  }
 
+    /**
+     * Add components.
+     *
+     * @param components the components
+     */
+    public void addComponents(List<Component> components) {
+        if (components != null) {
+            this.components.addAll(components);
+        }
+    }
 
-  public Map<String, ComputeData> getComputes() {
-    return computes;
-  }
+    public void addNic(String nicId, Nic nic) {
+        this.nics.put(nicId, nic);
+    }
 
-  public void setComputes(
-      Map<String, ComputeData> computes) {
-    this.computes = computes;
-  }
+    public void addImage(String imageId, Image image) {
+        this.images.put(imageId, image);
+    }
 
-  public void addCompute(String computeId, ComputeData computedata ){
-    this.computes.put(computeId,computedata);
-  }
+    public void addCompute(String computeId, ComputeData computedata) {
+        this.computes.put(computeId, computedata);
+    }
 }
index 942eaa5..2c62472 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class Image implements CompositionDataEntity {
 
-  private String fileName;
-  private String description;
-  /*private String version;
-  private String format;
-  private String md5;
-  //private String providedBy;*/
+    private String fileName;
+    private String description;
 
-  public Image(){
-  }
-
-  public Image(String fileName){
-    this.fileName=fileName;
-  }
-
-  public String getDescription() {
-    return description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  /*public String getMd5() {
-    return md5;
-  }
-
-  public void setMd5(String md5) {
-    this.md5 = md5;
-  }
-
-  public String getFormat() {
-    return format;
-  }
-
-  public void setFormat(String format) {
-    this.format = format;
-  }
-
-  public String getVersion() {
-    return version;
-  }
-
-  public void setVersion(String version) {
-    this.version = version;
-  }*/
-
-  public String getFileName() {
-    return fileName;
-  }
-
-  public void setFileName(String fileName) {
-    this.fileName = fileName;
-  }
-
-  /*public String getProvidedBy() {
-    return providedBy;
-  }
-
-  public void setProvidedBy(String providedBy) {
-    this.providedBy = providedBy;
-  }*/
+    public Image(String fileName) {
+        this.fileName = fileName;
+    }
 
 }
index cef5c4a..191a454 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-public class ImageData implements CompositionDataEntity {
-
-  private String fileName;
-  private String description;
-
-  public ImageData(){
-
-  }
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
-  public ImageData(String fileName, String description) {
-    this.fileName = fileName;
-    this.description = description;
-  }
-
-  public String getFileName() {
-    return fileName;
-  }
-
-  public void setFileName(String fileName) {
-    this.fileName = fileName;
-  }
+@Getter
+@Setter
+@NoArgsConstructor
+@AllArgsConstructor
+public class ImageData implements CompositionDataEntity {
 
-  public String getDescription() {
-    return description;
-  }
+    private String fileName;
+    private String description;
 
-  public void setDescription(String description) {
-    this.description = description;
-  }
 }
index b0a2e85..cc5a5af 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
-import java.util.Objects;
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
+@EqualsAndHashCode
 public class Network implements CompositionDataEntity {
-  private String name;
-  private boolean dhcp;
 
-  public String getName() {
-    return name;
-  }
+    private String name;
+    private boolean dhcp;
 
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public boolean isDhcp() {
-    return dhcp;
-  }
-
-  public void setDhcp(boolean dhcp) {
-    this.dhcp = dhcp;
-  }
-
-  @Override
-  public int hashCode() {
-    int result = name != null ? name.hashCode() : 0;
-    result = 31 * result + (dhcp ? 1 : 0);
-    return result;
-  }
-
-  @Override
-  public boolean equals(Object object) {
-    if (this == object) {
-      return true;
-    }
-    if (object == null || getClass() != object.getClass()) {
-      return false;
-    }
-
-    Network network = (Network) object;
-
-    if (!Objects.equals(dhcp, network.dhcp)) {
-      return false;
-    }
-    return name != null ? name.equals(network.name) : network.name == null;
-
-  }
 }
index f7c3911..cc23d24 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.composition;
 
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
+@EqualsAndHashCode
 public class Nic implements CompositionDataEntity {
-  private String name;
-  private String description;
-  private String networkId;
-  private String networkName;
-  private NetworkType networkType;
-  private String networkDescription;
 
-  public String getName() {
-    return name;
-  }
+    private String name;
+    private String description;
+    private String networkId;
+    private String networkName;
+    private NetworkType networkType;
+    private String networkDescription;
 
-  public void setName(String name) {
-    this.name = name;
-  }
-
-  public String getDescription() {
-    return description;
-  }
-
-  public void setDescription(String description) {
-    this.description = description;
-  }
-
-  public String getNetworkId() {
-    return networkId;
-  }
-
-  public void setNetworkId(String networkId) {
-    this.networkId = networkId;
-  }
-
-  public String getNetworkName() {
-    return networkName;
-  }
-
-  public void setNetworkName(String networkName) {
-    this.networkName = networkName;
-  }
-
-  public NetworkType getNetworkType() {
-    return networkType;
-  }
-
-  public void setNetworkType(NetworkType networkType) {
-    this.networkType = networkType;
-  }
-
-  public String getNetworkDescription(){
-    return networkDescription;
-  }
-
-  public void setNetworkDescription(String networkDescription){
-    this.networkDescription=networkDescription;
-  }
-
-  @Override
-  public int hashCode() {
-    int result = name != null ? name.hashCode() : 0;
-    result = 31 * result + (description != null ? description.hashCode() : 0);
-    result = 31 * result + (networkId != null ? networkId.hashCode() : 0);
-    result = 31 * result + (networkType != null ? networkType.hashCode() : 0);
-    result = 31 * result + (networkDescription != null ? networkDescription.hashCode() : 0);
-    return result;
-  }
-
-  @Override
-  public boolean equals(Object object) {
-    if (this == object) {
-      return true;
-    }
-    if (object == null || getClass() != object.getClass()) {
-      return false;
-    }
-
-    Nic nic = (Nic) object;
-
-    if (name != null ? !name.equals(nic.name) : nic.name != null) {
-      return false;
-    }
-    if (description != null ? !description.equals(nic.description) : nic.description != null) {
-      return false;
-    }
-    if (networkId != null ? !networkId.equals(nic.networkId) : nic.networkId != null) {
-      return false;
-    }
-    if (networkType != null ? !networkType.equals(nic.networkType) : nic.networkType != null) {
-      return false;
-    }
-    if (networkDescription != null ? !networkDescription.equals(nic.networkDescription) : nic.networkDescription != null) {
-      return false;
-    }
-    return networkType == nic.networkType;
-
-  }
 }
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/VmSizing.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/composition/VmSizing.java
deleted file mode 100644 (file)
index 44bf1fe..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * 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.openecomp.sdc.vendorsoftwareproduct.types.composition;
-
-public class VmSizing {
-  private int numOfCPUs;
-  private int fileSystemSizeGB;
-  private int persistentStorageVolumeSize;
-  private int ioOperationsPerSec;
-  private String cpuOverSubscriptionRatio;
-  private String memoryRAM;
-
-  public int getNumOfCPUs() {
-    return numOfCPUs;
-  }
-
-  public void setNumOfCPUs(int numOfCPUs) {
-    this.numOfCPUs = numOfCPUs;
-  }
-
-  public int getFileSystemSizeGB() {
-    return fileSystemSizeGB;
-  }
-
-  public void setFileSystemSizeGB(int fileSystemSizeGB) {
-    this.fileSystemSizeGB = fileSystemSizeGB;
-  }
-
-  public int getPersistentStorageVolumeSize() {
-    return persistentStorageVolumeSize;
-  }
-
-  public void setPersistentStorageVolumeSize(int persistentStorageVolumeSize) {
-    this.persistentStorageVolumeSize = persistentStorageVolumeSize;
-  }
-
-  public int getIoOperationsPerSec() {
-    return ioOperationsPerSec;
-  }
-
-  public void setIoOperationsPerSec(int ioOperationsPerSec) {
-    this.ioOperationsPerSec = ioOperationsPerSec;
-  }
-
-  public String getCpuOverSubscriptionRatio() {
-    return cpuOverSubscriptionRatio;
-  }
-
-  public void setCpuOverSubscriptionRatio(String cpuOverSubscriptionRatio) {
-    this.cpuOverSubscriptionRatio = cpuOverSubscriptionRatio;
-  }
-
-  public String getMemoryRAM() {
-    return memoryRAM;
-  }
-
-  public void setMemoryRAM(String memoryRAM) {
-    this.memoryRAM = memoryRAM;
-  }
-}
index e451292..6699671 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component;
 
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute.Compute;
 import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general.General;
 import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.highAvailability.HighAvailabilityAndLoadBalancing;
 import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network.Network;
 import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage.Storage;
 
-/**
- * Created by TALIO on 11/21/2016
- */
+@Getter
+@Setter
+@NoArgsConstructor
 public class ComponentQuestionnaire {
+
     private General general;
     private Compute compute;
     private HighAvailabilityAndLoadBalancing highAvailabilityAndLoadBalancing;
     private Network network;
     private Storage storage;
 
-    public General getGeneral() {
-        return general;
-    }
-
-    public void setGeneral(General general) {
-        this.general = general;
-    }
-
-    public Compute getCompute() {
-        return compute;
-    }
-
-    public void setCompute(Compute compute) {
-        this.compute = compute;
-    }
-
-    public HighAvailabilityAndLoadBalancing getHighAvailabilityAndLoadBalancing() {
-        return highAvailabilityAndLoadBalancing;
-    }
-
-    public void setHighAvailabilityAndLoadBalancing(HighAvailabilityAndLoadBalancing highAvailabilityAndLoadBalancing) {
-        this.highAvailabilityAndLoadBalancing = highAvailabilityAndLoadBalancing;
-    }
-
-    public Network getNetwork() {
-        return network;
-    }
-
-    public void setNetwork(Network network) {
-        this.network = network;
-    }
-
-    public Storage getStorage() {
-        return storage;
-    }
-
-    public void setStorage(Storage storage) {
-        this.storage = storage;
-    }
 }
index 9295288..dd5fb90 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Compute {
+
     private GuestOS guestOS;
     private NumOfVMs numOfVMs;
     private VmSizing vmSizing;
 
-    public GuestOS getGuestOS() {
-        return guestOS;
-    }
-
-    public void setGuestOS(GuestOS guestOS) {
-        this.guestOS = guestOS;
-    }
-
-    public NumOfVMs getNumOfVMs() {
-        return numOfVMs;
-    }
-
-    public void setNumOfVMs(NumOfVMs numOfVMs) {
-        this.numOfVMs = numOfVMs;
-    }
-
-    public VmSizing getVmSizing() {
-        return vmSizing;
-    }
-
-    public void setVmSizing(VmSizing vmSizing) {
-        this.vmSizing = vmSizing;
-    }
 }
index 489557c..54de06b 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class GuestOS {
+
     private String name;
     private String tools;
     private Number bitSize;
 
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getTools() {
-        return tools;
-    }
-
-    public void setTools(String tools) {
-        this.tools = tools;
-    }
-
-    public Number getBitSize() {
-        return bitSize;
-    }
-
-    public void setBitSize(Number bitSize) {
-        this.bitSize = bitSize;
-    }
 }
index 3b0b8db..f135ba7 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class NumOfVMs {
+
     private int minimum;
     private int maximum;
     private String CpuOverSubscriptionRatio;
     private String MemoryRAM;
 
-    public int getMinimum() {
-        return minimum;
-    }
-
-    public void setMinimum(int minimum) {
-        this.minimum = minimum;
-    }
-
-    public int getMaximum() {
-        return maximum;
-    }
-
-    public void setMaximum(int maximum) {
-        this.maximum = maximum;
-    }
-
-    public String getCpuOverSubscriptionRatio() {
-        return CpuOverSubscriptionRatio;
-    }
-
-    public void setCpuOverSubscriptionRatio(String cpuOverSubscriptionRatio) {
-        CpuOverSubscriptionRatio = cpuOverSubscriptionRatio;
-    }
-
-    public String getMemoryRAM() {
-        return MemoryRAM;
-    }
 
-    public void setMemoryRAM(String memoryRAM) {
-        MemoryRAM = memoryRAM;
-    }
 }
index a6a8b40..0f72d03 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.compute;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class VmSizing {
+
     private int numOfCPUs;
     private String fileSystemSizeGB;
     private Number persistentStorageVolumeSize;
@@ -28,51 +36,4 @@ public class VmSizing {
     private String cpuOverSubscriptionRatio;
     private String memoryRAM;
 
-    public int getNumOfCPUs() {
-        return numOfCPUs;
-    }
-
-    public void setNumOfCPUs(int numOfCPUs) {
-        this.numOfCPUs = numOfCPUs;
-    }
-
-    public String getFileSystemSizeGB() {
-        return fileSystemSizeGB;
-    }
-
-    public void setFileSystemSizeGB(String fileSystemSizeGB) {
-        this.fileSystemSizeGB = fileSystemSizeGB;
-    }
-
-    public Number getPersistentStorageVolumeSize() {
-        return persistentStorageVolumeSize;
-    }
-
-    public void setPersistentStorageVolumeSize(Number persistentStorageVolumeSize) {
-        this.persistentStorageVolumeSize = persistentStorageVolumeSize;
-    }
-
-    public Number getIOOperationsPerSec() {
-        return IOOperationsPerSec;
-    }
-
-    public void setIOOperationsPerSec(Number IOOperationsPerSec) {
-        this.IOOperationsPerSec = IOOperationsPerSec;
-    }
-
-    public String getCpuOverSubscriptionRatio() {
-        return cpuOverSubscriptionRatio;
-    }
-
-    public void setCpuOverSubscriptionRatio(String cpuOverSubscriptionRatio) {
-        this.cpuOverSubscriptionRatio = cpuOverSubscriptionRatio;
-    }
-
-    public String getMemoryRAM() {
-        return memoryRAM;
-    }
-
-    public void setMemoryRAM(String memoryRAM) {
-        this.memoryRAM = memoryRAM;
-    }
 }
index 0129fe0..328715b 100644 (file)
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class General {
+
     private Hypervisor hypervisor;
     private Image image;
     protected Recovery recovery;
@@ -28,59 +33,4 @@ public class General {
     private String nfcNamingCode;
     private String nfcFunction;
 
-    public Hypervisor getHypervisor() {
-        return hypervisor;
-    }
-
-    public void setHypervisor(Hypervisor hypervisor) {
-        this.hypervisor = hypervisor;
-    }
-
-    public Image getImage() {
-        return image;
-    }
-
-    public void setImage(Image image) {
-        this.image = image;
-    }
-
-    public Recovery getRecovery() {
-        return recovery;
-    }
-
-    public void setRecovery(Recovery recovery) {
-        this.recovery = recovery;
-    }
-
-    public String getDnsConfiguration() {
-        return dnsConfiguration;
-    }
-
-    public void setDnsConfiguration(String dnsConfiguration) {
-        this.dnsConfiguration = dnsConfiguration;
-    }
-
-    public String getVmCloneUsage() {
-        return vmCloneUsage;
-    }
-
-    public void setVmCloneUsage(String vmCloneUsage) {
-        this.vmCloneUsage = vmCloneUsage;
-    }
-
-    public String getNfcNamingCode() {
-        return nfcNamingCode;
-    }
-
-    public void setNfcNamingCode(String nfcNamingCode) {
-        this.nfcNamingCode = nfcNamingCode;
-    }
-
-    public String getNfcFunction() {
-        return nfcFunction;
-    }
-
-    public void setNfcFunction(String nfcFunction) {
-        this.nfcFunction = nfcFunction;
-    }
 }
index 930a3ce..d2ef045 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Hypervisor {
+
     private String hypervisor;
     private String drivers;
     private String containerFeaturesDescription;
 
-    public String getHypervisor() {
-        return hypervisor;
-    }
-
-    public void setHypervisor(String hypervisor) {
-        this.hypervisor = hypervisor;
-    }
-
-    public String getDrivers() {
-        return drivers;
-    }
-
-    public void setDrivers(String drivers) {
-        this.drivers = drivers;
-    }
-
-    public String getContainerFeaturesDescription() {
-        return containerFeaturesDescription;
-    }
-
-    public void setContainerFeaturesDescription(String containerFeaturesDescription) {
-        this.containerFeaturesDescription = containerFeaturesDescription;
-    }
 }
index e87c0fd..e00d022 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Image {
+
     private String format;
     private String providedBy;
     private Number bootDiskSizePerVM;
     private Number ephemeralDiskSizePerVM;
 
-    public String getFormat() {
-        return format;
-    }
-
-    public void setFormat(String format) {
-        this.format = format;
-    }
-
-    public String getProvidedBy() {
-        return providedBy;
-    }
-
-    public void setProvidedBy(String providedBy) {
-        this.providedBy = providedBy;
-    }
-
-    public Number getBootDiskSizePerVM() {
-        return bootDiskSizePerVM;
-    }
-
-    public void setBootDiskSizePerVM(Number bootDiskSizePerVM) {
-        this.bootDiskSizePerVM = bootDiskSizePerVM;
-    }
-
-    public Number getEphemeralDiskSizePerVM() {
-        return ephemeralDiskSizePerVM;
-    }
-
-    public void setEphemeralDiskSizePerVM(Number ephemeralDiskSizePerVM) {
-        this.ephemeralDiskSizePerVM = ephemeralDiskSizePerVM;
-    }
 }
index f1f8017..255e9f9 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Recovery {
+
     private Number pointObjective;
     private Number timeObjective;
     private String vmProcessFailuresHandling;
 
-    public Number getPointObjective() {
-        return pointObjective;
-    }
-
-    public void setPointObjective(Number pointObjective) {
-        this.pointObjective = pointObjective;
-    }
-
-    public Number getTimeObjective() {
-        return timeObjective;
-    }
-
-    public void setTimeObjective(Number timeObjective) {
-        this.timeObjective = timeObjective;
-    }
-
-    public String getVmProcessFailuresHandling() {
-        return vmProcessFailuresHandling;
-    }
-
-    public void setVmProcessFailuresHandling(String vmProcessFailuresHandling) {
-        this.vmProcessFailuresHandling = vmProcessFailuresHandling;
-    }
 }
index b596588..75c4e31 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.highAvailability;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class HighAvailabilityAndLoadBalancing {
+
     private String failureLoadDistribution;
     private String nkModelImplementation;
     private String architectureChoice;
@@ -33,68 +38,4 @@ public class HighAvailabilityAndLoadBalancing {
     private String isComponentMandatory;
     private String highAvailabilityMode;
 
-    public String getFailureLoadDistribution() {
-        return failureLoadDistribution;
-    }
-
-    public void setFailureLoadDistribution(String failureLoadDistribution) {
-        this.failureLoadDistribution = failureLoadDistribution;
-    }
-
-    public String getNkModelImplementation() {
-        return nkModelImplementation;
-    }
-
-    public void setNkModelImplementation(String nkModelImplementation) {
-        this.nkModelImplementation = nkModelImplementation;
-    }
-
-    public String getArchitectureChoice() {
-        return architectureChoice;
-    }
-
-    public void setArchitectureChoice(String architectureChoice) {
-        this.architectureChoice = architectureChoice;
-    }
-
-    public String getSlaRequirements() {
-        return slaRequirements;
-    }
-
-    public void setSlaRequirements(String slaRequirements) {
-        this.slaRequirements = slaRequirements;
-    }
-
-    public String getHorizontalScaling() {
-        return horizontalScaling;
-    }
-
-    public void setHorizontalScaling(String horizontalScaling) {
-        this.horizontalScaling = horizontalScaling;
-    }
-
-    public String getLoadDistributionMechanism() {
-        return loadDistributionMechanism;
-    }
-
-    public void setLoadDistributionMechanism(String loadDistributionMechanism) {
-        this.loadDistributionMechanism = loadDistributionMechanism;
-    }
-
-    public String getIsComponentMandatory() {
-        return isComponentMandatory;
-    }
-
-    public void setIsComponentMandatory(String isComponentMandatory) {
-        this.isComponentMandatory = isComponentMandatory;
-    }
-
-    public String getHighAvailabilityMode() {
-        return highAvailabilityMode;
-    }
-
-    public void setHighAvailabilityMode(String highAvailabilityMode) {
-        this.highAvailabilityMode = highAvailabilityMode;
-    }
-
 }
index af123be..9d136a1 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.image;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class ImageDetails {
 
-  private String version;
-  private String format;
-  private String md5;
+    private String version;
+    private String format;
+    private String md5;
 
-  public String getMd5() {
-    return md5;
-  }
-
-  public void setMd5(String md5) {
-    this.md5 = md5;
-  }
-
-  public String getFormat() {
-    return format;
-  }
-
-  public void setFormat(String format) {
-    this.format = format;
-  }
-
-  public String getVersion() {
-    return version;
-  }
-
-  public void setVersion(String version) {
-    this.version = version;
-  }
 }
index 3e631c7..197df1c 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Network {
-    private NetworkCapacity networkCapacity;
 
-    public NetworkCapacity getNetworkCapacity() {
-        return networkCapacity;
-    }
+    private NetworkCapacity networkCapacity;
 
-    public void setNetworkCapacity(NetworkCapacity networkCapacity) {
-        this.networkCapacity = networkCapacity;
-    }
 }
index cd1e6e6..8976d82 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class NetworkCapacity {
+
     private String protocolWithHighestTrafficProfileAcrossAllNICs;
     private int networkTransactionsPerSecond;
 
-    public String getProtocolWithHighestTrafficProfileAcrossAllNICs() {
-        return protocolWithHighestTrafficProfileAcrossAllNICs;
-    }
-
-    public void setProtocolWithHighestTrafficProfileAcrossAllNICs(String protocolWithHighestTrafficProfileAcrossAllNICs) {
-        this.protocolWithHighestTrafficProfileAcrossAllNICs = protocolWithHighestTrafficProfileAcrossAllNICs;
-    }
-
-    public int getNetworkTransactionsPerSecond() {
-        return networkTransactionsPerSecond;
-    }
-
-    public void setNetworkTransactionsPerSecond(int networkTransactionsPerSecond) {
-        this.networkTransactionsPerSecond = networkTransactionsPerSecond;
-    }
 }
index 2357ddf..01b6f7f 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Backup {
+
     private String backupType;
     private String backupSolution;
     private String backupNIC;
     private Number backupStorageSize;
 
-    public String getBackupType() {
-        return backupType;
-    }
-
-    public void setBackupType(String backupType) {
-        this.backupType = backupType;
-    }
-
-    public String getBackupSolution() {
-        return backupSolution;
-    }
-
-    public void setBackupSolution(String backupSolution) {
-        this.backupSolution = backupSolution;
-    }
-
-    public String getBackupNIC() {
-        return backupNIC;
-    }
-
-    public void setBackupNIC(String backupNIC) {
-        this.backupNIC = backupNIC;
-    }
-
-    public Number getBackupStorageSize() {
-        return backupStorageSize;
-    }
-
-    public void setBackupStorageSize(Number backupStorageSize) {
-        this.backupStorageSize = backupStorageSize;
-    }
 }
index 1b6453a..ff46e6f 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class LogBackup {
+
     private Number sizeOfLogFiles;
     private Number logBackupFrequency;
     private int logRetentionPeriod;
     private String logFileLocation;
 
-    public Number getSizeOfLogFiles() {
-        return sizeOfLogFiles;
-    }
-
-    public void setSizeOfLogFiles(Number sizeOfLogFiles) {
-        this.sizeOfLogFiles = sizeOfLogFiles;
-    }
-
-    public Number getLogBackupFrequency() {
-        return logBackupFrequency;
-    }
-
-    public void setLogBackupFrequency(Number logBackupFrequency) {
-        this.logBackupFrequency = logBackupFrequency;
-    }
-
-    public int getLogRetentionPeriod() {
-        return logRetentionPeriod;
-    }
-
-    public void setLogRetentionPeriod(int logRetentionPeriod) {
-        this.logRetentionPeriod = logRetentionPeriod;
-    }
-
-    public String getLogFileLocation() {
-        return logFileLocation;
-    }
-
-    public void setLogFileLocation(String logFileLocation) {
-        this.logFileLocation = logFileLocation;
-    }
 }
index 6d61c57..4266ffb 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class SnapshotBackup {
-    private int snapshotFrequency;
 
-    public int getSnapshotFrequency() {
-        return snapshotFrequency;
-    }
+    private int snapshotFrequency;
 
-    public void setSnapshotFrequency(int snapshotFrequency) {
-        this.snapshotFrequency = snapshotFrequency;
-    }
 }
index 36d3496..b41536b 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.storage;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Storage {
+
     private Backup backup;
     private LogBackup logBackup;
-    private  SnapshotBackup snapshotBackup;
-
-    public Backup getBackup() {
-        return backup;
-    }
-
-    public void setBackup(Backup backup) {
-        this.backup = backup;
-    }
-
-    public LogBackup getLogBackup() {
-        return logBackup;
-    }
-
-    public void setLogBackup(LogBackup logBackup) {
-        this.logBackup = logBackup;
-    }
-
-    public SnapshotBackup getSnapshotBackup() {
-        return snapshotBackup;
-    }
+    private SnapshotBackup snapshotBackup;
 
-    public void setSnapshotBackup(SnapshotBackup snapshotBackup) {
-        this.snapshotBackup = snapshotBackup;
-    }
 }
index e81822e..0a6b993 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class AcceptableJitter {
+
     private int mean;
     private int max;
     private int variable;
 
-    public int getMean() {
-        return mean;
-    }
-
-    public void setMean(int mean) {
-        this.mean = mean;
-    }
-
-    public int getMax() {
-        return max;
-    }
-
-    public void setMax(int max) {
-        this.max = max;
-    }
-
-    public int getVariable() {
-        return variable;
-    }
-
-    public void setVariable(int variable) {
-        this.variable = variable;
-    }
 }
index 06359eb..355fafb 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class IpConfiguration {
+
     private boolean ipv4Required;
     private boolean ipv6Required;
 
-    public boolean isIpv4Required() {
-        return ipv4Required;
-    }
-
-    public void setIpv4Required(boolean ipv4Required) {
-        this.ipv4Required = ipv4Required;
-    }
-
-    public boolean isIpv6Required() {
-        return ipv6Required;
-    }
-
-    public void setIpv6Required(boolean ipv6Required) {
-        this.ipv6Required = ipv6Required;
-    }
 }
index 882d309..af0ad1f 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/22/2016
- */
-public class Network {
-    private String networkDescription;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+import lombok.ToString;
 
-    public String getNetworkDescription() {
-        return networkDescription;
-    }
+@Getter
+@Setter
+@NoArgsConstructor
+@ToString
+public class Network {
 
-    public void setNetworkDescription(String networkDescription) {
-        this.networkDescription = networkDescription;
-    }
+    private String networkDescription;
 
-  @Override
-  public String toString() {
-    final StringBuilder sb = new StringBuilder("Network{");
-    sb.append("networkDescription='").append(networkDescription).append('\'');
-    sb.append('}');
-    return sb.toString();
-  }
 }
index 0bc8b5d..d41c855 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/21/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class NicQuestionnaire {
+
     private Protocols protocols;
     private IpConfiguration ipConfiguration;
     private Network network;
     private Sizing sizing;
 
-    public Protocols getProtocols() {
-        return protocols;
-    }
-
-    public void setProtocols(Protocols protocols) {
-        this.protocols = protocols;
-    }
-
-    public IpConfiguration getIpConfiguration() {
-        return ipConfiguration;
-    }
-
-    public void setIpConfiguration(IpConfiguration ipConfiguration) {
-        this.ipConfiguration = ipConfiguration;
-    }
-
-    public Network getNetwork() {
-        return network;
-    }
-
-    public void setNetwork(Network network) {
-        this.network = network;
-    }
-
-    public Sizing getSizing() {
-        return sizing;
-    }
-
-    public void setSizing(Sizing sizing) {
-        this.sizing = sizing;
-    }
 }
index 3586202..9eddf3b 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class PacketsAndBytes {
+
     private PeakAndAvg packets;
     private PeakAndAvg bytes;
 
-    public PeakAndAvg getPackets() {
-        return packets;
-    }
-
-    public void setPackets(PeakAndAvg packets) {
-        this.packets = packets;
-    }
-
-    public PeakAndAvg getBytes() {
-        return bytes;
-    }
-
-    public void setBytes(PeakAndAvg bytes) {
-        this.bytes = bytes;
-    }
 }
index 1e44327..6e50f3b 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class PeakAndAvg {
+
     private int peak;
     private Number avg;
 
-    public int getPeak() {
-        return peak;
-    }
-
-    public void setPeak(int peak) {
-        this.peak = peak;
-    }
-
-    public Number getAvg() {
-        return avg;
-    }
-
-    public void setAvg(Number avg) {
-        this.avg = avg;
-    }
 }
index 37b76bd..f50d909 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
@@ -22,37 +22,18 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
 import java.util.ArrayList;
 import java.util.List;
-
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+import lombok.ToString;
+
+@Getter
+@Setter
+@NoArgsConstructor
+@ToString
 public class Protocols {
+
     private List<String> protocols = new ArrayList<>();
     private String protocolWithHighestTrafficProfile;
 
-    public List<String> getProtocols() {
-        return protocols;
-    }
-
-    public void setProtocols(List<String> protocols) {
-        this.protocols = protocols;
-    }
-
-    public String getProtocolWithHighestTrafficProfile() {
-        return protocolWithHighestTrafficProfile;
-    }
-
-    public void setProtocolWithHighestTrafficProfile(String protocolWithHighestTrafficProfile) {
-        this.protocolWithHighestTrafficProfile = protocolWithHighestTrafficProfile;
-    }
-
-    @Override
-    public String toString() {
-        final StringBuilder sb = new StringBuilder("Protocols{");
-        sb.append("protocols=").append(protocols);
-        sb.append(", protocolWithHighestTrafficProfile='").append(protocolWithHighestTrafficProfile)
-            .append('\'');
-        sb.append('}');
-        return sb.toString();
-    }
 }
index 4160cba..c77d259 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.nic;
 
-/**
- * Created by TALIO on 11/22/2016
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Sizing {
+
     private String describeQualityOfService;
     private Number acceptablePacketLoss;
     private PacketsAndBytes inflowTrafficPerSecond;
@@ -31,51 +36,4 @@ public class Sizing {
     private PacketsAndBytes flowLength;
     private AcceptableJitter acceptableJitter;
 
-    public String getDescribeQualityOfService() {
-        return describeQualityOfService;
-    }
-
-    public void setDescribeQualityOfService(String describeQualityOfService) {
-        this.describeQualityOfService = describeQualityOfService;
-    }
-
-    public Number getAcceptablePacketLoss() {
-        return acceptablePacketLoss;
-    }
-
-    public void setAcceptablePacketLoss(Number acceptablePacketLoss) {
-        this.acceptablePacketLoss = acceptablePacketLoss;
-    }
-
-    public PacketsAndBytes getInflowTrafficPerSecond() {
-        return inflowTrafficPerSecond;
-    }
-
-    public void setInflowTrafficPerSecond(PacketsAndBytes inflowTrafficPerSecond) {
-        this.inflowTrafficPerSecond = inflowTrafficPerSecond;
-    }
-
-    public PacketsAndBytes getOutflowTrafficPerSecond() {
-        return outflowTrafficPerSecond;
-    }
-
-    public void setOutflowTrafficPerSecond(PacketsAndBytes outflowTrafficPerSecond) {
-        this.outflowTrafficPerSecond = outflowTrafficPerSecond;
-    }
-
-    public PacketsAndBytes getFlowLength() {
-        return flowLength;
-    }
-
-    public void setFlowLength(PacketsAndBytes flowLength) {
-        this.flowLength = flowLength;
-    }
-
-    public AcceptableJitter getAcceptableJitter() {
-        return acceptableJitter;
-    }
-
-    public void setAcceptableJitter(AcceptableJitter acceptableJitter) {
-        this.acceptableJitter = acceptableJitter;
-    }
 }
index 0b53e04..ab416d4 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp;
 
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 import org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general.General;
 
-/**
- * Created by TALIO on 11/21/2016.
- */
+@Getter
+@Setter
+@NoArgsConstructor
 public class VspQuestionnaire {
-    private General general;
 
-    public General getGeneral() {
-        return general;
-    }
+    private General general;
 
-    public void setGeneral(General general) {
-        this.general = general;
-    }
 }
index 4f14646..1c457c5 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general;
 
-/**
- * Created by TALIO on 11/21/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class Availability {
-    private boolean useAvailabilityZonesForHighAvailability = false;
 
-    public boolean isUseAvailabilityZonesForHighAvailability() {
-        return useAvailabilityZonesForHighAvailability;
-    }
+    private boolean useAvailabilityZonesForHighAvailability;
 
-    public void setUseAvailabilityZonesForHighAvailability(boolean useAvailabilityZonesForHighAvailability) {
-        this.useAvailabilityZonesForHighAvailability = useAvailabilityZonesForHighAvailability;
-    }
 }
index 566374f..1aaba93 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general;
 
-/**
- * Created by TALIO on 11/22/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class General {
 
     private String affinityData;
@@ -30,35 +34,4 @@ public class General {
     private RegionsData regionsData;
     private StorageDataReplication storageDataReplication;
 
-    public StorageDataReplication getStorageDataReplication() {
-        return storageDataReplication;
-    }
-
-    public void setStorageDataReplication(StorageDataReplication storageDataReplication) {
-        this.storageDataReplication = storageDataReplication;
-    }
-
-    public String getAffinityData() {
-        return affinityData;
-    }
-
-    public void setAffinityData(String affinityData) {
-        this.affinityData = affinityData;
-    }
-
-    public Availability getAvailability() {
-        return availability;
-    }
-
-    public void setAvailability(Availability availability) {
-        this.availability = availability;
-    }
-
-    public RegionsData getRegionsData() {
-        return regionsData;
-    }
-
-    public void setRegionsData(RegionsData regionsData) {
-        this.regionsData = regionsData;
-    }
 }
index efdcb46..093abcd 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
@@ -22,27 +22,16 @@ package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general;
 
 import java.util.ArrayList;
 import java.util.List;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 
-/**
- * Created by TALIO on 11/21/2016.
- */
+@Getter
+@Setter
+@NoArgsConstructor
 public class RegionsData {
+
     private boolean multiRegion;
     private List<String> regions = new ArrayList<>();
 
-    public boolean isMultiRegion() {
-        return multiRegion;
-    }
-
-    public void setMultiRegion(boolean multiRegion) {
-        this.multiRegion = multiRegion;
-    }
-
-    public List<String> getRegions() {
-        return regions;
-    }
-
-    public void setRegions(List<String> regions) {
-        this.regions = regions;
-    }
 }
index cf48703..766b3bb 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general;
 
-/**
- * Created by TALIO on 11/21/2016.
- */
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+
+@Getter
+@Setter
+@NoArgsConstructor
 public class StorageDataReplication {
+
     private boolean storageReplicationAcrossRegion;
     private Number storageReplicationSize;
     private Number storageReplicationFrequency;
     private String storageReplicationSource;
     private String storageReplicationDestination;
 
-    public String getStorageReplicationDestination() {
-        return storageReplicationDestination;
-    }
-
-    public void setStorageReplicationDestination(String storageReplicationDestination) {
-        this.storageReplicationDestination = storageReplicationDestination;
-    }
-
-    public Number getStorageReplicationSize() {
-        return storageReplicationSize;
-    }
-
-    public void setStorageReplicationSize(Number storageReplicationSize) {
-        this.storageReplicationSize = storageReplicationSize;
-    }
-
-    public Number getStorageReplicationFrequency() {
-        return storageReplicationFrequency;
-    }
-
-    public void setStorageReplicationFrequency(Number storageReplicationFrequency) {
-        this.storageReplicationFrequency = storageReplicationFrequency;
-    }
-
-    public String getStorageReplicationSource() {
-        return storageReplicationSource;
-    }
-
-    public void setStorageReplicationSource(String storageReplicationSource) {
-        this.storageReplicationSource = storageReplicationSource;
-    }
-
-    public boolean isStorageReplicationAcrossRegion() {
-        return storageReplicationAcrossRegion;
-    }
-
-    public void setStorageReplicationAcrossRegion(boolean storageReplicationAcrossRegion) {
-        this.storageReplicationAcrossRegion = storageReplicationAcrossRegion;
-    }
 }
index 46d0c6c..d20d3ef 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 import org.openecomp.sdc.vendorsoftwareproduct.types.composition.ComponentData;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class ComponentCompositionSchemaInput implements SchemaTemplateInput {
-  private boolean manual;
-  private ComponentData component;
 
-  public boolean isManual() {
-    return manual;
-  }
+    private boolean manual;
+    private ComponentData component;
 
-  public void setManual(boolean manual) {
-    this.manual = manual;
-  }
-
-  public ComponentData getComponent() {
-    return component;
-  }
-
-  public void setComponent(ComponentData component) {
-    this.component = component;
-  }
 }
index 7f038e3..b0c2b89 100644 (file)
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
-import com.google.common.annotations.VisibleForTesting;
-
 import java.util.List;
 import java.util.Map;
+import lombok.AllArgsConstructor;
+import lombok.Getter;
 
+@Getter
+@AllArgsConstructor
 public class ComponentQuestionnaireSchemaInput implements SchemaTemplateInput {
-  private String componentDisplayName;
-  private boolean manual;
-  private List<String> nicNames;
-  private Map componentQuestionnaireData;
-
-  @VisibleForTesting
-  ComponentQuestionnaireSchemaInput() {}
-
-  public ComponentQuestionnaireSchemaInput(List<String> nicNames, Map componentQuestionnaireData,
-                               String componentDisplayName, boolean manual) {
-    this.nicNames = nicNames;
-    this.componentQuestionnaireData = componentQuestionnaireData;
-    this.componentDisplayName = componentDisplayName;
-    this.manual = manual;
-  }
-
-  public List<String> getNicNames() {
-    return nicNames;
-  }
-
-  public Map getComponentQuestionnaireData() {
-    return componentQuestionnaireData;
-  }
 
-  public String getComponentDisplayName() {
-    return componentDisplayName;
-  }
+    private List<String> nicNames;
+    private Map componentQuestionnaireData;
+    private String componentDisplayName;
+    private boolean manual;
 
-  public boolean isManual() {
-    return manual;
-  }
 }
index 4e9e08d..5d87dd8 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 import org.openecomp.sdc.vendorsoftwareproduct.types.composition.ComputeData;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class ComputeCompositionSchemaInput implements SchemaTemplateInput {
 
-  private boolean manual;
-  private ComputeData compute;
+    private boolean manual;
+    private ComputeData compute;
 
-  public boolean isManual() {
-    return manual;
-  }
-
-  public void setManual(boolean manual) {
-    this.manual = manual;
-  }
-
-  public ComputeData getCompute() {
-    return compute;
-  }
-
-  public void setCompute(ComputeData compute) {
-    this.compute = compute;
-  }
 }
index 9cbb5dd..ce8d51c 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
 
-import org.openecomp.sdc.vendorsoftwareproduct.types.composition.DeploymentFlavor;
-
 import java.util.Collection;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+import org.openecomp.sdc.vendorsoftwareproduct.types.composition.DeploymentFlavor;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class DeploymentFlavorCompositionSchemaInput implements SchemaTemplateInput {
 
-  private boolean manual;
-  private DeploymentFlavor deploymentFlavor;
-  private Collection<String> featureGroupIds;
-
-  public boolean isManual() {
-    return manual;
-  }
-
-  public void setManual(boolean manual) {
-    this.manual = manual;
-  }
-
-  public DeploymentFlavor getDeploymentFlavor() {
-    return deploymentFlavor;
-  }
-
-  public void setDeploymentFlavor(
-      DeploymentFlavor deploymentFlavor) {
-    this.deploymentFlavor = deploymentFlavor;
-  }
-
-  public Collection<String> getFeatureGroupIds() {
-    return featureGroupIds;
-  }
-
-  public void setFeatureGroupIds(Collection<String> featureGroupIds) {
-    this.featureGroupIds = featureGroupIds;
-  }
+    private boolean manual;
+    private DeploymentFlavor deploymentFlavor;
+    private Collection<String> featureGroupIds;
 
 }
index c72664d..a9ab142 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 import org.openecomp.sdc.vendorsoftwareproduct.types.composition.Image;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class ImageCompositionSchemaInput implements SchemaTemplateInput {
 
-  private boolean manual;
-  private Image image;
-
-  public boolean isManual() {
-    return manual;
-  }
-
-  public void setManual(boolean manual) {
-    this.manual = manual;
-  }
-
-  public Image getImage() {
-    return image;
-  }
-
-  public void setImage(Image image) {
-    this.image = image;
-  }
-
-
-
+    private boolean manual;
+    private Image image;
 
 }
index 67a2f3d..d652e0a 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
 import org.openecomp.sdc.vendorsoftwareproduct.types.composition.Network;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class NetworkCompositionSchemaInput implements SchemaTemplateInput {
-  private boolean manual;
-  private Network network;
 
-  public boolean isManual() {
-    return manual;
-  }
+    private boolean manual;
+    private Network network;
 
-  public void setManual(boolean manual) {
-    this.manual = manual;
-  }
-
-  public Network getNetwork() {
-    return network;
-  }
-
-  public void setNetwork(Network network) {
-    this.network = network;
-  }
 }
index 87693a4..3cf729b 100644 (file)
@@ -7,9 +7,9 @@
  * 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.
 
 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
 
-import org.openecomp.sdc.vendorsoftwareproduct.types.composition.Nic;
-
 import java.util.Collection;
+import lombok.Getter;
+import lombok.NoArgsConstructor;
+import lombok.Setter;
+import org.openecomp.sdc.vendorsoftwareproduct.types.composition.Nic;
 
+@Getter
+@Setter
+@NoArgsConstructor
 public class NicCompositionSchemaInput implements SchemaTemplateInput {
-  private boolean manual;
-  private Nic nic;
-  private Collection<String> networkIds;
-
-  public boolean isManual() {
-    return manual;
-  }
-
-  public void setManual(boolean manual) {
-    this.manual = manual;
-  }
-
-  public Nic getNic() {
-    return nic;
-  }
-
-  public void setNic(Nic nic) {
-    this.nic = nic;
-  }
 
-  public Collection<String> getNetworkIds() {
-    return networkIds;
-  }
+    private boolean manual;
+    private Nic nic;
+    private Collection<String> networkIds;
 
-  public void setNetworkIds(Collection<String> networkIds) {
-    this.networkIds = networkIds;
-  }
 }