summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/DataMigration.java62
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/GraphJsonValidator.java9
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/PopulateComponentCache.java4
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/ProductLogic.java13
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/RestUtils.java5
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/ValidationToolBL.java4
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java17
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuter.java5
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuter.java11
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ValidatorExecuter.java5
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuter.java5
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtils.java9
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResult.java4
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/moduleJson/ModuleJsonTask.java13
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnum.java4
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManager.java14
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResult.java1
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java3
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/core/SdcMigrationTool.java4
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/AppTest.java54
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java123
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java70
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java275
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java27
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java44
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java25
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java35
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java17
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java18
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java78
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java80
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java46
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java78
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java58
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/servlets/EntryPointTest.java24
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/TestQueue.java184
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogic.java8
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentBusinessLogic.java13
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PropertyBusinessLogic.java8
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ProductServlet.java5
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/tosca/CapabiltyRequirementConvertor.java1
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml22
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zipbin0 -> 457 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json2
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json2
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml2
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zipbin583 -> 586 bytes
-rw-r--r--catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml1
-rw-r--r--catalog-be/src/main/resources/scripts/import/tosca/importOnapTypes.py3
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/ServiceBusinessLogicTest.java24
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/clean/AsdcComponentsCleanerTaskTest.java66
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/TestSuite.java12
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/VfModuleArtifactPayloadTest.java66
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java1109
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ArtifactMetadataTest.java255
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java125
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java79
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetDetailedMetadataTest.java124
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetMetadataTest.java123
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadataTest.java169
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetDetailedMetadataTest.java81
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetMetadataTest.java101
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/impl/ComponentsUtilsTest.java308
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessInfoTest.java233
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessListTest.java37
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfoTest.java124
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTemplateInfoTest.java182
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTypesInfoTest.java60
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/CreateAndAssotiateInfoTest.java59
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusInfoTest.java124
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusListResponseTest.java36
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceInfoTest.java101
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java37
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupDefinitionInfoTest.java249
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupTemplateInfoTest.java79
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceInfoTest.java59
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceVersionInfoTest.java56
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ServicesWrapperTest.java37
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ServletJsonResponseTest.java57
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInfoTest.java114
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInterfaceTest.java37
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/servlets/CsarBuildServletTest.java49
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/servlets/RepresentationUtilsTest.java48
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetectorTest.java38
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ArtifactTypesTest.java38
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/CsarUtilsTest.java89
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ToscaRepresentationTest.java61
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/EntrySchemaTest.java57
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/SubstitutionMappingTest.java81
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaCapabilityTest.java126
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaGroupTemplateTest.java104
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaMetadataTest.java387
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTemplateTest.java126
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTypeTest.java148
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaPropertyTest.java145
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java49
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateCapabilityTest.java60
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateRequirementTest.java92
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateTest.java132
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTopolgyTemplateTest.java94
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/VfModuleToscaMetadataTest.java123
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java154
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java55
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java55
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java38
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java24
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java65
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java66
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java66
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java74
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java65
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java204
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java300
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java34
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java34
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java45
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java57
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java50
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java93
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java83
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java40
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/rest/RestConfigurationInfoTest.java134
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/dao/utils/MapEntryTest.java44
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AdditionalInfoParameterDataTest.java115
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ArtifactDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeValueDataTest.java169
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityDataTest.java226
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityInstDataTest.java126
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityTypeDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentCacheDataTest.java156
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java126
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ConsumerDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/DataTypeDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupInstanceDataTest.java93
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupTypeDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterDataTest.java173
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterValueDataTest.java81
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputValueDataTest.java169
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputsDataTest.java94
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InterfaceDataTest.java60
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java191
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/OperationDataTest.java60
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PolicyTypeDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java48
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyDataTest.java94
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyValueDataTest.java171
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipInstDataTest.java213
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipTypeDataTest.java71
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementDataTest.java203
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementImplDataTest.java169
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ResourceCategoryDataTest.java60
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/SdcSchemaFilesDataTest.java167
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java49
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceMetadataDataTest.java37
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserDataTest.java260
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserFunctionalMenuDataTest.java103
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java119
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGetUebClusterEventTest.java192
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuthEventTest.java222
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/CategoryEventTest.java262
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ConsumerEventTest.java213
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDeployEventTest.java301
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDownloadEventTest.java235
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionEngineEventTest.java323
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionNotificationEventTest.java344
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionStatusEventTest.java301
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ExternalApiEventTest.java455
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetCategoryHierarchyEventTest.java213
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetUsersListEventTest.java213
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ResourceAdminEventTest.java543
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAccessEventTest.java191
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAdminEventTest.java257
-rw-r--r--catalog-dao/src/test/java/org/openecomp/sdc/be/resources/exception/ResourceDAOExceptionTest.java36
-rw-r--r--catalog-fe/src/test/java/org/openecomp/sdc/fe/GzipFilterTest.java40
-rw-r--r--catalog-fe/src/test/java/org/openecomp/sdc/fe/client/BackendClientTest.java34
-rw-r--r--catalog-fe/src/test/java/org/openecomp/sdc/fe/listen/MyObjectMapperProviderTest.java30
-rw-r--r--catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/PortalServletTest.java35
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java48
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java111
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactUiDownloadDataTest.java56
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/CapReqDefTest.java60
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java73
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java70
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstInputsMapTest.java59
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstanceInputTest.java137
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropInputTest.java68
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java137
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java51
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/CsarInfoTest.java203
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java94
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/FunctionalMenuInfoTest.java46
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java50
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupPropertyTest.java46
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java50
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java59
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java57
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/NodeTypeInfoTest.java137
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/PointTest.java68
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java48
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java118
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java86
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementAndRelationshipPairTest.java216
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementImplDefTest.java114
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementInstanceTest.java68
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceInstanceHeatParameterTest.java46
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadCapInfoTest.java81
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadPropInfoTest.java104
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadReqInfoTest.java57
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/cache/DaoInfoTest.java36
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java61
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java59
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/NodeTypeTest.java175
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/TopologyTemplateTest.java416
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/ToscaElementTypeEnumTest.java28
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/enums/JsonConstantKeysEnumTest.java24
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/operations/ToscaElementOperationTest.java16
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/ToscaTypeTest.java67
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/EqualConstraintTest.java31
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/GreaterThanConstraintTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/InRangeConstraintTest.java61
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LengthConstraintTest.java38
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LessOrEqualConstraintTest.java41
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java36
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MinLengthConstraintTest.java38
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraintTest.java25
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraintTest.java43
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/BooleanConverterTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DataTypePropertyConverterTest.java364
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DefaultConverterTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/FloatConverterTest.java27
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatBooleanConverterTest.java29
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatCommaDelimitedListConverterTest.java29
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatJsonConverterTest.java29
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatNumberConverterTest.java29
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java36
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/IntegerConverterTest.java48
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/JsonConverterTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ListConverterTest.java36
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/MapConverterTest.java48
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/StringConvertorTest.java28
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaBooleanConverterTest.java27
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverterTest.java29
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaJsonValueConverterTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaListValueConverterTest.java29
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaStringConvertorTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaValueDefaultConverterTest.java39
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/version/ComparableVersionTest.java64
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java82
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java446
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java195
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java215
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java60
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java124
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java735
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java51
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java1455
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java372
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java51
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java110
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java51
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java59
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java56
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java56
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java114
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java61
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java136
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java37
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java46
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java46
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java119
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java46
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java26
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java53
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java43
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java244
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java112
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java101
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java90
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java24
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java126
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java24
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java605
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java543
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java140
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/GroupingDataDefinitionTest.java116
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/SubCategoryDataDefinitionTest.java140
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ResourceMetadataDataDefinitionTest.java224
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java160
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/AdditionalInfoParameterDataDefinitionTest.java136
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinitionTest.java736
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinitionTest.java371
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinitionTest.java444
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CompositionDataDefinitionTest.java83
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ConsumerDataDefinitionTest.java182
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/DataTypeDataDefinitionTest.java156
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GetInputValueDataDefinitionTest.java182
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupDataDefinitionTest.java313
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupInstanceDataDefinitionTest.java486
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java247
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/HeatParameterDataDefinitionTest.java182
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputDataDefinitionTest.java79
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputsValueDataDefinitionTest.java79
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java147
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListCapabilityDataDefinitionTest.java39
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListDataDefinitionTest.java47
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListMapPropertiesDataDefinitionTest.java39
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListRequirementDataDefinitionTest.java39
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapArtifactDataDefinitionTest.java63
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapDataDefinitionTest.java60
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListCapabiltyDataDefinitionTest.java40
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java42
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapPropertiesDataDefinitionTest.java61
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java147
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PolicyTypeDataDefinitionTest.java247
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java132
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java511
-rw-r--r--common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinitionTest.java349
-rw-r--r--docs/index.rst2
-rw-r--r--docs/offeredapis.rst10275
-rw-r--r--onboarding/pom.xml1
-rw-r--r--openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ComponentQuestionnaireHealer.java8
-rw-r--r--openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/SubEntitiesQuestionnaireHealer.java12
-rw-r--r--openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ValidationStructureHealer.java5
-rw-r--r--openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/VlmVersionHealer.java17
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java50
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp/nodes.yml1068
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/pom.xml75
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/tosca/datatypes/AttToscaPolicyType.java23
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImpl.java301
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaMapping.json15
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaTranslator.json13
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-override-heatToToscaTranslator.json36
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/BaseResourceTranslationTest.java326
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImplTest.java167
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/logback.xml13
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/expectedoutputfiles/MainServiceTemplate.yaml304
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/main.yml144
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/expectedoutputfiles/MainServiceTemplate.yaml292
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/main.yml124
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/expectedoutputfiles/MainServiceTemplate.yaml303
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/main.yml132
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/expectedoutputfiles/MainServiceTemplate.yaml202
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/main.yml111
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/expectedoutputfiles/MainServiceTemplate.yaml610
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/MANIFEST.json28
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.env14
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.yaml318
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.env28
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.yaml299
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/expectedoutputfiles/MainServiceTemplate.yaml292
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/main.yml132
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/expectedoutputfiles/MainServiceTemplate.yaml209
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/main.yml88
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/expectedoutputfiles/MainServiceTemplate.yaml209
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/main.yml96
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/expectedoutputfiles/MainServiceTemplate.yaml209
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/main.yml103
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/expectedoutputfiles/MainServiceTemplate.yaml210
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/main.yml91
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml209
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/MANIFEST.json12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml90
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/pom.xml1
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/pom.xml92
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttHeatResourceTypes.java53
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerErrorDescription.java9
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerTargetServiceName.java9
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttValetGroupTypeValues.java53
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidator.java60
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/messages/Messages.java20
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/resources/config-merge-validaton.json18
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidatorTest.java59
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/MANIFEST.json27
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.env0
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.yaml22
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/second.yaml14
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/MANIFEST.json27
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.env0
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.yaml17
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/second.yaml14
-rw-r--r--openecomp-be/lib/openecomp-sdc-validation-lib/pom.xml1
-rw-r--r--openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/CandidateServiceImpl.java3
-rw-r--r--openecomp-be/pom.xml2
-rw-r--r--openecomp-ui/pom.xml14
-rw-r--r--openecomp-ui/resources/scss/modules/_licenseModelLimits.scss38
-rw-r--r--openecomp-ui/src/nfvo-components/modal/GlobalModal.js5
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js3
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js4
-rw-r--r--sdc-os-chef/pom.xml16
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh2
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_clearwater.zipbin21937 -> 0 bytes
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_vlb.zipbin5621 -> 0 bytes
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vCSCF_aligned.csarbin0 -> 6511 bytes
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vLB.zipbin0 -> 6789 bytes
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_3_logback.rb10
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_4_locate_keystore.rb16
-rw-r--r--sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_5_create_jetty_modules.rb14
-rw-r--r--test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnboardingDataProviders.java (renamed from test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java)2
-rw-r--r--test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/sanity/Onboard.java4
-rw-r--r--test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/utils/general/FileHandling.java44
429 files changed, 48025 insertions, 7547 deletions
diff --git a/.gitignore b/.gitignore
index c631ed2376..0174487b3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -169,3 +169,5 @@ sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/testSuites/*
/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/files/default/tools/*
/sdc-os-chef/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/attributes/default.rb
+
+/catalog-be/.pydevproject
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/DataMigration.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/DataMigration.java
index eafec8bf60..9b1e3dc227 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/DataMigration.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/DataMigration.java
@@ -20,11 +20,26 @@
package org.openecomp.sdc.asdctool.impl;
-import com.carrotsearch.hppc.cursors.ObjectCursor;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.google.gson.Gson;
-import com.google.gson.reflect.TypeToken;
-import fj.data.Either;
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.lang.reflect.Type;
+import java.net.MalformedURLException;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.nio.file.Files;
+import java.nio.file.Paths;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.EnumMap;
+import java.util.Map;
+import java.util.TimeZone;
+
import org.apache.commons.lang.SystemUtils;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.cluster.metadata.IndexMetaData;
@@ -40,25 +55,34 @@ import org.openecomp.sdc.be.dao.cassandra.CassandraOperationStatus;
import org.openecomp.sdc.be.dao.cassandra.schema.Table;
import org.openecomp.sdc.be.dao.es.ElasticSearchClient;
import org.openecomp.sdc.be.resources.data.ESArtifactData;
-import org.openecomp.sdc.be.resources.data.auditing.*;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingActionEnum;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingGenericEvent;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingGetUebClusterEvent;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingTypesConstants;
+import org.openecomp.sdc.be.resources.data.auditing.AuthEvent;
+import org.openecomp.sdc.be.resources.data.auditing.CategoryEvent;
+import org.openecomp.sdc.be.resources.data.auditing.ConsumerEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionDeployEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionDownloadEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionEngineEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionNotificationEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionStatusEvent;
+import org.openecomp.sdc.be.resources.data.auditing.GetCategoryHierarchyEvent;
+import org.openecomp.sdc.be.resources.data.auditing.GetUsersListEvent;
+import org.openecomp.sdc.be.resources.data.auditing.ResourceAdminEvent;
+import org.openecomp.sdc.be.resources.data.auditing.UserAccessEvent;
+import org.openecomp.sdc.be.resources.data.auditing.UserAdminEvent;
import org.openecomp.sdc.common.datastructure.AuditingFieldsKeysEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import java.io.*;
-import java.lang.reflect.Type;
-import java.net.MalformedURLException;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.nio.file.Files;
-import java.nio.file.Paths;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.EnumMap;
-import java.util.Map;
-import java.util.TimeZone;
+import com.carrotsearch.hppc.cursors.ObjectCursor;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.google.gson.Gson;
+import com.google.gson.reflect.TypeToken;
+
+import fj.data.Either;
/**
* Created by mlando on 5/16/2016.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/GraphJsonValidator.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/GraphJsonValidator.java
index 1ce976dbe5..23019b9b15 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/GraphJsonValidator.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/GraphJsonValidator.java
@@ -21,10 +21,6 @@
package org.openecomp.sdc.asdctool.impl;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
@@ -32,6 +28,11 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+
/**
* simple util class to verify that the titan export json graph is not corrupted
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/PopulateComponentCache.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/PopulateComponentCache.java
index eac972660f..b67bfc8097 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/PopulateComponentCache.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/PopulateComponentCache.java
@@ -20,9 +20,7 @@
package org.openecomp.sdc.asdctool.impl;
-import java.io.IOException;
import java.util.ArrayList;
-import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.Callable;
@@ -36,9 +34,7 @@ import org.openecomp.sdc.be.dao.neo4j.GraphPropertiesDictionary;
import org.openecomp.sdc.be.dao.titan.TitanOperationStatus;
import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
import org.openecomp.sdc.be.model.Component;
-import org.openecomp.sdc.be.model.Product;
import org.openecomp.sdc.be.model.Resource;
-import org.openecomp.sdc.be.model.Service;
import org.openecomp.sdc.be.model.cache.ComponentCache;
import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus;
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/ProductLogic.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/ProductLogic.java
index 9f15c83dd8..7ed8b17907 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/ProductLogic.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/ProductLogic.java
@@ -20,18 +20,19 @@
package org.openecomp.sdc.asdctool.impl;
-import com.thinkaurelius.titan.core.TitanFactory;
-import com.thinkaurelius.titan.core.TitanGraph;
-import com.thinkaurelius.titan.core.TitanVertex;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.openecomp.sdc.be.dao.neo4j.GraphPropertiesDictionary;
import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
+import com.thinkaurelius.titan.core.TitanFactory;
+import com.thinkaurelius.titan.core.TitanGraph;
+import com.thinkaurelius.titan.core.TitanVertex;
/**
* Created by mlando on 2/23/2016.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/RestUtils.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/RestUtils.java
index c2ebc24d49..355780cfc6 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/RestUtils.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/RestUtils.java
@@ -20,17 +20,16 @@
package org.openecomp.sdc.asdctool.impl;
+import java.io.IOException;
+
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpUriRequest;
-
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.io.IOException;
-
/**
* Created by mlando on 2/23/2016.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/ValidationToolBL.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/ValidationToolBL.java
index a57a237e76..e373107081 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/ValidationToolBL.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/ValidationToolBL.java
@@ -1,5 +1,7 @@
package org.openecomp.sdc.asdctool.impl.validator;
+import java.util.List;
+
import org.openecomp.sdc.asdctool.impl.validator.executers.ValidatorExecuter;
import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
import org.slf4j.Logger;
@@ -7,8 +9,6 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
-import java.util.*;
-
/**
* Created by chaya on 7/3/2017.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java
index 0e6b2c7d16..3b81ba81e4 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java
@@ -1,11 +1,11 @@
package org.openecomp.sdc.asdctool.impl.validator.config;
+import org.openecomp.sdc.asdctool.impl.validator.ValidationToolBL;
+import org.openecomp.sdc.asdctool.impl.validator.executers.ServiceValidatorExecuter;
+import org.openecomp.sdc.asdctool.impl.validator.executers.VfValidatorExecuter;
import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ArtifactValidationUtils;
import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ServiceArtifactValidationTask;
import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.VfArtifactValidationTask;
-import org.openecomp.sdc.asdctool.impl.validator.executers.ServiceValidatorExecuter;
-import org.openecomp.sdc.asdctool.impl.validator.executers.VfValidatorExecuter;
-import org.openecomp.sdc.asdctool.impl.validator.ValidationToolBL;
import org.openecomp.sdc.asdctool.impl.validator.tasks.moduleJson.ModuleJsonTask;
import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
import org.openecomp.sdc.be.dao.DAOTitanStrategy;
@@ -15,7 +15,16 @@ import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
import org.openecomp.sdc.be.dao.jsongraph.TitanDao;
import org.openecomp.sdc.be.dao.titan.TitanGraphClient;
import org.openecomp.sdc.be.model.DerivedNodeTypeResolver;
-import org.openecomp.sdc.be.model.jsontitan.operations.*;
+import org.openecomp.sdc.be.model.jsontitan.operations.ArtifactsOperations;
+import org.openecomp.sdc.be.model.jsontitan.operations.ByToscaNameDerivedNodeTypeResolver;
+import org.openecomp.sdc.be.model.jsontitan.operations.CategoryOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.GroupsOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.NodeTemplateOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.NodeTypeOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaDataOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaElementLifecycleOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuter.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuter.java
index 817ab15418..b64fdde8d7 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuter.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuter.java
@@ -1,5 +1,8 @@
package org.openecomp.sdc.asdctool.impl.validator.executers;
+import java.util.ArrayList;
+import java.util.List;
+
import org.openecomp.sdc.asdctool.impl.validator.tasks.ServiceValidationTask;
import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
@@ -7,8 +10,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import java.util.*;
-
/**
* Created by chaya on 7/4/2017.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuter.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuter.java
index 15f25738c0..04f014fbc9 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuter.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuter.java
@@ -1,6 +1,12 @@
package org.openecomp.sdc.asdctool.impl.validator.executers;
-import fj.data.Either;
+import java.util.ArrayList;
+import java.util.EnumMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
import org.openecomp.sdc.asdctool.impl.validator.tasks.TopologyTemplateValidationTask;
import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
@@ -12,12 +18,11 @@ import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
import org.openecomp.sdc.be.datatypes.enums.GraphPropertyEnum;
import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation;
-import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import java.util.*;
+import fj.data.Either;
/**
* Created by chaya on 7/3/2017.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ValidatorExecuter.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ValidatorExecuter.java
index 8281d1f353..519a900ec9 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ValidatorExecuter.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ValidatorExecuter.java
@@ -1,10 +1,5 @@
package org.openecomp.sdc.asdctool.impl.validator.executers;
-import org.openecomp.sdc.asdctool.impl.validator.utils.ElementTypeEnum;
-import org.openecomp.sdc.be.model.Component;
-
-import java.util.List;
-
/**
* Created by chaya on 7/3/2017.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuter.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuter.java
index 913a36fbd4..b4f333dab3 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuter.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuter.java
@@ -1,12 +1,13 @@
package org.openecomp.sdc.asdctool.impl.validator.executers;
+import java.util.ArrayList;
+import java.util.List;
+
import org.openecomp.sdc.asdctool.impl.validator.tasks.VfValidationTask;
import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
import org.springframework.beans.factory.annotation.Autowired;
-import java.util.*;
-
/**
* Created by chaya on 7/3/2017.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtils.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtils.java
index faccd647c2..90d8f8639c 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtils.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactValidationUtils.java
@@ -1,6 +1,11 @@
package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
-import fj.data.Either;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+
import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
import org.openecomp.sdc.be.dao.cassandra.ArtifactCassandraDao;
import org.openecomp.sdc.be.dao.cassandra.CassandraOperationStatus;
@@ -14,7 +19,7 @@ import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation
import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus;
import org.springframework.beans.factory.annotation.Autowired;
-import java.util.*;
+import fj.data.Either;
/**
* Created by chaya on 7/6/2017.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResult.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResult.java
index c010148644..c82a7b9d4f 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResult.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResult.java
@@ -1,10 +1,10 @@
package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
-import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
-
import java.util.HashSet;
import java.util.Set;
+import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
+
/**
* Created by chaya on 7/25/2017.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/moduleJson/ModuleJsonTask.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/moduleJson/ModuleJsonTask.java
index 187359f127..78045a56a6 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/moduleJson/ModuleJsonTask.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/tasks/moduleJson/ModuleJsonTask.java
@@ -1,7 +1,13 @@
package org.openecomp.sdc.asdctool.impl.validator.tasks.moduleJson;
-import fj.data.Either;
-import org.apache.cassandra.cql3.CQL3Type;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
+import java.util.stream.Collectors;
+
import org.openecomp.sdc.asdctool.impl.validator.tasks.ServiceValidationTask;
import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
@@ -18,8 +24,7 @@ import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation
import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus;
import org.springframework.beans.factory.annotation.Autowired;
-import java.util.*;
-import java.util.stream.Collectors;
+import fj.data.Either;
/**
* Created by chaya on 7/18/2017.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnum.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnum.java
index 245d38c853..e6a09ee875 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnum.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnum.java
@@ -1,10 +1,10 @@
package org.openecomp.sdc.asdctool.impl.validator.utils;
-import org.openecomp.sdc.asdctool.impl.validator.executers.VfValidatorExecuter;
-
import java.util.ArrayList;
import java.util.List;
+import org.openecomp.sdc.asdctool.impl.validator.executers.VfValidatorExecuter;
+
/**
* Created by chaya on 7/4/2017.
*/
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManager.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManager.java
index 64bea12957..4a4af15fdf 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManager.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ReportManager.java
@@ -1,14 +1,18 @@
package org.openecomp.sdc.asdctool.impl.validator.utils;
-import org.apache.commons.lang.text.StrBuilder;
-import org.openecomp.sdc.asdctool.impl.validator.config.ValidationConfigManager;
-import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
-
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
-import java.util.*;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Optional;
+import java.util.Set;
+
+import org.apache.commons.lang.text.StrBuilder;
+import org.openecomp.sdc.asdctool.impl.validator.config.ValidationConfigManager;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
/**
* Created by chaya on 7/5/2017.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResult.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResult.java
index 8fad932941..d1d1c261f7 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResult.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResult.java
@@ -1,7 +1,6 @@
package org.openecomp.sdc.asdctool.impl.validator.utils;
import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
-import org.openecomp.sdc.be.model.Component;
/**
* Created by chaya on 7/5/2017.
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java
index 394683bbc5..0e545f2afd 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java
@@ -22,13 +22,10 @@ package org.openecomp.sdc.asdctool.main;
import java.io.ByteArrayOutputStream;
import java.io.File;
-import java.io.FileFilter;
import java.io.FileInputStream;
-import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
-import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Paths;
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/core/SdcMigrationTool.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/core/SdcMigrationTool.java
index e2691dc7f8..21671a67a9 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/core/SdcMigrationTool.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/migration/core/SdcMigrationTool.java
@@ -1,5 +1,7 @@
package org.openecomp.sdc.asdctool.migration.core;
+import java.util.List;
+
import org.openecomp.sdc.asdctool.migration.core.execution.MigrationExecutionResult;
import org.openecomp.sdc.asdctool.migration.core.execution.MigrationExecutorImpl;
import org.openecomp.sdc.asdctool.migration.core.task.Migration;
@@ -9,8 +11,6 @@ import org.openecomp.sdc.asdctool.migration.service.SdcRepoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.util.List;
-
public class SdcMigrationTool {
private static final Logger LOGGER = LoggerFactory.getLogger(SdcMigrationTool.class);
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/AppTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/AppTest.java
deleted file mode 100644
index ae23b73d7d..0000000000
--- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/AppTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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.asdctool;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest extends TestCase {
- /**
- * Create the test case
- *
- * @param testName
- * name of the test case
- */
- public AppTest(String testName) {
- super(testName);
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite() {
- return new TestSuite(AppTest.class);
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp() {
- assertTrue(true);
- }
-}
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java
new file mode 100644
index 0000000000..5afabc5639
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java
@@ -0,0 +1,123 @@
+package org.openecomp.sdc.asdctool.enums;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SchemaZipFileEnumTest {
+
+ private SchemaZipFileEnum createTestSubject() {
+ return SchemaZipFileEnum.DATA;
+ }
+
+
+ @Test
+ public void testGetFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFileName();
+ }
+
+
+ @Test
+ public void testSetFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String fileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFileName(fileName);
+ }
+
+
+ @Test
+ public void testGetSourceFolderName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSourceFolderName();
+ }
+
+
+ @Test
+ public void testSetSourceFolderName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String sourceFolderName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSourceFolderName(sourceFolderName);
+ }
+
+
+ @Test
+ public void testGetSourceFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSourceFileName();
+ }
+
+
+ @Test
+ public void testSetSourceFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String sourceFileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSourceFileName(sourceFileName);
+ }
+
+
+ @Test
+ public void testGetCollectionTitle() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCollectionTitle();
+ }
+
+
+ @Test
+ public void testSetCollectionTitle() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String collectionTitle = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCollectionTitle(collectionTitle);
+ }
+
+
+ @Test
+ public void testGetImportFileList() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getImportFileList();
+ }
+
+
+ @Test
+ public void testSetImportFileList() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String[] importFileList = new String[] { "" };
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImportFileList(importFileList);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
new file mode 100644
index 0000000000..775006bfdc
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
@@ -0,0 +1,70 @@
+package org.openecomp.sdc.asdctool.impl.validator.config;
+
+import java.util.Properties;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ValidationConfigManagerTest {
+
+ private ValidationConfigManager createTestSubject() {
+ return new ValidationConfigManager();
+ }
+
+
+ @Test
+ public void testGetOutputFilePath() throws Exception {
+ String result;
+
+ // default test
+ result = ValidationConfigManager.getOutputFilePath();
+ }
+
+
+ @Test
+ public void testSetOutputFilePath() throws Exception {
+ String outputPath = "";
+
+ // default test
+ ValidationConfigManager.setOutputFilePath(outputPath);
+ }
+
+
+ @Test
+ public void testGetCsvReportFilePath() throws Exception {
+ String result;
+
+ // default test
+ result = ValidationConfigManager.getCsvReportFilePath();
+ }
+
+
+ @Test
+ public void testSetCsvReportFilePath() throws Exception {
+ String outputPath = "";
+
+ // default test
+ ValidationConfigManager.setCsvReportFilePath(outputPath);
+ }
+
+
+ @Test
+ public void testSetValidationConfiguration() throws Exception {
+ String path = "";
+ Properties result;
+
+ // default test
+ result = ValidationConfigManager.setValidationConfiguration(path);
+ }
+
+
+ @Test
+ public void testGetValidationConfiguration() throws Exception {
+ Properties result;
+
+ // default test
+ result = ValidationConfigManager.getValidationConfiguration();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
new file mode 100644
index 0000000000..f220fa149a
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
@@ -0,0 +1,275 @@
+package org.openecomp.sdc.asdctool.impl.validator.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.impl.validator.ValidationToolBL;
+import org.openecomp.sdc.asdctool.impl.validator.executers.ServiceValidatorExecuter;
+import org.openecomp.sdc.asdctool.impl.validator.executers.VfValidatorExecuter;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ArtifactValidationUtils;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ServiceArtifactValidationTask;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.VfArtifactValidationTask;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.moduleJson.ModuleJsonTask;
+import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
+import org.openecomp.sdc.be.dao.TitanClientStrategy;
+import org.openecomp.sdc.be.dao.cassandra.ArtifactCassandraDao;
+import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
+import org.openecomp.sdc.be.dao.jsongraph.TitanDao;
+import org.openecomp.sdc.be.dao.titan.TitanGraphClient;
+import org.openecomp.sdc.be.model.DerivedNodeTypeResolver;
+import org.openecomp.sdc.be.model.jsontitan.operations.ArtifactsOperations;
+import org.openecomp.sdc.be.model.jsontitan.operations.CategoryOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.GroupsOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.NodeTemplateOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.NodeTypeOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaDataOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaElementLifecycleOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
+
+
+public class ValidationToolConfigurationTest {
+
+ private ValidationToolConfiguration createTestSubject() {
+ return new ValidationToolConfiguration();
+ }
+
+
+ @Test
+ public void testBasicServiceValidator() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ServiceValidatorExecuter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.basicServiceValidator();
+ }
+
+
+ @Test
+ public void testVfArtifactValidationTask() throws Exception {
+ ValidationToolConfiguration testSubject;
+ VfArtifactValidationTask result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.vfArtifactValidationTask();
+ }
+
+
+ @Test
+ public void testServiceArtifactValidationTask() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ServiceArtifactValidationTask result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.serviceArtifactValidationTask();
+ }
+
+
+ @Test
+ public void testModuleJsonTask() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ModuleJsonTask result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.moduleJsonTask();
+ }
+
+
+ @Test
+ public void testValidationToolBL() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ValidationToolBL result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.validationToolBL();
+ }
+
+
+ @Test
+ public void testBasicVfValidator() throws Exception {
+ ValidationToolConfiguration testSubject;
+ VfValidatorExecuter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.basicVfValidator();
+ }
+
+
+ @Test
+ public void testReportManager() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ReportManager result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.reportManager();
+ }
+
+
+ @Test
+ public void testArtifactCassandraDao() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ArtifactCassandraDao result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.artifactCassandraDao();
+ }
+
+
+ @Test
+ public void testArtifactValidationUtils() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ArtifactValidationUtils result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.artifactValidationUtils();
+ }
+
+
+ @Test
+ public void testJsonGroupsOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ GroupsOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.jsonGroupsOperation();
+ }
+
+
+ @Test
+ public void testCassandraClient() throws Exception {
+ ValidationToolConfiguration testSubject;
+ CassandraClient result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.cassandraClient();
+ }
+
+
+ @Test
+ public void testDaoStrategy() throws Exception {
+ ValidationToolConfiguration testSubject;
+ TitanClientStrategy result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.daoStrategy();
+ }
+
+
+
+
+
+ @Test
+ public void testToscaOperationFacade() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ToscaOperationFacade result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toscaOperationFacade();
+ }
+
+
+ @Test
+ public void testNodeTypeOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ DerivedNodeTypeResolver migrationDerivedNodeTypeResolver = null;
+ NodeTypeOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.nodeTypeOperation(migrationDerivedNodeTypeResolver);
+ }
+
+
+ @Test
+ public void testTopologyTemplateOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ TopologyTemplateOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.topologyTemplateOperation();
+ }
+
+
+
+
+
+ @Test
+ public void testMigrationDerivedNodeTypeResolver() throws Exception {
+ ValidationToolConfiguration testSubject;
+ DerivedNodeTypeResolver result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.migrationDerivedNodeTypeResolver();
+ }
+
+
+ @Test
+ public void testTitanDao() throws Exception {
+ ValidationToolConfiguration testSubject;
+ TitanGraphClient titanGraphClient = null;
+ TitanDao result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.titanDao(titanGraphClient);
+ }
+
+
+ @Test
+ public void testCategoryOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ CategoryOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.categoryOperation();
+ }
+
+
+ @Test
+ public void testArtifactsOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ArtifactsOperations result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.artifactsOperation();
+ }
+
+
+ @Test
+ public void testToscaDataOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ToscaDataOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toscaDataOperation();
+ }
+
+
+ @Test
+ public void testToscaElementLifecycleOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ToscaElementLifecycleOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toscaElementLifecycleOperation();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java
new file mode 100644
index 0000000000..344c439f4b
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java
@@ -0,0 +1,27 @@
+package org.openecomp.sdc.asdctool.impl.validator.executers;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServiceValidatorExecuterTest {
+
+ private ServiceValidatorExecuter createTestSubject() {
+ return new ServiceValidatorExecuter();
+ }
+
+
+
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ServiceValidatorExecuter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java
new file mode 100644
index 0000000000..523b9ac077
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java
@@ -0,0 +1,44 @@
+package org.openecomp.sdc.asdctool.impl.validator.executers;
+
+import java.util.List;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.TopologyTemplateValidationTask;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+
+
+public class TopologyTemplateValidatorExecuterTest {
+
+ private TopologyTemplateValidatorExecuter createTestSubject() {
+ return new TopologyTemplateValidatorExecuter();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ TopologyTemplateValidatorExecuter testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ TopologyTemplateValidatorExecuter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+
+
+
+
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java
new file mode 100644
index 0000000000..0d75c4d8b2
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java
@@ -0,0 +1,25 @@
+package org.openecomp.sdc.asdctool.impl.validator.executers;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class VfValidatorExecuterTest {
+
+ private VfValidatorExecuter createTestSubject() {
+ return new VfValidatorExecuter();
+ }
+
+
+
+ @Test
+ public void testGetName() throws Exception {
+ VfValidatorExecuter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java
new file mode 100644
index 0000000000..ba1bd72fb7
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java
@@ -0,0 +1,35 @@
+package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactsVertexResultTest {
+
+ private ArtifactsVertexResult createTestSubject() {
+ return new ArtifactsVertexResult();
+ }
+
+
+ @Test
+ public void testAddNotFoundArtifact() throws Exception {
+ ArtifactsVertexResult testSubject;
+ String artifactId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addNotFoundArtifact(artifactId);
+ }
+
+
+ @Test
+ public void testGetResult() throws Exception {
+ ArtifactsVertexResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResult();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java
new file mode 100644
index 0000000000..cdada41b92
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java
@@ -0,0 +1,17 @@
+package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+
+
+public class ServiceArtifactValidationTaskTest {
+
+ private ServiceArtifactValidationTask createTestSubject() {
+ return new ServiceArtifactValidationTask();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java
new file mode 100644
index 0000000000..554e58d9d5
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java
@@ -0,0 +1,18 @@
+package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+
+
+public class VfArtifactValidationTaskTest {
+
+ private VfArtifactValidationTask createTestSubject() {
+ return new VfArtifactValidationTask();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
new file mode 100644
index 0000000000..6e72a31421
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
@@ -0,0 +1,78 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ElementTypeEnumTest {
+
+ private ElementTypeEnum createTestSubject() {
+ return ElementTypeEnum.VF;
+ }
+
+
+ @Test
+ public void testGetByType() throws Exception {
+ String elementType = "";
+ ElementTypeEnum result;
+
+ // default test
+ result = ElementTypeEnum.getByType(elementType);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ElementTypeEnum.getAllTypes();
+ }
+
+
+ @Test
+ public void testGetElementType() throws Exception {
+ ElementTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElementType();
+ }
+
+
+ @Test
+ public void testSetElementType() throws Exception {
+ ElementTypeEnum testSubject;
+ String elementType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElementType(elementType);
+ }
+
+
+ @Test
+ public void testGetClazz() throws Exception {
+ ElementTypeEnum testSubject;
+ Class result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getClazz();
+ }
+
+
+ @Test
+ public void testSetClazz() throws Exception {
+ ElementTypeEnum testSubject;
+ Class clazz = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setClazz(clazz);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java
new file mode 100644
index 0000000000..96eedcf1fd
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java
@@ -0,0 +1,80 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+
+
+public class ValidationTaskResultTest {
+
+ private ValidationTaskResult createTestSubject() {
+ return new ValidationTaskResult(new GraphVertex(), "", "", false);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ValidationTaskResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ ValidationTaskResult testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetResultMessage() throws Exception {
+ ValidationTaskResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResultMessage();
+ }
+
+
+ @Test
+ public void testSetResultMessage() throws Exception {
+ ValidationTaskResult testSubject;
+ String resultMessage = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResultMessage(resultMessage);
+ }
+
+
+ @Test
+ public void testIsSuccessful() throws Exception {
+ ValidationTaskResult testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isSuccessful();
+ }
+
+
+ @Test
+ public void testSetSuccessful() throws Exception {
+ ValidationTaskResult testSubject;
+ boolean successful = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSuccessful(successful);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java
new file mode 100644
index 0000000000..3b88a683ed
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class VertexResultTest {
+
+ private VertexResult createTestSubject() {
+ return new VertexResult();
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ VertexResult testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ VertexResult testSubject;
+ boolean status = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetResult() throws Exception {
+ VertexResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResult();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java
new file mode 100644
index 0000000000..e8641097b6
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java
@@ -0,0 +1,78 @@
+package org.openecomp.sdc.asdctool.migration.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.migration.core.SdcMigrationTool;
+import org.openecomp.sdc.asdctool.migration.dao.MigrationTasksDao;
+import org.openecomp.sdc.asdctool.migration.resolver.MigrationResolver;
+import org.openecomp.sdc.asdctool.migration.resolver.SpringBeansMigrationResolver;
+import org.openecomp.sdc.asdctool.migration.service.SdcRepoService;
+import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
+
+
+public class MigrationSpringConfigTest {
+
+ private MigrationSpringConfig createTestSubject() {
+ return new MigrationSpringConfig();
+ }
+
+
+ @Test
+ public void testSdcMigrationTool() throws Exception {
+ MigrationSpringConfig testSubject;
+ MigrationResolver migrationResolver = null;
+ SdcRepoService sdcRepoService = null;
+ SdcMigrationTool result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.sdcMigrationTool(migrationResolver, sdcRepoService);
+ }
+
+
+ @Test
+ public void testMigrationResolver() throws Exception {
+ MigrationSpringConfig testSubject;
+ SdcRepoService sdcRepoService = null;
+ SpringBeansMigrationResolver result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.migrationResolver(sdcRepoService);
+ }
+
+
+ @Test
+ public void testSdcRepoService() throws Exception {
+ MigrationSpringConfig testSubject;
+ MigrationTasksDao migrationTasksDao = null;
+ SdcRepoService result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.sdcRepoService(migrationTasksDao);
+ }
+
+
+ @Test
+ public void testMigrationTasksDao() throws Exception {
+ MigrationSpringConfig testSubject;
+ MigrationTasksDao result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.migrationTasksDao();
+ }
+
+
+ @Test
+ public void testCassandraClient() throws Exception {
+ MigrationSpringConfig testSubject;
+ CassandraClient result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.cassandraClient();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java
new file mode 100644
index 0000000000..31af99c64d
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java
@@ -0,0 +1,58 @@
+package org.openecomp.sdc.asdctool.migration.core.task;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.migration.core.task.MigrationResult.MigrationStatus;
+
+
+public class MigrationResultTest {
+
+ private MigrationResult createTestSubject() {
+ return new MigrationResult();
+ }
+
+
+ @Test
+ public void testGetMsg() throws Exception {
+ MigrationResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMsg();
+ }
+
+
+ @Test
+ public void testSetMsg() throws Exception {
+ MigrationResult testSubject;
+ String msg = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMsg(msg);
+ }
+
+
+ @Test
+ public void testGetMigrationStatus() throws Exception {
+ MigrationResult testSubject;
+ MigrationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMigrationStatus();
+ }
+
+
+ @Test
+ public void testSetMigrationStatus() throws Exception {
+ MigrationResult testSubject;
+ MigrationStatus migrationStatus = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMigrationStatus(migrationStatus);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/servlets/EntryPointTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/servlets/EntryPointTest.java
new file mode 100644
index 0000000000..c3f7874c12
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/servlets/EntryPointTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.asdctool.servlets;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class EntryPointTest {
+
+ private EntryPoint createTestSubject() {
+ return new EntryPoint();
+ }
+
+
+ @Test
+ public void testTest() throws Exception {
+ EntryPoint testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.test();
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/TestQueue.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/TestQueue.java
deleted file mode 100644
index d9cd6ef51f..0000000000
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/distribution/engine/TestQueue.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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.be.components.distribution.engine;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Timer;
-import java.util.TimerTask;
-import java.util.concurrent.ArrayBlockingQueue;
-import java.util.concurrent.BlockingQueue;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.concurrent.RejectedExecutionException;
-import java.util.concurrent.SynchronousQueue;
-import java.util.concurrent.ThreadFactory;
-import java.util.concurrent.ThreadPoolExecutor;
-import java.util.concurrent.TimeUnit;
-import java.util.concurrent.atomic.AtomicBoolean;
-
-import com.google.common.util.concurrent.ThreadFactoryBuilder;
-
-public class TestQueue {
-
- public static void main(String[] args) {
- ThreadFactoryBuilder threadFactoryBuilder = new ThreadFactoryBuilder();
- threadFactoryBuilder.setNameFormat("distribution-notification-thread");
- ThreadFactory threadFactory = threadFactoryBuilder.build();
- // TODO: add the package of google to the pom
-
- ExecutorService executorService = new ThreadPoolExecutor(0, 10, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>(), threadFactory);
- // ExecutorService executorService = new ThreadPoolExecutor(0, 2, 60L,
- // TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(20));
-
- // 2 threads are always up and they handle the tasks. in case core size
- // is 0, only one is handles the tasks.
- // ExecutorService executorService = new ThreadPoolExecutor(0, 2, 60L,
- // TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(20));
-
- // TODO : check what happen when the number of threads are full. Throw
- // RejectedExecutionException
- // TODO : check what happen whether the pool is full and the size of
- // pool
-
- ExecutorService newCachedThreadPool = Executors.newCachedThreadPool(threadFactory);
- Runnable task = new Runnable() {
-
- @Override
- public void run() {
- try {
- System.out.println("iN SLEEP" + Thread.currentThread());
- Thread.sleep(10 * 1000);
- System.out.println("OUT SLEEP");
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- }
- };
-
- for (int i = 0; i < 4; i++) {
- try {
- executorService.submit(task);
- } catch (RejectedExecutionException e) {
- e.printStackTrace();
- }
- }
-
- newCachedThreadPool.submit(task);
- System.out.println("After submitting the task");
-
- MyWorker[] watchThreads = new MyWorker[1];
- BlockingQueue<String> queue = new ArrayBlockingQueue<>(5);
- for (int i = 0; i < watchThreads.length; i++) {
- MyWorker myWorker = new MyWorker(queue);
- myWorker.start();
- }
-
- for (int i = 0; i < 1; i++) {
- try {
- queue.put("message " + i);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- }
-
- }
-
- public static class MyTimerTask extends TimerTask {
-
- AtomicBoolean state;
- Thread thread;
-
- public MyTimerTask(AtomicBoolean state, Thread thread) {
- super();
- this.state = state;
- this.thread = thread;
-
- System.out.println("After create timer");
- }
-
- @Override
- public void run() {
- System.out.println("In running of Timer task");
- if (state.get() == false) {
- System.out.println("In running of Timer task. Going to interrupt thread");
- // thread.interrupt();
- } else {
- System.out.println("In running of Timer task. Finished.");
- }
- }
-
- }
-
- public static class MyWorker extends Thread {
-
- boolean active = true;
- private final BlockingQueue<String> queue;
-
- public MyWorker(BlockingQueue<String> queue) {
- this.queue = queue;
- }
-
- Timer timer = new Timer();
-
- public void run() {
- try {
- while (active) {
- String s = queue.take();
- System.out.println("Thread " + Thread.currentThread() + " fecthed a message " + s);
-
- AtomicBoolean atomicBoolean = new AtomicBoolean(false);
- MyTimerTask myTimerTask = new MyTimerTask(atomicBoolean, this);
- timer.schedule(myTimerTask, 10 * 1000);
- doWork(s);
- atomicBoolean.set(true);
-
- }
- } catch (InterruptedException ie) {
-
- System.out.println("Interrupted our thread");
- ie.printStackTrace();
- }
- }
-
- private void doWork(String s) {
- // TODO Auto-generated method stub
-
- CambriaHandler cambriaHandler = new CambriaHandler();
- INotificationData data = new NotificationDataImpl();
- List<String> servers = new ArrayList<>();
- servers.add("aaaaaaa");
- cambriaHandler.sendNotification("topicName", "uebPublicKey", "uebSecretKey", servers, data);
-
- System.out.println("IN WORK " + s);
- try {
- Thread.sleep(1 * 1000);
- } catch (InterruptedException e) {
-
- for (int i = 0; i < 10; i++) {
- System.out.println("*************************************************");
- }
- e.printStackTrace();
- }
- }
- }
-
-}
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogic.java
index 4fd4610ef9..5b8a10a03e 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogic.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogic.java
@@ -83,7 +83,7 @@ public class AttributeBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> status = toscaOperationFacade.getToscaElement(resourceId);
if (status.isRight()) {
- return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
}
Resource resource = status.left().value();
@@ -151,7 +151,7 @@ public class AttributeBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> status = toscaOperationFacade.getToscaElement(resourceId);
if (status.isRight()) {
- return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
}
Resource resource = status.left().value();
@@ -195,7 +195,7 @@ public class AttributeBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> eitherResource = toscaOperationFacade.getToscaElement(resourceId);
if (eitherResource.isRight()) {
- return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
}
Resource resource = eitherResource.left().value();
@@ -273,7 +273,7 @@ public class AttributeBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> eitherResource = toscaOperationFacade.getToscaElement(resourceId);
if (eitherResource.isRight()) {
- return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
}
Resource resource = eitherResource.left().value();
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentBusinessLogic.java
index 33180cd35e..a34bf00a7a 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentBusinessLogic.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentBusinessLogic.java
@@ -38,11 +38,7 @@ import org.openecomp.sdc.be.dao.jsongraph.types.JsonParseFlagEnum;
import org.openecomp.sdc.be.datamodel.api.HighestFilterEnum;
import org.openecomp.sdc.be.datatypes.components.ServiceMetadataDataDefinition;
import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
-import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
-import org.openecomp.sdc.be.datatypes.enums.FilterKeyEnum;
-import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
-import org.openecomp.sdc.be.datatypes.enums.OriginTypeEnum;
-import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
+import org.openecomp.sdc.be.datatypes.enums.*;
import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
import org.openecomp.sdc.be.model.ArtifactDefinition;
import org.openecomp.sdc.be.model.CapReqDef;
@@ -686,8 +682,11 @@ public abstract class ComponentBusinessLogic extends BaseBusinessLogic {
}
public Either<ImmutablePair<String, byte[]>, ResponseFormat> getToscaModelByComponentUuid(ComponentTypeEnum componentType, String uuid, EnumMap<AuditingFieldsKeysEnum, Object> additionalParam) {
-
- Either<List<Component>, StorageOperationStatus> latestVersionEither = toscaOperationFacade.getComponentListByUuid(uuid, null);
+
+ Map<GraphPropertyEnum, Object> additionalPropertiesToMatch = new EnumMap<>(GraphPropertyEnum.class);
+ additionalPropertiesToMatch.put(GraphPropertyEnum.COMPONENT_TYPE, componentType.name());
+
+ Either<List<Component>, StorageOperationStatus> latestVersionEither = toscaOperationFacade.getComponentListByUuid(uuid, additionalPropertiesToMatch);
if (latestVersionEither.isRight()) {
ResponseFormat response = componentsUtils.getResponseFormat(componentsUtils.convertFromStorageResponse(latestVersionEither.right().value(), componentType));
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PropertyBusinessLogic.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PropertyBusinessLogic.java
index 833e6c0b9e..e16b34f389 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PropertyBusinessLogic.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/PropertyBusinessLogic.java
@@ -121,7 +121,7 @@ public class PropertyBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> status = toscaOperationFacade.getToscaElement(resourceId);
if (status.isRight()) {
- result = Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ result = Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
return result;
}
Resource resource = status.left().value();
@@ -219,7 +219,7 @@ public class PropertyBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> status = toscaOperationFacade.getToscaElement(resourceId);
if (status.isRight()) {
- return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
}
Resource resource = status.left().value();
@@ -271,7 +271,7 @@ public class PropertyBusinessLogic extends BaseBusinessLogic {
// Get the resource from DB
Either<Resource, StorageOperationStatus> getResourceRes = toscaOperationFacade.getToscaElement(resourceId);
if (getResourceRes.isRight()) {
- result = Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ result = Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
return result;
}
Resource resource = getResourceRes.left().value();
@@ -321,7 +321,7 @@ public class PropertyBusinessLogic extends BaseBusinessLogic {
Either<Resource, StorageOperationStatus> status = toscaOperationFacade.getToscaElement(resourceId);
if (status.isRight()) {
- return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, ""));
+ return Either.right(componentsUtils.getResponseFormat(ActionStatus.RESOURCE_NOT_FOUND, resourceId));
}
Resource resource = status.left().value();
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ProductServlet.java b/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ProductServlet.java
index 681195643e..209f38d8a4 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ProductServlet.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/servlets/ProductServlet.java
@@ -39,7 +39,6 @@ import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.openecomp.sdc.be.components.impl.ProductBusinessLogic;
-import org.openecomp.sdc.be.components.impl.ServiceBusinessLogic;
import org.openecomp.sdc.be.config.BeEcompErrorManager;
import org.openecomp.sdc.be.dao.api.ActionStatus;
import org.openecomp.sdc.be.model.Product;
@@ -51,14 +50,14 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jcabi.aspects.Loggable;
+
+import fj.data.Either;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
-import fj.data.Either;
-
@Loggable(prepend = true, value = Loggable.DEBUG, trim = false)
@Path("/v1/catalog")
@Api(value = "Product Catalog", description = "Product Servlet")
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/CapabiltyRequirementConvertor.java b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/CapabiltyRequirementConvertor.java
index 006c5c22d3..649f083903 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/CapabiltyRequirementConvertor.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/CapabiltyRequirementConvertor.java
@@ -1,4 +1,5 @@
/*-
+
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json
new file mode 100644
index 0000000000..5d721d4abc
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "VDU.yml",
+ "contactId": "jh0003",
+ "name": "VDU",
+ "description": "VDU",
+ "resourceIconPath": "compute",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["VDU"]
+} \ No newline at end of file
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml
new file mode 100644
index 0000000000..541126f7e3
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.yml
@@ -0,0 +1,22 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.VDU:
+ derived_from: tosca.nodes.SoftwareComponent
+ capabilities:
+#Not found in any spec
+# high_availability:
+# type: nfv.capabilities.HA
+ Virtualbinding:
+ type: tosca.capabilities.nfv.VirtualBindable
+# monitoring_parameter:
+# type: nfv.capabilities.Metric
+ requirements:
+#Not found in any spec
+# - high_availability:
+# capability: nfv.capabilities.HA
+# relationship: nfv.relationships.HA
+# occurrences: [ 0, 1 ]
+ - host:
+ capability: tosca.capabilities.Container
+ node: tosca.nodes.Compute
+ relationship: tosca.relationships.HostedOn
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zip b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zip
new file mode 100644
index 0000000000..9010bf0544
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/VDU/VDU.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json b/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json
index 558a45be09..49895e44a6 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/extImageFile/extImageFile.json
@@ -3,7 +3,7 @@
"contactId": "jh0003",
"name": "Ext Image File",
"description": "Ext Image File",
- "resourceIconPath": "default",
+ "resourceIconPath": "defaulticon",
"resourceType": "VFC",
"categories": [{
"name": "Generic",
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json b/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json
index bce521b998..6cfdd47b1e 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/extLocalStorage/extLocalStorage.json
@@ -3,7 +3,7 @@
"contactId": "jh0003",
"name": "Ext Local Storage",
"description": "Ext Local Storage",
- "resourceIconPath": "default",
+ "resourceIconPath": "objectStorage",
"resourceType": "VFC",
"categories": [{
"name": "Generic",
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml
index 75a867ca45..207047a3d7 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.yml
@@ -67,7 +67,7 @@ node_types:
- 0
- UNBOUNDED
- virtualLink:
- capability: tosca.capabilities.nfv.VirtualBindable
+ capability: tosca.capabilities.nfv.VirtualLinkable
occurrences:
- 0
- UNBOUNDED
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip
index 6626075fe4..ca6d0738de 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/extZteCP/extZteCP.zip
Binary files differ
diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml b/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml
index e5d79fcacf..673e923182 100644
--- a/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml
+++ b/catalog-be/src/main/resources/import/tosca/onap-types/vduCpd/vduCpd.yml
@@ -1,3 +1,4 @@
+#NOT SPEC COMPLAINT!!!!!!!!!!!!!!!!!!!!!!
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
tosca.nodes.nfv.VduCpd:
diff --git a/catalog-be/src/main/resources/scripts/import/tosca/importOnapTypes.py b/catalog-be/src/main/resources/scripts/import/tosca/importOnapTypes.py
index 31c11c74bc..664c5cc64a 100644
--- a/catalog-be/src/main/resources/scripts/import/tosca/importOnapTypes.py
+++ b/catalog-be/src/main/resources/scripts/import/tosca/importOnapTypes.py
@@ -30,7 +30,8 @@ def importOnapTypes(beHost, bePort, adminUser, fileDir, updateversion):
"vduCpd",
"vduVirtualStorage",
"vnfVirtualLinkDesc",
- "NSD"
+ "NSD",
+ "VDU"
]
responseCodes = [200, 201]
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/ServiceBusinessLogicTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/ServiceBusinessLogicTest.java
index d8b82da396..95845c3660 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/components/ServiceBusinessLogicTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/ServiceBusinessLogicTest.java
@@ -20,7 +20,19 @@
package org.openecomp.sdc.be.components;
-import fj.data.Either;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.mockito.Mockito.when;
+
+import java.lang.reflect.Method;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.servlet.ServletContext;
+
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.junit.Before;
import org.junit.Ignore;
@@ -70,15 +82,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.context.WebApplicationContext;
-import javax.servlet.ServletContext;
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import static org.junit.Assert.*;
-import static org.mockito.Mockito.when;
+import fj.data.Either;
public class ServiceBusinessLogicTest {
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/clean/AsdcComponentsCleanerTaskTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/clean/AsdcComponentsCleanerTaskTest.java
new file mode 100644
index 0000000000..be55cbd12a
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/clean/AsdcComponentsCleanerTaskTest.java
@@ -0,0 +1,66 @@
+package org.openecomp.sdc.be.components.clean;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AsdcComponentsCleanerTaskTest {
+
+ private AsdcComponentsCleanerTask createTestSubject() {
+ return new AsdcComponentsCleanerTask();
+ }
+
+
+ @Test
+ public void testInit() throws Exception {
+ AsdcComponentsCleanerTask testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.init();
+ }
+
+
+ @Test
+ public void testDestroy() throws Exception {
+ AsdcComponentsCleanerTask testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.destroy();
+ }
+
+
+ @Test
+ public void testStartTask() throws Exception {
+ AsdcComponentsCleanerTask testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.startTask();
+ }
+
+
+ @Test
+ public void testStopTask() throws Exception {
+ AsdcComponentsCleanerTask testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.stopTask();
+ }
+
+
+
+
+
+ @Test
+ public void testRun() throws Exception {
+ AsdcComponentsCleanerTask testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.run();
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/TestSuite.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/TestSuite.java
new file mode 100644
index 0000000000..712e16d97a
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/TestSuite.java
@@ -0,0 +1,12 @@
+package org.openecomp.sdc.be.components.distribution.engine;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+@RunWith(Suite.class)
+@Suite.SuiteClasses(
+
+{ DistributionEngineInitTaskTest.class, DistributionEngineConfigTest.class, DistributionEngineHealthCheckTest.class,
+ VfModuleArtifactPayloadTest.class })
+public class TestSuite { // nothing
+}
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/VfModuleArtifactPayloadTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/VfModuleArtifactPayloadTest.java
new file mode 100644
index 0000000000..1bc8c47f8c
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/VfModuleArtifactPayloadTest.java
@@ -0,0 +1,66 @@
+package org.openecomp.sdc.be.components.distribution.engine;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.GroupDefinition;
+import org.openecomp.sdc.be.model.GroupInstance;
+import org.openecomp.sdc.be.model.GroupInstanceProperty;
+
+
+public class VfModuleArtifactPayloadTest {
+
+ private VfModuleArtifactPayload createTestSubject() {
+ return new VfModuleArtifactPayload(new GroupDefinition());
+ }
+
+
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ VfModuleArtifactPayload testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ VfModuleArtifactPayload testSubject;
+ List<String> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ VfModuleArtifactPayload testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ VfModuleArtifactPayload testSubject;
+ List<GroupInstanceProperty> properties = new ArrayList<>();
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java
index c47400bcdb..796a426e26 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java
@@ -20,7 +20,10 @@
package org.openecomp.sdc.be.components.impl;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import java.lang.reflect.Method;
@@ -29,11 +32,14 @@ import java.util.EnumMap;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Set;
+import java.util.regex.Pattern;
import java.util.stream.Collectors;
import javax.servlet.ServletContext;
import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
@@ -50,25 +56,42 @@ import org.openecomp.sdc.be.components.lifecycle.LifecycleChangeInfoWithAction;
import org.openecomp.sdc.be.config.ConfigurationManager;
import org.openecomp.sdc.be.dao.api.ActionStatus;
import org.openecomp.sdc.be.dao.jsongraph.TitanDao;
+import org.openecomp.sdc.be.datamodel.api.HighestFilterEnum;
import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
import org.openecomp.sdc.be.impl.ComponentsUtils;
import org.openecomp.sdc.be.impl.WebAppContextWrapper;
import org.openecomp.sdc.be.model.ArtifactDefinition;
+import org.openecomp.sdc.be.model.CapabilityDefinition;
import org.openecomp.sdc.be.model.Component;
+import org.openecomp.sdc.be.model.ComponentInstance;
+import org.openecomp.sdc.be.model.ComponentMetadataDefinition;
+import org.openecomp.sdc.be.model.CsarInfo;
import org.openecomp.sdc.be.model.DataTypeDefinition;
+import org.openecomp.sdc.be.model.GroupDefinition;
+import org.openecomp.sdc.be.model.GroupProperty;
+import org.openecomp.sdc.be.model.GroupTypeDefinition;
import org.openecomp.sdc.be.model.InputDefinition;
import org.openecomp.sdc.be.model.LifeCycleTransitionEnum;
import org.openecomp.sdc.be.model.LifecycleStateEnum;
+import org.openecomp.sdc.be.model.NodeTypeInfo;
+import org.openecomp.sdc.be.model.ParsedToscaYamlInfo;
import org.openecomp.sdc.be.model.PropertyDefinition;
import org.openecomp.sdc.be.model.Resource;
+import org.openecomp.sdc.be.model.UploadCapInfo;
+import org.openecomp.sdc.be.model.UploadComponentInstanceInfo;
+import org.openecomp.sdc.be.model.UploadReqInfo;
+import org.openecomp.sdc.be.model.UploadResourceInfo;
import org.openecomp.sdc.be.model.User;
import org.openecomp.sdc.be.model.cache.ApplicationDataTypeCache;
+import org.openecomp.sdc.be.model.category.CategoryDefinition;
+import org.openecomp.sdc.be.model.category.SubCategoryDefinition;
import org.openecomp.sdc.be.model.jsontitan.operations.NodeTemplateOperation;
import org.openecomp.sdc.be.model.jsontitan.operations.NodeTypeOperation;
import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation;
import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
+import org.openecomp.sdc.be.model.operations.api.ICacheMangerOperation;
import org.openecomp.sdc.be.model.operations.api.ICapabilityTypeOperation;
import org.openecomp.sdc.be.model.operations.api.IElementOperation;
import org.openecomp.sdc.be.model.operations.api.IPropertyOperation;
@@ -79,12 +102,15 @@ import org.openecomp.sdc.be.model.operations.impl.GraphLockOperation;
import org.openecomp.sdc.be.model.tosca.ToscaPropertyType;
import org.openecomp.sdc.be.resources.data.auditing.AuditingActionEnum;
import org.openecomp.sdc.be.tosca.CsarUtils.NonMetaArtifactInfo;
+import org.openecomp.sdc.be.ui.model.UiComponentDataTransfer;
+import org.openecomp.sdc.be.user.IUserBusinessLogic;
import org.openecomp.sdc.be.user.Role;
import org.openecomp.sdc.be.user.UserBusinessLogic;
import org.openecomp.sdc.common.api.ArtifactGroupTypeEnum;
import org.openecomp.sdc.common.api.ArtifactTypeEnum;
import org.openecomp.sdc.common.api.ConfigurationSource;
import org.openecomp.sdc.common.api.Constants;
+import org.openecomp.sdc.common.datastructure.AuditingFieldsKeysEnum;
import org.openecomp.sdc.common.impl.ExternalConfiguration;
import org.openecomp.sdc.common.impl.FSConfigurationSource;
import org.openecomp.sdc.common.util.GeneralUtility;
@@ -94,6 +120,8 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.context.WebApplicationContext;
+import com.att.nsa.cambria.test.support.CambriaBatchingPublisherMock.Entry;
+
import fj.data.Either;
public class ResourceBusinessLogicTest {
@@ -107,10 +135,10 @@ public class ResourceBusinessLogicTest {
public static final String UPDATED_SUBCATEGORY = "Gateway";
public static final String RESOURCE_NAME = "My-Resource_Name with space";
- private static final String GENERIC_VF_NAME = "org.openecomp.resource.abstract.nodes.VF";
- private static final String GENERIC_VFC_NAME = "org.openecomp.resource.abstract.nodes.VFC";
- private static final String GENERIC_PNF_NAME = "org.openecomp.resource.abstract.nodes.PNF";
-
+ private static final String GENERIC_VF_NAME = "org.openecomp.resource.abstract.nodes.VF";
+ private static final String GENERIC_VFC_NAME = "org.openecomp.resource.abstract.nodes.VFC";
+ private static final String GENERIC_PNF_NAME = "org.openecomp.resource.abstract.nodes.PNF";
+
final ServletContext servletContext = Mockito.mock(ServletContext.class);
IAuditingManager iAuditingManager = null;
IElementOperation mockElementDao;
@@ -157,7 +185,8 @@ public class ResourceBusinessLogicTest {
// Init Configuration
String appConfigDir = "src/test/resources/config/catalog-be";
- ConfigurationSource configurationSource = new FSConfigurationSource(ExternalConfiguration.getChangeListener(), appConfigDir);
+ ConfigurationSource configurationSource = new FSConfigurationSource(ExternalConfiguration.getChangeListener(),
+ appConfigDir);
ConfigurationManager configurationManager = new ConfigurationManager(configurationSource);
// Elements
@@ -175,30 +204,38 @@ public class ResourceBusinessLogicTest {
// Servlet Context attributes
when(servletContext.getAttribute(Constants.CONFIGURATION_MANAGER_ATTR)).thenReturn(configurationManager);
- when(servletContext.getAttribute(Constants.WEB_APPLICATION_CONTEXT_WRAPPER_ATTR)).thenReturn(webAppContextWrapper);
+ when(servletContext.getAttribute(Constants.WEB_APPLICATION_CONTEXT_WRAPPER_ATTR))
+ .thenReturn(webAppContextWrapper);
when(webAppContextWrapper.getWebAppContext(servletContext)).thenReturn(webAppContext);
when(webAppContext.getBean(IElementOperation.class)).thenReturn(mockElementDao);
Either<Integer, StorageOperationStatus> eitherCountRoot = Either.left(1);
Either<Boolean, StorageOperationStatus> eitherFalse = Either.left(true);
- when(toscaOperationFacade.validateComponentNameExists("Root", ResourceTypeEnum.VFC, ComponentTypeEnum.RESOURCE)).thenReturn(eitherFalse);
+ when(toscaOperationFacade.validateComponentNameExists("Root", ResourceTypeEnum.VFC, ComponentTypeEnum.RESOURCE))
+ .thenReturn(eitherFalse);
Either<Boolean, StorageOperationStatus> eitherCountExist = Either.left(true);
- when(toscaOperationFacade.validateComponentNameExists("alreadyExists", ResourceTypeEnum.VFC, ComponentTypeEnum.RESOURCE)).thenReturn(eitherCountExist);
-
+ when(toscaOperationFacade.validateComponentNameExists("alreadyExists", ResourceTypeEnum.VFC,
+ ComponentTypeEnum.RESOURCE)).thenReturn(eitherCountExist);
+
Either<Boolean, StorageOperationStatus> eitherCount = Either.left(false);
- when(toscaOperationFacade.validateComponentNameExists(RESOURCE_NAME, ResourceTypeEnum.VFC, ComponentTypeEnum.RESOURCE)).thenReturn(eitherCount);
- when(toscaOperationFacade.validateComponentNameExists(RESOURCE_NAME, ResourceTypeEnum.VF, ComponentTypeEnum.RESOURCE)).thenReturn(eitherCount);
- when(toscaOperationFacade.validateComponentNameExists(RESOURCE_NAME, ResourceTypeEnum.PNF, ComponentTypeEnum.RESOURCE)).thenReturn(eitherCount);
-
+ when(toscaOperationFacade.validateComponentNameExists(RESOURCE_NAME, ResourceTypeEnum.VFC,
+ ComponentTypeEnum.RESOURCE)).thenReturn(eitherCount);
+ when(toscaOperationFacade.validateComponentNameExists(RESOURCE_NAME, ResourceTypeEnum.VF,
+ ComponentTypeEnum.RESOURCE)).thenReturn(eitherCount);
+ when(toscaOperationFacade.validateComponentNameExists(RESOURCE_NAME, ResourceTypeEnum.PNF,
+ ComponentTypeEnum.RESOURCE)).thenReturn(eitherCount);
+
Either<Boolean, StorageOperationStatus> validateDerivedExists = Either.left(true);
when(toscaOperationFacade.validateToscaResourceNameExists("Root")).thenReturn(validateDerivedExists);
-
+
Either<Boolean, StorageOperationStatus> validateDerivedNotExists = Either.left(false);
when(toscaOperationFacade.validateToscaResourceNameExists("kuku")).thenReturn(validateDerivedNotExists);
- when(graphLockOperation.lockComponent(Mockito.anyString(), Mockito.eq(NodeTypeEnum.Resource))).thenReturn(StorageOperationStatus.OK);
- when(graphLockOperation.lockComponentByName(Mockito.anyString(), Mockito.eq(NodeTypeEnum.Resource))).thenReturn(StorageOperationStatus.OK);
-
+ when(graphLockOperation.lockComponent(Mockito.anyString(), Mockito.eq(NodeTypeEnum.Resource)))
+ .thenReturn(StorageOperationStatus.OK);
+ when(graphLockOperation.lockComponentByName(Mockito.anyString(), Mockito.eq(NodeTypeEnum.Resource)))
+ .thenReturn(StorageOperationStatus.OK);
+
// createResource
resourceResponse = createResourceObject(true);
Either<Resource, StorageOperationStatus> eitherCreate = Either.left(resourceResponse);
@@ -287,7 +324,7 @@ public class ResourceBusinessLogicTest {
if (afterCreate) {
resource.setName(resource.getName());
resource.setVersion("0.1");
-
+
resource.setUniqueId(resource.getName().toLowerCase() + ":" + resource.getVersion());
resource.setCreatorUserId(user.getUserId());
resource.setCreatorFullName(user.getFirstName() + " " + user.getLastName());
@@ -305,7 +342,8 @@ public class ResourceBusinessLogicTest {
@Test
public void testHappyScenario() {
Resource resource = createResourceObject(false);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resource, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resource,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
if (createResponse.isRight()) {
assertEquals(new Integer(200), createResponse.right().value().getStatus());
@@ -317,15 +355,17 @@ public class ResourceBusinessLogicTest {
public void testUpdateHappyScenario() {
Resource resource = createResourceObjectCsar(true);
setCanWorkOnResource(resource);
-
+
Either<Resource, StorageOperationStatus> resourceLinkedToCsarRes = Either.left(resource);
- when(toscaOperationFacade.getLatestComponentByCsarOrName(ComponentTypeEnum.RESOURCE, resource.getCsarUUID(), resource.getSystemName())).thenReturn(resourceLinkedToCsarRes);
+ when(toscaOperationFacade.getLatestComponentByCsarOrName(ComponentTypeEnum.RESOURCE, resource.getCsarUUID(),
+ resource.getSystemName())).thenReturn(resourceLinkedToCsarRes);
Either<Boolean, StorageOperationStatus> validateDerivedExists = Either.left(true);
when(toscaOperationFacade.validateToscaResourceNameExists("Root")).thenReturn(validateDerivedExists);
-
+
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> updateResponse = bl.validateAndUpdateResourceFromCsar(resource, user, null, null, resource.getUniqueId());
+ Either<Resource, ResponseFormat> updateResponse = bl.validateAndUpdateResourceFromCsar(resource, user, null,
+ null, resource.getUniqueId());
if (updateResponse.isRight()) {
assertEquals(new Integer(200), updateResponse.right().value().getStatus());
}
@@ -353,7 +393,7 @@ public class ResourceBusinessLogicTest {
testTagsExceedsLimitCreate();
testTagsNoServiceName();
testInvalidTag();
-
+
testContactIdTooLong();
testContactIdWrongFormatCreate();
testResourceContactIdEmpty();
@@ -381,15 +421,18 @@ public class ResourceBusinessLogicTest {
resourceExist.setName(resourceName);
resourceExist.getTags().add(resourceName);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
- assertResponse(createResponse, ActionStatus.COMPONENT_NAME_ALREADY_EXIST, ComponentTypeEnum.RESOURCE.getValue(), resourceName);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ assertResponse(createResponse, ActionStatus.COMPONENT_NAME_ALREADY_EXIST, ComponentTypeEnum.RESOURCE.getValue(),
+ resourceName);
}
private void testResourceNameEmpty() {
Resource resourceExist = createResourceObject(false);
resourceExist.setName(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertResponse(createResponse, ActionStatus.MISSING_COMPONENT_NAME, ComponentTypeEnum.RESOURCE.getValue());
}
@@ -399,9 +442,11 @@ public class ResourceBusinessLogicTest {
String tooLongResourceName = "zCRCAWjqte0DtgcAAMmcJcXeNubeX1p1vOZNTShAHOYNAHvV3iK";
resourceExccedsNameLimit.setName(tooLongResourceName);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_NAME_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.COMPONENT_NAME_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_NAME_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(),
+ "" + ValidationUtils.COMPONENT_NAME_MAX_LENGTH);
}
private void testResourceNameWrongFormat() {
@@ -410,7 +455,8 @@ public class ResourceBusinessLogicTest {
String nameWrongFormat = "ljg?fd";
resource.setName(nameWrongFormat);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resource, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resource,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_COMPONENT_NAME, ComponentTypeEnum.RESOURCE.getValue());
}
@@ -431,9 +477,11 @@ public class ResourceBusinessLogicTest {
resourceExccedsDescLimit.setDescription(tooLongResourceDesc);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsDescLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsDescLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_DESCRIPTION_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.COMPONENT_DESCRIPTION_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_DESCRIPTION_EXCEEDS_LIMIT,
+ ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.COMPONENT_DESCRIPTION_MAX_LENGTH);
}
private void testResourceDescNotEnglish() {
@@ -442,29 +490,35 @@ public class ResourceBusinessLogicTest {
String notEnglishDesc = "\uC2B5";
notEnglish.setDescription(notEnglishDesc);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(notEnglish, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(notEnglish,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_DESCRIPTION, ComponentTypeEnum.RESOURCE.getValue());
+ assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_DESCRIPTION,
+ ComponentTypeEnum.RESOURCE.getValue());
}
private void testResourceDescriptionEmpty() {
Resource resourceExist = createResourceObject(false);
resourceExist.setDescription("");
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_DESCRIPTION, ComponentTypeEnum.RESOURCE.getValue());
+ assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_DESCRIPTION,
+ ComponentTypeEnum.RESOURCE.getValue());
}
private void testResourceDescriptionMissing() {
Resource resourceExist = createResourceObject(false);
resourceExist.setDescription(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_DESCRIPTION, ComponentTypeEnum.RESOURCE.getValue());
+ assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_DESCRIPTION,
+ ComponentTypeEnum.RESOURCE.getValue());
}
// Resource description - end
// Resource icon start
@@ -473,7 +527,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setIcon(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_ICON, ComponentTypeEnum.RESOURCE.getValue());
@@ -483,7 +538,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setIcon("kjk3453^&");
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_ICON, ComponentTypeEnum.RESOURCE.getValue());
@@ -493,10 +549,12 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setIcon("dsjfhskdfhskjdhfskjdhkjdhfkshdfksjsdkfhsdfsdfsdfsfsdfsf");
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_ICON_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.ICON_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_ICON_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(),
+ "" + ValidationUtils.ICON_MAX_LENGTH);
}
// Resource icon end
@@ -505,7 +563,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setTags(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_TAGS);
@@ -515,7 +574,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setTags(new ArrayList<String>());
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_TAGS);
@@ -571,9 +631,11 @@ public class ResourceBusinessLogicTest {
resourceExccedsNameLimit.setTags(tagsList);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_TAGS_EXCEED_LIMIT, "" + ValidationUtils.TAG_LIST_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_TAGS_EXCEED_LIMIT,
+ "" + ValidationUtils.TAG_LIST_MAX_LENGTH);
}
@@ -587,9 +649,11 @@ public class ResourceBusinessLogicTest {
resourceExccedsNameLimit.setTags(tagsList);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_SINGLE_TAG_EXCEED_LIMIT, "" + ValidationUtils.TAG_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_SINGLE_TAG_EXCEED_LIMIT,
+ "" + ValidationUtils.TAG_MAX_LENGTH);
}
@@ -600,7 +664,8 @@ public class ResourceBusinessLogicTest {
tagsList.add(tag1);
serviceExccedsNameLimit.setTags(tagsList);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(serviceExccedsNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(serviceExccedsNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_TAGS_NO_COMP_NAME);
@@ -613,7 +678,8 @@ public class ResourceBusinessLogicTest {
tagsList.add(tag1);
serviceExccedsNameLimit.setTags(tagsList);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(serviceExccedsNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(serviceExccedsNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_FIELD_FORMAT, new String[] { "Resource", "tag" });
@@ -621,14 +687,15 @@ public class ResourceBusinessLogicTest {
// Resource tags - stop
// Resource contact start
-
+
private void testContactIdTooLong() {
Resource resourceContactId = createResourceObject(false);
// 59 chars instead of 50
String contactIdTooLong = "thisNameIsVeryLongAndExeccedsTheNormalLengthForContactId";
resourceContactId.setContactId(contactIdTooLong);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceContactId, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceContactId,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_CONTACT, ComponentTypeEnum.RESOURCE.getValue());
}
@@ -639,7 +706,8 @@ public class ResourceBusinessLogicTest {
String contactIdFormatWrong = "yrt134!!!";
resourceContactId.setContactId(contactIdFormatWrong);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceContactId, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceContactId,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_CONTACT, ComponentTypeEnum.RESOURCE.getValue());
}
@@ -648,7 +716,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setContactId("");
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_CONTACT, ComponentTypeEnum.RESOURCE.getValue());
@@ -658,7 +727,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setContactId(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_CONTACT, ComponentTypeEnum.RESOURCE.getValue());
@@ -669,19 +739,23 @@ public class ResourceBusinessLogicTest {
String tooLongVendorName = "h1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9E";
resourceExccedsVendorNameLimit.setVendorName(tooLongVendorName);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsVendorNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsVendorNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.VENDOR_NAME_EXCEEDS_LIMIT, "" + ValidationUtils.VENDOR_NAME_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.VENDOR_NAME_EXCEEDS_LIMIT,
+ "" + ValidationUtils.VENDOR_NAME_MAX_LENGTH);
}
-
+
private void testResourceVendorModelNumberExceedsLimit() {
Resource resourceExccedsVendorModelNumberLimit = createResourceObject(false);
String tooLongVendorModelNumber = "h1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9E";
resourceExccedsVendorModelNumberLimit.setResourceVendorModelNumber(tooLongVendorModelNumber);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsVendorModelNumberLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsVendorModelNumberLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.RESOURCE_VENDOR_MODEL_NUMBER_EXCEEDS_LIMIT, "" + ValidationUtils.RESOURCE_VENDOR_MODEL_NUMBER_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.RESOURCE_VENDOR_MODEL_NUMBER_EXCEEDS_LIMIT,
+ "" + ValidationUtils.RESOURCE_VENDOR_MODEL_NUMBER_MAX_LENGTH);
}
private void testVendorNameWrongFormatCreate() {
@@ -690,7 +764,8 @@ public class ResourceBusinessLogicTest {
String nameWrongFormat = "ljg*fd";
resource.setVendorName(nameWrongFormat);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resource, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resource,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_VENDOR_NAME);
}
@@ -701,7 +776,8 @@ public class ResourceBusinessLogicTest {
String nameWrongFormat = "1>2";
resource.setVendorRelease(nameWrongFormat);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resource, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resource,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_VENDOR_RELEASE);
@@ -712,16 +788,19 @@ public class ResourceBusinessLogicTest {
String tooLongVendorRelease = "h1KSyJh9Eh1KSyJh9Eh1KSyJh9Eh1KSyJh9E";
resourceExccedsNameLimit.setVendorRelease(tooLongVendorRelease);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExccedsNameLimit,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.VENDOR_RELEASE_EXCEEDS_LIMIT, "" + ValidationUtils.VENDOR_RELEASE_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.VENDOR_RELEASE_EXCEEDS_LIMIT,
+ "" + ValidationUtils.VENDOR_RELEASE_MAX_LENGTH);
}
private void testResourceVendorNameMissing() {
Resource resourceExist = createResourceObject(false);
resourceExist.setVendorName(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.MISSING_VENDOR_NAME);
@@ -731,7 +810,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setVendorRelease(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.MISSING_VENDOR_RELEASE);
@@ -743,7 +823,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setCategories(null);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_MISSING_CATEGORY, ComponentTypeEnum.RESOURCE.getValue());
@@ -755,7 +836,8 @@ public class ResourceBusinessLogicTest {
resourceExist.setCategories(null);
resourceExist.addCategory("koko", "koko");
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_CATEGORY, ComponentTypeEnum.RESOURCE.getValue());
@@ -774,7 +856,8 @@ public class ResourceBusinessLogicTest {
String licenseType = "User";
createResourceObject.setCost(cost);
createResourceObject.setLicenseType(licenseType);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(createResourceObject, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(createResourceObject,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
if (createResponse.isRight()) {
assertEquals(new Integer(200), createResponse.right().value().getStatus());
@@ -790,7 +873,8 @@ public class ResourceBusinessLogicTest {
String cost = "12356,464";
resourceCost.setCost(cost);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceCost, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceCost,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_CONTENT);
}
@@ -803,7 +887,8 @@ public class ResourceBusinessLogicTest {
String licenseType = "cpu";
resourceLicenseType.setLicenseType(licenseType);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceLicenseType, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceLicenseType,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_CONTENT);
}
@@ -815,7 +900,8 @@ public class ResourceBusinessLogicTest {
List<String> list = null;
resourceExist.setDerivedFrom(list);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.MISSING_DERIVED_FROM_TEMPLATE);
@@ -825,7 +911,8 @@ public class ResourceBusinessLogicTest {
Resource resourceExist = createResourceObject(false);
resourceExist.setDerivedFrom(new ArrayList<String>());
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.MISSING_DERIVED_FROM_TEMPLATE);
@@ -837,18 +924,21 @@ public class ResourceBusinessLogicTest {
derivedFrom.add("kuku");
resourceExist.setDerivedFrom(derivedFrom);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.PARENT_RESOURCE_NOT_FOUND);
}
// Derived from stop
- private void assertResponse(Either<Resource, ResponseFormat> createResponse, ActionStatus expectedStatus, String... variables) {
+ private void assertResponse(Either<Resource, ResponseFormat> createResponse, ActionStatus expectedStatus,
+ String... variables) {
ResponseFormat expectedResponse = responseManager.getResponseFormat(expectedStatus, variables);
ResponseFormat actualResponse = createResponse.right().value();
assertEquals(expectedResponse.getStatus(), actualResponse.getStatus());
- assertEquals("assert error description", expectedResponse.getFormattedMessage(), actualResponse.getFormattedMessage());
+ assertEquals("assert error description", expectedResponse.getFormattedMessage(),
+ actualResponse.getFormattedMessage());
}
// UPDATE tests - start
@@ -867,8 +957,9 @@ public class ResourceBusinessLogicTest {
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
-
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_COMPONENT_NAME, ComponentTypeEnum.RESOURCE.getValue());
@@ -887,11 +978,12 @@ public class ResourceBusinessLogicTest {
String name = "ljg";
updatedResource.setName(name);
resource.setVersion("1.0");
-
+
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.RESOURCE_NAME_CANNOT_BE_CHANGED);
@@ -912,9 +1004,11 @@ public class ResourceBusinessLogicTest {
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_NAME_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.COMPONENT_NAME_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_NAME_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(),
+ "" + ValidationUtils.COMPONENT_NAME_MAX_LENGTH);
}
@Test
@@ -930,9 +1024,11 @@ public class ResourceBusinessLogicTest {
updatedResource.setName(resourceName);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(updatedResource);
when(toscaOperationFacade.updateToscaElement(updatedResource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_NAME_ALREADY_EXIST, ComponentTypeEnum.RESOURCE.getValue(), resourceName);
+ assertResponse(createResponse, ActionStatus.COMPONENT_NAME_ALREADY_EXIST, ComponentTypeEnum.RESOURCE.getValue(),
+ resourceName);
}
//
@@ -958,9 +1054,11 @@ public class ResourceBusinessLogicTest {
updatedResource.setDescription(tooLongResourceDesc);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_DESCRIPTION_EXCEEDS_LIMIT, ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.COMPONENT_DESCRIPTION_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_DESCRIPTION_EXCEEDS_LIMIT,
+ ComponentTypeEnum.RESOURCE.getValue(), "" + ValidationUtils.COMPONENT_DESCRIPTION_MAX_LENGTH);
}
@@ -979,7 +1077,8 @@ public class ResourceBusinessLogicTest {
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_ICON, ComponentTypeEnum.RESOURCE.getValue());
@@ -1002,7 +1101,8 @@ public class ResourceBusinessLogicTest {
;
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.RESOURCE_ICON_CANNOT_BE_CHANGED);
@@ -1066,10 +1166,12 @@ public class ResourceBusinessLogicTest {
updatedResource.setTags(tagsList);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.COMPONENT_TAGS_EXCEED_LIMIT, "" + ValidationUtils.TAG_LIST_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.COMPONENT_TAGS_EXCEED_LIMIT,
+ "" + ValidationUtils.TAG_LIST_MAX_LENGTH);
}
@Test
@@ -1086,7 +1188,8 @@ public class ResourceBusinessLogicTest {
updatedResource.setVendorName(nameWrongFormat);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.INVALID_VENDOR_NAME);
@@ -1108,7 +1211,8 @@ public class ResourceBusinessLogicTest {
;
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.RESOURCE_VENDOR_NAME_CANNOT_BE_CHANGED);
@@ -1127,9 +1231,11 @@ public class ResourceBusinessLogicTest {
updatedResource.setVendorRelease(tooLongVendorRelease);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(), updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resource.getUniqueId(),
+ updatedResource, null, user, false);
assertTrue(createResponse.isRight());
- assertResponse(createResponse, ActionStatus.VENDOR_RELEASE_EXCEEDS_LIMIT, "" + ValidationUtils.VENDOR_RELEASE_MAX_LENGTH);
+ assertResponse(createResponse, ActionStatus.VENDOR_RELEASE_EXCEEDS_LIMIT,
+ "" + ValidationUtils.VENDOR_RELEASE_MAX_LENGTH);
}
@Ignore
@@ -1147,7 +1253,8 @@ public class ResourceBusinessLogicTest {
updatedResource.setContactId(contactIdTooLong);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_CONTACT, ComponentTypeEnum.RESOURCE.getValue());
@@ -1168,7 +1275,8 @@ public class ResourceBusinessLogicTest {
updatedResource.addCategory(badCategory, "fikt");
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.COMPONENT_INVALID_CATEGORY, ComponentTypeEnum.RESOURCE.getValue());
@@ -1190,7 +1298,8 @@ public class ResourceBusinessLogicTest {
;
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.RESOURCE_CATEGORY_CANNOT_BE_CHANGED);
@@ -1211,7 +1320,8 @@ public class ResourceBusinessLogicTest {
updatedResource.setDerivedFrom(list);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.MISSING_DERIVED_FROM_TEMPLATE);
@@ -1230,7 +1340,8 @@ public class ResourceBusinessLogicTest {
updatedResource.setDerivedFrom(new ArrayList<String>());
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.MISSING_DERIVED_FROM_TEMPLATE);
@@ -1251,7 +1362,8 @@ public class ResourceBusinessLogicTest {
updatedResource.setDerivedFrom(derivedFrom);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.PARENT_RESOURCE_NOT_FOUND);
@@ -1266,13 +1378,16 @@ public class ResourceBusinessLogicTest {
// this is in order to prevent failing with 403 earlier
Either<Component, StorageOperationStatus> eitherUpdate = Either.left(setCanWorkOnResource(resource));
when(toscaOperationFacade.getToscaElement(resource.getUniqueId())).thenReturn(eitherUpdate);
-
+
Either<Boolean, StorageOperationStatus> isToscaNameExtending = Either.left(true);
- when(toscaOperationFacade.validateToscaResourceNameExtends(Mockito.anyString(), Mockito.anyString())).thenReturn(isToscaNameExtending);
-
- Either<Map<String, PropertyDefinition>, StorageOperationStatus> findPropertiesOfNode = Either.left(new HashMap<>());
- when(propertyOperation.deleteAllPropertiesAssociatedToNode(Mockito.any(NodeTypeEnum.class), Mockito.anyString())).thenReturn(findPropertiesOfNode);
-
+ when(toscaOperationFacade.validateToscaResourceNameExtends(Mockito.anyString(), Mockito.anyString()))
+ .thenReturn(isToscaNameExtending);
+
+ Either<Map<String, PropertyDefinition>, StorageOperationStatus> findPropertiesOfNode = Either
+ .left(new HashMap<>());
+ when(propertyOperation.deleteAllPropertiesAssociatedToNode(Mockito.any(NodeTypeEnum.class),
+ Mockito.anyString())).thenReturn(findPropertiesOfNode);
+
resource.setVersion("1.0");
ArrayList<String> derivedFrom = new ArrayList<String>();
@@ -1280,10 +1395,11 @@ public class ResourceBusinessLogicTest {
updatedResource.setDerivedFrom(derivedFrom);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(updatedResource);
when(toscaOperationFacade.updateToscaElement(updatedResource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user, false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isLeft());
}
-
+
@Test
public void testResourceTemplateCertify_UPDATE_SAD() {
Resource resource = createResourceObject(true);
@@ -1293,7 +1409,7 @@ public class ResourceBusinessLogicTest {
// this is in order to prevent failing with 403 earlier
Either<Component, StorageOperationStatus> eitherUpdate = Either.left(setCanWorkOnResource(resource));
when(toscaOperationFacade.getToscaElement(resource.getUniqueId())).thenReturn(eitherUpdate);
-
+
Either<Boolean, StorageOperationStatus> isToscaNameExtending = Either.left(false);
when(toscaOperationFacade.validateToscaResourceNameExtends(Mockito.anyString(), Mockito.anyString()))
.thenReturn(isToscaNameExtending);
@@ -1305,8 +1421,8 @@ public class ResourceBusinessLogicTest {
updatedResource.setDerivedFrom(derivedFrom);
Either<Resource, StorageOperationStatus> dataModelResponse = Either.left(resource);
when(toscaOperationFacade.updateToscaElement(resource)).thenReturn(dataModelResponse);
- Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null, user,
- false);
+ Either<Resource, ResponseFormat> createResponse = bl.updateResourceMetadata(resourceId, updatedResource, null,
+ user, false);
assertTrue(createResponse.isRight());
assertResponse(createResponse, ActionStatus.PARENT_RESOURCE_DOES_NOT_EXTEND);
@@ -1317,22 +1433,28 @@ public class ResourceBusinessLogicTest {
public void createOrUpdateResourceAlreadyCheckout() {
Resource resourceExist = createResourceObject(false);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
createResponse.left().value().setLastUpdaterUserId(user.getUserId());
assertTrue(createResponse.isLeft());
Either<Component, StorageOperationStatus> getLatestResult = Either.left(createResponse.left().value());
when(toscaOperationFacade.getLatestByName(resourceExist.getName())).thenReturn(getLatestResult);
- when(toscaOperationFacade.overrideComponent(Mockito.any(Component.class), Mockito.any(Component.class))).thenReturn(getLatestResult);
+ when(toscaOperationFacade.overrideComponent(Mockito.any(Component.class), Mockito.any(Component.class)))
+ .thenReturn(getLatestResult);
Resource resourceToUpdtae = createResourceObject(false);
- Either<ImmutablePair<Resource, ActionStatus>, ResponseFormat> createOrUpdateResource = bl.createOrUpdateResourceByImport(resourceToUpdtae, user, false, false, false, null);
+ Either<ImmutablePair<Resource, ActionStatus>, ResponseFormat> createOrUpdateResource = bl
+ .createOrUpdateResourceByImport(resourceToUpdtae, user, false, false, false, null);
assertTrue(createOrUpdateResource.isLeft());
- Mockito.verify(toscaOperationFacade, Mockito.times(1)).overrideComponent(Mockito.any(Resource.class), Mockito.any(Resource.class));
- Mockito.verify(lifecycleBl, Mockito.times(0)).changeState(Mockito.anyString(), Mockito.eq(user), Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class), Mockito.anyBoolean(), Mockito.anyBoolean());
+ Mockito.verify(toscaOperationFacade, Mockito.times(1)).overrideComponent(Mockito.any(Resource.class),
+ Mockito.any(Resource.class));
+ Mockito.verify(lifecycleBl, Mockito.times(0)).changeState(Mockito.anyString(), Mockito.eq(user),
+ Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class),
+ Mockito.anyBoolean(), Mockito.anyBoolean());
}
@@ -1340,27 +1462,34 @@ public class ResourceBusinessLogicTest {
public void createOrUpdateResourceCertified() {
Resource resourceExist = createResourceObject(false);
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resourceExist,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isLeft());
Resource certifiedResource = createResponse.left().value();
certifiedResource.setLifecycleState(LifecycleStateEnum.CERTIFIED);
certifiedResource.setVersion("1.0");
-
Either<Component, StorageOperationStatus> getLatestResult = Either.left(certifiedResource);
when(toscaOperationFacade.getLatestByName(resourceExist.getName())).thenReturn(getLatestResult);
- when(toscaOperationFacade.overrideComponent(Mockito.any(Component.class), Mockito.any(Component.class))).thenReturn(getLatestResult);
+ when(toscaOperationFacade.overrideComponent(Mockito.any(Component.class), Mockito.any(Component.class)))
+ .thenReturn(getLatestResult);
- when(lifecycleBl.changeState(Mockito.anyString(), Mockito.eq(user), Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class), Mockito.anyBoolean(), Mockito.anyBoolean())).thenReturn(createResponse);
+ when(lifecycleBl.changeState(Mockito.anyString(), Mockito.eq(user),
+ Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class),
+ Mockito.anyBoolean(), Mockito.anyBoolean())).thenReturn(createResponse);
Resource resourceToUpdtae = createResourceObject(false);
- Either<ImmutablePair<Resource, ActionStatus>, ResponseFormat> createOrUpdateResource = bl.createOrUpdateResourceByImport(resourceToUpdtae, user, false, false, false, null);
+ Either<ImmutablePair<Resource, ActionStatus>, ResponseFormat> createOrUpdateResource = bl
+ .createOrUpdateResourceByImport(resourceToUpdtae, user, false, false, false, null);
assertTrue(createOrUpdateResource.isLeft());
- Mockito.verify(toscaOperationFacade, Mockito.times(1)).overrideComponent(Mockito.any(Component.class), Mockito.any(Component.class));
- Mockito.verify(lifecycleBl, Mockito.times(1)).changeState(Mockito.anyString(), Mockito.eq(user), Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class), Mockito.anyBoolean(), Mockito.anyBoolean());
+ Mockito.verify(toscaOperationFacade, Mockito.times(1)).overrideComponent(Mockito.any(Component.class),
+ Mockito.any(Component.class));
+ Mockito.verify(lifecycleBl, Mockito.times(1)).changeState(Mockito.anyString(), Mockito.eq(user),
+ Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class),
+ Mockito.anyBoolean(), Mockito.anyBoolean());
}
@@ -1371,14 +1500,20 @@ public class ResourceBusinessLogicTest {
Either<Component, StorageOperationStatus> getLatestResult = Either.right(StorageOperationStatus.NOT_FOUND);
when(toscaOperationFacade.getLatestByName(resourceToUpdtae.getName())).thenReturn(getLatestResult);
- Either<Component, StorageOperationStatus> getLatestToscaNameResult = Either.right(StorageOperationStatus.NOT_FOUND);
- when(toscaOperationFacade.getLatestByToscaResourceName(resourceToUpdtae.getToscaResourceName())).thenReturn(getLatestToscaNameResult);
+ Either<Component, StorageOperationStatus> getLatestToscaNameResult = Either
+ .right(StorageOperationStatus.NOT_FOUND);
+ when(toscaOperationFacade.getLatestByToscaResourceName(resourceToUpdtae.getToscaResourceName()))
+ .thenReturn(getLatestToscaNameResult);
- Either<ImmutablePair<Resource, ActionStatus>, ResponseFormat> createOrUpdateResource = bl.createOrUpdateResourceByImport(resourceToUpdtae, user, false, false, false, null);
+ Either<ImmutablePair<Resource, ActionStatus>, ResponseFormat> createOrUpdateResource = bl
+ .createOrUpdateResourceByImport(resourceToUpdtae, user, false, false, false, null);
assertTrue(createOrUpdateResource.isLeft());
- Mockito.verify(toscaOperationFacade, Mockito.times(0)).overrideComponent(Mockito.any(Component.class), Mockito.any(Component.class));
- Mockito.verify(lifecycleBl, Mockito.times(0)).changeState(Mockito.anyString(), Mockito.eq(user), Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class), Mockito.anyBoolean(), Mockito.anyBoolean());
+ Mockito.verify(toscaOperationFacade, Mockito.times(0)).overrideComponent(Mockito.any(Component.class),
+ Mockito.any(Component.class));
+ Mockito.verify(lifecycleBl, Mockito.times(0)).changeState(Mockito.anyString(), Mockito.eq(user),
+ Mockito.eq(LifeCycleTransitionEnum.CHECKOUT), Mockito.any(LifecycleChangeInfoWithAction.class),
+ Mockito.anyBoolean(), Mockito.anyBoolean());
}
@@ -1422,358 +1557,381 @@ public class ResourceBusinessLogicTest {
assertTrue(validatePropertiesDefaultValues.isRight());
}
-// @Test
-// public void testDeleteMarkedResourcesNoResources() {
-// List<GraphVertex> ids = new ArrayList<>();
-// Either<List<GraphVertex>, StorageOperationStatus> eitherNoResources = Either.left(ids);
-// when(topologyTemplateOperation.getAllComponentsMarkedForDeletion(ComponentTypeEnum.RESOURCE)).thenReturn(eitherNoResources);
-//
-// Either<List<String>, ResponseFormat> deleteMarkedResources = bl.deleteMarkedComponents();
-// assertTrue(deleteMarkedResources.isLeft());
-// assertTrue(deleteMarkedResources.left().value().isEmpty());
-//
-// Mockito.verify(artifactManager, Mockito.times(0)).deleteAllComponentArtifactsIfNotOnGraph(Mockito.anyList());
-//
-// }
-//
-// @Test
-// public void testDeleteMarkedResources() {
-// List<String> ids = new ArrayList<String>();
-// String resourceInUse = "123";
-// ids.add(resourceInUse);
-// String resourceFree = "456";
-// ids.add(resourceFree);
-// Either<List<String>, StorageOperationStatus> eitherNoResources = Either.left(ids);
-// when(toscaOperationFacade.getAllComponentsMarkedForDeletion()).thenReturn(eitherNoResources);
-//
-// Either<Boolean, StorageOperationStatus> resourceInUseResponse = Either.left(true);
-// Either<Boolean, StorageOperationStatus> resourceFreeResponse = Either.left(false);
-//
-// List<ArtifactDefinition> artifacts = new ArrayList<ArtifactDefinition>();
-// Either<List<ArtifactDefinition>, StorageOperationStatus> getArtifactsResponse = Either.left(artifacts);
-// when(toscaOperationFacade.getComponentArtifactsForDelete(resourceFree, NodeTypeEnum.Resource, true)).thenReturn(getArtifactsResponse);
-//
-// when(toscaOperationFacade.isComponentInUse(resourceFree)).thenReturn(resourceFreeResponse);
-// when(toscaOperationFacade.isComponentInUse(resourceInUse)).thenReturn(resourceInUseResponse);
-//
-// Either<Component, StorageOperationStatus> eitherDelete = Either.left(new Resource());
-// when(toscaOperationFacade.deleteToscaComponent(resourceFree)).thenReturn(eitherDelete);
-//
-// when(artifactManager.deleteAllComponentArtifactsIfNotOnGraph(artifacts)).thenReturn(StorageOperationStatus.OK);
-// List<String> deletedComponents = new ArrayList<>();
-// deletedComponents.add(resourceFree);
-// when(toscaOperationFacade.deleteMarkedElements(ComponentTypeEnum.RESOURCE)).thenReturn(Either.left(deletedComponents));
-//
-// Either<List<String>, ResponseFormat> deleteMarkedResources = bl.deleteMarkedComponents();
-// assertTrue(deleteMarkedResources.isLeft());
-// List<String> resourceIdList = deleteMarkedResources.left().value();
-// assertFalse(resourceIdList.isEmpty());
-// assertTrue(resourceIdList.contains(resourceFree));
-// assertFalse(resourceIdList.contains(resourceInUse));
-//
-// Mockito.verify(artifactManager, Mockito.times(1)).deleteAllComponentArtifactsIfNotOnGraph(artifacts);
-// }
+ // @Test
+ // public void testDeleteMarkedResourcesNoResources() {
+ // List<GraphVertex> ids = new ArrayList<>();
+ // Either<List<GraphVertex>, StorageOperationStatus> eitherNoResources =
+ // Either.left(ids);
+ // when(topologyTemplateOperation.getAllComponentsMarkedForDeletion(ComponentTypeEnum.RESOURCE)).thenReturn(eitherNoResources);
+ //
+ // Either<List<String>, ResponseFormat> deleteMarkedResources =
+ // bl.deleteMarkedComponents();
+ // assertTrue(deleteMarkedResources.isLeft());
+ // assertTrue(deleteMarkedResources.left().value().isEmpty());
+ //
+ // Mockito.verify(artifactManager,
+ // Mockito.times(0)).deleteAllComponentArtifactsIfNotOnGraph(Mockito.anyList());
+ //
+ // }
+ //
+ // @Test
+ // public void testDeleteMarkedResources() {
+ // List<String> ids = new ArrayList<String>();
+ // String resourceInUse = "123";
+ // ids.add(resourceInUse);
+ // String resourceFree = "456";
+ // ids.add(resourceFree);
+ // Either<List<String>, StorageOperationStatus> eitherNoResources =
+ // Either.left(ids);
+ // when(toscaOperationFacade.getAllComponentsMarkedForDeletion()).thenReturn(eitherNoResources);
+ //
+ // Either<Boolean, StorageOperationStatus> resourceInUseResponse =
+ // Either.left(true);
+ // Either<Boolean, StorageOperationStatus> resourceFreeResponse =
+ // Either.left(false);
+ //
+ // List<ArtifactDefinition> artifacts = new ArrayList<ArtifactDefinition>();
+ // Either<List<ArtifactDefinition>, StorageOperationStatus>
+ // getArtifactsResponse = Either.left(artifacts);
+ // when(toscaOperationFacade.getComponentArtifactsForDelete(resourceFree,
+ // NodeTypeEnum.Resource, true)).thenReturn(getArtifactsResponse);
+ //
+ // when(toscaOperationFacade.isComponentInUse(resourceFree)).thenReturn(resourceFreeResponse);
+ // when(toscaOperationFacade.isComponentInUse(resourceInUse)).thenReturn(resourceInUseResponse);
+ //
+ // Either<Component, StorageOperationStatus> eitherDelete = Either.left(new
+ // Resource());
+ // when(toscaOperationFacade.deleteToscaComponent(resourceFree)).thenReturn(eitherDelete);
+ //
+ // when(artifactManager.deleteAllComponentArtifactsIfNotOnGraph(artifacts)).thenReturn(StorageOperationStatus.OK);
+ // List<String> deletedComponents = new ArrayList<>();
+ // deletedComponents.add(resourceFree);
+ // when(toscaOperationFacade.deleteMarkedElements(ComponentTypeEnum.RESOURCE)).thenReturn(Either.left(deletedComponents));
+ //
+ // Either<List<String>, ResponseFormat> deleteMarkedResources =
+ // bl.deleteMarkedComponents();
+ // assertTrue(deleteMarkedResources.isLeft());
+ // List<String> resourceIdList = deleteMarkedResources.left().value();
+ // assertFalse(resourceIdList.isEmpty());
+ // assertTrue(resourceIdList.contains(resourceFree));
+ // assertFalse(resourceIdList.contains(resourceInUse));
+ //
+ // Mockito.verify(artifactManager,
+ // Mockito.times(1)).deleteAllComponentArtifactsIfNotOnGraph(artifacts);
+ // }
+
@SuppressWarnings("unchecked")
@Test
public void testFindVfCsarArtifactsToHandle() {
-
+
Class<ResourceBusinessLogic> targetClass = ResourceBusinessLogic.class;
String methodName = "findVfCsarArtifactsToHandle";
Resource resource = new Resource();
String deploymentArtifactToUpdateFileName = "deploymentArtifactToUpdate.yaml";
String deploymentArtifactToDeleteFileName = "deploymentArtifactToDelete.yaml";
String deploymentArtifactToCreateFileName = "deploymentArtifactToCreate.yaml";
-
+
String artifactInfoToUpdateFileName = "infoArtifactToUpdate.yaml";
String artifactInfoToDeleteFileName = "infoArtifactToDelete.yaml";
String artifactInfoToCreateFileName = "infoArtifactToCreate.yaml";
-
+
byte[] oldPayloadData = "oldPayloadData".getBytes();
byte[] newPayloadData = "newPayloadData".getBytes();
- Map<String, ArtifactDefinition> deploymentArtifacts =new HashMap<>();
-
+ Map<String, ArtifactDefinition> deploymentArtifacts = new HashMap<>();
+
ArtifactDefinition deploymentArtifactToUpdate = new ArtifactDefinition();
deploymentArtifactToUpdate.setMandatory(false);
deploymentArtifactToUpdate.setArtifactName(deploymentArtifactToUpdateFileName);
deploymentArtifactToUpdate.setArtifactType("SNMP_POLL");
deploymentArtifactToUpdate.setPayload(oldPayloadData);
- deploymentArtifactToUpdate.setArtifactChecksum(GeneralUtility.calculateMD5Base64EncodedByByteArray(oldPayloadData));
-
+ deploymentArtifactToUpdate
+ .setArtifactChecksum(GeneralUtility.calculateMD5Base64EncodedByByteArray(oldPayloadData));
+
ArtifactDefinition deploymentArtifactToDelete = new ArtifactDefinition();
deploymentArtifactToDelete.setMandatory(false);
deploymentArtifactToDelete.setArtifactName(deploymentArtifactToDeleteFileName);
deploymentArtifactToDelete.setArtifactType("SNMP_TRAP");
deploymentArtifactToDelete.setPayload(oldPayloadData);
- deploymentArtifactToDelete.setArtifactChecksum(GeneralUtility.calculateMD5Base64EncodedByByteArray(oldPayloadData));
-
+ deploymentArtifactToDelete
+ .setArtifactChecksum(GeneralUtility.calculateMD5Base64EncodedByByteArray(oldPayloadData));
+
ArtifactDefinition deploymentArtifactToIgnore = new ArtifactDefinition();
-
- deploymentArtifacts.put(ValidationUtils.normalizeArtifactLabel(deploymentArtifactToUpdate.getArtifactName()), deploymentArtifactToUpdate);
- deploymentArtifacts.put(ValidationUtils.normalizeArtifactLabel(deploymentArtifactToDelete.getArtifactName()), deploymentArtifactToDelete);
+
+ deploymentArtifacts.put(ValidationUtils.normalizeArtifactLabel(deploymentArtifactToUpdate.getArtifactName()),
+ deploymentArtifactToUpdate);
+ deploymentArtifacts.put(ValidationUtils.normalizeArtifactLabel(deploymentArtifactToDelete.getArtifactName()),
+ deploymentArtifactToDelete);
deploymentArtifacts.put("ignore", deploymentArtifactToIgnore);
-
+
Map<String, ArtifactDefinition> artifacts = new HashMap<>();
-
+
ArtifactDefinition artifactToUpdate = new ArtifactDefinition();
artifactToUpdate.setMandatory(false);
artifactToUpdate.setArtifactName(artifactInfoToUpdateFileName);
artifactToUpdate.setArtifactType("SNMP_POLL");
artifactToUpdate.setPayload(oldPayloadData);
artifactToUpdate.setArtifactChecksum(GeneralUtility.calculateMD5Base64EncodedByByteArray(oldPayloadData));
-
+
ArtifactDefinition artifactToDelete = new ArtifactDefinition();
artifactToDelete.setMandatory(false);
artifactToDelete.setArtifactName(artifactInfoToDeleteFileName);
artifactToDelete.setArtifactType("SNMP_TRAP");
artifactToDelete.setPayload(oldPayloadData);
artifactToDelete.setArtifactChecksum(GeneralUtility.calculateMD5Base64EncodedByByteArray(oldPayloadData));
-
+
ArtifactDefinition artifactToIgnore = new ArtifactDefinition();
-
- artifacts.put(ValidationUtils.normalizeArtifactLabel(artifactToUpdate.getArtifactName()),artifactToUpdate);
- artifacts.put(ValidationUtils.normalizeArtifactLabel(artifactToDelete.getArtifactName()),artifactToDelete);
- artifacts.put("ignore",artifactToIgnore);
-
+
+ artifacts.put(ValidationUtils.normalizeArtifactLabel(artifactToUpdate.getArtifactName()), artifactToUpdate);
+ artifacts.put(ValidationUtils.normalizeArtifactLabel(artifactToDelete.getArtifactName()), artifactToDelete);
+ artifacts.put("ignore", artifactToIgnore);
+
resource.setDeploymentArtifacts(deploymentArtifacts);
resource.setArtifacts(artifacts);
-
+
List<NonMetaArtifactInfo> artifactPathAndNameList = new ArrayList<>();
- NonMetaArtifactInfo deploymentArtifactInfoToUpdate = new NonMetaArtifactInfo(deploymentArtifactToUpdate.getArtifactName(), null,
- ArtifactTypeEnum.findType(deploymentArtifactToUpdate.getArtifactType()), ArtifactGroupTypeEnum.DEPLOYMENT,
- newPayloadData, deploymentArtifactToUpdate.getArtifactName());
-
- NonMetaArtifactInfo informationalArtifactInfoToUpdate = new NonMetaArtifactInfo(artifactToUpdate.getArtifactName(), null,
- ArtifactTypeEnum.findType(artifactToUpdate.getArtifactType()), ArtifactGroupTypeEnum.DEPLOYMENT,
- newPayloadData, artifactToUpdate.getArtifactName());
-
- NonMetaArtifactInfo deploymentArtifactInfoToCreate = new NonMetaArtifactInfo(deploymentArtifactToCreateFileName, null,
- ArtifactTypeEnum.OTHER, ArtifactGroupTypeEnum.DEPLOYMENT, newPayloadData, deploymentArtifactToCreateFileName);
-
- NonMetaArtifactInfo informationalArtifactInfoToCreate = new NonMetaArtifactInfo(artifactInfoToCreateFileName, null,
- ArtifactTypeEnum.OTHER, ArtifactGroupTypeEnum.DEPLOYMENT,
- newPayloadData, artifactInfoToCreateFileName);
-
+ NonMetaArtifactInfo deploymentArtifactInfoToUpdate = new NonMetaArtifactInfo(
+ deploymentArtifactToUpdate.getArtifactName(), null,
+ ArtifactTypeEnum.findType(deploymentArtifactToUpdate.getArtifactType()),
+ ArtifactGroupTypeEnum.DEPLOYMENT, newPayloadData, deploymentArtifactToUpdate.getArtifactName());
+
+ NonMetaArtifactInfo informationalArtifactInfoToUpdate = new NonMetaArtifactInfo(
+ artifactToUpdate.getArtifactName(), null, ArtifactTypeEnum.findType(artifactToUpdate.getArtifactType()),
+ ArtifactGroupTypeEnum.DEPLOYMENT, newPayloadData, artifactToUpdate.getArtifactName());
+
+ NonMetaArtifactInfo deploymentArtifactInfoToCreate = new NonMetaArtifactInfo(deploymentArtifactToCreateFileName,
+ null, ArtifactTypeEnum.OTHER, ArtifactGroupTypeEnum.DEPLOYMENT, newPayloadData,
+ deploymentArtifactToCreateFileName);
+
+ NonMetaArtifactInfo informationalArtifactInfoToCreate = new NonMetaArtifactInfo(artifactInfoToCreateFileName,
+ null, ArtifactTypeEnum.OTHER, ArtifactGroupTypeEnum.DEPLOYMENT, newPayloadData,
+ artifactInfoToCreateFileName);
+
artifactPathAndNameList.add(deploymentArtifactInfoToUpdate);
artifactPathAndNameList.add(informationalArtifactInfoToUpdate);
artifactPathAndNameList.add(deploymentArtifactInfoToCreate);
artifactPathAndNameList.add(informationalArtifactInfoToCreate);
-
- Object[] argObjects = {resource, artifactPathAndNameList, user};
- Class[] argClasses = {Resource.class, List.class, User.class};
- try {
- Method method = targetClass.getDeclaredMethod(methodName, argClasses);
- method.setAccessible(true);
- Either<EnumMap<ArtifactOperationEnum, List<NonMetaArtifactInfo>>, ResponseFormat> findVfCsarArtifactsToHandleRes =
- (Either<EnumMap<ArtifactOperationEnum, List<NonMetaArtifactInfo>>, ResponseFormat>) method.invoke(bl, argObjects);
- assertTrue(findVfCsarArtifactsToHandleRes.isLeft());
- EnumMap<ArtifactOperationEnum, List<NonMetaArtifactInfo>> foundVfArtifacts = findVfCsarArtifactsToHandleRes.left().value();
- assertTrue(foundVfArtifacts.get(ArtifactOperationEnum.Create).size()==2);
- assertTrue(foundVfArtifacts.get(ArtifactOperationEnum.Update).size()==2);
- assertTrue(foundVfArtifacts.get(ArtifactOperationEnum.Create).size()==2);
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
+
+ Object[] argObjects = { resource, artifactPathAndNameList, user };
+ Class[] argClasses = { Resource.class, List.class, User.class };
+ try {
+ Method method = targetClass.getDeclaredMethod(methodName, argClasses);
+ method.setAccessible(true);
+ Either<EnumMap<ArtifactOperationEnum, List<NonMetaArtifactInfo>>, ResponseFormat> findVfCsarArtifactsToHandleRes = (Either<EnumMap<ArtifactOperationEnum, List<NonMetaArtifactInfo>>, ResponseFormat>) method
+ .invoke(bl, argObjects);
+ assertTrue(findVfCsarArtifactsToHandleRes.isLeft());
+ EnumMap<ArtifactOperationEnum, List<NonMetaArtifactInfo>> foundVfArtifacts = findVfCsarArtifactsToHandleRes
+ .left().value();
+ assertTrue(foundVfArtifacts.get(ArtifactOperationEnum.Create).size() == 2);
+ assertTrue(foundVfArtifacts.get(ArtifactOperationEnum.Update).size() == 2);
+ assertTrue(foundVfArtifacts.get(ArtifactOperationEnum.Create).size() == 2);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
-
+
@SuppressWarnings("rawtypes")
@Test
public void testBuildNestedVfcToscaNamespace() {
-
+
Class<ResourceBusinessLogic> targetClass = ResourceBusinessLogic.class;
String methodName = "buildNestedVfcToscaNamespace";
String nodeTypeFullName = "org.openecomp.resource.abstract.nodes.heat.FEAdd_On_Module_vLBAgentTemplate";
String expectedNestedVfcToscaNamespace = "org.openecomp.resource.vfc.nodes.heat.FEAdd_On_Module_vLBAgentTemplate";
- Object[] argObjects = {nodeTypeFullName};
- Class[] argClasses = {String.class};
- try {
- Method method = targetClass.getDeclaredMethod(methodName, argClasses);
- method.setAccessible(true);
- String actualNestedVfcToscaNamespace = (String) method.invoke(bl, argObjects);
- assertTrue(!actualNestedVfcToscaNamespace.isEmpty());
- assertTrue(actualNestedVfcToscaNamespace.equals(expectedNestedVfcToscaNamespace));
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
+ Object[] argObjects = { nodeTypeFullName };
+ Class[] argClasses = { String.class };
+ try {
+ Method method = targetClass.getDeclaredMethod(methodName, argClasses);
+ method.setAccessible(true);
+ String actualNestedVfcToscaNamespace = (String) method.invoke(bl, argObjects);
+ assertTrue(!actualNestedVfcToscaNamespace.isEmpty());
+ assertTrue(actualNestedVfcToscaNamespace.equals(expectedNestedVfcToscaNamespace));
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
-
+
@SuppressWarnings("rawtypes")
@Test
public void testBuildNestedVfcToscaResourceName() {
-
+
Class<ResourceBusinessLogic> targetClass = ResourceBusinessLogic.class;
String methodName = "buildNestedVfcToscaResourceName";
String vfResourceName = "vfname";
String nodeTypeFullName = "org.openecomp.resource.abstract.nodes.heat.FEAdd_On_Module_vLBAgentTemplate";
String expectedNestedVfcToscaResourceName = "org.openecomp.resource.vfc.vfname.abstract.nodes.heat.FEAdd_On_Module_vLBAgentTemplate";
- Object[] argObjects = {vfResourceName, nodeTypeFullName};
- Class[] argClasses = {String.class, String.class};
- try {
- Method method = targetClass.getDeclaredMethod(methodName, argClasses);
- method.setAccessible(true);
- String actualNestedVfcToscaResourceName = (String) method.invoke(bl, argObjects);
- assertTrue(!actualNestedVfcToscaResourceName.isEmpty());
- assertTrue(actualNestedVfcToscaResourceName.equals(expectedNestedVfcToscaResourceName));
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
+ Object[] argObjects = { vfResourceName, nodeTypeFullName };
+ Class[] argClasses = { String.class, String.class };
+ try {
+ Method method = targetClass.getDeclaredMethod(methodName, argClasses);
+ method.setAccessible(true);
+ String actualNestedVfcToscaResourceName = (String) method.invoke(bl, argObjects);
+ assertTrue(!actualNestedVfcToscaResourceName.isEmpty());
+ assertTrue(actualNestedVfcToscaResourceName.equals(expectedNestedVfcToscaResourceName));
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
-
+
@SuppressWarnings("rawtypes")
@Test
public void testBuildNestedSubstituteYamlName() {
-
+
Class<ResourceBusinessLogic> targetClass = ResourceBusinessLogic.class;
String methodName = "buildNestedSubstituteYamlName";
String nodeTypeFullName = "org.openecomp.resource.abstract.nodes.heat.FEAdd_On_Module_vLBAgentTemplate";
String expectedNestedSubstituteYamlName = "Definitions/FEAdd_On_Module_vLBAgentTemplateServiceTemplate.yaml";
- Object[] argObjects = {nodeTypeFullName};
- Class[] argClasses = {String.class};
- try {
- Method method = targetClass.getDeclaredMethod(methodName, argClasses);
- method.setAccessible(true);
- String actualNestedSubstituteYamlName = (String) method.invoke(bl, argObjects);
- assertTrue(!actualNestedSubstituteYamlName.isEmpty());
- assertTrue(actualNestedSubstituteYamlName.equals(expectedNestedSubstituteYamlName));
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
+ Object[] argObjects = { nodeTypeFullName };
+ Class[] argClasses = { String.class };
+ try {
+ Method method = targetClass.getDeclaredMethod(methodName, argClasses);
+ method.setAccessible(true);
+ String actualNestedSubstituteYamlName = (String) method.invoke(bl, argObjects);
+ assertTrue(!actualNestedSubstituteYamlName.isEmpty());
+ assertTrue(actualNestedSubstituteYamlName.equals(expectedNestedSubstituteYamlName));
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
-
-
+
@Test
public void testVFGeneratedInputs() {
-
+
Resource resource = createVF();
List<InputDefinition> inputs = resource.getInputs();
assertTrue(8 == inputs.size());
- for(InputDefinition input : inputs){
+ for (InputDefinition input : inputs) {
assertNotNull(input.getOwnerId());
}
assertTrue(resource.getDerivedFromGenericType().equals(genericVF.getToscaResourceName()));
assertTrue(resource.getDerivedFromGenericVersion().equals(genericVF.getVersion()));
}
-
+
@Test
public void testVFUpdateGenericInputsToLatestOnCheckout() {
-
- //create a VF that is derived from generic version 1.0
- Resource resource = createVF();
+
+ // create a VF that is derived from generic version 1.0
+ Resource resource = createVF();
// create a new generic version without properties
genericVF.setVersion("2.0");
genericVF.setProperties(null);
String currentDerivedFromVersion = resource.getDerivedFromGenericVersion();
List<InputDefinition> currentInputs = resource.getInputs();
- //verify previous inputs ownerId fields exist - user may not delete generated inputs
+ // verify previous inputs ownerId fields exist - user may not delete
+ // generated inputs
assertTrue(8 == currentInputs.stream().filter(p -> null != p.getOwnerId()).collect(Collectors.toList()).size());
Either<Boolean, ResponseFormat> upgradeToLatestGeneric = bl.shouldUpgradeToLatestGeneric(resource);
- //verify success
+ // verify success
assertTrue(upgradeToLatestGeneric.isLeft());
- //verify update required and valid
+ // verify update required and valid
assertTrue(upgradeToLatestGeneric.left().value());
- //verify version was upgraded
+ // verify version was upgraded
assertFalse(resource.getDerivedFromGenericVersion().equals(currentDerivedFromVersion));
- //verify inputs were not deleted
+ // verify inputs were not deleted
assertTrue(8 == resource.getInputs().size());
- //verify inputs ownerId fields were removed - user may delete/edit inputs
- assertTrue(8 == resource.getInputs().stream().filter(p -> null == p.getOwnerId()).collect(Collectors.toList()).size());
+ // verify inputs ownerId fields were removed - user may delete/edit
+ // inputs
+ assertTrue(8 == resource.getInputs().stream().filter(p -> null == p.getOwnerId()).collect(Collectors.toList())
+ .size());
}
-
-
+
@Test
public void testVFUpdateGenericInputsToLatestOnCheckoutNotPerformed() {
-
- //create a VF that is derived from generic version 1.0
+
+ // create a VF that is derived from generic version 1.0
Resource resource = createVF();
-
- //add an input to the VF
+
+ // add an input to the VF
PropertyDefinition newProp = new PropertyDefinition();
newProp.setType("integer");
newProp.setName("newProp");
resource.getInputs().add(new InputDefinition(newProp));
-
- //create a new generic version with a new property which has the same name as a user defined input on the VF with a different type
+
+ // create a new generic version with a new property which has the same
+ // name as a user defined input on the VF with a different type
genericVF.setVersion("2.0");
newProp.setType("string");
genericVF.setProperties(new ArrayList<PropertyDefinition>());
genericVF.getProperties().add(newProp);
-
+
String currentDerivedFromVersion = resource.getDerivedFromGenericVersion();
- assertTrue(8 == resource.getInputs().stream().filter(p -> null != p.getOwnerId()).collect(Collectors.toList()).size());
+ assertTrue(8 == resource.getInputs().stream().filter(p -> null != p.getOwnerId()).collect(Collectors.toList())
+ .size());
Either<Boolean, ResponseFormat> upgradeToLatestGeneric = bl.shouldUpgradeToLatestGeneric(resource);
- //verify success
+ // verify success
assertTrue(upgradeToLatestGeneric.isLeft());
- //verify update is invalid an void
+ // verify update is invalid an void
assertFalse(upgradeToLatestGeneric.left().value());
- //verify version was not upgraded
+ // verify version was not upgraded
assertTrue(resource.getDerivedFromGenericVersion().equals(currentDerivedFromVersion));
- //verify inputs were not removed
+ // verify inputs were not removed
assertTrue(9 == resource.getInputs().size());
- //verify user defined input exists
- assertTrue(1 == resource.getInputs().stream().filter(p -> null == p.getOwnerId()).collect(Collectors.toList()).size());
- assertTrue(resource.getInputs().stream().filter(p -> null == p.getOwnerId()).findAny().get().getType().equals("integer"));
+ // verify user defined input exists
+ assertTrue(1 == resource.getInputs().stream().filter(p -> null == p.getOwnerId()).collect(Collectors.toList())
+ .size());
+ assertTrue(resource.getInputs().stream().filter(p -> null == p.getOwnerId()).findAny().get().getType()
+ .equals("integer"));
}
-
+
@Test
public void testPNFGeneratedInputsNoGeneratedInformationalArtifacts() {
-
+
Resource resource = createPNF();
List<InputDefinition> inputs = resource.getInputs();
assertTrue(8 == inputs.size());
- for(InputDefinition input : inputs){
+ for (InputDefinition input : inputs) {
assertNotNull(input.getOwnerId());
}
assertTrue(resource.getDerivedFromGenericType().equals(genericPNF.getToscaResourceName()));
assertTrue(resource.getDerivedFromGenericVersion().equals(genericPNF.getVersion()));
assertTrue(0 == resource.getArtifacts().size());
}
-
-
+
private Resource createVF() {
-
+
genericVF = setupGenericTypeMock(GENERIC_VF_NAME);
- when(toscaOperationFacade.getLatestCertifiedNodeTypeByToscaResourceName(GENERIC_VF_NAME)).thenReturn(Either.left(genericVF));
+ when(toscaOperationFacade.getLatestCertifiedNodeTypeByToscaResourceName(GENERIC_VF_NAME))
+ .thenReturn(Either.left(genericVF));
Resource resource = createResourceObject(true);
resource.setDerivedFrom(null);
resource.setResourceType(ResourceTypeEnum.VF);
when(toscaOperationFacade.createToscaComponent(resource)).thenReturn(Either.left(resource));
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resource, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resource,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isLeft());
return createResponse.left().value();
}
-
- private Resource createPNF() {
-
+
+ private Resource createPNF() {
+
genericPNF = setupGenericTypeMock(GENERIC_PNF_NAME);
- when(toscaOperationFacade.getLatestCertifiedNodeTypeByToscaResourceName(GENERIC_PNF_NAME)).thenReturn(Either.left(genericPNF));
+ when(toscaOperationFacade.getLatestCertifiedNodeTypeByToscaResourceName(GENERIC_PNF_NAME))
+ .thenReturn(Either.left(genericPNF));
Resource resource = createResourceObject(true);
resource.setDerivedFrom(null);
resource.setResourceType(ResourceTypeEnum.PNF);
when(toscaOperationFacade.createToscaComponent(resource)).thenReturn(Either.left(resource));
- Either<Resource, ResponseFormat> createResponse = bl.createResource(resource, AuditingActionEnum.CREATE_RESOURCE, user, null, null);
+ Either<Resource, ResponseFormat> createResponse = bl.createResource(resource,
+ AuditingActionEnum.CREATE_RESOURCE, user, null, null);
assertTrue(createResponse.isLeft());
return createResponse.left().value();
}
-
-
- private Resource setupGenericTypeMock(String toscaName) {
-
+ private Resource setupGenericTypeMock(String toscaName) {
+
Resource genericType = createResourceObject(true);
genericType.setVersion("1.0");
genericType.setToscaResourceName(toscaName);
- String[] propNames = {"nf_function", "nf_role", "nf_naming_code", "nf_type", "nf_naming", "availability_zone_max_count", "min_instances", "max_instances"};
- String[] propTypes = {"string", "string", "string", "string", "org.openecomp.datatypes.Naming", "integer", "integer", "integer"};
+ String[] propNames = { "nf_function", "nf_role", "nf_naming_code", "nf_type", "nf_naming",
+ "availability_zone_max_count", "min_instances", "max_instances" };
+ String[] propTypes = { "string", "string", "string", "string", "org.openecomp.datatypes.Naming", "integer",
+ "integer", "integer" };
List<PropertyDefinition> genericProps = new ArrayList<>();
- for(int i = 0; i < 8; ++i){
+ for (int i = 0; i < 8; ++i) {
PropertyDefinition prop = new PropertyDefinition();
prop.setName(propNames[i]);
prop.setType(propTypes[i]);
@@ -1783,6 +1941,289 @@ public class ResourceBusinessLogicTest {
return genericType;
}
-
-
+ private ResourceBusinessLogic createTestSubject() {
+ return new ResourceBusinessLogic();
+ }
+
+ @Test
+ public void testGetCsarOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ CsarOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCsarOperation();
+ }
+
+ @Test
+ public void testSetCsarOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ CsarOperation csarOperation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCsarOperation(csarOperation);
+ }
+
+
+ @Test
+ public void testGetLifecycleBusinessLogic() throws Exception {
+ ResourceBusinessLogic testSubject;
+ LifecycleBusinessLogic result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLifecycleBusinessLogic();
+ }
+
+
+ @Test
+ public void testSetLifecycleManager() throws Exception {
+ ResourceBusinessLogic testSubject;
+ LifecycleBusinessLogic lifecycleBusinessLogic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLifecycleManager(lifecycleBusinessLogic);
+ }
+
+
+ @Test
+ public void testGetElementDao() throws Exception {
+ ResourceBusinessLogic testSubject;
+ IElementOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElementDao();
+ }
+
+
+ @Test
+ public void testSetElementDao() throws Exception {
+ ResourceBusinessLogic testSubject;
+ IElementOperation elementDao = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElementDao(elementDao);
+ }
+
+
+ @Test
+ public void testGetUserAdmin() throws Exception {
+ ResourceBusinessLogic testSubject;
+ IUserBusinessLogic result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserAdmin();
+ }
+
+
+ @Test
+ public void testSetUserAdmin() throws Exception {
+ ResourceBusinessLogic testSubject;
+ UserBusinessLogic userAdmin = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserAdmin(userAdmin);
+ }
+
+
+ @Test
+ public void testGetComponentsUtils() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ComponentsUtils result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentsUtils();
+ }
+
+
+ @Test
+ public void testSetComponentsUtils() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ComponentsUtils componentsUtils = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentsUtils(componentsUtils);
+ }
+
+
+ @Test
+ public void testGetArtifactsManager() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ArtifactsBusinessLogic result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactsManager();
+ }
+
+
+ @Test
+ public void testSetArtifactsManager() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ArtifactsBusinessLogic artifactsManager = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactsManager(artifactsManager);
+ }
+
+
+ @Test
+ public void testSetPropertyOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ IPropertyOperation propertyOperation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyOperation(propertyOperation);
+ }
+
+
+ @Test
+ public void testGetApplicationDataTypeCache() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ApplicationDataTypeCache result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicationDataTypeCache();
+ }
+
+
+ @Test
+ public void testSetApplicationDataTypeCache() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ApplicationDataTypeCache applicationDataTypeCache = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicationDataTypeCache(applicationDataTypeCache);
+ }
+
+ @Test
+ public void testSetDeploymentArtifactsPlaceHolder() throws Exception {
+ ResourceBusinessLogic testSubject;
+ Component component = new Resource() {
+ };
+ User user = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentArtifactsPlaceHolder(component, user);
+ }
+
+
+
+ @Test
+ public void testValidateVendorReleaseName_1() throws Exception {
+ ResourceBusinessLogic testSubject;
+ String vendorRelease = "";
+ Either<Boolean, ResponseFormat> result;
+
+ // test 1
+ testSubject = createTestSubject();
+ vendorRelease = null;
+ result = testSubject.validateVendorReleaseName(vendorRelease);
+ Assert.assertEquals(false, result.left().value());
+
+ }
+
+
+
+
+
+
+ @Test
+ public void testGetCapabilityTypeOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ICapabilityTypeOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityTypeOperation();
+ }
+
+
+ @Test
+ public void testSetCapabilityTypeOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ICapabilityTypeOperation capabilityTypeOperation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilityTypeOperation(capabilityTypeOperation);
+ }
+
+
+ @Test
+ public void testValidatePropertiesDefaultValues() throws Exception {
+ ResourceBusinessLogic testSubject;
+ Resource resource = new Resource();
+ Either<Boolean, ResponseFormat> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.validatePropertiesDefaultValues(resource);
+ }
+
+
+ @Test
+ public void testGetComponentInstanceBL() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ComponentInstanceBusinessLogic result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceBL();
+ }
+
+
+
+ @Test
+ public void testGetComponentInstancesFilteredByPropertiesAndInputs() throws Exception {
+ ResourceBusinessLogic testSubject;
+ String componentId = "";
+ ComponentTypeEnum componentTypeEnum = null;
+ String userId = "";
+ String searchText = "";
+ Either<List<ComponentInstance>, ResponseFormat> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesFilteredByPropertiesAndInputs(componentId, componentTypeEnum, userId,
+ searchText);
+ }
+
+
+
+ @Test
+ public void testGetCacheManagerOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ICacheMangerOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCacheManagerOperation();
+ }
+
+
+ @Test
+ public void testSetCacheManagerOperation() throws Exception {
+ ResourceBusinessLogic testSubject;
+ ICacheMangerOperation cacheManagerOperation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCacheManagerOperation(cacheManagerOperation);
+ }
+
+
}
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ArtifactMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ArtifactMetadataTest.java
new file mode 100644
index 0000000000..673964e264
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ArtifactMetadataTest.java
@@ -0,0 +1,255 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactMetadataTest {
+
+ private ArtifactMetadata createTestSubject() {
+ return new ArtifactMetadata();
+ }
+
+
+ @Test
+ public void testGetArtifactName() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactName();
+ }
+
+
+ @Test
+ public void testSetArtifactName() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactName(artifactName);
+ }
+
+
+ @Test
+ public void testGetArtifactType() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactType();
+ }
+
+
+ @Test
+ public void testSetArtifactType() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactType(artifactType);
+ }
+
+
+ @Test
+ public void testGetArtifactURL() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactURL();
+ }
+
+
+ @Test
+ public void testSetArtifactURL() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactURL = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactURL(artifactURL);
+ }
+
+
+ @Test
+ public void testGetArtifactDescription() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactDescription();
+ }
+
+
+ @Test
+ public void testSetArtifactDescription() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactDescription(artifactDescription);
+ }
+
+
+ @Test
+ public void testGetArtifactTimeout() throws Exception {
+ ArtifactMetadata testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactTimeout();
+ }
+
+
+ @Test
+ public void testSetArtifactTimeout() throws Exception {
+ ArtifactMetadata testSubject;
+ Integer artifactTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactTimeout(artifactTimeout);
+ }
+
+
+ @Test
+ public void testGetArtifactChecksum() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactChecksum();
+ }
+
+
+ @Test
+ public void testSetArtifactChecksum() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactChecksum = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactChecksum(artifactChecksum);
+ }
+
+
+ @Test
+ public void testGetArtifactUUID() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactUUID();
+ }
+
+
+ @Test
+ public void testSetArtifactUUID() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactUUID(artifactUUID);
+ }
+
+
+ @Test
+ public void testGetArtifactVersion() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactVersion();
+ }
+
+
+ @Test
+ public void testSetArtifactVersion() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactVersion(artifactVersion);
+ }
+
+
+ @Test
+ public void testGetGeneratedFromUUID() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGeneratedFromUUID();
+ }
+
+
+ @Test
+ public void testSetGeneratedFromUUID() throws Exception {
+ ArtifactMetadata testSubject;
+ String generatedFromUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGeneratedFromUUID(generatedFromUUID);
+ }
+
+
+ @Test
+ public void testGetArtifactLabel() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactLabel();
+ }
+
+
+ @Test
+ public void testSetArtifactLabel() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactLabel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactLabel(artifactLabel);
+ }
+
+
+ @Test
+ public void testGetArtifactGroupType() throws Exception {
+ ArtifactMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactGroupType();
+ }
+
+
+ @Test
+ public void testSetArtifactGroupType() throws Exception {
+ ArtifactMetadata testSubject;
+ String artifactGroupType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactGroupType(artifactGroupType);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java
new file mode 100644
index 0000000000..1102dea900
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java
@@ -0,0 +1,125 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ProductAssetMetadataTest {
+
+ private ProductAssetMetadata createTestSubject() {
+ return new ProductAssetMetadata();
+ }
+
+
+ @Test
+ public void testGetLifecycleState() throws Exception {
+ ProductAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLifecycleState();
+ }
+
+
+ @Test
+ public void testSetLifecycleState() throws Exception {
+ ProductAssetMetadata testSubject;
+ String lifecycleState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLifecycleState(lifecycleState);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterUserId() throws Exception {
+ ProductAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterUserId();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterUserId() throws Exception {
+ ProductAssetMetadata testSubject;
+ String lastUpdaterUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterUserId(lastUpdaterUserId);
+ }
+
+
+ @Test
+ public void testIsActive() throws Exception {
+ ProductAssetMetadata testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isActive();
+ }
+
+
+ @Test
+ public void testSetActive() throws Exception {
+ ProductAssetMetadata testSubject;
+ boolean isActive = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setActive(isActive);
+ }
+
+
+ @Test
+ public void testGetContacts() throws Exception {
+ ProductAssetMetadata testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getContacts();
+ }
+
+
+ @Test
+ public void testSetContacts() throws Exception {
+ ProductAssetMetadata testSubject;
+ List<String> contacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setContacts(contacts);
+ }
+
+
+ @Test
+ public void testGetProductGroupings() throws Exception {
+ ProductAssetMetadata testSubject;
+ List<ProductCategoryGroupMetadata> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProductGroupings();
+ }
+
+
+ @Test
+ public void testSetProductGroupings() throws Exception {
+ ProductAssetMetadata testSubject;
+ List<ProductCategoryGroupMetadata> productGroupings = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProductGroupings(productGroupings);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java
new file mode 100644
index 0000000000..0d931e15df
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java
@@ -0,0 +1,79 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ProductCategoryGroupMetadataTest {
+
+ private ProductCategoryGroupMetadata createTestSubject() {
+ return new ProductCategoryGroupMetadata("", "", "");
+ }
+
+
+ @Test
+ public void testGetCategory() throws Exception {
+ ProductCategoryGroupMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategory();
+ }
+
+
+ @Test
+ public void testSetCategory() throws Exception {
+ ProductCategoryGroupMetadata testSubject;
+ String category = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategory(category);
+ }
+
+
+ @Test
+ public void testGetSubCategory() throws Exception {
+ ProductCategoryGroupMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubCategory();
+ }
+
+
+ @Test
+ public void testSetSubCategory() throws Exception {
+ ProductCategoryGroupMetadata testSubject;
+ String subCategory = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubCategory(subCategory);
+ }
+
+
+ @Test
+ public void testGetGroup() throws Exception {
+ ProductCategoryGroupMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroup();
+ }
+
+
+ @Test
+ public void testSetGroup() throws Exception {
+ ProductCategoryGroupMetadata testSubject;
+ String group = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroup(group);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetDetailedMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetDetailedMetadataTest.java
new file mode 100644
index 0000000000..83d048ae6b
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetDetailedMetadataTest.java
@@ -0,0 +1,124 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class ResourceAssetDetailedMetadataTest {
+
+ private ResourceAssetDetailedMetadata createTestSubject() {
+ return new ResourceAssetDetailedMetadata();
+ }
+
+
+ @Test
+ public void testGetLastUpdaterFullName() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterFullName();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterFullName() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ String lastUpdaterFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterFullName(lastUpdaterFullName);
+ }
+
+
+ @Test
+ public void testGetToscaResourceName() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaResourceName();
+ }
+
+
+ @Test
+ public void testSetToscaResourceName() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ String toscaResourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaResourceName(toscaResourceName);
+ }
+
+
+ @Test
+ public void testGetResources() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ List<ResourceInstanceMetadata> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResources();
+ }
+
+
+ @Test
+ public void testSetResources() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ List<ResourceInstanceMetadata> resources = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResources(resources);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ List<ArtifactMetadata> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ List<ArtifactMetadata> artifactMetaList = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifactMetaList);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ResourceAssetDetailedMetadata testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetMetadataTest.java
new file mode 100644
index 0000000000..d0d784f5a8
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceAssetMetadataTest.java
@@ -0,0 +1,123 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ResourceAssetMetadataTest {
+
+ private ResourceAssetMetadata createTestSubject() {
+ return new ResourceAssetMetadata();
+ }
+
+
+ @Test
+ public void testGetCategory() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategory();
+ }
+
+
+ @Test
+ public void testSetCategory() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String category = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategory(category);
+ }
+
+
+ @Test
+ public void testGetSubCategory() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubCategory();
+ }
+
+
+ @Test
+ public void testSetSubCategory() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String subCategory = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubCategory(subCategory);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String resourceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetLifecycleState() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLifecycleState();
+ }
+
+
+ @Test
+ public void testSetLifecycleState() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String lifecycleState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLifecycleState(lifecycleState);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterUserId() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterUserId();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterUserId() throws Exception {
+ ResourceAssetMetadata testSubject;
+ String lastUpdaterUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterUserId(lastUpdaterUserId);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadataTest.java
new file mode 100644
index 0000000000..ba9897c7dc
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ResourceInstanceMetadataTest.java
@@ -0,0 +1,169 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ResourceInstanceMetadataTest {
+
+ private ResourceInstanceMetadata createTestSubject() {
+ return new ResourceInstanceMetadata();
+ }
+
+
+ @Test
+ public void testGetResourceInstanceName() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInstanceName();
+ }
+
+
+ @Test
+ public void testSetResourceInstanceName() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String resourceInstanceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInstanceName(resourceInstanceName);
+ }
+
+
+ @Test
+ public void testGetResourceName() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceName();
+ }
+
+
+ @Test
+ public void testSetResourceName() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String resourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceName(resourceName);
+ }
+
+
+ @Test
+ public void testGetResourceInvariantUUID() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetResourceInvariantUUID() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String resourceInvariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInvariantUUID(resourceInvariantUUID);
+ }
+
+
+ @Test
+ public void testGetResourceVersion() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVersion();
+ }
+
+
+ @Test
+ public void testSetResourceVersion() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String resourceVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVersion(resourceVersion);
+ }
+
+
+ @Test
+ public void testGetResoucreType() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResoucreType();
+ }
+
+
+ @Test
+ public void testSetResoucreType() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String resoucreType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResoucreType(resoucreType);
+ }
+
+
+ @Test
+ public void testGetResourceUUID() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceUUID();
+ }
+
+
+ @Test
+ public void testSetResourceUUID() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ String resourceUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceUUID(resourceUUID);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ List<ArtifactMetadata> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ ResourceInstanceMetadata testSubject;
+ List<ArtifactMetadata> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetDetailedMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetDetailedMetadataTest.java
new file mode 100644
index 0000000000..29825a6e60
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetDetailedMetadataTest.java
@@ -0,0 +1,81 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServiceAssetDetailedMetadataTest {
+
+ private ServiceAssetDetailedMetadata createTestSubject() {
+ return new ServiceAssetDetailedMetadata();
+ }
+
+
+ @Test
+ public void testGetLastUpdaterFullName() throws Exception {
+ ServiceAssetDetailedMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterFullName();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterFullName() throws Exception {
+ ServiceAssetDetailedMetadata testSubject;
+ String lastUpdaterFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterFullName(lastUpdaterFullName);
+ }
+
+
+ @Test
+ public void testGetResources() throws Exception {
+ ServiceAssetDetailedMetadata testSubject;
+ List<ResourceInstanceMetadata> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResources();
+ }
+
+
+ @Test
+ public void testSetResources() throws Exception {
+ ServiceAssetDetailedMetadata testSubject;
+ List<ResourceInstanceMetadata> resources = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResources(resources);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ ServiceAssetDetailedMetadata testSubject;
+ List<ArtifactMetadata> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ ServiceAssetDetailedMetadata testSubject;
+ List<ArtifactMetadata> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetMetadataTest.java
new file mode 100644
index 0000000000..6a4a38a02f
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceAssetMetadataTest.java
@@ -0,0 +1,101 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServiceAssetMetadataTest {
+
+ private ServiceAssetMetadata createTestSubject() {
+ return new ServiceAssetMetadata();
+ }
+
+
+ @Test
+ public void testGetCategory() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategory();
+ }
+
+
+ @Test
+ public void testSetCategory() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String category = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategory(category);
+ }
+
+
+ @Test
+ public void testGetLifecycleState() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLifecycleState();
+ }
+
+
+ @Test
+ public void testSetLifecycleState() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String lifecycleState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLifecycleState(lifecycleState);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterUserId() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterUserId();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterUserId() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String lastUpdaterUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterUserId(lastUpdaterUserId);
+ }
+
+
+ @Test
+ public void testGetDistributionStatus() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatus();
+ }
+
+
+ @Test
+ public void testSetDistributionStatus() throws Exception {
+ ServiceAssetMetadata testSubject;
+ String distributionStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatus(distributionStatus);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/impl/ComponentsUtilsTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/impl/ComponentsUtilsTest.java
new file mode 100644
index 0000000000..b726bee926
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/impl/ComponentsUtilsTest.java
@@ -0,0 +1,308 @@
+package org.openecomp.sdc.be.impl;
+
+import java.util.EnumMap;
+import java.util.List;
+import java.util.Map;
+import java.util.regex.Pattern;
+
+import javax.servlet.http.HttpServletRequest;
+
+import org.apache.tinkerpop.gremlin.structure.T;
+import org.codehaus.jackson.map.module.SimpleModule;
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.auditing.api.IAuditingManager;
+import org.openecomp.sdc.be.components.impl.ImportUtils.ResultStatusEnum;
+import org.openecomp.sdc.be.dao.api.ActionStatus;
+import org.openecomp.sdc.be.dao.graph.datatype.AdditionalInformationEnum;
+import org.openecomp.sdc.be.datatypes.elements.AdditionalInfoParameterInfo;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields;
+import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+import org.openecomp.sdc.be.model.CapabilityTypeDefinition;
+import org.openecomp.sdc.be.model.Component;
+import org.openecomp.sdc.be.model.ConsumerDefinition;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+import org.openecomp.sdc.be.model.GroupTypeDefinition;
+import org.openecomp.sdc.be.model.PolicyTypeDefinition;
+import org.openecomp.sdc.be.model.Resource;
+import org.openecomp.sdc.be.model.User;
+import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingActionEnum;
+import org.openecomp.sdc.be.tosca.ToscaError;
+import org.openecomp.sdc.common.datastructure.AuditingFieldsKeysEnum;
+import org.openecomp.sdc.exception.ResponseFormat;
+
+import com.fasterxml.jackson.databind.JsonDeserializer;
+
+import fj.data.Either;
+
+public class ComponentsUtilsTest {
+
+ private ComponentsUtils createTestSubject() {
+ return new ComponentsUtils();
+ }
+
+
+ @Test
+ public void testInit() throws Exception {
+ ComponentsUtils testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.Init();
+ }
+
+
+ @Test
+ public void testGetAuditingManager() throws Exception {
+ ComponentsUtils testSubject;
+ IAuditingManager result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAuditingManager();
+ }
+
+
+ @Test
+ public void testSetAuditingManager() throws Exception {
+ ComponentsUtils testSubject;
+ IAuditingManager auditingManager = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAuditingManager(auditingManager);
+ }
+
+
+ @Test
+ public void testAuditResource() throws Exception {
+ ComponentsUtils testSubject;
+ ResponseFormat responseFormat = null;
+ User modifier = null;
+ Resource resource = null;
+ String prevState = "";
+ String prevVersion = "";
+ AuditingActionEnum actionEnum = null;
+ EnumMap<AuditingFieldsKeysEnum, Object> additionalParams = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ actionEnum = null;
+ testSubject.auditResource(responseFormat, modifier, resource, prevState, prevVersion, actionEnum,
+ additionalParams);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponse() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = null;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponse(storageResponse);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponse_1() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = null;
+ ComponentTypeEnum type = null;
+ ActionStatus result;
+
+ // test 1
+ testSubject = createTestSubject();
+ storageResponse = null;
+ result = testSubject.convertFromStorageResponse(storageResponse, type);
+ Assert.assertEquals(ActionStatus.GENERAL_ERROR, result);
+ }
+
+
+ @Test
+ public void testConvertFromToscaError() throws Exception {
+ ComponentsUtils testSubject;
+ ToscaError toscaError = null;
+ ActionStatus result;
+
+ // test 1
+ testSubject = createTestSubject();
+ toscaError = null;
+ result = testSubject.convertFromToscaError(toscaError);
+ Assert.assertEquals(ActionStatus.GENERAL_ERROR, result);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForCapabilityType() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForCapabilityType(storageResponse);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForLifecycleType() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForLifecycleType(storageResponse);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForResourceInstance() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ boolean isRelation = false;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForResourceInstance(storageResponse, isRelation);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForResourceInstanceProperty() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForResourceInstanceProperty(storageResponse);
+ }
+
+
+ @Test
+ public void testAuditComponentAdmin() throws Exception {
+ ComponentsUtils testSubject;
+ ResponseFormat responseFormat = null;
+ User modifier = null;
+ Component component = null;
+ String prevState = "";
+ String prevVersion = "";
+ AuditingActionEnum actionEnum = null;
+ ComponentTypeEnum type = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.auditComponentAdmin(responseFormat, modifier, component, prevState, prevVersion, actionEnum, type);
+ }
+
+
+ @Test
+ public void testAuditComponent() throws Exception {
+ ComponentsUtils testSubject;
+ ResponseFormat responseFormat = null;
+ User modifier = null;
+ Component component = null;
+ String prevState = "";
+ String prevVersion = "";
+ AuditingActionEnum actionEnum = null;
+ ComponentTypeEnum type = null;
+ EnumMap<AuditingFieldsKeysEnum, Object> additionalParams = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ actionEnum = null;
+ testSubject.auditComponent(responseFormat, modifier, component, prevState, prevVersion, actionEnum, type,
+ additionalParams);
+ }
+
+
+ @Test
+ public void testValidateStringNotEmpty_1() throws Exception {
+ ComponentsUtils testSubject;
+ String value = "";
+ Boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ value = null;
+ result = testSubject.validateStringNotEmpty(value);
+ Assert.assertEquals(false, result);
+
+ // test 2
+ testSubject = createTestSubject();
+ value = "";
+ result = testSubject.validateStringNotEmpty(value);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForAdditionalInformation() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForAdditionalInformation(storageResponse);
+ }
+
+
+ @Test
+ public void testConvertFromResultStatusEnum() throws Exception {
+ ComponentsUtils testSubject;
+ ResultStatusEnum resultStatus = ResultStatusEnum.ELEMENT_NOT_FOUND;
+ JsonPresentationFields elementType = null;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromResultStatusEnum(resultStatus, elementType);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForConsumer() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForConsumer(storageResponse);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForGroupType() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForGroupType(storageResponse);
+ }
+
+
+ @Test
+ public void testConvertFromStorageResponseForDataType() throws Exception {
+ ComponentsUtils testSubject;
+ StorageOperationStatus storageResponse = StorageOperationStatus.ARTIFACT_NOT_FOUND;
+ ActionStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertFromStorageResponseForDataType(storageResponse);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessInfoTest.java
new file mode 100644
index 0000000000..096bb4dca2
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessInfoTest.java
@@ -0,0 +1,233 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactAccessInfoTest {
+
+ private ArtifactAccessInfo createTestSubject() {
+ return new ArtifactAccessInfo();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetUrl() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUrl();
+ }
+
+
+ @Test
+ public void testSetUrl() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String url = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUrl(url);
+ }
+
+
+ @Test
+ public void testGetId() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getId();
+ }
+
+
+ @Test
+ public void testSetId() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String id = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setId(id);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetCreator() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreator();
+ }
+
+
+ @Test
+ public void testSetCreator() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String creator = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreator(creator);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String creationTime = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetLastUpdater() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdater();
+ }
+
+
+ @Test
+ public void testSetLastUpdater() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String lastUpdater = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdater(lastUpdater);
+ }
+
+
+ @Test
+ public void testGetLastUpdateTime() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdateTime();
+ }
+
+
+ @Test
+ public void testSetLastUpdateTime() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String lastUpdateTime = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdateTime(lastUpdateTime);
+ }
+
+
+ @Test
+ public void testGetChecksum() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChecksum();
+ }
+
+
+ @Test
+ public void testSetChecksum() throws Exception {
+ ArtifactAccessInfo testSubject;
+ String checksum = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setChecksum(checksum);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessListTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessListTest.java
new file mode 100644
index 0000000000..2164b91542
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactAccessListTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactAccessListTest {
+
+ private ArtifactAccessList createTestSubject() {
+ return new ArtifactAccessList(null);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ ArtifactAccessList testSubject;
+ List<ArtifactAccessInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ ArtifactAccessList testSubject;
+ List<ArtifactAccessInfo> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfoTest.java
new file mode 100644
index 0000000000..a9b9352673
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfoTest.java
@@ -0,0 +1,124 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+
+
+public class ArtifactDefinitionInfoTest {
+
+ private ArtifactDefinitionInfo createTestSubject() {
+ return new ArtifactDefinitionInfo(new ArtifactDefinition());
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetArtifactName() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactName();
+ }
+
+
+ @Test
+ public void testSetArtifactName() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactName(artifactName);
+ }
+
+
+ @Test
+ public void testGetArtifactDisplayName() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactDisplayName();
+ }
+
+
+ @Test
+ public void testSetArtifactDisplayName() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String artifactDisplayName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactDisplayName(artifactDisplayName);
+ }
+
+
+ @Test
+ public void testGetArtifactVersion() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactVersion();
+ }
+
+
+ @Test
+ public void testSetArtifactVersion() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String artifactVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactVersion(artifactVersion);
+ }
+
+
+ @Test
+ public void testGetArtifactUUID() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactUUID();
+ }
+
+
+ @Test
+ public void testSetArtifactUUID() throws Exception {
+ ArtifactDefinitionInfo testSubject;
+ String artifactUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactUUID(artifactUUID);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTemplateInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTemplateInfoTest.java
new file mode 100644
index 0000000000..379959628c
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTemplateInfoTest.java
@@ -0,0 +1,182 @@
+package org.openecomp.sdc.be.info;
+
+import static org.junit.Assert.*;
+import java.util.*;
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class ArtifactTemplateInfoTest {
+
+ private ArtifactTemplateInfo createTestSubject() {
+ return new ArtifactTemplateInfo();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetFileName() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFileName();
+ }
+
+
+ @Test
+ public void testSetFileName() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String fileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFileName(fileName);
+ }
+
+
+ @Test
+ public void testGetEnv() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEnv();
+ }
+
+
+ @Test
+ public void testSetEnv() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String env = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEnv(env);
+ }
+
+
+ @Test
+ public void testGetRelatedArtifactsInfo() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ List<ArtifactTemplateInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelatedArtifactsInfo();
+ }
+
+
+ @Test
+ public void testSetRelatedArtifactsInfo() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ List<ArtifactTemplateInfo> relatedArtifactsInfo = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelatedArtifactsInfo(relatedArtifactsInfo);
+ }
+
+
+ @Test
+ public void testGetGroupName() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupName();
+ }
+
+
+ @Test
+ public void testSetGroupName() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String groupName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupName(groupName);
+ }
+
+
+ @Test
+ public void testIsBase() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isBase();
+ }
+
+
+ @Test
+ public void testSetBase() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ boolean isBase = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBase(isBase);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ArtifactTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTypesInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTypesInfoTest.java
new file mode 100644
index 0000000000..4010d9bf86
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ArtifactTypesInfoTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.ArtifactType;
+
+
+public class ArtifactTypesInfoTest {
+
+ private ArtifactTypesInfo createTestSubject() {
+ return new ArtifactTypesInfo();
+ }
+
+
+ @Test
+ public void testGetArtifactTypes() throws Exception {
+ ArtifactTypesInfo testSubject;
+ List<ArtifactType> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetArtifactTypes() throws Exception {
+ ArtifactTypesInfo testSubject;
+ List<ArtifactType> artifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactTypes(artifactTypes);
+ }
+
+
+ @Test
+ public void testGetHeatDefaultTimeout() throws Exception {
+ ArtifactTypesInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatDefaultTimeout();
+ }
+
+
+ @Test
+ public void testSetHeatDefaultTimeout() throws Exception {
+ ArtifactTypesInfo testSubject;
+ Integer heatDefaultTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatDefaultTimeout(heatDefaultTimeout);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/CreateAndAssotiateInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/CreateAndAssotiateInfoTest.java
new file mode 100644
index 0000000000..ad8e21bb84
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/CreateAndAssotiateInfoTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.ComponentInstance;
+import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
+
+
+public class CreateAndAssotiateInfoTest {
+
+ private CreateAndAssotiateInfo createTestSubject() {
+ return new CreateAndAssotiateInfo(new ComponentInstance(), new RequirementCapabilityRelDef());
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ CreateAndAssotiateInfo testSubject;
+ ComponentInstance result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ CreateAndAssotiateInfo testSubject;
+ ComponentInstance node = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetAssociate() throws Exception {
+ CreateAndAssotiateInfo testSubject;
+ RequirementCapabilityRelDef result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAssociate();
+ }
+
+
+ @Test
+ public void testSetAssociate() throws Exception {
+ CreateAndAssotiateInfo testSubject;
+ RequirementCapabilityRelDef associate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAssociate(associate);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusInfoTest.java
new file mode 100644
index 0000000000..dd8a3e6eee
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusInfoTest.java
@@ -0,0 +1,124 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.common.datastructure.ESTimeBasedEvent;
+
+
+public class DistributionStatusInfoTest {
+
+ private DistributionStatusInfo createTestSubject() {
+ return new DistributionStatusInfo(new ESTimeBasedEvent());
+ }
+
+
+ @Test
+ public void testGetOmfComponentID() throws Exception {
+ DistributionStatusInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOmfComponentID();
+ }
+
+
+ @Test
+ public void testSetOmfComponentID() throws Exception {
+ DistributionStatusInfo testSubject;
+ String omfComponentID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOmfComponentID(omfComponentID);
+ }
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ DistributionStatusInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ DistributionStatusInfo testSubject;
+ String timestamp = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testGetUrl() throws Exception {
+ DistributionStatusInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUrl();
+ }
+
+
+ @Test
+ public void testSetUrl() throws Exception {
+ DistributionStatusInfo testSubject;
+ String url = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUrl(url);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ DistributionStatusInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ DistributionStatusInfo testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetErrorReason() throws Exception {
+ DistributionStatusInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrorReason();
+ }
+
+
+ @Test
+ public void testSetErrorReason() throws Exception {
+ DistributionStatusInfo testSubject;
+ String errorReason = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setErrorReason(errorReason);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusListResponseTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusListResponseTest.java
new file mode 100644
index 0000000000..db4d735a7e
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusListResponseTest.java
@@ -0,0 +1,36 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class DistributionStatusListResponseTest {
+
+ private DistributionStatusListResponse createTestSubject() {
+ return new DistributionStatusListResponse();
+ }
+
+
+ @Test
+ public void testGetDistributionStatusList() throws Exception {
+ DistributionStatusListResponse testSubject;
+ List<DistributionStatusInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatusList();
+ }
+
+
+ @Test
+ public void testSetDistributionStatusList() throws Exception {
+ DistributionStatusListResponse testSubject;
+ List<DistributionStatusInfo> distribStatusInfoList = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatusList(distribStatusInfoList);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceInfoTest.java
new file mode 100644
index 0000000000..62b1bcbe0f
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceInfoTest.java
@@ -0,0 +1,101 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionStatusOfServiceInfoTest {
+
+ private DistributionStatusOfServiceInfo createTestSubject() {
+ return new DistributionStatusOfServiceInfo();
+ }
+
+
+ @Test
+ public void testGetDistributionID() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionID();
+ }
+
+
+ @Test
+ public void testSetDistributionID() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String distributionID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionID(distributionID);
+ }
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String timestamp = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testGetUserId() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserId();
+ }
+
+
+ @Test
+ public void testSetUserId() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String userId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserId(userId);
+ }
+
+
+ @Test
+ public void testGetDeployementStatus() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeployementStatus();
+ }
+
+
+ @Test
+ public void testSetDeployementStatus() throws Exception {
+ DistributionStatusOfServiceInfo testSubject;
+ String deployementStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeployementStatus(deployementStatus);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java
new file mode 100644
index 0000000000..830292a66f
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionStatusOfServiceListResponceTest {
+
+ private DistributionStatusOfServiceListResponce createTestSubject() {
+ return new DistributionStatusOfServiceListResponce();
+ }
+
+
+ @Test
+ public void testGetDistributionStatusOfServiceList() throws Exception {
+ DistributionStatusOfServiceListResponce testSubject;
+ List<DistributionStatusOfServiceInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatusOfServiceList();
+ }
+
+
+ @Test
+ public void testSetDistributionStatusOfServiceList() throws Exception {
+ DistributionStatusOfServiceListResponce testSubject;
+ List<DistributionStatusOfServiceInfo> distribStatusOfServiceInfoList = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatusOfServiceList(distribStatusOfServiceInfoList);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupDefinitionInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupDefinitionInfoTest.java
new file mode 100644
index 0000000000..b2895d099c
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupDefinitionInfoTest.java
@@ -0,0 +1,249 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.GroupProperty;
+import java.util.*;
+import org.junit.Assert;
+
+
+public class GroupDefinitionInfoTest {
+
+ private GroupDefinitionInfo createTestSubject() {
+ return new GroupDefinitionInfo();
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetGroupUUID() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupUUID();
+ }
+
+
+ @Test
+ public void testSetGroupUUID() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String groupUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupUUID(groupUUID);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetCustomizationUUID() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCustomizationUUID();
+ }
+
+
+ @Test
+ public void testSetCustomizationUUID() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String customizationUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCustomizationUUID(customizationUUID);
+ }
+
+
+ @Test
+ public void testGetIsBase() throws Exception {
+ GroupDefinitionInfo testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsBase();
+ }
+
+
+ @Test
+ public void testSetIsBase() throws Exception {
+ GroupDefinitionInfo testSubject;
+ Boolean isBase = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsBase(isBase);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ GroupDefinitionInfo testSubject;
+ List<ArtifactDefinitionInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ GroupDefinitionInfo testSubject;
+ List<ArtifactDefinitionInfo> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ GroupDefinitionInfo testSubject;
+ List<? extends GroupProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ GroupDefinitionInfo testSubject;
+ List<? extends GroupProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetGroupInstanceUniqueId() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupInstanceUniqueId();
+ }
+
+
+ @Test
+ public void testSetGroupInstanceUniqueId() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String groupInstanceUniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupInstanceUniqueId(groupInstanceUniqueId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupDefinitionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupTemplateInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupTemplateInfoTest.java
new file mode 100644
index 0000000000..727a1f25d4
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/GroupTemplateInfoTest.java
@@ -0,0 +1,79 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupTemplateInfoTest {
+
+ private GroupTemplateInfo createTestSubject() {
+ return new GroupTemplateInfo();
+ }
+
+
+ @Test
+ public void testGetGroupName() throws Exception {
+ GroupTemplateInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupName();
+ }
+
+
+ @Test
+ public void testSetGroupName() throws Exception {
+ GroupTemplateInfo testSubject;
+ String groupName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupName(groupName);
+ }
+
+
+ @Test
+ public void testIsBase() throws Exception {
+ GroupTemplateInfo testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isBase();
+ }
+
+
+ @Test
+ public void testSetBase() throws Exception {
+ GroupTemplateInfo testSubject;
+ boolean isBase = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBase(isBase);
+ }
+
+
+ @Test
+ public void testGetArtifactTemplateInfo() throws Exception {
+ GroupTemplateInfo testSubject;
+ ArtifactTemplateInfo result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactTemplateInfo();
+ }
+
+
+ @Test
+ public void testSetArtifactTemplateInfo() throws Exception {
+ GroupTemplateInfo testSubject;
+ ArtifactTemplateInfo artifactTemplateInfo = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactTemplateInfo(artifactTemplateInfo);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceInfoTest.java
new file mode 100644
index 0000000000..569b04d982
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceInfoTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServiceInfoTest {
+
+ private ServiceInfo createTestSubject() {
+ return new ServiceInfo("", null);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ServiceInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ ServiceInfo testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetVersions() throws Exception {
+ ServiceInfo testSubject;
+ List<ServiceVersionInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersions();
+ }
+
+
+ @Test
+ public void testSetVersions() throws Exception {
+ ServiceInfo testSubject;
+ List<ServiceVersionInfo> versions = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersions(versions);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceVersionInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceVersionInfoTest.java
new file mode 100644
index 0000000000..2b5e97e86d
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServiceVersionInfoTest.java
@@ -0,0 +1,56 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class ServiceVersionInfoTest {
+
+ private ServiceVersionInfo createTestSubject() {
+ return new ServiceVersionInfo("", "", "");
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ ServiceVersionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ ServiceVersionInfo testSubject;
+ String serviceVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(serviceVersion);
+ }
+
+
+ @Test
+ public void testGetUrl() throws Exception {
+ ServiceVersionInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUrl();
+ }
+
+
+ @Test
+ public void testSetUrl() throws Exception {
+ ServiceVersionInfo testSubject;
+ String url = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUrl(url);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServicesWrapperTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServicesWrapperTest.java
new file mode 100644
index 0000000000..085583aa2d
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServicesWrapperTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServicesWrapperTest {
+
+ private ServicesWrapper createTestSubject() {
+ return new ServicesWrapper();
+ }
+
+
+ @Test
+ public void testGetServices() throws Exception {
+ ServicesWrapper testSubject;
+ List<ServiceInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServices();
+ }
+
+
+ @Test
+ public void testSetServices() throws Exception {
+ ServicesWrapper testSubject;
+ List<ServiceInfo> services = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServices(services);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServletJsonResponseTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServletJsonResponseTest.java
new file mode 100644
index 0000000000..43144113ea
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ServletJsonResponseTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.info;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServletJsonResponseTest {
+
+ private ServletJsonResponse createTestSubject() {
+ return new ServletJsonResponse();
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ServletJsonResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ServletJsonResponse testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetSource() throws Exception {
+ ServletJsonResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSource();
+ }
+
+
+ @Test
+ public void testSetSource() throws Exception {
+ ServletJsonResponse testSubject;
+ String source = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSource(source);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInfoTest.java
new file mode 100644
index 0000000000..c96f71b8fd
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInfoTest.java
@@ -0,0 +1,114 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeInfoTest {
+
+ private ToscaNodeTypeInfo createTestSubject() {
+ return new ToscaNodeTypeInfo();
+ }
+
+
+ @Test
+ public void testGetNodeName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeName();
+ }
+
+
+ @Test
+ public void testSetNodeName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String nodeName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNodeName(nodeName);
+ }
+
+
+ @Test
+ public void testGetTemplateVersion() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTemplateVersion();
+ }
+
+
+ @Test
+ public void testSetTemplateVersion() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String templateVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTemplateVersion(templateVersion);
+ }
+
+
+ @Test
+ public void testGetInterfaces() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ List<ToscaNodeTypeInterface> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaces();
+ }
+
+
+ @Test
+ public void testSetInterfaces() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ List<ToscaNodeTypeInterface> interfaces = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaces(interfaces);
+ }
+
+
+ @Test
+ public void testGetIconPath() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIconPath();
+ }
+
+
+ @Test
+ public void testSetIconPath() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String iconPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIconPath(iconPath);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInterfaceTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInterfaceTest.java
new file mode 100644
index 0000000000..80ae443afe
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/ToscaNodeTypeInterfaceTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.be.info;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeInterfaceTest {
+
+ private ToscaNodeTypeInterface createTestSubject() {
+ return new ToscaNodeTypeInterface();
+ }
+
+
+ @Test
+ public void testGetScripts() throws Exception {
+ ToscaNodeTypeInterface testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getScripts();
+ }
+
+
+ @Test
+ public void testSetScripts() throws Exception {
+ ToscaNodeTypeInterface testSubject;
+ List<String> scripts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setScripts(scripts);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/servlets/CsarBuildServletTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/servlets/CsarBuildServletTest.java
new file mode 100644
index 0000000000..daacb79de5
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/servlets/CsarBuildServletTest.java
@@ -0,0 +1,49 @@
+package org.openecomp.sdc.be.servlets;
+
+import javax.annotation.Generated;
+import javax.servlet.http.HttpServletRequest;
+import javax.ws.rs.core.Response;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.resources.data.ESArtifactData;
+
+import ch.qos.logback.classic.Logger;
+
+
+public class CsarBuildServletTest {
+
+ private CsarBuildServlet createTestSubject() {
+ return new CsarBuildServlet();
+ }
+
+
+ @Test
+ public void testGetDefaultTemplate() throws Exception {
+ CsarBuildServlet testSubject;
+ HttpServletRequest request = null;
+ String serviceName = "";
+ String serviceVersion = "";
+ Response result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultTemplate(request, serviceName, serviceVersion);
+ }
+
+
+ @Test
+ public void testGetToscaCsarTemplate() throws Exception {
+ CsarBuildServlet testSubject;
+ HttpServletRequest request = null;
+ String serviceName = "";
+ String serviceVersion = "";
+ Response result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaCsarTemplate(request, serviceName, serviceVersion);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/servlets/RepresentationUtilsTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/servlets/RepresentationUtilsTest.java
new file mode 100644
index 0000000000..c56fd474b4
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/servlets/RepresentationUtilsTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.servlets;
+
+import javax.annotation.Generated;
+
+import org.apache.tinkerpop.gremlin.structure.T;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+
+public class RepresentationUtilsTest {
+
+ private RepresentationUtils createTestSubject() {
+ return new RepresentationUtils();
+ }
+
+
+ @Test
+ public void testConvertJsonToArtifactDefinitionForUpdate() throws Exception {
+ String content = "";
+ Class<ArtifactDefinition> clazz = null;
+ ArtifactDefinition result;
+
+ // default test
+ result = RepresentationUtils.convertJsonToArtifactDefinitionForUpdate(content, clazz);
+ }
+
+
+ @Test
+ public void testToRepresentation() throws Exception {
+ T elementToRepresent = null;
+ Object result;
+
+ // default test
+ result = RepresentationUtils.toRepresentation(elementToRepresent);
+ }
+
+
+
+
+ @Test
+ public void testConvertJsonToArtifactDefinition() throws Exception {
+ String content = "";
+ Class<ArtifactDefinition> clazz = null;
+ ArtifactDefinition result;
+
+ // default test
+ result = RepresentationUtils.convertJsonToArtifactDefinition(content, clazz);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetectorTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetectorTest.java
new file mode 100644
index 0000000000..f93819c0a1
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/switchover/detector/SwitchoverDetectorTest.java
@@ -0,0 +1,38 @@
+package org.openecomp.sdc.be.switchover.detector;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SwitchoverDetectorTest {
+
+ private SwitchoverDetector createTestSubject() {
+ return new SwitchoverDetector();
+ }
+
+
+ @Test
+ public void testGetSiteMode() throws Exception {
+ SwitchoverDetector testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSiteMode();
+ }
+
+
+ @Test
+ public void testSetSiteMode() throws Exception {
+ SwitchoverDetector testSubject;
+ String mode = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSiteMode(mode);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ArtifactTypesTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ArtifactTypesTest.java
new file mode 100644
index 0000000000..dec4e78008
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ArtifactTypesTest.java
@@ -0,0 +1,38 @@
+package org.openecomp.sdc.be.tosca;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.generator.data.ArtifactType;
+
+
+public class ArtifactTypesTest {
+
+ private ArtifactTypes createTestSubject() {
+ return new ArtifactTypes();
+ }
+
+
+ @Test
+ public void testGetArtifactTypes() throws Exception {
+ ArtifactTypes testSubject;
+ List<ArtifactType> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetArtifactTypes() throws Exception {
+ ArtifactTypes testSubject;
+ List<ArtifactType> artifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactTypes(artifactTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/CsarUtilsTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/CsarUtilsTest.java
index faf70f4047..8acfe6cfea 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/CsarUtilsTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/CsarUtilsTest.java
@@ -27,13 +27,18 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
+import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openecomp.sdc.be.config.ConfigurationManager;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+import org.openecomp.sdc.be.model.Component;
+import org.openecomp.sdc.be.model.Resource;
import org.openecomp.sdc.be.tosca.CsarUtils.NonMetaArtifactInfo;
import org.openecomp.sdc.common.api.ConfigurationSource;
import org.openecomp.sdc.common.impl.ExternalConfiguration;
import org.openecomp.sdc.common.impl.FSConfigurationSource;
+import org.openecomp.sdc.exception.ResponseFormat;
import fj.data.Either;
@@ -44,48 +49,90 @@ public class CsarUtilsTest {
// Init Configuration
String appConfigDir = "src/test/resources/config/catalog-be";
- ConfigurationSource configurationSource = new FSConfigurationSource(ExternalConfiguration.getChangeListener(), appConfigDir);
+ ConfigurationSource configurationSource = new FSConfigurationSource(ExternalConfiguration.getChangeListener(),
+ appConfigDir);
ConfigurationManager configurationManager = new ConfigurationManager(configurationSource);
}
-
+
@Test
- public void testValidateNonMetaArtifactHappyScenario(){
+ public void testValidateNonMetaArtifactHappyScenario() {
String artifactPath = "Artifacts/Deployment/YANG_XML/myYang.xml";
byte[] payloadData = "some payload data".getBytes();
Map<String, Set<List<String>>> collectedWarningMessages = new HashMap<>();
- Either<NonMetaArtifactInfo, Boolean> eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath, payloadData, collectedWarningMessages);
- assertTrue(eitherNonMetaArtifact.isLeft() );
- assertTrue(collectedWarningMessages.isEmpty() );
+ Either<NonMetaArtifactInfo, Boolean> eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath,
+ payloadData, collectedWarningMessages);
+ assertTrue(eitherNonMetaArtifact.isLeft());
+ assertTrue(collectedWarningMessages.isEmpty());
artifactPath = "Artifacts/Informational/OTHER/someArtifact.xml";
eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath, payloadData, collectedWarningMessages);
- assertTrue(eitherNonMetaArtifact.isLeft() );
- assertTrue(collectedWarningMessages.isEmpty() );
+ assertTrue(eitherNonMetaArtifact.isLeft());
+ assertTrue(collectedWarningMessages.isEmpty());
}
-
+
@Test
- public void testValidateNonMetaArtifactScenarioWithWarnnings(){
+ public void testValidateNonMetaArtifactScenarioWithWarnnings() {
String artifactPath = "Artifacts/Deployment/Buga/myYang.xml";
byte[] payloadData = "some payload data".getBytes();
Map<String, Set<List<String>>> collectedWarningMessages = new HashMap<>();
- Either<NonMetaArtifactInfo, Boolean> eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath, payloadData, collectedWarningMessages);
- assertTrue(eitherNonMetaArtifact.isLeft() );
-
+ Either<NonMetaArtifactInfo, Boolean> eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath,
+ payloadData, collectedWarningMessages);
+ assertTrue(eitherNonMetaArtifact.isLeft());
+
artifactPath = "Artifacts/Informational/Buga2/someArtifact.xml";
eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath, payloadData, collectedWarningMessages);
- assertTrue(eitherNonMetaArtifact.isLeft() );
-
- assertTrue(collectedWarningMessages.size() == 1 );
+ assertTrue(eitherNonMetaArtifact.isLeft());
+
+ assertTrue(collectedWarningMessages.size() == 1);
assertTrue(collectedWarningMessages.values().iterator().next().size() == 2);
}
-
+
@Test
- public void testValidateNonMetaArtifactUnhappyScenario(){
+ public void testValidateNonMetaArtifactUnhappyScenario() {
String artifactPath = "Artifacts/Buga/YANG_XML/myYang.xml";
byte[] payloadData = "some payload data".getBytes();
Map<String, Set<List<String>>> collectedWarningMessages = new HashMap<>();
- Either<NonMetaArtifactInfo, Boolean> eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath, payloadData, collectedWarningMessages);
- assertTrue(eitherNonMetaArtifact.isRight() );
- assertTrue( !collectedWarningMessages.isEmpty() );
+ Either<NonMetaArtifactInfo, Boolean> eitherNonMetaArtifact = CsarUtils.validateNonMetaArtifact(artifactPath,
+ payloadData, collectedWarningMessages);
+ assertTrue(eitherNonMetaArtifact.isRight());
+ assertTrue(!collectedWarningMessages.isEmpty());
+ }
+
+ private CsarUtils createTestSubject() {
+ return new CsarUtils();
}
+
+
+ @Test
+ public void testExtractVfcsArtifactsFromCsar() throws Exception {
+ Map<String, byte[]> csar = null;
+ Map<String, List<ArtifactDefinition>> result;
+
+ // test 1
+ csar = null;
+ result = CsarUtils.extractVfcsArtifactsFromCsar(csar);
+ Assert.assertEquals(new HashMap<String, List<ArtifactDefinition>>() , result);
+ }
+
+
+ @Test
+ public void testHandleWarningMessages() throws Exception {
+ Map<String, Set<List<String>>> collectedWarningMessages = new HashMap<>();
+
+ // default test
+ CsarUtils.handleWarningMessages(collectedWarningMessages);
+ }
+
+
+ @Test
+ public void testValidateNonMetaArtifact() throws Exception {
+ String artifactPath = "";
+ byte[] payloadData = new byte[] { ' ' };
+ Map<String, Set<List<String>>> collectedWarningMessages = null;
+ Either<NonMetaArtifactInfo, Boolean> result;
+
+ // default test
+ result = CsarUtils.validateNonMetaArtifact(artifactPath, payloadData, collectedWarningMessages);
+ }
+
}
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ToscaRepresentationTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ToscaRepresentationTest.java
new file mode 100644
index 0000000000..9af90bb9e4
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/ToscaRepresentationTest.java
@@ -0,0 +1,61 @@
+package org.openecomp.sdc.be.tosca;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.Triple;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.Component;
+
+
+public class ToscaRepresentationTest {
+
+ private ToscaRepresentation createTestSubject() {
+ return new ToscaRepresentation();
+ }
+
+
+ @Test
+ public void testGetMainYaml() throws Exception {
+ ToscaRepresentation testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMainYaml();
+ }
+
+
+ @Test
+ public void testSetMainYaml() throws Exception {
+ ToscaRepresentation testSubject;
+ String mainYaml = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMainYaml(mainYaml);
+ }
+
+
+ @Test
+ public void testGetDependencies() throws Exception {
+ ToscaRepresentation testSubject;
+ List<Triple<String, String, Component>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDependencies();
+ }
+
+
+ @Test
+ public void testSetDependencies() throws Exception {
+ ToscaRepresentation testSubject;
+ List<Triple<String, String, Component>> dependancies = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDependencies(dependancies);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/EntrySchemaTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/EntrySchemaTest.java
new file mode 100644
index 0000000000..ca3cd411dc
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/EntrySchemaTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class EntrySchemaTest {
+
+ private EntrySchema createTestSubject() {
+ return new EntrySchema();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ EntrySchema testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ EntrySchema testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ EntrySchema testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ EntrySchema testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/SubstitutionMappingTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/SubstitutionMappingTest.java
new file mode 100644
index 0000000000..f2e3e167df
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/SubstitutionMappingTest.java
@@ -0,0 +1,81 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SubstitutionMappingTest {
+
+ private SubstitutionMapping createTestSubject() {
+ return new SubstitutionMapping();
+ }
+
+
+ @Test
+ public void testGetNode_type() throws Exception {
+ SubstitutionMapping testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode_type();
+ }
+
+
+ @Test
+ public void testSetNode_type() throws Exception {
+ SubstitutionMapping testSubject;
+ String node_type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode_type(node_type);
+ }
+
+
+ @Test
+ public void testGetCapabilities() throws Exception {
+ SubstitutionMapping testSubject;
+ Map<String, String[]> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilities();
+ }
+
+
+ @Test
+ public void testSetCapabilities() throws Exception {
+ SubstitutionMapping testSubject;
+ Map<String, String[]> capabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilities(capabilities);
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ SubstitutionMapping testSubject;
+ Map<String, String[]> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ SubstitutionMapping testSubject;
+ Map<String, String[]> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaCapabilityTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaCapabilityTest.java
new file mode 100644
index 0000000000..01d65939d2
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaCapabilityTest.java
@@ -0,0 +1,126 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaCapabilityTest {
+
+ private ToscaCapability createTestSubject() {
+ return new ToscaCapability();
+ }
+
+
+ @Test
+ public void testGetValid_source_types() throws Exception {
+ ToscaCapability testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValid_source_types();
+ }
+
+
+ @Test
+ public void testSetValid_source_types() throws Exception {
+ ToscaCapability testSubject;
+ List<String> valid_source_types = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValid_source_types(valid_source_types);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ToscaCapability testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ToscaCapability testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ToscaCapability testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ToscaCapability testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetOccurrences() throws Exception {
+ ToscaCapability testSubject;
+ List<Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOccurrences();
+ }
+
+
+ @Test
+ public void testSetOccurrences() throws Exception {
+ ToscaCapability testSubject;
+ List<Object> occurrences = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOccurrences(occurrences);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ ToscaCapability testSubject;
+ Map<String, ToscaProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ ToscaCapability testSubject;
+ Map<String, ToscaProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaGroupTemplateTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaGroupTemplateTest.java
new file mode 100644
index 0000000000..06ff881988
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaGroupTemplateTest.java
@@ -0,0 +1,104 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaGroupTemplateTest {
+
+ private ToscaGroupTemplate createTestSubject() {
+ return new ToscaGroupTemplate();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ToscaGroupTemplate testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ToscaGroupTemplate testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetMembers() throws Exception {
+ ToscaGroupTemplate testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMembers();
+ }
+
+
+ @Test
+ public void testSetMembers() throws Exception {
+ ToscaGroupTemplate testSubject;
+ List<String> members = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMembers(members);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ ToscaGroupTemplate testSubject;
+ IToscaMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ ToscaGroupTemplate testSubject;
+ IToscaMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ ToscaGroupTemplate testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ ToscaGroupTemplate testSubject;
+ Map<String, Object> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaMetadataTest.java
new file mode 100644
index 0000000000..6a4dc4583d
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaMetadataTest.java
@@ -0,0 +1,387 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaMetadataTest {
+
+ private ToscaMetadata createTestSubject() {
+ return new ToscaMetadata();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ ToscaMetadata testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ ToscaMetadata testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testGetUUID() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUUID();
+ }
+
+
+ @Test
+ public void testSetUUID() throws Exception {
+ ToscaMetadata testSubject;
+ String uUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUUID(uUID);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ToscaMetadata testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ToscaMetadata testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetCategory() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategory();
+ }
+
+
+ @Test
+ public void testSetCategory() throws Exception {
+ ToscaMetadata testSubject;
+ String category = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategory(category);
+ }
+
+
+ @Test
+ public void testGetSubcategory() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubcategory();
+ }
+
+
+ @Test
+ public void testSetSubcategory() throws Exception {
+ ToscaMetadata testSubject;
+ String subcategory = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubcategory(subcategory);
+ }
+
+
+ @Test
+ public void testGetResourceVendor() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVendor();
+ }
+
+
+ @Test
+ public void testSetResourceVendor() throws Exception {
+ ToscaMetadata testSubject;
+ String resourceVendor = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVendor(resourceVendor);
+ }
+
+
+ @Test
+ public void testGetResourceVendorRelease() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVendorRelease();
+ }
+
+
+ @Test
+ public void testSetResourceVendorRelease() throws Exception {
+ ToscaMetadata testSubject;
+ String resourceVendorRelease = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVendorRelease(resourceVendorRelease);
+ }
+
+
+ @Test
+ public void testGetResourceVendorModelNumber() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVendorModelNumber();
+ }
+
+
+ @Test
+ public void testSetResourceVendorModelNumber() throws Exception {
+ ToscaMetadata testSubject;
+ String resourceVendorModelNumber = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVendorModelNumber(resourceVendorModelNumber);
+ }
+
+
+ @Test
+ public void testGetServiceType() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceType();
+ }
+
+
+ @Test
+ public void testSetServiceType() throws Exception {
+ ToscaMetadata testSubject;
+ String serviceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceType(serviceType);
+ }
+
+
+ @Test
+ public void testGetServiceRole() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceRole();
+ }
+
+
+ @Test
+ public void testSetServiceRole() throws Exception {
+ ToscaMetadata testSubject;
+ String serviceRole = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceRole(serviceRole);
+ }
+
+
+ @Test
+ public void testIsEcompGeneratedNaming() throws Exception {
+ ToscaMetadata testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isEcompGeneratedNaming();
+ }
+
+
+ @Test
+ public void testSetEcompGeneratedNaming() throws Exception {
+ ToscaMetadata testSubject;
+ Boolean ecompGeneratedNaming = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompGeneratedNaming(ecompGeneratedNaming);
+ }
+
+
+ @Test
+ public void testIsNamingPolicy() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isNamingPolicy();
+ }
+
+
+ @Test
+ public void testSetNamingPolicy() throws Exception {
+ ToscaMetadata testSubject;
+ String namingPolicy = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNamingPolicy(namingPolicy);
+ }
+
+
+ @Test
+ public void testGetServiceEcompNaming() throws Exception {
+ ToscaMetadata testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceEcompNaming();
+ }
+
+
+ @Test
+ public void testSetServiceEcompNaming() throws Exception {
+ ToscaMetadata testSubject;
+ Boolean serviceEcompNaming = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceEcompNaming(serviceEcompNaming);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ ToscaMetadata testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetCustomizationUUID() throws Exception {
+ ToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCustomizationUUID();
+ }
+
+
+ @Test
+ public void testSetCustomizationUUID() throws Exception {
+ ToscaMetadata testSubject;
+ String customizationUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCustomizationUUID(customizationUUID);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTemplateTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTemplateTest.java
new file mode 100644
index 0000000000..599f118b32
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTemplateTest.java
@@ -0,0 +1,126 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTemplateTest {
+
+ private ToscaNodeTemplate createTestSubject() {
+ return new ToscaNodeTemplate();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ToscaNodeTemplate testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ToscaNodeTemplate testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ ToscaNodeTemplate testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ ToscaNodeTemplate testSubject;
+ Map<String, Object> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ ToscaNodeTemplate testSubject;
+ List<Map<String, ToscaTemplateRequirement>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ ToscaNodeTemplate testSubject;
+ List<Map<String, ToscaTemplateRequirement>> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+
+
+ @Test
+ public void testGetCapabilities() throws Exception {
+ ToscaNodeTemplate testSubject;
+ Map<String, ToscaTemplateCapability> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilities();
+ }
+
+
+ @Test
+ public void testSetCapabilities() throws Exception {
+ ToscaNodeTemplate testSubject;
+ Map<String, ToscaTemplateCapability> capabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilities(capabilities);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ ToscaNodeTemplate testSubject;
+ ToscaMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ ToscaNodeTemplate testSubject;
+ ToscaMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTypeTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTypeTest.java
new file mode 100644
index 0000000000..b4cccbdbf5
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaNodeTypeTest.java
@@ -0,0 +1,148 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeTest {
+
+ private ToscaNodeType createTestSubject() {
+ return new ToscaNodeType();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ ToscaNodeType testSubject;
+ Map<String, ToscaProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ ToscaNodeType testSubject;
+ Map<String, ToscaProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetCapabilities() throws Exception {
+ ToscaNodeType testSubject;
+ Map<String, ToscaCapability> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilities();
+ }
+
+
+ @Test
+ public void testSetCapabilities() throws Exception {
+ ToscaNodeType testSubject;
+ Map<String, ToscaCapability> capabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilities(capabilities);
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ ToscaNodeType testSubject;
+ List<Map<String, ToscaRequirement>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ ToscaNodeType testSubject;
+ List<Map<String, ToscaRequirement>> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+
+
+ @Test
+ public void testGetDerived_from() throws Exception {
+ ToscaNodeType testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerived_from();
+ }
+
+
+ @Test
+ public void testSetDerived_from() throws Exception {
+ ToscaNodeType testSubject;
+ String derived_from = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerived_from(derived_from);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ToscaNodeType testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ToscaNodeType testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ ToscaNodeType testSubject;
+ ToscaMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ ToscaNodeType testSubject;
+ ToscaMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaPropertyTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaPropertyTest.java
new file mode 100644
index 0000000000..75bf7ddd75
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaPropertyTest.java
@@ -0,0 +1,145 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaPropertyTest {
+
+ private ToscaProperty createTestSubject() {
+ return new ToscaProperty();
+ }
+
+
+ @Test
+ public void testGetEntry_schema() throws Exception {
+ ToscaProperty testSubject;
+ EntrySchema result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEntry_schema();
+ }
+
+
+ @Test
+ public void testSetEntry_schema() throws Exception {
+ ToscaProperty testSubject;
+ EntrySchema entry_schema = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEntry_schema(entry_schema);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ToscaProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ToscaProperty testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetDefaultp() throws Exception {
+ ToscaProperty testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultp();
+ }
+
+
+ @Test
+ public void testSetDefaultp() throws Exception {
+ ToscaProperty testSubject;
+ Object defaultp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultp(defaultp);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ToscaProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ToscaProperty testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetRequired() throws Exception {
+ ToscaProperty testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequired();
+ }
+
+
+ @Test
+ public void testSetRequired() throws Exception {
+ ToscaProperty testSubject;
+ Boolean required = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequired(required);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ ToscaProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ ToscaProperty testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java
new file mode 100644
index 0000000000..639f634d7f
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java
@@ -0,0 +1,49 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaRequirementTest {
+
+ private ToscaRequirement createTestSubject() {
+ return new ToscaRequirement();
+ }
+
+
+ @Test
+ public void testGetOccurrences() throws Exception {
+ ToscaRequirement testSubject;
+ List<Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOccurrences();
+ }
+
+
+ @Test
+ public void testSetOccurrences() throws Exception {
+ ToscaRequirement testSubject;
+ List<Object> occurrences = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOccurrences(occurrences);
+ }
+
+
+ @Test
+ public void testToMap() throws Exception {
+ ToscaRequirement testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateCapabilityTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateCapabilityTest.java
new file mode 100644
index 0000000000..788361862b
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateCapabilityTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaTemplateCapabilityTest {
+
+ private ToscaTemplateCapability createTestSubject() {
+ return new ToscaTemplateCapability();
+ }
+
+
+ @Test
+ public void testGetValid_source_types() throws Exception {
+ ToscaTemplateCapability testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValid_source_types();
+ }
+
+
+ @Test
+ public void testSetValid_source_types() throws Exception {
+ ToscaTemplateCapability testSubject;
+ List<String> valid_source_types = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValid_source_types(valid_source_types);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ ToscaTemplateCapability testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ ToscaTemplateCapability testSubject;
+ Map<String, Object> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateRequirementTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateRequirementTest.java
new file mode 100644
index 0000000000..5ae2a37b37
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateRequirementTest.java
@@ -0,0 +1,92 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaTemplateRequirementTest {
+
+ private ToscaTemplateRequirement createTestSubject() {
+ return new ToscaTemplateRequirement();
+ }
+
+
+ @Test
+ public void testGetCapability() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapability();
+ }
+
+
+ @Test
+ public void testSetCapability() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ String capability = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapability(capability);
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ String node = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetRelationship() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationship();
+ }
+
+
+ @Test
+ public void testSetRelationship() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ String relationship = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationship(relationship);
+ }
+
+
+ @Test
+ public void testToMap() throws Exception {
+ ToscaTemplateRequirement testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateTest.java
new file mode 100644
index 0000000000..3c60e96ffb
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTemplateTest.java
@@ -0,0 +1,132 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaTemplateTest {
+
+ private ToscaTemplate createTestSubject() {
+ return new ToscaTemplate("");
+ }
+
+
+ @Test
+ public void testGetNode_types() throws Exception {
+ ToscaTemplate testSubject;
+ Map<String, ToscaNodeType> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode_types();
+ }
+
+
+ @Test
+ public void testSetNode_types() throws Exception {
+ ToscaTemplate testSubject;
+ Map<String, ToscaNodeType> node_types = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode_types(node_types);
+ }
+
+
+ @Test
+ public void testGetImports() throws Exception {
+ ToscaTemplate testSubject;
+ List<Map<String, Map<String, String>>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getImports();
+ }
+
+
+ @Test
+ public void testSetImports() throws Exception {
+ ToscaTemplate testSubject;
+ List<Map<String, Map<String, String>>> imports = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImports(imports);
+ }
+
+
+ @Test
+ public void testGetTosca_definitions_version() throws Exception {
+ ToscaTemplate testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTosca_definitions_version();
+ }
+
+
+ @Test
+ public void testSetTosca_definitions_version() throws Exception {
+ ToscaTemplate testSubject;
+ String tosca_definitions_version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTosca_definitions_version(tosca_definitions_version);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ ToscaTemplate testSubject;
+ ToscaMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ ToscaTemplate testSubject;
+ ToscaMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetTopology_template() throws Exception {
+ ToscaTemplate testSubject;
+ ToscaTopolgyTemplate result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTopology_template();
+ }
+
+
+ @Test
+ public void testSetTopology_template() throws Exception {
+ ToscaTemplate testSubject;
+ ToscaTopolgyTemplate topology_template = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTopology_template(topology_template);
+ }
+
+
+
+
+
+
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTopolgyTemplateTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTopolgyTemplateTest.java
new file mode 100644
index 0000000000..71fe9ce8e4
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaTopolgyTemplateTest.java
@@ -0,0 +1,94 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaTopolgyTemplateTest {
+
+ private ToscaTopolgyTemplate createTestSubject() {
+ return new ToscaTopolgyTemplate();
+ }
+
+
+ @Test
+ public void testGetNode_templates() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ Map<String, ToscaNodeTemplate> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode_templates();
+ }
+
+
+ @Test
+ public void testSetNode_templates() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ Map<String, ToscaNodeTemplate> node_templates = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode_templates(node_templates);
+ }
+
+
+ @Test
+ public void testGetGroups() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ Map<String, ToscaGroupTemplate> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroups();
+ }
+
+
+
+
+ @Test
+ public void testGetSubstitution_mappings() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ SubstitutionMapping result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubstitution_mappings();
+ }
+
+
+ @Test
+ public void testSetSubstitution_mappings() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ SubstitutionMapping substitution_mapping = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubstitution_mappings(substitution_mapping);
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ Map<String, ToscaProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ ToscaTopolgyTemplate testSubject;
+ Map<String, ToscaProperty> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+} \ No newline at end of file
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/VfModuleToscaMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/VfModuleToscaMetadataTest.java
new file mode 100644
index 0000000000..90be98bc9c
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/VfModuleToscaMetadataTest.java
@@ -0,0 +1,123 @@
+package org.openecomp.sdc.be.tosca.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class VfModuleToscaMetadataTest {
+
+ private VfModuleToscaMetadata createTestSubject() {
+ return new VfModuleToscaMetadata();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testSetUUID() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String uUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUUID(uUID);
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetVfModuleModelName() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleModelName();
+ }
+
+
+ @Test
+ public void testGetVfModuleModelInvariantUUID() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleModelInvariantUUID();
+ }
+
+
+ @Test
+ public void testGetVfModuleModelUUID() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleModelUUID();
+ }
+
+
+ @Test
+ public void testGetVfModuleModelVersion() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleModelVersion();
+ }
+
+
+ @Test
+ public void testGetVfModuleModelCustomizationUUID() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleModelCustomizationUUID();
+ }
+
+
+ @Test
+ public void testSetCustomizationUUID() throws Exception {
+ VfModuleToscaMetadata testSubject;
+ String customizationUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCustomizationUUID(customizationUUID);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java
new file mode 100644
index 0000000000..414748a416
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/AccountTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.dao;
+
+import org.junit.Test;
+
+public class AccountTest {
+
+ private Account createTestSubject() {
+ return new Account();
+ }
+
+ @Test
+ public void testGetName() throws Exception {
+ Account testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+ @Test
+ public void testSetName() throws Exception {
+ Account testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+ @Test
+ public void testGetEmail() throws Exception {
+ Account testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEmail();
+ }
+
+ @Test
+ public void testSetEmail() throws Exception {
+ Account testSubject;
+ String email = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEmail(email);
+ }
+
+ @Test
+ public void testEquals() throws Exception {
+ Account testSubject;
+ Object other = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(other);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ Account testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java
new file mode 100644
index 0000000000..6936f4e5be
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/AuditCassandraDaoTest.java
@@ -0,0 +1,154 @@
+package org.openecomp.sdc.be.dao.cassandra;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.apache.tinkerpop.gremlin.structure.T;
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.api.ActionStatus;
+import org.openecomp.sdc.be.resources.data.auditing.AuditingGenericEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionDeployEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionNotificationEvent;
+import org.openecomp.sdc.be.resources.data.auditing.DistributionStatusEvent;
+import org.openecomp.sdc.be.resources.data.auditing.ResourceAdminEvent;
+
+import fj.data.Either;
+
+
+public class AuditCassandraDaoTest {
+
+ private AuditCassandraDao createTestSubject() {
+ return new AuditCassandraDao();
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testGetListOfDistributionStatuses() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ Either<List<DistributionStatusEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListOfDistributionStatuses(did);
+ }
+
+
+ @Test
+ public void testGetDistributionDeployByStatus() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ String action = "";
+ String status = "";
+ Either<List<DistributionDeployEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionDeployByStatus(did, action, status);
+ }
+
+
+ @Test
+ public void testGetDistributionRequest() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ String action = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionRequest(did, action);
+ }
+
+
+ @Test
+ public void testGetDistributionNotify() throws Exception {
+ AuditCassandraDao testSubject;
+ String did = "";
+ String action = "";
+ Either<List<DistributionNotificationEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionNotify(did, action);
+ }
+
+
+ @Test
+ public void testGetByServiceInstanceId() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetServiceDistributionStatusesList() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ Either<List<? extends AuditingGenericEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceDistributionStatusesList(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAuditByServiceIdAndPrevVersion() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ String prevVersion = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAuditByServiceIdAndPrevVersion(serviceInstanceId, prevVersion);
+ }
+
+
+ @Test
+ public void testGetAuditByServiceIdAndCurrVersion() throws Exception {
+ AuditCassandraDao testSubject;
+ String serviceInstanceId = "";
+ String currVersion = "";
+ Either<List<ResourceAdminEvent>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAuditByServiceIdAndCurrVersion(serviceInstanceId, currVersion);
+ }
+
+
+ @Test
+ public void testIsTableEmpty() throws Exception {
+ AuditCassandraDao testSubject;
+ String tableName = "";
+ Either<Boolean, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isTableEmpty(tableName);
+ }
+
+
+ @Test
+ public void testDeleteAllAudit() throws Exception {
+ AuditCassandraDao testSubject;
+ CassandraOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.deleteAllAudit();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java
new file mode 100644
index 0000000000..f4f9fd5fc2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/ComponentCassandraDaoTest.java
@@ -0,0 +1,55 @@
+package org.openecomp.sdc.be.dao.cassandra;
+
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.api.ActionStatus;
+import org.openecomp.sdc.be.resources.data.ComponentCacheData;
+
+import fj.data.Either;
+
+
+public class ComponentCassandraDaoTest {
+
+ private ComponentCassandraDao createTestSubject() {
+ return new ComponentCassandraDao();
+ }
+
+ @Test
+ public void testGetAllComponentIdTimeAndType() throws Exception {
+ ComponentCassandraDao testSubject;
+ Either<List<ComponentCacheData>, ActionStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAllComponentIdTimeAndType();
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testIsTableEmpty() throws Exception {
+ ComponentCassandraDao testSubject;
+ String tableName = "";
+ Either<Boolean, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isTableEmpty(tableName);
+ }
+
+
+
+
+
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java
new file mode 100644
index 0000000000..141aeebc5d
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/SdcSchemaFilesCassandraDaoTest.java
@@ -0,0 +1,55 @@
+package org.openecomp.sdc.be.dao.cassandra;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.resources.data.SdcSchemaFilesData;
+
+import fj.data.Either;
+
+
+public class SdcSchemaFilesCassandraDaoTest {
+
+ private SdcSchemaFilesCassandraDao createTestSubject() {
+ return new SdcSchemaFilesCassandraDao();
+ }
+
+
+
+ @Test
+ public void testGetSpecificSchemaFiles() throws Exception {
+ SdcSchemaFilesCassandraDao testSubject;
+ String sdcreleasenum = "";
+ String conformancelevel = "";
+ Either<List<SdcSchemaFilesData>, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSpecificSchemaFiles(sdcreleasenum, conformancelevel);
+ }
+
+
+ @Test
+ public void testDeleteAllArtifacts() throws Exception {
+ SdcSchemaFilesCassandraDao testSubject;
+ CassandraOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.deleteAllArtifacts();
+ }
+
+
+ @Test
+ public void testIsTableEmpty() throws Exception {
+ SdcSchemaFilesCassandraDao testSubject;
+ String tableName = "";
+ Either<Boolean, CassandraOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isTableEmpty(tableName);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
new file mode 100644
index 0000000000..f4844a9800
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/SdcSchemaUtilsTest.java
@@ -0,0 +1,38 @@
+package org.openecomp.sdc.be.dao.cassandra.schema;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+import com.datastax.driver.core.Cluster;
+
+
+public class SdcSchemaUtilsTest {
+
+ private SdcSchemaUtils createTestSubject() {
+ return new SdcSchemaUtils();
+ }
+
+
+
+
+
+ @Test
+ public void testExecuteStatement() throws Exception {
+ String statement = "";
+ boolean result;
+
+ // default test
+ result = SdcSchemaUtils.executeStatement(statement);
+ }
+
+
+ @Test
+ public void testExecuteStatements() throws Exception {
+ String[] statements = new String[] { "" };
+ boolean result;
+
+ // default test
+ result = SdcSchemaUtils.executeStatements(statements);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java
new file mode 100644
index 0000000000..3c891c97f3
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/TableTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.be.dao.cassandra.schema;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class TableTest {
+
+ private Table createTestSubject() {
+ return Table.ARTIFACT;
+ }
+
+
+ @Test
+ public void testGetTableDescription() throws Exception {
+ Table testSubject;
+ ITableDescription result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableDescription();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java
new file mode 100644
index 0000000000..e0e1adac6c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ArtifactTableDescriptionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ArtifactTableDescriptionTest {
+
+ private ArtifactTableDescription createTestSubject() {
+ return new ArtifactTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ArtifactTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ArtifactTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ArtifactTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ArtifactTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ArtifactTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java
new file mode 100644
index 0000000000..95000492c0
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/AuthEventTableDescriptionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class AuthEventTableDescriptionTest {
+
+ private AuthEventTableDescription createTestSubject() {
+ return new AuthEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ AuthEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ AuthEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ AuthEventTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ AuthEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ AuthEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java
new file mode 100644
index 0000000000..4f12640b1f
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/CategoryEventTableDescriptionTest.java
@@ -0,0 +1,65 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class CategoryEventTableDescriptionTest {
+
+ private CategoryEventTableDescription createTestSubject() {
+ return new CategoryEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ CategoryEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ CategoryEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ CategoryEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ CategoryEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java
new file mode 100644
index 0000000000..72117731d0
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ComponentCacheTableDescriptionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ComponentCacheTableDescriptionTest {
+
+ private ComponentCacheTableDescription createTestSubject() {
+ return new ComponentCacheTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ComponentCacheTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java
new file mode 100644
index 0000000000..61c1c17565
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ConsumerEventTableDefinitionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ConsumerEventTableDefinitionTest {
+
+ private ConsumerEventTableDefinition createTestSubject() {
+ return new ConsumerEventTableDefinition();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ConsumerEventTableDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java
new file mode 100644
index 0000000000..430d408a72
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDeployEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribDeployEventTableDescTest {
+
+ private DistribDeployEventTableDesc createTestSubject() {
+ return new DistribDeployEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribDeployEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java
new file mode 100644
index 0000000000..28fed8c6aa
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribDownloadEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribDownloadEventTableDescTest {
+
+ private DistribDownloadEventTableDesc createTestSubject() {
+ return new DistribDownloadEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribDownloadEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java
new file mode 100644
index 0000000000..6904aea64c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribEngineEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribEngineEventTableDescTest {
+
+ private DistribEngineEventTableDesc createTestSubject() {
+ return new DistribEngineEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribEngineEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java
new file mode 100644
index 0000000000..97f587976e
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribNotifEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribNotifEventTableDescTest {
+
+ private DistribNotifEventTableDesc createTestSubject() {
+ return new DistribNotifEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribNotifEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java
new file mode 100644
index 0000000000..e4defc068c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/DistribStatusEventTableDescTest.java
@@ -0,0 +1,66 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class DistribStatusEventTableDescTest {
+
+ private DistribStatusEventTableDesc createTestSubject() {
+ return new DistribStatusEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ DistribStatusEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ DistribStatusEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ DistribStatusEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ DistribStatusEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java
new file mode 100644
index 0000000000..eb23b88363
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ExternalApiEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ExternalApiEventTableDescTest {
+
+ private ExternalApiEventTableDesc createTestSubject() {
+ return new ExternalApiEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java
new file mode 100644
index 0000000000..ce858ee33f
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetCatHierEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class GetCatHierEventTableDescTest {
+
+ private GetCatHierEventTableDesc createTestSubject() {
+ return new GetCatHierEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ GetCatHierEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java
new file mode 100644
index 0000000000..559c8c9280
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUebClusterEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class GetUebClusterEventTableDescTest {
+
+ private GetUebClusterEventTableDesc createTestSubject() {
+ return new GetUebClusterEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ GetUebClusterEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java
new file mode 100644
index 0000000000..26a8788e5c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/GetUsersListEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class GetUsersListEventTableDescTest {
+
+ private GetUsersListEventTableDesc createTestSubject() {
+ return new GetUsersListEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ GetUsersListEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java
new file mode 100644
index 0000000000..ad2b5c8a0d
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/MigrationTasksTableDescriptionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class MigrationTasksTableDescriptionTest {
+
+ private MigrationTasksTableDescription createTestSubject() {
+ return new MigrationTasksTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ MigrationTasksTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java
new file mode 100644
index 0000000000..31ae8b5549
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/OldExternalApiEventTableDescTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class OldExternalApiEventTableDescTest {
+
+ private OldExternalApiEventTableDesc createTestSubject() {
+ return new OldExternalApiEventTableDesc();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ OldExternalApiEventTableDesc testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java
new file mode 100644
index 0000000000..6e6afb7424
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/ResAdminEventTableDescriptionTest.java
@@ -0,0 +1,66 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class ResAdminEventTableDescriptionTest {
+
+ private ResAdminEventTableDescription createTestSubject() {
+ return new ResAdminEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ ResAdminEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ ResAdminEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ ResAdminEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ ResAdminEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java
new file mode 100644
index 0000000000..b323c0fabe
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/SdcSchemaFilesTableDescriptionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class SdcSchemaFilesTableDescriptionTest {
+
+ private SdcSchemaFilesTableDescription createTestSubject() {
+ return new SdcSchemaFilesTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ SdcSchemaFilesTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java
new file mode 100644
index 0000000000..da90309e34
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAccessEventTableDescriptionTest.java
@@ -0,0 +1,74 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class UserAccessEventTableDescriptionTest {
+
+ private UserAccessEventTableDescription createTestSubject() {
+ return new UserAccessEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+ @Test
+ public void testGetColumnDescription() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ Map<String, ImmutablePair<DataType, Boolean>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getColumnDescription();
+ }
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ UserAccessEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java
new file mode 100644
index 0000000000..66f6861f83
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/cassandra/schema/tables/UserAdminEventTableDescriptionTest.java
@@ -0,0 +1,65 @@
+package org.openecomp.sdc.be.dao.cassandra.schema.tables;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.junit.Test;
+
+import com.datastax.driver.core.DataType;
+
+
+public class UserAdminEventTableDescriptionTest {
+
+ private UserAdminEventTableDescription createTestSubject() {
+ return new UserAdminEventTableDescription();
+ }
+
+
+ @Test
+ public void testPrimaryKeys() throws Exception {
+ UserAdminEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.primaryKeys();
+ }
+
+
+ @Test
+ public void testClusteringKeys() throws Exception {
+ UserAdminEventTableDescription testSubject;
+ List<ImmutablePair<String, DataType>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.clusteringKeys();
+ }
+
+
+
+
+ @Test
+ public void testGetKeyspace() throws Exception {
+ UserAdminEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyspace();
+ }
+
+
+ @Test
+ public void testGetTableName() throws Exception {
+ UserAdminEventTableDescription testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTableName();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java
new file mode 100644
index 0000000000..9a8b67dbd0
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/GraphVertexTest.java
@@ -0,0 +1,204 @@
+package org.openecomp.sdc.be.dao.jsongraph;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+import org.openecomp.sdc.be.datatypes.enums.GraphPropertyEnum;
+import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields;
+import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
+
+import com.thinkaurelius.titan.core.TitanVertex;
+
+
+public class GraphVertexTest {
+
+ private GraphVertex createTestSubject() {
+ return new GraphVertex();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GraphVertex testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GraphVertex testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, ? extends ToscaDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJson();
+ }
+
+
+ @Test
+ public void testSetJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, ? extends ToscaDataDefinition> json = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJson(json);
+ }
+
+
+ @Test
+ public void testGetVertex() throws Exception {
+ GraphVertex testSubject;
+ TitanVertex result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertex();
+ }
+
+
+ @Test
+ public void testSetVertex() throws Exception {
+ GraphVertex testSubject;
+ TitanVertex vertex = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVertex(vertex);
+ }
+
+
+ @Test
+ public void testGetLabel() throws Exception {
+ GraphVertex testSubject;
+ VertexTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLabel();
+ }
+
+
+ @Test
+ public void testSetLabel() throws Exception {
+ GraphVertex testSubject;
+ VertexTypeEnum label = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLabel(label);
+ }
+
+
+
+ @Test
+ public void testAddMetadataProperty() throws Exception {
+ GraphVertex testSubject;
+ GraphPropertyEnum propName = null;
+ Object propValue = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ propValue = null;
+ testSubject.addMetadataProperty(propName, propValue);
+ }
+
+
+ @Test
+ public void testGetMetadataProperty() throws Exception {
+ GraphVertex testSubject;
+ GraphPropertyEnum metadataProperty = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataProperty(metadataProperty);
+ }
+
+
+ @Test
+ public void testGetMetadataProperties() throws Exception {
+ GraphVertex testSubject;
+ Map<GraphPropertyEnum, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataProperties();
+ }
+
+
+ @Test
+ public void testSetMetadataProperties() throws Exception {
+ GraphVertex testSubject;
+ Map<GraphPropertyEnum, Object> metadataProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadataProperties(metadataProperties);
+ }
+
+
+ @Test
+ public void testGetMetadataJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataJson();
+ }
+
+
+ @Test
+ public void testSetMetadataJson() throws Exception {
+ GraphVertex testSubject;
+ Map<String, Object> metadataJson = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadataJson(metadataJson);
+ }
+
+
+
+
+ @Test
+ public void testGetJsonMetadataField() throws Exception {
+ GraphVertex testSubject;
+ JsonPresentationFields field = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJsonMetadataField(field);
+ }
+
+
+ @Test
+ public void testUpdateMetadataJsonWithCurrentMetadataProperties() throws Exception {
+ GraphVertex testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.updateMetadataJsonWithCurrentMetadataProperties();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java
new file mode 100644
index 0000000000..bf059219c2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/TitanDaoTest.java
@@ -0,0 +1,300 @@
+package org.openecomp.sdc.be.dao.jsongraph;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+import javax.lang.model.element.Element;
+
+import org.apache.commons.lang3.tuple.ImmutablePair;
+import org.apache.tinkerpop.gremlin.structure.Edge;
+import org.apache.tinkerpop.gremlin.structure.Vertex;
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.types.EdgeLabelEnum;
+import org.openecomp.sdc.be.dao.jsongraph.types.EdgePropertyEnum;
+import org.openecomp.sdc.be.dao.jsongraph.types.JsonParseFlagEnum;
+import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
+import org.openecomp.sdc.be.dao.titan.TitanGraphClient;
+import org.openecomp.sdc.be.dao.titan.TitanOperationStatus;
+import org.openecomp.sdc.be.datatypes.enums.GraphPropertyEnum;
+
+import com.datastax.driver.core.schemabuilder.SchemaBuilder.Direction;
+import com.google.common.collect.Multiset.Entry;
+import com.thinkaurelius.titan.core.TitanGraph;
+import com.thinkaurelius.titan.core.TitanGraphQuery;
+import com.thinkaurelius.titan.core.TitanVertex;
+
+import fj.data.Either;
+
+
+public class TitanDaoTest {
+
+ private TitanDao createTestSubject() {
+ return new TitanDao(new TitanGraphClient());
+ }
+
+
+ @Test
+ public void testCommit() throws Exception {
+ TitanDao testSubject;
+ TitanOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.commit();
+ }
+
+
+ @Test
+ public void testRollback() throws Exception {
+ TitanDao testSubject;
+ TitanOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.rollback();
+ }
+
+
+ @Test
+ public void testGetGraph() throws Exception {
+ TitanDao testSubject;
+ Either<TitanGraph, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGraph();
+ }
+
+
+
+
+
+ @Test
+ public void testGetVertexByPropertyAndLabel() throws Exception {
+ TitanDao testSubject;
+ GraphPropertyEnum name = null;
+ Object value = null;
+ VertexTypeEnum label = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertexByPropertyAndLabel(name, value, label);
+ }
+
+
+ @Test
+ public void testGetVertexByPropertyAndLabel_1() throws Exception {
+ TitanDao testSubject;
+ GraphPropertyEnum name = null;
+ Object value = null;
+ VertexTypeEnum label = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertexByPropertyAndLabel(name, value, label, parseFlag);
+ }
+
+
+ @Test
+ public void testGetVertexById() throws Exception {
+ TitanDao testSubject;
+ String id = "";
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVertexById(id);
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @Test
+ public void testGetByCriteria() throws Exception {
+ TitanDao testSubject;
+ VertexTypeEnum type = null;
+ Map<GraphPropertyEnum, Object> props = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByCriteria(type, props);
+ }
+
+
+ @Test
+ public void testGetByCriteria_1() throws Exception {
+ TitanDao testSubject;
+ VertexTypeEnum type = null;
+ Map<GraphPropertyEnum, Object> props = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByCriteria(type, props, parseFlag);
+ }
+
+
+ @Test
+ public void testGetByCriteria_2() throws Exception {
+ TitanDao testSubject;
+ VertexTypeEnum type = null;
+ Map<GraphPropertyEnum, Object> props = null;
+ Map<GraphPropertyEnum, Object> hasNotProps = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getByCriteria(type, props, hasNotProps, parseFlag);
+ }
+
+
+
+
+
+ @Test
+ public void testGetChildVertex() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChildVertex(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+ @Test
+ public void testGetParentVertex() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<GraphVertex, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentVertex(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+ @Test
+ public void testGetChildrenVertecies() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChildrenVertecies(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+ @Test
+ public void testGetParentVertecies() throws Exception {
+ TitanDao testSubject;
+ GraphVertex parentVertex = null;
+ EdgeLabelEnum edgeLabel = null;
+ JsonParseFlagEnum parseFlag = null;
+ Either<List<GraphVertex>, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentVertecies(parentVertex, edgeLabel, parseFlag);
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @Test
+ public void testUpdateVertexMetadataPropertiesWithJson() throws Exception {
+ TitanDao testSubject;
+ Vertex vertex = null;
+ Map<GraphPropertyEnum, Object> properties = null;
+ TitanOperationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.updateVertexMetadataPropertiesWithJson(vertex, properties);
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testGetProperty_1() throws Exception {
+ TitanDao testSubject;
+ Edge edge = null;
+ EdgePropertyEnum key = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperty(edge, key);
+ }
+
+
+
+
+ @Test
+ public void testGetBelongingEdgeByCriteria_1() throws Exception {
+ TitanDao testSubject;
+ String parentId = "";
+ EdgeLabelEnum label = null;
+ Map<GraphPropertyEnum, Object> properties = null;
+ Either<Edge, TitanOperationStatus> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBelongingEdgeByCriteria(parentId, label, properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java
new file mode 100644
index 0000000000..6b50f6e806
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgeLabelEnumTest.java
@@ -0,0 +1,34 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class EdgeLabelEnumTest {
+
+ private EdgeLabelEnum createTestSubject() {
+ return EdgeLabelEnum.ARTIFACTS;
+ }
+
+
+ @Test
+ public void testGetEdgeLabelEnum() throws Exception {
+ String name = "";
+ EdgeLabelEnum result;
+
+ // default test
+ result = EdgeLabelEnum.getEdgeLabelEnum(name);
+ }
+
+
+ @Test
+ public void testIsInstanceArtifactsLabel() throws Exception {
+ EdgeLabelEnum testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isInstanceArtifactsLabel();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java
new file mode 100644
index 0000000000..544a9ce38b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/EdgePropertyEnumTest.java
@@ -0,0 +1,34 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class EdgePropertyEnumTest {
+
+ private EdgePropertyEnum createTestSubject() {
+ return EdgePropertyEnum.STATE;
+ }
+
+
+ @Test
+ public void testGetProperty() throws Exception {
+ EdgePropertyEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperty();
+ }
+
+
+ @Test
+ public void testGetByProperty() throws Exception {
+ String property = "";
+ EdgePropertyEnum result;
+
+ // default test
+ result = EdgePropertyEnum.getByProperty(property);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java
new file mode 100644
index 0000000000..ed924bda04
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/jsongraph/types/VertexTypeEnumTest.java
@@ -0,0 +1,45 @@
+package org.openecomp.sdc.be.dao.jsongraph.types;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class VertexTypeEnumTest {
+
+ private VertexTypeEnum createTestSubject() {
+ return VertexTypeEnum.ADDITIONAL_INFORMATION;
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ VertexTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testGetClassOfJson() throws Exception {
+ VertexTypeEnum testSubject;
+ Class result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getClassOfJson();
+ }
+
+
+ @Test
+ public void testGetByName() throws Exception {
+ String name = "";
+ VertexTypeEnum result;
+
+ // default test
+ result = VertexTypeEnum.getByName(name);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java
new file mode 100644
index 0000000000..18dffacfe2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/model/FacetedSearchFacetTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.dao.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class FacetedSearchFacetTest {
+
+ private FacetedSearchFacet createTestSubject() {
+ return new FacetedSearchFacet("", 0);
+ }
+
+
+ @Test
+ public void testGetFacetValue() throws Exception {
+ FacetedSearchFacet testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFacetValue();
+ }
+
+
+ @Test
+ public void testSetFacetValue() throws Exception {
+ FacetedSearchFacet testSubject;
+ String facetValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFacetValue(facetValue);
+ }
+
+
+ @Test
+ public void testGetCount() throws Exception {
+ FacetedSearchFacet testSubject;
+ long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCount();
+ }
+
+
+ @Test
+ public void testSetCount() throws Exception {
+ FacetedSearchFacet testSubject;
+ long count = 555;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCount(count);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java
new file mode 100644
index 0000000000..529f642fb2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/MatchFilterTest.java
@@ -0,0 +1,50 @@
+package org.openecomp.sdc.be.dao.neo4j.filters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MatchFilterTest {
+
+ private MatchFilter createTestSubject() {
+ return new MatchFilter();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ MatchFilter testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ MatchFilter testSubject;
+ Map<String, Object> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testAddToMatch() throws Exception {
+ MatchFilter testSubject;
+ String propName = "";
+ Object value = null;
+ MatchFilter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.addToMatch(propName, value);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java
new file mode 100644
index 0000000000..76b36d2a97
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveByRelationFilterTest.java
@@ -0,0 +1,93 @@
+package org.openecomp.sdc.be.dao.neo4j.filters;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.graph.datatype.GraphNode;
+
+
+public class RecursiveByRelationFilterTest {
+
+ private RecursiveByRelationFilter createTestSubject() {
+ return new RecursiveByRelationFilter();
+ }
+
+
+ @Test
+ public void testAddNode() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ GraphNode node = null;
+ RecursiveByRelationFilter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.addNode(node);
+ }
+
+
+ @Test
+ public void testAddRelation() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ String relationType = "";
+ RecursiveByRelationFilter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.addRelation(relationType);
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ GraphNode result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ GraphNode node = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetRelationType() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationType();
+ }
+
+
+ @Test
+ public void testSetRelationType() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ String relationType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationType(relationType);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RecursiveByRelationFilter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java
new file mode 100644
index 0000000000..990a2b4972
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/RecursiveFilterTest.java
@@ -0,0 +1,83 @@
+package org.openecomp.sdc.be.dao.neo4j.filters;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
+
+
+public class RecursiveFilterTest {
+
+ private RecursiveFilter createTestSubject() {
+ return new RecursiveFilter();
+ }
+
+
+ @Test
+ public void testAddChildRelationType() throws Exception {
+ RecursiveFilter testSubject;
+ String type = "";
+ RecursiveFilter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.addChildRelationType(type);
+ }
+
+
+ @Test
+ public void testGetChildRelationTypes() throws Exception {
+ RecursiveFilter testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChildRelationTypes();
+ }
+
+
+ @Test
+ public void testSetChildRelationTypes() throws Exception {
+ RecursiveFilter testSubject;
+ List<String> childRelationTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setChildRelationTypes(childRelationTypes);
+ }
+
+
+ @Test
+ public void testGetNodeType() throws Exception {
+ RecursiveFilter testSubject;
+ NodeTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeType();
+ }
+
+
+ @Test
+ public void testSetNodeType() throws Exception {
+ RecursiveFilter testSubject;
+ NodeTypeEnum nodeType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNodeType(nodeType);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RecursiveFilter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java
new file mode 100644
index 0000000000..55a9255d31
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/neo4j/filters/UpdateFilterTest.java
@@ -0,0 +1,40 @@
+package org.openecomp.sdc.be.dao.neo4j.filters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class UpdateFilterTest {
+
+ private UpdateFilter createTestSubject() {
+ return new UpdateFilter(null);
+ }
+
+
+ @Test
+ public void testGetToUpdate() throws Exception {
+ UpdateFilter testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToUpdate();
+ }
+
+
+ @Test
+ public void testSetToUpdate() throws Exception {
+ UpdateFilter testSubject;
+ Map<String, Object> toUpdate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToUpdate(toUpdate);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/rest/RestConfigurationInfoTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/rest/RestConfigurationInfoTest.java
new file mode 100644
index 0000000000..5ce78c2c95
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/rest/RestConfigurationInfoTest.java
@@ -0,0 +1,134 @@
+package org.openecomp.sdc.be.dao.rest;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestConfigurationInfoTest {
+
+ private RestConfigurationInfo createTestSubject() {
+ return new RestConfigurationInfo();
+ }
+
+
+ @Test
+ public void testGetReadTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReadTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetReadTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer readTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReadTimeoutInSec(readTimeoutInSec);
+ }
+
+
+ @Test
+ public void testGetIgnoreCertificate() throws Exception {
+ RestConfigurationInfo testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIgnoreCertificate();
+ }
+
+
+ @Test
+ public void testSetIgnoreCertificate() throws Exception {
+ RestConfigurationInfo testSubject;
+ Boolean ignoreCertificate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIgnoreCertificate(ignoreCertificate);
+ }
+
+
+ @Test
+ public void testGetConnectionPoolSize() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectionPoolSize();
+ }
+
+
+ @Test
+ public void testSetConnectionPoolSize() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer connectionPoolSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectionPoolSize(connectionPoolSize);
+ }
+
+
+ @Test
+ public void testGetConnectTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetConnectTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer connectTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectTimeoutInSec(connectTimeoutInSec);
+ }
+
+
+ @Test
+ public void testGetSocketTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSocketTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetSocketTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer socketTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSocketTimeoutInSec(socketTimeoutInSec);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestConfigurationInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/utils/MapEntryTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/utils/MapEntryTest.java
new file mode 100644
index 0000000000..bb6afc4153
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/dao/utils/MapEntryTest.java
@@ -0,0 +1,44 @@
+package org.openecomp.sdc.be.dao.utils;
+
+import javax.annotation.Generated;
+
+import org.apache.tinkerpop.gremlin.structure.T;
+import org.elasticsearch.common.recycler.Recycler.V;
+import org.junit.Test;
+
+
+public class MapEntryTest {
+
+ private MapEntry createTestSubject() {
+ return new MapEntry();
+ }
+
+
+
+
+
+
+ @Test
+ public void testSetKey() throws Exception {
+ MapEntry testSubject;
+ T key = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKey(key);
+ }
+
+
+
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ MapEntry testSubject;
+ V value = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AdditionalInfoParameterDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AdditionalInfoParameterDataTest.java
new file mode 100644
index 0000000000..7624c059c9
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AdditionalInfoParameterDataTest.java
@@ -0,0 +1,115 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.AdditionalInfoParameterDataDefinition;
+
+
+public class AdditionalInfoParameterDataTest {
+
+ private AdditionalInfoParameterData createTestSubject() {
+ return new AdditionalInfoParameterData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetAdditionalInfoParameterDataDefinition() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ AdditionalInfoParameterDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInfoParameterDataDefinition();
+ }
+
+
+ @Test
+ public void testSetAdditionalInfoParameterDataDefinition() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ AdditionalInfoParameterDataDefinition additionalInfoParameterDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInfoParameterDataDefinition(additionalInfoParameterDataDefinition);
+ }
+
+
+ @Test
+ public void testGetParameters() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParameters();
+ }
+
+
+ @Test
+ public void testSetParameters() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ Map<String, String> parameters = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParameters(parameters);
+ }
+
+
+ @Test
+ public void testGetIdToKey() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIdToKey();
+ }
+
+
+ @Test
+ public void testSetIdToKey() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ Map<String, String> idToKey = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIdToKey(idToKey);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalInfoParameterData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ArtifactDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ArtifactDataTest.java
new file mode 100644
index 0000000000..4d6bfbf4cd
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ArtifactDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.ArtifactDataDefinition;
+
+
+public class ArtifactDataTest {
+
+ private ArtifactData createTestSubject() {
+ return new ArtifactData();
+ }
+
+
+ @Test
+ public void testGetArtifactDataDefinition() throws Exception {
+ ArtifactData testSubject;
+ ArtifactDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactDataDefinition();
+ }
+
+
+ @Test
+ public void testSetArtifactDataDefinition() throws Exception {
+ ArtifactData testSubject;
+ ArtifactDataDefinition artifactDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactDataDefinition(artifactDataDefinition);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ ArtifactData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ArtifactData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ArtifactData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeDataTest.java
new file mode 100644
index 0000000000..4d684f7f46
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
+
+
+public class AttributeDataTest {
+
+ private AttributeData createTestSubject() {
+ return new AttributeData();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ AttributeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ AttributeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetAttributeDataDefinition() throws Exception {
+ AttributeData testSubject;
+ PropertyDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAttributeDataDefinition();
+ }
+
+
+ @Test
+ public void testSetAttributeDataDefinition() throws Exception {
+ AttributeData testSubject;
+ PropertyDataDefinition attributeDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAttributeDataDefinition(attributeDataDefinition);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ AttributeData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeValueDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeValueDataTest.java
new file mode 100644
index 0000000000..dcfdb52024
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/AttributeValueDataTest.java
@@ -0,0 +1,169 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AttributeValueDataTest {
+
+ private AttributeValueData createTestSubject() {
+ return new AttributeValueData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ AttributeValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ AttributeValueData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ AttributeValueData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ AttributeValueData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ AttributeValueData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ AttributeValueData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ AttributeValueData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ AttributeValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testIsHidden() throws Exception {
+ AttributeValueData testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isHidden();
+ }
+
+
+ @Test
+ public void testSetHidden() throws Exception {
+ AttributeValueData testSubject;
+ Boolean hidden = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHidden(hidden);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ AttributeValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ AttributeValueData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ AttributeValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ AttributeValueData testSubject;
+ String value = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityDataTest.java
new file mode 100644
index 0000000000..5e709812ac
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityDataTest.java
@@ -0,0 +1,226 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityDataTest {
+
+ private CapabilityData createTestSubject() {
+ return new CapabilityData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ CapabilityData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ CapabilityData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ CapabilityData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ CapabilityData testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ CapabilityData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ CapabilityData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetValidSourceTypes() throws Exception {
+ CapabilityData testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValidSourceTypes();
+ }
+
+
+ @Test
+ public void testSetValidSourceTypes() throws Exception {
+ CapabilityData testSubject;
+ List<String> validSourceTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValidSourceTypes(validSourceTypes);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ CapabilityData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ CapabilityData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ CapabilityData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ CapabilityData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetMinOccurrences() throws Exception {
+ CapabilityData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinOccurrences();
+ }
+
+
+ @Test
+ public void testSetMinOccurrences() throws Exception {
+ CapabilityData testSubject;
+ String minOccurrences = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ minOccurrences = null;
+ testSubject.setMinOccurrences(minOccurrences);
+
+ // test 2
+ testSubject = createTestSubject();
+ minOccurrences = "";
+ testSubject.setMinOccurrences(minOccurrences);
+ }
+
+
+ @Test
+ public void testGetMaxOccurrences() throws Exception {
+ CapabilityData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxOccurrences();
+ }
+
+
+ @Test
+ public void testSetMaxOccurrences() throws Exception {
+ CapabilityData testSubject;
+ String maxOccurrences = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ maxOccurrences = null;
+ testSubject.setMaxOccurrences(maxOccurrences);
+
+ // test 2
+ testSubject = createTestSubject();
+ maxOccurrences = "";
+ testSubject.setMaxOccurrences(maxOccurrences);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ CapabilityData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityInstDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityInstDataTest.java
new file mode 100644
index 0000000000..ca86edf0f2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityInstDataTest.java
@@ -0,0 +1,126 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityInstDataTest {
+
+ private CapabilityInstData createTestSubject() {
+ return new CapabilityInstData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ CapabilityInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ CapabilityInstData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ CapabilityInstData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ CapabilityInstData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ CapabilityInstData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ CapabilityInstData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ CapabilityInstData testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ CapabilityInstData testSubject;
+ List<String> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ CapabilityInstData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityTypeDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityTypeDataTest.java
new file mode 100644
index 0000000000..7d4cc5b29b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/CapabilityTypeDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.CapabilityTypeDataDefinition;
+
+
+public class CapabilityTypeDataTest {
+
+ private CapabilityTypeData createTestSubject() {
+ return new CapabilityTypeData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ CapabilityTypeData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetCapabilityTypeDataDefinition() throws Exception {
+ CapabilityTypeData testSubject;
+ CapabilityTypeDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testSetCapabilityTypeDataDefinition() throws Exception {
+ CapabilityTypeData testSubject;
+ CapabilityTypeDataDefinition capabilityTypeDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilityTypeDataDefinition(capabilityTypeDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ CapabilityTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentCacheDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentCacheDataTest.java
new file mode 100644
index 0000000000..0c9ff52d69
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentCacheDataTest.java
@@ -0,0 +1,156 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Date;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ComponentCacheDataTest {
+
+ private ComponentCacheData createTestSubject() {
+ return new ComponentCacheData();
+ }
+
+
+ @Test
+ public void testGetDataAsArray() throws Exception {
+ ComponentCacheData testSubject;
+ byte[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDataAsArray();
+ }
+
+
+ @Test
+ public void testSetDataAsArray() throws Exception {
+ ComponentCacheData testSubject;
+ byte[] data = new byte[] { ' ' };
+
+ // test 1
+ testSubject = createTestSubject();
+ data = null;
+ testSubject.setDataAsArray(data);
+
+ // test 2
+ testSubject = createTestSubject();
+ data = new byte[] { ' ' };
+ testSubject.setDataAsArray(data);
+ }
+
+
+
+
+
+ @Test
+ public void testGetId() throws Exception {
+ ComponentCacheData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getId();
+ }
+
+
+ @Test
+ public void testSetId() throws Exception {
+ ComponentCacheData testSubject;
+ String id = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setId(id);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ ComponentCacheData testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ ComponentCacheData testSubject;
+ Date modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ComponentCacheData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ComponentCacheData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetIsDirty() throws Exception {
+ ComponentCacheData testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsDirty();
+ }
+
+
+ @Test
+ public void testSetIsDirty() throws Exception {
+ ComponentCacheData testSubject;
+ boolean isDirty = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsDirty(isDirty);
+ }
+
+
+ @Test
+ public void testGetIsZipped() throws Exception {
+ ComponentCacheData testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsZipped();
+ }
+
+
+ @Test
+ public void testSetIsZipped() throws Exception {
+ ComponentCacheData testSubject;
+ boolean isZipped = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsZipped(isZipped);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java
new file mode 100644
index 0000000000..761f113511
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java
@@ -0,0 +1,126 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.ComponentInstanceDataDefinition;
+
+
+public class ComponentInstanceDataTest {
+
+ private ComponentInstanceData createTestSubject() {
+ return new ComponentInstanceData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ComponentInstanceData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ ComponentInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ComponentInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ ComponentInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testGetComponentInstDataDefinition() throws Exception {
+ ComponentInstanceData testSubject;
+ ComponentInstanceDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstDataDefinition();
+ }
+
+
+ @Test
+ public void testSetComponentInstDataDefinition() throws Exception {
+ ComponentInstanceData testSubject;
+ ComponentInstanceDataDefinition componentInstDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstDataDefinition(componentInstDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ComponentInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetGroupInstanceCounter() throws Exception {
+ ComponentInstanceData testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupInstanceCounter();
+ }
+
+
+ @Test
+ public void testSetGroupInstanceCounter() throws Exception {
+ ComponentInstanceData testSubject;
+ Integer componentInstanceCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupInstanceCounter(componentInstanceCounter);
+ }
+
+
+ @Test
+ public void testIncreaseAndGetGroupInstanceCounter() throws Exception {
+ ComponentInstanceData testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.increaseAndGetGroupInstanceCounter();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ConsumerDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ConsumerDataTest.java
new file mode 100644
index 0000000000..68dddbfe25
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ConsumerDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.ConsumerDataDefinition;
+
+
+public class ConsumerDataTest {
+
+ private ConsumerData createTestSubject() {
+ return new ConsumerData();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ ConsumerData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ ConsumerData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetConsumerDataDefinition() throws Exception {
+ ConsumerData testSubject;
+ ConsumerDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerDataDefinition();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ConsumerData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ConsumerData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/DataTypeDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/DataTypeDataTest.java
new file mode 100644
index 0000000000..5766b36e8b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/DataTypeDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.DataTypeDataDefinition;
+
+
+public class DataTypeDataTest {
+
+ private DataTypeData createTestSubject() {
+ return new DataTypeData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ DataTypeData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetDataTypeDataDefinition() throws Exception {
+ DataTypeData testSubject;
+ DataTypeDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDataTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testSetDataTypeDataDefinition() throws Exception {
+ DataTypeData testSubject;
+ DataTypeDataDefinition dataTypeDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDataTypeDataDefinition(dataTypeDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DataTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ DataTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupDataTest.java
new file mode 100644
index 0000000000..4095336e4c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.GroupDataDefinition;
+
+
+public class GroupDataTest {
+
+ private GroupData createTestSubject() {
+ return new GroupData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ GroupData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetGroupDataDefinition() throws Exception {
+ GroupData testSubject;
+ GroupDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupDataDefinition();
+ }
+
+
+ @Test
+ public void testSetGroupDataDefinition() throws Exception {
+ GroupData testSubject;
+ GroupDataDefinition groupDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupDataDefinition(groupDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupInstanceDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupInstanceDataTest.java
new file mode 100644
index 0000000000..99b54f7f42
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupInstanceDataTest.java
@@ -0,0 +1,93 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.GroupInstanceDataDefinition;
+
+
+public class GroupInstanceDataTest {
+
+ private GroupInstanceData createTestSubject() {
+ return new GroupInstanceData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ GroupInstanceData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ GroupInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ GroupInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testGetGroupDataDefinition() throws Exception {
+ GroupInstanceData testSubject;
+ GroupInstanceDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupDataDefinition();
+ }
+
+
+ @Test
+ public void testSetComponentInstDataDefinition() throws Exception {
+ GroupInstanceData testSubject;
+ GroupInstanceDataDefinition groupDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstDataDefinition(groupDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupInstanceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupTypeDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupTypeDataTest.java
new file mode 100644
index 0000000000..070f2708e2
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/GroupTypeDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.GroupTypeDataDefinition;
+
+
+public class GroupTypeDataTest {
+
+ private GroupTypeData createTestSubject() {
+ return new GroupTypeData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ GroupTypeData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetGroupTypeDataDefinition() throws Exception {
+ GroupTypeData testSubject;
+ GroupTypeDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testSetGroupTypeDataDefinition() throws Exception {
+ GroupTypeData testSubject;
+ GroupTypeDataDefinition groupTypeDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupTypeDataDefinition(groupTypeDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterDataTest.java
new file mode 100644
index 0000000000..db3db02c0b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterDataTest.java
@@ -0,0 +1,173 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.HeatParameterDataDefinition;
+
+
+public class HeatParameterDataTest {
+
+ private HeatParameterData createTestSubject() {
+ return new HeatParameterData();
+ }
+
+
+
+
+ @Test
+ public void testGetHeatDataDefinition() throws Exception {
+ HeatParameterData testSubject;
+ HeatParameterDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatDataDefinition();
+ }
+
+
+ @Test
+ public void testSetHeatDataDefinition() throws Exception {
+ HeatParameterData testSubject;
+ HeatParameterDataDefinition heatDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatDataDefinition(heatDataDefinition);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ HeatParameterData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ HeatParameterData testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ HeatParameterData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ HeatParameterData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ HeatParameterData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ HeatParameterData testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetCurrentValue() throws Exception {
+ HeatParameterData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrentValue();
+ }
+
+
+ @Test
+ public void testSetCurrentValue() throws Exception {
+ HeatParameterData testSubject;
+ String currentValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrentValue(currentValue);
+ }
+
+
+ @Test
+ public void testGetDefaultValue() throws Exception {
+ HeatParameterData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultValue();
+ }
+
+
+ @Test
+ public void testSetDefaultValue() throws Exception {
+ HeatParameterData testSubject;
+ String defaultValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultValue(defaultValue);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ HeatParameterData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ HeatParameterData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterValueDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterValueDataTest.java
new file mode 100644
index 0000000000..55b4719b79
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/HeatParameterValueDataTest.java
@@ -0,0 +1,81 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class HeatParameterValueDataTest {
+
+ private HeatParameterValueData createTestSubject() {
+ return new HeatParameterValueData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ HeatParameterValueData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ HeatParameterValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ HeatParameterValueData testSubject;
+ String value = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ HeatParameterValueData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ HeatParameterValueData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ HeatParameterValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputValueDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputValueDataTest.java
new file mode 100644
index 0000000000..0099f9a149
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputValueDataTest.java
@@ -0,0 +1,169 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InputValueDataTest {
+
+ private InputValueData createTestSubject() {
+ return new InputValueData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ InputValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ InputValueData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ InputValueData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ InputValueData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ InputValueData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ InputValueData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ InputValueData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ InputValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testIsHidden() throws Exception {
+ InputValueData testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isHidden();
+ }
+
+
+ @Test
+ public void testSetHidden() throws Exception {
+ InputValueData testSubject;
+ Boolean hidden = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHidden(hidden);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ InputValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ InputValueData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ InputValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ InputValueData testSubject;
+ String value = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputsDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputsDataTest.java
new file mode 100644
index 0000000000..193d53762a
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InputsDataTest.java
@@ -0,0 +1,94 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
+
+
+public class InputsDataTest {
+
+ private InputsData createTestSubject() {
+ return new InputsData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ InputsData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetConstraints() throws Exception {
+ InputsData testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConstraints();
+ }
+
+
+ @Test
+ public void testSetConstraints() throws Exception {
+ InputsData testSubject;
+ List<String> constraints = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConstraints(constraints);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ InputsData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetPropertyDataDefinition() throws Exception {
+ InputsData testSubject;
+ PropertyDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyDataDefinition();
+ }
+
+
+ @Test
+ public void testSetPropertyDataDefinition() throws Exception {
+ InputsData testSubject;
+ PropertyDataDefinition propertyDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyDataDefinition(propertyDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ InputsData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InterfaceDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InterfaceDataTest.java
new file mode 100644
index 0000000000..59f28c860e
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/InterfaceDataTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.InterfaceDataDefinition;
+
+
+public class InterfaceDataTest {
+
+ private InterfaceData createTestSubject() {
+ return new InterfaceData();
+ }
+
+
+ @Test
+ public void testGetInterfaceDataDefinition() throws Exception {
+ InterfaceData testSubject;
+ InterfaceDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaceDataDefinition();
+ }
+
+
+ @Test
+ public void testSetInterfaceDataDefinition() throws Exception {
+ InterfaceData testSubject;
+ InterfaceDataDefinition interfaceDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaceDataDefinition(interfaceDataDefinition);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ InterfaceData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ InterfaceData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java
new file mode 100644
index 0000000000..45bd2e176c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/MigrationTaskEntryTest.java
@@ -0,0 +1,191 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Date;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MigrationTaskEntryTest {
+
+ private MigrationTaskEntry createTestSubject() {
+ return new MigrationTaskEntry();
+ }
+
+
+ @Test
+ public void testSetMajorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long majorVersion = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMajorVersion(majorVersion);
+ }
+
+
+ @Test
+ public void testSetMinorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long minorVersion = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinorVersion(minorVersion);
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ MigrationTaskEntry testSubject;
+ Date timestamp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testSetTaskName() throws Exception {
+ MigrationTaskEntry testSubject;
+ String taskName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTaskName(taskName);
+ }
+
+
+ @Test
+ public void testSetTaskStatus() throws Exception {
+ MigrationTaskEntry testSubject;
+ String taskStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTaskStatus(taskStatus);
+ }
+
+
+ @Test
+ public void testSetMessage() throws Exception {
+ MigrationTaskEntry testSubject;
+ String message = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMessage(message);
+ }
+
+
+ @Test
+ public void testSetExecutionTime() throws Exception {
+ MigrationTaskEntry testSubject;
+ double executionTime = 0.0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExecutionTime(executionTime);
+ }
+
+
+ @Test
+ public void testGetMajorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMajorVersion();
+ }
+
+
+ @Test
+ public void testGetMinorVersion() throws Exception {
+ MigrationTaskEntry testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinorVersion();
+ }
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ MigrationTaskEntry testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testGetTaskName() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTaskName();
+ }
+
+
+ @Test
+ public void testGetTaskStatus() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTaskStatus();
+ }
+
+
+ @Test
+ public void testGetMessage() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessage();
+ }
+
+
+ @Test
+ public void testGetExecutionTime() throws Exception {
+ MigrationTaskEntry testSubject;
+ double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExecutionTime();
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ MigrationTaskEntry testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ MigrationTaskEntry testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/OperationDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/OperationDataTest.java
new file mode 100644
index 0000000000..776c5c3909
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/OperationDataTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.OperationDataDefinition;
+
+
+public class OperationDataTest {
+
+ private OperationData createTestSubject() {
+ return new OperationData();
+ }
+
+
+ @Test
+ public void testGetOperationDataDefinition() throws Exception {
+ OperationData testSubject;
+ OperationDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOperationDataDefinition();
+ }
+
+
+ @Test
+ public void testSetOperationDataDefinition() throws Exception {
+ OperationData testSubject;
+ OperationDataDefinition operationDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOperationDataDefinition(operationDataDefinition);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ OperationData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ OperationData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PolicyTypeDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PolicyTypeDataTest.java
new file mode 100644
index 0000000000..c2551b0356
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PolicyTypeDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PolicyTypeDataDefinition;
+
+
+public class PolicyTypeDataTest {
+
+ private PolicyTypeData createTestSubject() {
+ return new PolicyTypeData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ PolicyTypeData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PolicyTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ PolicyTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetPolicyTypeDataDefinition() throws Exception {
+ PolicyTypeData testSubject;
+ PolicyTypeDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPolicyTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testSetPolicyTypeDataDefinition() throws Exception {
+ PolicyTypeData testSubject;
+ PolicyTypeDataDefinition policyTypeDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPolicyTypeDataDefinition(policyTypeDataDefinition);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java
new file mode 100644
index 0000000000..382ca38e86
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ProductMetadataDataTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ProductMetadataDataTest {
+
+ private ProductMetadataData createTestSubject() {
+ return new ProductMetadataData();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ ProductMetadataData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ProductMetadataData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ProductMetadataData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyDataTest.java
new file mode 100644
index 0000000000..ae582b7383
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyDataTest.java
@@ -0,0 +1,94 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
+
+
+public class PropertyDataTest {
+
+ private PropertyData createTestSubject() {
+ return new PropertyData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ PropertyData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetConstraints() throws Exception {
+ PropertyData testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConstraints();
+ }
+
+
+ @Test
+ public void testSetConstraints() throws Exception {
+ PropertyData testSubject;
+ List<String> constraints = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConstraints(constraints);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ PropertyData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetPropertyDataDefinition() throws Exception {
+ PropertyData testSubject;
+ PropertyDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyDataDefinition();
+ }
+
+
+ @Test
+ public void testSetPropertyDataDefinition() throws Exception {
+ PropertyData testSubject;
+ PropertyDataDefinition propertyDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyDataDefinition(propertyDataDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PropertyData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyValueDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyValueDataTest.java
new file mode 100644
index 0000000000..1151a8387c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/PropertyValueDataTest.java
@@ -0,0 +1,171 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyRule;
+
+
+public class PropertyValueDataTest {
+
+ private PropertyValueData createTestSubject() {
+ return new PropertyValueData();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ PropertyValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ PropertyValueData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ PropertyValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ PropertyValueData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ PropertyValueData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ PropertyValueData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ PropertyValueData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ PropertyValueData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ PropertyValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ PropertyValueData testSubject;
+ String value = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+
+
+ @Test
+ public void testGetRules() throws Exception {
+ PropertyValueData testSubject;
+ List<PropertyRule> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRules();
+ }
+
+
+ @Test
+ public void testSetRules() throws Exception {
+ PropertyValueData testSubject;
+ List<PropertyRule> rules = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRules(rules);
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ PropertyValueData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PropertyValueData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipInstDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipInstDataTest.java
new file mode 100644
index 0000000000..81b6352b0a
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipInstDataTest.java
@@ -0,0 +1,213 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RelationshipInstDataTest {
+
+ private RelationshipInstData createTestSubject() {
+ return new RelationshipInstData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ RelationshipInstData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ RelationshipInstData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ RelationshipInstData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ RelationshipInstData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ RelationshipInstData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ RelationshipInstData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ RelationshipInstData testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetCapabilityOwnerId() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityOwnerId();
+ }
+
+
+ @Test
+ public void testSetCapabilityOwnerId() throws Exception {
+ RelationshipInstData testSubject;
+ String capabilityOwnerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilityOwnerId(capabilityOwnerId);
+ }
+
+
+ @Test
+ public void testGetRequirementOwnerId() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementOwnerId();
+ }
+
+
+ @Test
+ public void testSetRequirementOwnerId() throws Exception {
+ RelationshipInstData testSubject;
+ String requirementOwnerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementOwnerId(requirementOwnerId);
+ }
+
+
+ @Test
+ public void testGetCapabiltyId() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabiltyId();
+ }
+
+
+ @Test
+ public void testSetCapabiltyId() throws Exception {
+ RelationshipInstData testSubject;
+ String capabiltyId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabiltyId(capabiltyId);
+ }
+
+
+ @Test
+ public void testGetRequirementId() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementId();
+ }
+
+
+ @Test
+ public void testSetRequirementId() throws Exception {
+ RelationshipInstData testSubject;
+ String requirementId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementId(requirementId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RelationshipInstData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipTypeDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipTypeDataTest.java
new file mode 100644
index 0000000000..3f06669e8e
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RelationshipTypeDataTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.RelationshipInstDataDefinition;
+
+
+public class RelationshipTypeDataTest {
+
+ private RelationshipTypeData createTestSubject() {
+ return new RelationshipTypeData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ RelationshipTypeData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetRelationshipTypeDataDefinition() throws Exception {
+ RelationshipTypeData testSubject;
+ RelationshipInstDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationshipTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testSetRelationshipTypeDataDefinition() throws Exception {
+ RelationshipTypeData testSubject;
+ RelationshipInstDataDefinition relationshipTypeDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationshipTypeDataDefinition(relationshipTypeDataDefinition);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ RelationshipTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RelationshipTypeData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementDataTest.java
new file mode 100644
index 0000000000..8251fe82b7
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementDataTest.java
@@ -0,0 +1,203 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RequirementDataTest {
+
+ private RequirementData createTestSubject() {
+ return new RequirementData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ RequirementData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ RequirementData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ RequirementData testSubject;
+ String node = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ RequirementData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ RequirementData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ RequirementData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ RequirementData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ RequirementData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetRelationshipType() throws Exception {
+ RequirementData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationshipType();
+ }
+
+
+ @Test
+ public void testSetRelationshipType() throws Exception {
+ RequirementData testSubject;
+ String relationshipType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationshipType(relationshipType);
+ }
+
+
+ @Test
+ public void testGetMinOccurrences() throws Exception {
+ RequirementData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinOccurrences();
+ }
+
+
+ @Test
+ public void testSetMinOccurrences() throws Exception {
+ RequirementData testSubject;
+ String minOccurrences = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ minOccurrences = null;
+ testSubject.setMinOccurrences(minOccurrences);
+
+ // test 2
+ testSubject = createTestSubject();
+ minOccurrences = "";
+ testSubject.setMinOccurrences(minOccurrences);
+ }
+
+
+ @Test
+ public void testGetMaxOccurrences() throws Exception {
+ RequirementData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxOccurrences();
+ }
+
+
+ @Test
+ public void testSetMaxOccurrences() throws Exception {
+ RequirementData testSubject;
+ String maxOccurrences = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ maxOccurrences = null;
+ testSubject.setMaxOccurrences(maxOccurrences);
+
+ // test 2
+ testSubject = createTestSubject();
+ maxOccurrences = "";
+ testSubject.setMaxOccurrences(maxOccurrences);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ RequirementData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RequirementData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementImplDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementImplDataTest.java
new file mode 100644
index 0000000000..9e917a1679
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/RequirementImplDataTest.java
@@ -0,0 +1,169 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RequirementImplDataTest {
+
+ private RequirementImplData createTestSubject() {
+ return new RequirementImplData();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ RequirementImplData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ RequirementImplData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ RequirementImplData testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ RequirementImplData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ RequirementImplData testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ RequirementImplData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ RequirementImplData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ RequirementImplData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ RequirementImplData testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetPosX() throws Exception {
+ RequirementImplData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPosX();
+ }
+
+
+ @Test
+ public void testSetPosX() throws Exception {
+ RequirementImplData testSubject;
+ String posX = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPosX(posX);
+ }
+
+
+ @Test
+ public void testGetPosY() throws Exception {
+ RequirementImplData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPosY();
+ }
+
+
+ @Test
+ public void testSetPosY() throws Exception {
+ RequirementImplData testSubject;
+ String posY = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPosY(posY);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RequirementImplData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ResourceCategoryDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ResourceCategoryDataTest.java
new file mode 100644
index 0000000000..feebd07947
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ResourceCategoryDataTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ResourceCategoryDataTest {
+
+ private ResourceCategoryData createTestSubject() {
+ return new ResourceCategoryData();
+ }
+
+
+ @Test
+ public void testGetCategoryName() throws Exception {
+ ResourceCategoryData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategoryName();
+ }
+
+
+ @Test
+ public void testSetCategoryName() throws Exception {
+ ResourceCategoryData testSubject;
+ String categoryName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategoryName(categoryName);
+ }
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ ResourceCategoryData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ResourceCategoryData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/SdcSchemaFilesDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/SdcSchemaFilesDataTest.java
new file mode 100644
index 0000000000..0581412b3c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/SdcSchemaFilesDataTest.java
@@ -0,0 +1,167 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Date;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SdcSchemaFilesDataTest {
+
+ private SdcSchemaFilesData createTestSubject() {
+ return new SdcSchemaFilesData();
+ }
+
+
+ @Test
+ public void testGetSdcReleaseNum() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSdcReleaseNum();
+ }
+
+
+ @Test
+ public void testSetSdcReleaseNum() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String sdcReleaseNum = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSdcReleaseNum(sdcReleaseNum);
+ }
+
+
+ @Test
+ public void testGetConformanceLevel() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConformanceLevel();
+ }
+
+
+ @Test
+ public void testSetConformanceLevel() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String conformanceLevel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConformanceLevel(conformanceLevel);
+ }
+
+
+ @Test
+ public void testGetFileName() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFileName();
+ }
+
+
+ @Test
+ public void testSetFileName() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String fileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFileName(fileName);
+ }
+
+
+
+
+
+ @Test
+ public void testSetPayloadAsArray() throws Exception {
+ SdcSchemaFilesData testSubject;
+ byte[] payload = new byte[] { ' ' };
+
+ // test 1
+ testSubject = createTestSubject();
+ payload = null;
+ testSubject.setPayloadAsArray(payload);
+
+ // test 2
+ testSubject = createTestSubject();
+ payload = new byte[] { ' ' };
+ testSubject.setPayloadAsArray(payload);
+ }
+
+
+ @Test
+ public void testGetPayloadAsArray() throws Exception {
+ SdcSchemaFilesData testSubject;
+ byte[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPayloadAsArray();
+ }
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ SdcSchemaFilesData testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ SdcSchemaFilesData testSubject;
+ Date timestamp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testGetChecksum() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getChecksum();
+ }
+
+
+ @Test
+ public void testSetChecksum() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String checksum = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setChecksum(checksum);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ SdcSchemaFilesData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java
new file mode 100644
index 0000000000..0afe7be7ef
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceArtifactsDataCollectionTest.java
@@ -0,0 +1,49 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class ServiceArtifactsDataCollectionTest {
+
+ private ServiceArtifactsDataCollection createTestSubject() {
+ return new ServiceArtifactsDataCollection();
+ }
+
+
+ @Test
+ public void testGetServiceArtifactDataMap() throws Exception {
+ ServiceArtifactsDataCollection testSubject;
+ Map<String, List<ESArtifactData>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceArtifactDataMap();
+ }
+
+
+ @Test
+ public void testSetServiceArtifactDataMap() throws Exception {
+ ServiceArtifactsDataCollection testSubject;
+ Map<String, List<ESArtifactData>> serviceArtifactDataMap = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceArtifactDataMap(serviceArtifactDataMap);
+ }
+
+
+ @Test
+ public void testGetNodeTemplateArtifacts() throws Exception {
+ ServiceArtifactsDataCollection testSubject;
+ String nodeTemplateName = "";
+ List<ESArtifactData> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeTemplateArtifacts(nodeTemplateName);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceMetadataDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceMetadataDataTest.java
new file mode 100644
index 0000000000..d10db84409
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceMetadataDataTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServiceMetadataDataTest {
+
+ private ServiceMetadataData createTestSubject() {
+ return new ServiceMetadataData();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ ServiceMetadataData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ ServiceMetadataData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserDataTest.java
new file mode 100644
index 0000000000..b7c051567d
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserDataTest.java
@@ -0,0 +1,260 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class UserDataTest {
+
+ private UserData createTestSubject() {
+ return new UserData("", "", "", "", "", "", null);
+ }
+
+
+ @Test
+ public void testGetFirstName() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFirstName();
+ }
+
+
+ @Test
+ public void testSetFirstName() throws Exception {
+ UserData testSubject;
+ String firstName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFirstName(firstName);
+ }
+
+
+ @Test
+ public void testGetLastName() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastName();
+ }
+
+
+ @Test
+ public void testSetLastName() throws Exception {
+ UserData testSubject;
+ String lastName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastName(lastName);
+ }
+
+
+ @Test
+ public void testGetUserId() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserId();
+ }
+
+
+ @Test
+ public void testSetUserId() throws Exception {
+ UserData testSubject;
+ String userId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserId(userId);
+ }
+
+
+ @Test
+ public void testGetEmail() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEmail();
+ }
+
+
+ @Test
+ public void testSetEmail() throws Exception {
+ UserData testSubject;
+ String email = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEmail(email);
+ }
+
+
+ @Test
+ public void testGetRole() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRole();
+ }
+
+
+ @Test
+ public void testSetRole() throws Exception {
+ UserData testSubject;
+ String role = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRole(role);
+ }
+
+
+ @Test
+ public void testSetLastLoginTime() throws Exception {
+ UserData testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastLoginTime();
+ }
+
+
+ @Test
+ public void testSetLastLoginTime_1() throws Exception {
+ UserData testSubject;
+ Long time = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastLoginTime(time);
+ }
+
+
+ @Test
+ public void testGetLastLoginTime() throws Exception {
+ UserData testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastLoginTime();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ UserData testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ UserData testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testToJson() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toJson();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ UserData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ UserData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ UserData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ UserData testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserFunctionalMenuDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserFunctionalMenuDataTest.java
new file mode 100644
index 0000000000..fd493fa54e
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/UserFunctionalMenuDataTest.java
@@ -0,0 +1,103 @@
+package org.openecomp.sdc.be.resources.data;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class UserFunctionalMenuDataTest {
+
+ private UserFunctionalMenuData createTestSubject() {
+ return new UserFunctionalMenuData("", "");
+ }
+
+
+ @Test
+ public void testGetFunctionalMenu() throws Exception {
+ UserFunctionalMenuData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFunctionalMenu();
+ }
+
+
+ @Test
+ public void testSetFunctionalMenu() throws Exception {
+ UserFunctionalMenuData testSubject;
+ String functionalMenu = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFunctionalMenu(functionalMenu);
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ UserFunctionalMenuData testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ UserFunctionalMenuData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testToJson() throws Exception {
+ UserFunctionalMenuData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toJson();
+ }
+
+
+ @Test
+ public void testToGraphMap() throws Exception {
+ UserFunctionalMenuData testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toGraphMap();
+ }
+
+
+ @Test
+ public void testGetUniqueIdKey() throws Exception {
+ UserFunctionalMenuData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueIdKey();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ UserFunctionalMenuData testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java
new file mode 100644
index 0000000000..5172fc31dc
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGenericEventTest.java
@@ -0,0 +1,119 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import org.junit.Test;
+
+public class AuditingGenericEventTest {
+
+ private AuditingGenericEvent createTestSubject() {
+ return new AuditingGenericEvent();
+ }
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ AuditingGenericEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+ @Test
+ public void testGetAction() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+ @Test
+ public void testSetAction() throws Exception {
+ AuditingGenericEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+ @Test
+ public void testGetStatus() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+ @Test
+ public void testSetStatus() throws Exception {
+ AuditingGenericEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+ @Test
+ public void testGetDesc() throws Exception {
+ AuditingGenericEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+ @Test
+ public void testSetDesc() throws Exception {
+ AuditingGenericEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+ @Test
+ public void testFillFields() throws Exception {
+ AuditingGenericEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGetUebClusterEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGetUebClusterEventTest.java
new file mode 100644
index 0000000000..72ccc52b88
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuditingGetUebClusterEventTest.java
@@ -0,0 +1,192 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import org.junit.Test;
+
+public class AuditingGetUebClusterEventTest {
+
+ private AuditingGetUebClusterEvent createTestSubject() {
+ return new AuditingGetUebClusterEvent();
+ }
+
+ @Test
+ public void testFillFields() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+ @Test
+ public void testGetConsumerId() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerId();
+ }
+
+ @Test
+ public void testSetConsumerId() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String consumerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerId(consumerId);
+ }
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+ @Test
+ public void testGetAction() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+ @Test
+ public void testSetAction() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+ @Test
+ public void testGetStatus() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+ @Test
+ public void testSetStatus() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+ @Test
+ public void testGetDesc() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+ @Test
+ public void testSetDesc() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ AuditingGetUebClusterEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuthEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuthEventTest.java
new file mode 100644
index 0000000000..39de467030
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/AuthEventTest.java
@@ -0,0 +1,222 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import org.junit.Test;
+
+public class AuthEventTest {
+
+ private AuthEvent createTestSubject() {
+ return new AuthEvent();
+ }
+
+ @Test
+ public void testGetUrl() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUrl();
+ }
+
+ @Test
+ public void testSetUrl() throws Exception {
+ AuthEvent testSubject;
+ String url = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUrl(url);
+ }
+
+ @Test
+ public void testGetUser() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUser();
+ }
+
+ @Test
+ public void testSetUser() throws Exception {
+ AuthEvent testSubject;
+ String user = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUser(user);
+ }
+
+ @Test
+ public void testGetAuthStatus() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAuthStatus();
+ }
+
+ @Test
+ public void testSetAuthStatus() throws Exception {
+ AuthEvent testSubject;
+ String authStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAuthStatus(authStatus);
+ }
+
+ @Test
+ public void testGetRealm() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRealm();
+ }
+
+ @Test
+ public void testSetRealm() throws Exception {
+ AuthEvent testSubject;
+ String realm = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRealm(realm);
+ }
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ AuthEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ AuthEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ AuthEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ AuthEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+ @Test
+ public void testGetAction() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+ @Test
+ public void testSetAction() throws Exception {
+ AuthEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+ @Test
+ public void testGetStatus() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+ @Test
+ public void testSetStatus() throws Exception {
+ AuthEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+ @Test
+ public void testGetDesc() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+ @Test
+ public void testSetDesc() throws Exception {
+ AuthEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ AuthEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ AuthEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+ @Test
+ public void testFillFields() throws Exception {
+ AuthEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/CategoryEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/CategoryEventTest.java
new file mode 100644
index 0000000000..3e508307ed
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/CategoryEventTest.java
@@ -0,0 +1,262 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import org.junit.Test;
+
+public class CategoryEventTest {
+
+ private CategoryEvent createTestSubject() {
+ return new CategoryEvent();
+ }
+
+ @Test
+ public void testFillFields() throws Exception {
+ CategoryEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ CategoryEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ CategoryEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+ @Test
+ public void testGetAction() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+ @Test
+ public void testSetAction() throws Exception {
+ CategoryEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+ @Test
+ public void testGetStatus() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+ @Test
+ public void testSetStatus() throws Exception {
+ CategoryEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+ @Test
+ public void testGetDesc() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+ @Test
+ public void testSetDesc() throws Exception {
+ CategoryEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+ @Test
+ public void testGetCategoryName() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategoryName();
+ }
+
+ @Test
+ public void testSetCategoryName() throws Exception {
+ CategoryEvent testSubject;
+ String categoryName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategoryName(categoryName);
+ }
+
+ @Test
+ public void testGetSubCategoryName() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubCategoryName();
+ }
+
+ @Test
+ public void testSetSubCategoryName() throws Exception {
+ CategoryEvent testSubject;
+ String subCategoryName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubCategoryName(subCategoryName);
+ }
+
+ @Test
+ public void testGetGroupingName() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupingName();
+ }
+
+ @Test
+ public void testSetGroupingName() throws Exception {
+ CategoryEvent testSubject;
+ String groupingName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupingName(groupingName);
+ }
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ CategoryEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ CategoryEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+ @Test
+ public void testGetModifier() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+ @Test
+ public void testSetModifier() throws Exception {
+ CategoryEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ CategoryEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ CategoryEvent testSubject;
+ String resourceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ CategoryEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ CategoryEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ConsumerEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ConsumerEventTest.java
new file mode 100644
index 0000000000..2b2bb4d5e9
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ConsumerEventTest.java
@@ -0,0 +1,213 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ConsumerEventTest {
+
+ private ConsumerEvent createTestSubject() {
+ return new ConsumerEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ ConsumerEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ ConsumerEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetEcompUser() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEcompUser();
+ }
+
+
+ @Test
+ public void testSetEcompUser() throws Exception {
+ ConsumerEvent testSubject;
+ String ecompUser = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompUser(ecompUser);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ ConsumerEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ ConsumerEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ ConsumerEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ ConsumerEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ ConsumerEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ ConsumerEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ ConsumerEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ ConsumerEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ConsumerEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDeployEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDeployEventTest.java
new file mode 100644
index 0000000000..2ea9bf9cf1
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDeployEventTest.java
@@ -0,0 +1,301 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionDeployEventTest {
+
+ private DistributionDeployEvent createTestSubject() {
+ return new DistributionDeployEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ DistributionDeployEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetResourceName() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceName();
+ }
+
+
+ @Test
+ public void testSetResourceName() throws Exception {
+ DistributionDeployEvent testSubject;
+ String resourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceName(resourceName);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ DistributionDeployEvent testSubject;
+ String resourceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetCurrVersion() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrVersion();
+ }
+
+
+ @Test
+ public void testSetCurrVersion() throws Exception {
+ DistributionDeployEvent testSubject;
+ String currVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrVersion(currVersion);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ DistributionDeployEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ DistributionDeployEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ DistributionDeployEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ DistributionDeployEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ DistributionDeployEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ DistributionDeployEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ DistributionDeployEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ DistributionDeployEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ DistributionDeployEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ DistributionDeployEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetDid() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDid();
+ }
+
+
+ @Test
+ public void testSetDid() throws Exception {
+ DistributionDeployEvent testSubject;
+ String did = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDid(did);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DistributionDeployEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDownloadEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDownloadEventTest.java
new file mode 100644
index 0000000000..7ab3d8ca1f
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDownloadEventTest.java
@@ -0,0 +1,235 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionDownloadEventTest {
+
+ private DistributionDownloadEvent createTestSubject() {
+ return new DistributionDownloadEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ DistributionDownloadEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetConsumerId() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerId();
+ }
+
+
+ @Test
+ public void testSetConsumerId() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String consumerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerId(consumerId);
+ }
+
+
+ @Test
+ public void testGetResourceUrl() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceUrl();
+ }
+
+
+ @Test
+ public void testSetResourceUrl() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String resourceUrl = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceUrl(resourceUrl);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ DistributionDownloadEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ DistributionDownloadEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ DistributionDownloadEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ DistributionDownloadEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DistributionDownloadEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionEngineEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionEngineEventTest.java
new file mode 100644
index 0000000000..e4450111c1
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionEngineEventTest.java
@@ -0,0 +1,323 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionEngineEventTest {
+
+ private DistributionEngineEvent createTestSubject() {
+ return new DistributionEngineEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ DistributionEngineEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetDstatusTopic() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDstatusTopic();
+ }
+
+
+ @Test
+ public void testSetDstatusTopic() throws Exception {
+ DistributionEngineEvent testSubject;
+ String dstatusTopic = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDstatusTopic(dstatusTopic);
+ }
+
+
+ @Test
+ public void testGetDnotifTopic() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDnotifTopic();
+ }
+
+
+ @Test
+ public void testSetDnotifTopic() throws Exception {
+ DistributionEngineEvent testSubject;
+ String dnotifTopic = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDnotifTopic(dnotifTopic);
+ }
+
+
+ @Test
+ public void testGetEnvironmentName() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEnvironmentName();
+ }
+
+
+ @Test
+ public void testSetEnvironmentName() throws Exception {
+ DistributionEngineEvent testSubject;
+ String environmentName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEnvironmentName(environmentName);
+ }
+
+
+ @Test
+ public void testGetRole() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRole();
+ }
+
+
+ @Test
+ public void testSetRole() throws Exception {
+ DistributionEngineEvent testSubject;
+ String role = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRole(role);
+ }
+
+
+ @Test
+ public void testGetApiKey() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApiKey();
+ }
+
+
+ @Test
+ public void testSetApiKey() throws Exception {
+ DistributionEngineEvent testSubject;
+ String apiKey = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApiKey(apiKey);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ DistributionEngineEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ DistributionEngineEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ DistributionEngineEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ DistributionEngineEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ DistributionEngineEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ DistributionEngineEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ DistributionEngineEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ DistributionEngineEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ DistributionEngineEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetConsumerId() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerId();
+ }
+
+
+ @Test
+ public void testSetConsumerId() throws Exception {
+ DistributionEngineEvent testSubject;
+ String consumerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerId(consumerId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DistributionEngineEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionNotificationEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionNotificationEventTest.java
new file mode 100644
index 0000000000..40a46c080b
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionNotificationEventTest.java
@@ -0,0 +1,344 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class DistributionNotificationEventTest {
+
+ private DistributionNotificationEvent createTestSubject() {
+ return new DistributionNotificationEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ DistributionNotificationEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetResourceName() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceName();
+ }
+
+
+ @Test
+ public void testSetResourceName() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String resourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceName(resourceName);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String resourceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetCurrVersion() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrVersion();
+ }
+
+
+ @Test
+ public void testSetCurrVersion() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String currVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrVersion(currVersion);
+ }
+
+
+ @Test
+ public void testGetCurrState() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrState();
+ }
+
+
+ @Test
+ public void testSetCurrState() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String currState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrState(currState);
+ }
+
+
+ @Test
+ public void testGetTopicName() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTopicName();
+ }
+
+
+ @Test
+ public void testSetTopicName() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String topicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTopicName(topicName);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ DistributionNotificationEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ DistributionNotificationEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ DistributionNotificationEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ DistributionNotificationEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetDid() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDid();
+ }
+
+
+ @Test
+ public void testSetDid() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String did = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDid(did);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DistributionNotificationEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionStatusEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionStatusEventTest.java
new file mode 100644
index 0000000000..b776085746
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionStatusEventTest.java
@@ -0,0 +1,301 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionStatusEventTest {
+
+ private DistributionStatusEvent createTestSubject() {
+ return new DistributionStatusEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ DistributionStatusEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetDid() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDid();
+ }
+
+
+ @Test
+ public void testSetDid() throws Exception {
+ DistributionStatusEvent testSubject;
+ String did = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDid(did);
+ }
+
+
+ @Test
+ public void testGetConsumerId() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerId();
+ }
+
+
+ @Test
+ public void testSetConsumerId() throws Exception {
+ DistributionStatusEvent testSubject;
+ String consumerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerId(consumerId);
+ }
+
+
+ @Test
+ public void testGetTopicName() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTopicName();
+ }
+
+
+ @Test
+ public void testSetTopicName() throws Exception {
+ DistributionStatusEvent testSubject;
+ String topicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTopicName(topicName);
+ }
+
+
+ @Test
+ public void testGetResoureURL() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResoureURL();
+ }
+
+
+ @Test
+ public void testSetResoureURL() throws Exception {
+ DistributionStatusEvent testSubject;
+ String resoureURL = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResoureURL(resoureURL);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ DistributionStatusEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ DistributionStatusEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ DistributionStatusEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ DistributionStatusEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ DistributionStatusEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ DistributionStatusEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ DistributionStatusEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ DistributionStatusEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ DistributionStatusEvent testSubject;
+ Date timestamp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp);
+ }
+
+
+ @Test
+ public void testGetStatusTime() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatusTime();
+ }
+
+
+ @Test
+ public void testSetStatusTime() throws Exception {
+ DistributionStatusEvent testSubject;
+ String statusTime = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatusTime(statusTime);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DistributionStatusEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ExternalApiEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ExternalApiEventTest.java
new file mode 100644
index 0000000000..d4988dae3c
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ExternalApiEventTest.java
@@ -0,0 +1,455 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ExternalApiEventTest {
+
+ private ExternalApiEvent createTestSubject() {
+ return new ExternalApiEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ ExternalApiEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ ExternalApiEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ ExternalApiEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ ExternalApiEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ ExternalApiEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ ExternalApiEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ ExternalApiEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ ExternalApiEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetConsumerId() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerId();
+ }
+
+
+ @Test
+ public void testSetConsumerId() throws Exception {
+ ExternalApiEvent testSubject;
+ String consumerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerId(consumerId);
+ }
+
+
+ @Test
+ public void testGetResourceURL() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceURL();
+ }
+
+
+ @Test
+ public void testSetResourceURL() throws Exception {
+ ExternalApiEvent testSubject;
+ String resourceURL = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceURL(resourceURL);
+ }
+
+
+ @Test
+ public void testGetResourceName() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceName();
+ }
+
+
+ @Test
+ public void testSetResourceName() throws Exception {
+ ExternalApiEvent testSubject;
+ String resourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceName(resourceName);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ ExternalApiEvent testSubject;
+ String resourceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ ExternalApiEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetInvariantUuid() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUuid();
+ }
+
+
+ @Test
+ public void testSetInvariantUuid() throws Exception {
+ ExternalApiEvent testSubject;
+ String invariantUuid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUuid(invariantUuid);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ ExternalApiEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetPrevArtifactUuid() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPrevArtifactUuid();
+ }
+
+
+ @Test
+ public void testSetPrevArtifactUuid() throws Exception {
+ ExternalApiEvent testSubject;
+ String prevArtifactUuid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPrevArtifactUuid(prevArtifactUuid);
+ }
+
+
+ @Test
+ public void testGetCurrArtifactUuid() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrArtifactUuid();
+ }
+
+
+ @Test
+ public void testSetCurrArtifactUuid() throws Exception {
+ ExternalApiEvent testSubject;
+ String currArtifactUuid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrArtifactUuid(currArtifactUuid);
+ }
+
+
+ @Test
+ public void testGetArtifactData() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactData();
+ }
+
+
+ @Test
+ public void testSetArtifactData() throws Exception {
+ ExternalApiEvent testSubject;
+ String artifactData = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactData(artifactData);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetPrevVersion() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPrevVersion();
+ }
+
+
+ @Test
+ public void testSetPrevVersion() throws Exception {
+ ExternalApiEvent testSubject;
+ String prevVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPrevVersion(prevVersion);
+ }
+
+
+ @Test
+ public void testGetCurrVersion() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrVersion();
+ }
+
+
+ @Test
+ public void testSetCurrVersion() throws Exception {
+ ExternalApiEvent testSubject;
+ String currVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrVersion(currVersion);
+ }
+
+
+ @Test
+ public void testGetPrevState() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPrevState();
+ }
+
+
+ @Test
+ public void testSetPrevState() throws Exception {
+ ExternalApiEvent testSubject;
+ String prevState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPrevState(prevState);
+ }
+
+
+ @Test
+ public void testGetCurrState() throws Exception {
+ ExternalApiEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrState();
+ }
+
+
+ @Test
+ public void testSetCurrState() throws Exception {
+ ExternalApiEvent testSubject;
+ String currState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrState(currState);
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetCategoryHierarchyEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetCategoryHierarchyEventTest.java
new file mode 100644
index 0000000000..e60747d7c9
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetCategoryHierarchyEventTest.java
@@ -0,0 +1,213 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GetCategoryHierarchyEventTest {
+
+ private GetCategoryHierarchyEvent createTestSubject() {
+ return new GetCategoryHierarchyEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetDetails() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDetails();
+ }
+
+
+ @Test
+ public void testSetDetails() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String details = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDetails(details);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GetCategoryHierarchyEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetUsersListEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetUsersListEventTest.java
new file mode 100644
index 0000000000..bd51b61d92
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/GetUsersListEventTest.java
@@ -0,0 +1,213 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GetUsersListEventTest {
+
+ private GetUsersListEvent createTestSubject() {
+ return new GetUsersListEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ GetUsersListEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ GetUsersListEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ GetUsersListEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ GetUsersListEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ GetUsersListEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ GetUsersListEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ GetUsersListEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ GetUsersListEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ GetUsersListEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ GetUsersListEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetDetails() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDetails();
+ }
+
+
+ @Test
+ public void testSetDetails() throws Exception {
+ GetUsersListEvent testSubject;
+ String details = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDetails(details);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GetUsersListEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ResourceAdminEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ResourceAdminEventTest.java
new file mode 100644
index 0000000000..a840319367
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/ResourceAdminEventTest.java
@@ -0,0 +1,543 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ResourceAdminEventTest {
+
+ private ResourceAdminEvent createTestSubject() {
+ return new ResourceAdminEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ ResourceAdminEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetResourceName() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceName();
+ }
+
+
+ @Test
+ public void testSetResourceName() throws Exception {
+ ResourceAdminEvent testSubject;
+ String resourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceName(resourceName);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ ResourceAdminEvent testSubject;
+ String resourceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetPrevVersion() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPrevVersion();
+ }
+
+
+ @Test
+ public void testSetPrevVersion() throws Exception {
+ ResourceAdminEvent testSubject;
+ String prevVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPrevVersion(prevVersion);
+ }
+
+
+ @Test
+ public void testGetCurrVersion() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrVersion();
+ }
+
+
+ @Test
+ public void testSetCurrVersion() throws Exception {
+ ResourceAdminEvent testSubject;
+ String currVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrVersion(currVersion);
+ }
+
+
+ @Test
+ public void testGetPrevState() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPrevState();
+ }
+
+
+ @Test
+ public void testSetPrevState() throws Exception {
+ ResourceAdminEvent testSubject;
+ String prevState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPrevState(prevState);
+ }
+
+
+ @Test
+ public void testGetCurrState() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrState();
+ }
+
+
+ @Test
+ public void testSetCurrState() throws Exception {
+ ResourceAdminEvent testSubject;
+ String currState = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrState(currState);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ ResourceAdminEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ ResourceAdminEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ ResourceAdminEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ ResourceAdminEvent testSubject;
+ Date timestamp1 = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp1);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ ResourceAdminEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ ResourceAdminEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ ResourceAdminEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ ResourceAdminEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ ResourceAdminEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ ResourceAdminEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetPrevArtifactUUID() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPrevArtifactUUID();
+ }
+
+
+ @Test
+ public void testSetPrevArtifactUUID() throws Exception {
+ ResourceAdminEvent testSubject;
+ String prevArtifactUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPrevArtifactUUID(prevArtifactUUID);
+ }
+
+
+ @Test
+ public void testGetCurrArtifactUUID() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrArtifactUUID();
+ }
+
+
+ @Test
+ public void testSetCurrArtifactUUID() throws Exception {
+ ResourceAdminEvent testSubject;
+ String currArtifactUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrArtifactUUID(currArtifactUUID);
+ }
+
+
+ @Test
+ public void testGetArtifactData() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactData();
+ }
+
+
+ @Test
+ public void testSetArtifactData() throws Exception {
+ ResourceAdminEvent testSubject;
+ String artifactData = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactData(artifactData);
+ }
+
+
+ @Test
+ public void testGetDid() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDid();
+ }
+
+
+ @Test
+ public void testSetDid() throws Exception {
+ ResourceAdminEvent testSubject;
+ String did = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDid(did);
+ }
+
+
+ @Test
+ public void testGetDprevStatus() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDprevStatus();
+ }
+
+
+ @Test
+ public void testSetDprevStatus() throws Exception {
+ ResourceAdminEvent testSubject;
+ String dprevStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDprevStatus(dprevStatus);
+ }
+
+
+ @Test
+ public void testGetDcurrStatus() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDcurrStatus();
+ }
+
+
+ @Test
+ public void testSetDcurrStatus() throws Exception {
+ ResourceAdminEvent testSubject;
+ String dcurrStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDcurrStatus(dcurrStatus);
+ }
+
+
+ @Test
+ public void testGetToscaNodeType() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaNodeType();
+ }
+
+
+ @Test
+ public void testSetToscaNodeType() throws Exception {
+ ResourceAdminEvent testSubject;
+ String toscaNodeType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaNodeType(toscaNodeType);
+ }
+
+
+ @Test
+ public void testGetComment() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComment();
+ }
+
+
+ @Test
+ public void testSetComment() throws Exception {
+ ResourceAdminEvent testSubject;
+ String comment = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComment(comment);
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ ResourceAdminEvent testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ResourceAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAccessEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAccessEventTest.java
new file mode 100644
index 0000000000..efdaeb06ab
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAccessEventTest.java
@@ -0,0 +1,191 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class UserAccessEventTest {
+
+ private UserAccessEvent createTestSubject() {
+ return new UserAccessEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ UserAccessEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetUserUid() throws Exception {
+ UserAccessEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserUid();
+ }
+
+
+ @Test
+ public void testSetUserUid() throws Exception {
+ UserAccessEvent testSubject;
+ String userUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserUid(userUid);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ UserAccessEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ UserAccessEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ UserAccessEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ UserAccessEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ UserAccessEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ UserAccessEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ UserAccessEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ UserAccessEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ UserAccessEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ UserAccessEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ UserAccessEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ UserAccessEvent testSubject;
+ Date timestamp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ UserAccessEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAdminEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAdminEventTest.java
new file mode 100644
index 0000000000..4b66893821
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/UserAdminEventTest.java
@@ -0,0 +1,257 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class UserAdminEventTest {
+
+ private UserAdminEvent createTestSubject() {
+ return new UserAdminEvent();
+ }
+
+
+ @Test
+ public void testFillFields() throws Exception {
+ UserAdminEvent testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.fillFields();
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ UserAdminEvent testSubject;
+ String modifier = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetUserBefore() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserBefore();
+ }
+
+
+ @Test
+ public void testSetUserBefore() throws Exception {
+ UserAdminEvent testSubject;
+ String userBeforeName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserBefore(userBeforeName);
+ }
+
+
+ @Test
+ public void testGetUserAfter() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserAfter();
+ }
+
+
+ @Test
+ public void testSetUserAfter() throws Exception {
+ UserAdminEvent testSubject;
+ String userAfterName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserAfter(userAfterName);
+ }
+
+
+ @Test
+ public void testGetRequestId() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestId();
+ }
+
+
+ @Test
+ public void testSetRequestId() throws Exception {
+ UserAdminEvent testSubject;
+ String requestId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestId(requestId);
+ }
+
+
+ @Test
+ public void testGetServiceInstanceId() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInstanceId();
+ }
+
+
+ @Test
+ public void testSetServiceInstanceId() throws Exception {
+ UserAdminEvent testSubject;
+ String serviceInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInstanceId(serviceInstanceId);
+ }
+
+
+ @Test
+ public void testGetAction() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAction();
+ }
+
+
+ @Test
+ public void testSetAction() throws Exception {
+ UserAdminEvent testSubject;
+ String action = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAction(action);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ UserAdminEvent testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetDesc() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDesc();
+ }
+
+
+ @Test
+ public void testSetDesc() throws Exception {
+ UserAdminEvent testSubject;
+ String desc = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDesc(desc);
+ }
+
+
+ @Test
+ public void testGetTimebaseduuid() throws Exception {
+ UserAdminEvent testSubject;
+ UUID result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimebaseduuid();
+ }
+
+
+ @Test
+ public void testSetTimebaseduuid() throws Exception {
+ UserAdminEvent testSubject;
+ UUID timebaseduuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimebaseduuid(timebaseduuid);
+ }
+
+
+ @Test
+ public void testGetTimestamp1() throws Exception {
+ UserAdminEvent testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp1();
+ }
+
+
+ @Test
+ public void testSetTimestamp1() throws Exception {
+ UserAdminEvent testSubject;
+ Date timestamp = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp1(timestamp);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ UserAdminEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/exception/ResourceDAOExceptionTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/exception/ResourceDAOExceptionTest.java
new file mode 100644
index 0000000000..5424e712fc
--- /dev/null
+++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/exception/ResourceDAOExceptionTest.java
@@ -0,0 +1,36 @@
+package org.openecomp.sdc.be.resources.exception;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.api.ResourceUploadStatus;
+
+
+public class ResourceDAOExceptionTest {
+
+ private ResourceDAOException createTestSubject() {
+ return new ResourceDAOException("", null);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ ResourceDAOException testSubject;
+ ResourceUploadStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ ResourceDAOException testSubject;
+ ResourceUploadStatus status = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+} \ No newline at end of file
diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/fe/GzipFilterTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/fe/GzipFilterTest.java
new file mode 100644
index 0000000000..b91048dfa1
--- /dev/null
+++ b/catalog-fe/src/test/java/org/openecomp/sdc/fe/GzipFilterTest.java
@@ -0,0 +1,40 @@
+package org.openecomp.sdc.fe;
+
+import javax.annotation.Generated;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+
+import org.junit.Test;
+
+
+public class GzipFilterTest {
+
+ private GzipFilter createTestSubject() {
+ return new GzipFilter();
+ }
+
+
+
+
+ @Test
+ public void testInit() throws Exception {
+ GzipFilter testSubject;
+ FilterConfig filterConfig = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.init(filterConfig);
+ }
+
+
+ @Test
+ public void testDestroy() throws Exception {
+ GzipFilter testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.destroy();
+ }
+} \ No newline at end of file
diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/fe/client/BackendClientTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/fe/client/BackendClientTest.java
new file mode 100644
index 0000000000..d851899f59
--- /dev/null
+++ b/catalog-fe/src/test/java/org/openecomp/sdc/fe/client/BackendClientTest.java
@@ -0,0 +1,34 @@
+package org.openecomp.sdc.fe.client;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+import javax.net.ssl.HostnameVerifier;
+import javax.ws.rs.container.AsyncResponse;
+
+import org.apache.http.client.methods.HttpPost;
+import org.apache.http.impl.client.CloseableHttpClient;
+import org.eclipse.jetty.http.HttpGenerator.ResponseInfo;
+import org.junit.Test;
+import org.openecomp.sdc.fe.impl.HttpRequestInfo;
+
+
+public class BackendClientTest {
+
+ private BackendClient createTestSubject() {
+ return new BackendClient("", "", "");
+ }
+
+
+ @Test
+ public void testGetHostnameVerifier() throws Exception {
+ BackendClient testSubject;
+ HostnameVerifier result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostnameVerifier();
+ }
+
+
+} \ No newline at end of file
diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/fe/listen/MyObjectMapperProviderTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/fe/listen/MyObjectMapperProviderTest.java
new file mode 100644
index 0000000000..a6885bfe1b
--- /dev/null
+++ b/catalog-fe/src/test/java/org/openecomp/sdc/fe/listen/MyObjectMapperProviderTest.java
@@ -0,0 +1,30 @@
+package org.openecomp.sdc.fe.listen;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+
+public class MyObjectMapperProviderTest {
+
+ private MyObjectMapperProvider createTestSubject() {
+ return new MyObjectMapperProvider();
+ }
+
+
+ @Test
+ public void testGetContext() throws Exception {
+ MyObjectMapperProvider testSubject;
+ Class<?> type = null;
+ ObjectMapper result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getContext(type);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/PortalServletTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/PortalServletTest.java
new file mode 100644
index 0000000000..25a7c6962d
--- /dev/null
+++ b/catalog-fe/src/test/java/org/openecomp/sdc/fe/servlets/PortalServletTest.java
@@ -0,0 +1,35 @@
+package org.openecomp.sdc.fe.servlets;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.junit.Test;
+import org.openecomp.sdc.common.impl.MutableHttpServletRequest;
+
+import io.netty.handler.codec.http2.Http2FrameReader.Configuration;
+
+
+public class PortalServletTest {
+
+ private PortalServlet createTestSubject() {
+ return new PortalServlet();
+ }
+
+
+ @Test
+ public void testDoGet() throws Exception {
+ PortalServlet testSubject;
+ HttpServletRequest request = null;
+ HttpServletResponse response = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.doGet(request, response);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java
new file mode 100644
index 0000000000..67e5280f53
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import java.util.*;
+import org.junit.Assert;
+
+
+public class AdditionalInformationDefinitionTest {
+
+ private AdditionalInformationDefinition createTestSubject() {
+ return new AdditionalInformationDefinition();
+ }
+
+
+ @Test
+ public void testGetParentUniqueId() throws Exception {
+ AdditionalInformationDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentUniqueId();
+ }
+
+
+ @Test
+ public void testSetParentUniqueId() throws Exception {
+ AdditionalInformationDefinition testSubject;
+ String parentUniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentUniqueId(parentUniqueId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalInformationDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java
new file mode 100644
index 0000000000..ae347cabc3
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java
@@ -0,0 +1,111 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactDefinitionTest {
+
+ private ArtifactDefinition createTestSubject() {
+ return new ArtifactDefinition();
+ }
+
+
+ @Test
+ public void testGetPayloadData() throws Exception {
+ ArtifactDefinition testSubject;
+ byte[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPayloadData();
+ }
+
+
+ @Test
+ public void testSetPayload() throws Exception {
+ ArtifactDefinition testSubject;
+ byte[] payloadData = new byte[] { ' ' };
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPayload(payloadData);
+ }
+
+
+ @Test
+ public void testSetPayloadData() throws Exception {
+ ArtifactDefinition testSubject;
+ String payloadData = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ payloadData = null;
+ testSubject.setPayloadData(payloadData);
+
+ // test 2
+ testSubject = createTestSubject();
+ payloadData = "";
+ testSubject.setPayloadData(payloadData);
+ }
+
+
+ @Test
+ public void testGetListHeatParameters() throws Exception {
+ ArtifactDefinition testSubject;
+ List<HeatParameterDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListHeatParameters();
+ }
+
+
+ @Test
+ public void testSetListHeatParameters() throws Exception {
+ ArtifactDefinition testSubject;
+ List<HeatParameterDefinition> properties = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ properties = null;
+ testSubject.setListHeatParameters(properties);
+ }
+
+
+ @Test
+ public void testCheckEsIdExist() throws Exception {
+ ArtifactDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.checkEsIdExist();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ArtifactDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ArtifactDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactUiDownloadDataTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactUiDownloadDataTest.java
new file mode 100644
index 0000000000..6df1079f4a
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactUiDownloadDataTest.java
@@ -0,0 +1,56 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class ArtifactUiDownloadDataTest {
+
+ private ArtifactUiDownloadData createTestSubject() {
+ return new ArtifactUiDownloadData();
+ }
+
+
+ @Test
+ public void testSetArtifactName() throws Exception {
+ ArtifactUiDownloadData testSubject;
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactName(artifactName);
+ }
+
+
+ @Test
+ public void testSetBase64Contents() throws Exception {
+ ArtifactUiDownloadData testSubject;
+ String base64Contents = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBase64Contents(base64Contents);
+ }
+
+
+ @Test
+ public void testGetArtifactName() throws Exception {
+ ArtifactUiDownloadData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactName();
+ }
+
+
+ @Test
+ public void testGetBase64Contents() throws Exception {
+ ArtifactUiDownloadData testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBase64Contents();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapReqDefTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapReqDefTest.java
new file mode 100644
index 0000000000..d0c121fa5f
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapReqDefTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapReqDefTest {
+
+ private CapReqDef createTestSubject() {
+ return new CapReqDef();
+ }
+
+
+ @Test
+ public void testGetCapabilities() throws Exception {
+ CapReqDef testSubject;
+ Map<String, List<CapabilityDefinition>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilities();
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ CapReqDef testSubject;
+ Map<String, List<RequirementDefinition>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetCapabilities() throws Exception {
+ CapReqDef testSubject;
+ Map<String, List<CapabilityDefinition>> capabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilities(capabilities);
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ CapReqDef testSubject;
+ Map<String, List<RequirementDefinition>> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java
new file mode 100644
index 0000000000..007a64a75d
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java
@@ -0,0 +1,73 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import java.util.*;
+import org.junit.Assert;
+
+
+public class CapabilityDefinitionTest {
+
+ private CapabilityDefinition createTestSubject() {
+ return new CapabilityDefinition();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ CapabilityDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ CapabilityDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ CapabilityDefinition testSubject;
+ List<ComponentInstanceProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ CapabilityDefinition testSubject;
+ List<ComponentInstanceProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java
new file mode 100644
index 0000000000..75cc2054e5
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java
@@ -0,0 +1,70 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityTypeDefinitionTest {
+
+ private CapabilityTypeDefinition createTestSubject() {
+ return new CapabilityTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ String derivedFrom = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ Map<String, PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ Map<String, PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstInputsMapTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstInputsMapTest.java
new file mode 100644
index 0000000000..af9f683193
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstInputsMapTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+public class ComponentInstInputsMapTest {
+
+ private ComponentInstInputsMap createTestSubject() {
+ return new ComponentInstInputsMap();
+ }
+
+
+ @Test
+ public void testGetComponentInstanceInputsMap() throws Exception {
+ ComponentInstInputsMap testSubject;
+ Map<String, List<ComponentInstancePropInput>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceInputsMap();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceInputsMap() throws Exception {
+ ComponentInstInputsMap testSubject;
+ Map<String, List<ComponentInstancePropInput>> componentInstanceInputsMap = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceInputsMap(componentInstanceInputsMap);
+ }
+
+
+ @Test
+ public void testGetComponentInstanceProperties() throws Exception {
+ ComponentInstInputsMap testSubject;
+ Map<String, List<ComponentInstancePropInput>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceProperties();
+ }
+
+
+ @Test
+ public void testSetComponentInstancePropInput() throws Exception {
+ ComponentInstInputsMap testSubject;
+ Map<String, List<ComponentInstancePropInput>> componentInstanceProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancePropInput(componentInstanceProperties);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstanceInputTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstanceInputTest.java
new file mode 100644
index 0000000000..07eea5584c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstanceInputTest.java
@@ -0,0 +1,137 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyRule;
+
+
+public class ComponentInstanceInputTest {
+
+ private ComponentInstanceInput createTestSubject() {
+ return new ComponentInstanceInput();
+ }
+
+
+ @Test
+ public void testGetComponentInstanceName() throws Exception {
+ ComponentInstanceInput testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceName();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceName() throws Exception {
+ ComponentInstanceInput testSubject;
+ String componentInstanceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceName(componentInstanceName);
+ }
+
+
+ @Test
+ public void testGetComponentInstanceId() throws Exception {
+ ComponentInstanceInput testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceId();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceId() throws Exception {
+ ComponentInstanceInput testSubject;
+ String componentInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceId(componentInstanceId);
+ }
+
+
+ @Test
+ public void testGetValueUniqueUid() throws Exception {
+ ComponentInstanceInput testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueUniqueUid();
+ }
+
+
+ @Test
+ public void testSetValueUniqueUid() throws Exception {
+ ComponentInstanceInput testSubject;
+ String valueUniqueUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValueUniqueUid(valueUniqueUid);
+ }
+
+
+ @Test
+ public void testGetPath() throws Exception {
+ ComponentInstanceInput testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPath();
+ }
+
+
+ @Test
+ public void testSetPath() throws Exception {
+ ComponentInstanceInput testSubject;
+ List<String> path = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPath(path);
+ }
+
+
+ @Test
+ public void testGetRules() throws Exception {
+ ComponentInstanceInput testSubject;
+ List<PropertyRule> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRules();
+ }
+
+
+ @Test
+ public void testSetRules() throws Exception {
+ ComponentInstanceInput testSubject;
+ List<PropertyRule> rules = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRules(rules);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ComponentInstanceInput testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropInputTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropInputTest.java
new file mode 100644
index 0000000000..69b3f25f5e
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropInputTest.java
@@ -0,0 +1,68 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ComponentInstancePropInputTest {
+
+ private ComponentInstancePropInput createTestSubject() {
+ return new ComponentInstancePropInput();
+ }
+
+
+ @Test
+ public void testGetPropertiesName() throws Exception {
+ ComponentInstancePropInput testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertiesName();
+ }
+
+
+ @Test
+ public void testSetPropertiesName() throws Exception {
+ ComponentInstancePropInput testSubject;
+ String propertiesName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertiesName(propertiesName);
+ }
+
+
+ @Test
+ public void testGetInput() throws Exception {
+ ComponentInstancePropInput testSubject;
+ PropertyDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInput();
+ }
+
+
+ @Test
+ public void testSetInput() throws Exception {
+ ComponentInstancePropInput testSubject;
+ PropertyDefinition input = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInput(input);
+ }
+
+
+ @Test
+ public void testGetParsedPropNames() throws Exception {
+ ComponentInstancePropInput testSubject;
+ String[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParsedPropNames();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java
new file mode 100644
index 0000000000..4718847559
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java
@@ -0,0 +1,137 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyRule;
+
+
+public class ComponentInstancePropertyTest {
+
+ private ComponentInstanceProperty createTestSubject() {
+ return new ComponentInstanceProperty();
+ }
+
+
+ @Test
+ public void testGetComponentInstanceName() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceName();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceName() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String componentInstanceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceName(componentInstanceName);
+ }
+
+
+ @Test
+ public void testGetComponentInstanceId() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceId();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceId() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String componentInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceId(componentInstanceId);
+ }
+
+
+ @Test
+ public void testGetValueUniqueUid() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueUniqueUid();
+ }
+
+
+ @Test
+ public void testSetValueUniqueUid() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String valueUniqueUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValueUniqueUid(valueUniqueUid);
+ }
+
+
+ @Test
+ public void testGetPath() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPath();
+ }
+
+
+ @Test
+ public void testSetPath() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<String> path = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPath(path);
+ }
+
+
+ @Test
+ public void testGetRules() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<PropertyRule> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRules();
+ }
+
+
+ @Test
+ public void testSetRules() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<PropertyRule> rules = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRules(rules);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java
new file mode 100644
index 0000000000..f728aac968
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.components.ComponentMetadataDataDefinition;
+
+
+public class ComponentMetadataDefinitionTest {
+
+ private ComponentMetadataDefinition createTestSubject() {
+ return new ComponentMetadataDefinition();
+ }
+
+
+ @Test
+ public void testGetMetadataDataDefinition() throws Exception {
+ ComponentMetadataDefinition testSubject;
+ ComponentMetadataDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataDataDefinition();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ComponentMetadataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ComponentMetadataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/CsarInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CsarInfoTest.java
new file mode 100644
index 0000000000..31864c479c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CsarInfoTest.java
@@ -0,0 +1,203 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.Map;
+import java.util.Queue;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CsarInfoTest {
+
+ private CsarInfo createTestSubject() {
+ return new CsarInfo("", new User(), "", null, "", false);
+ }
+
+
+ @Test
+ public void testGetVfResourceName() throws Exception {
+ CsarInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfResourceName();
+ }
+
+
+ @Test
+ public void testSetVfResourceName() throws Exception {
+ CsarInfo testSubject;
+ String vfResourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVfResourceName(vfResourceName);
+ }
+
+
+ @Test
+ public void testGetModifier() throws Exception {
+ CsarInfo testSubject;
+ User result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModifier();
+ }
+
+
+ @Test
+ public void testSetModifier() throws Exception {
+ CsarInfo testSubject;
+ User modifier = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModifier(modifier);
+ }
+
+
+ @Test
+ public void testGetCsarUUID() throws Exception {
+ CsarInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCsarUUID();
+ }
+
+
+ @Test
+ public void testSetCsarUUID() throws Exception {
+ CsarInfo testSubject;
+ String csarUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCsarUUID(csarUUID);
+ }
+
+
+ @Test
+ public void testGetCsar() throws Exception {
+ CsarInfo testSubject;
+ Map<String, byte[]> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCsar();
+ }
+
+
+ @Test
+ public void testSetCsar() throws Exception {
+ CsarInfo testSubject;
+ Map<String, byte[]> csar = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCsar(csar);
+ }
+
+
+ @Test
+ public void testGetMainTemplateContent() throws Exception {
+ CsarInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMainTemplateContent();
+ }
+
+
+ @Test
+ public void testGetMappedToscaMainTemplate() throws Exception {
+ CsarInfo testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMappedToscaMainTemplate();
+ }
+
+
+ @Test
+ public void testGetCreatedNodesToscaResourceNames() throws Exception {
+ CsarInfo testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatedNodesToscaResourceNames();
+ }
+
+
+ @Test
+ public void testSetCreatedNodesToscaResourceNames() throws Exception {
+ CsarInfo testSubject;
+ Map<String, String> createdNodesToscaResourceNames = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreatedNodesToscaResourceNames(createdNodesToscaResourceNames);
+ }
+
+
+ @Test
+ public void testGetCvfcToCreateQueue() throws Exception {
+ CsarInfo testSubject;
+ Queue<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCvfcToCreateQueue();
+ }
+
+
+ @Test
+ public void testSetCvfcToCreateQueue() throws Exception {
+ CsarInfo testSubject;
+ Queue<String> cvfcToCreateQueue = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCvfcToCreateQueue(cvfcToCreateQueue);
+ }
+
+
+ @Test
+ public void testIsUpdate() throws Exception {
+ CsarInfo testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isUpdate();
+ }
+
+
+ @Test
+ public void testSetUpdate() throws Exception {
+ CsarInfo testSubject;
+ boolean isUpdate = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUpdate(isUpdate);
+ }
+
+
+ @Test
+ public void testGetCreatedNodes() throws Exception {
+ CsarInfo testSubject;
+ Map<String, Resource> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatedNodes();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java
new file mode 100644
index 0000000000..996e3a7bd8
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java
@@ -0,0 +1,94 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import java.util.*;
+import org.junit.Assert;
+
+
+public class DataTypeDefinitionTest {
+
+ private DataTypeDefinition createTestSubject() {
+ return new DataTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetConstraints() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyConstraint> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConstraints();
+ }
+
+
+ @Test
+ public void testSetConstraints() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyConstraint> constraints = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConstraints(constraints);
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ DataTypeDefinition testSubject;
+ DataTypeDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ DataTypeDefinition testSubject;
+ DataTypeDefinition derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DataTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/FunctionalMenuInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/FunctionalMenuInfoTest.java
new file mode 100644
index 0000000000..3df5b58955
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/FunctionalMenuInfoTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class FunctionalMenuInfoTest {
+
+ private FunctionalMenuInfo createTestSubject() {
+ return new FunctionalMenuInfo();
+ }
+
+
+ @Test
+ public void testGetFunctionalMenu() throws Exception {
+ FunctionalMenuInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFunctionalMenu();
+ }
+
+
+ @Test
+ public void testSetFunctionalMenu() throws Exception {
+ FunctionalMenuInfo testSubject;
+ String functionalMenu = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFunctionalMenu(functionalMenu);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ FunctionalMenuInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java
new file mode 100644
index 0000000000..6cae685644
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java
@@ -0,0 +1,50 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupDefinitionTest {
+
+ private GroupDefinition createTestSubject() {
+ return new GroupDefinition();
+ }
+
+
+ @Test
+ public void testConvertToGroupProperties() throws Exception {
+ GroupDefinition testSubject;
+ List<GroupProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertToGroupProperties();
+ }
+
+
+ @Test
+ public void testConvertFromGroupProperties() throws Exception {
+ GroupDefinition testSubject;
+ List<GroupProperty> properties = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ properties = null;
+ testSubject.convertFromGroupProperties(properties);
+ }
+
+
+ @Test
+ public void testIsSamePrefix() throws Exception {
+ GroupDefinition testSubject;
+ String resourceName = "";
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isSamePrefix(resourceName);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupPropertyTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupPropertyTest.java
new file mode 100644
index 0000000000..6f8f53b991
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupPropertyTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupPropertyTest {
+
+ private GroupProperty createTestSubject() {
+ return new GroupProperty();
+ }
+
+
+ @Test
+ public void testGetValueUniqueUid() throws Exception {
+ GroupProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueUniqueUid();
+ }
+
+
+ @Test
+ public void testSetValueUniqueUid() throws Exception {
+ GroupProperty testSubject;
+ String valueUniqueUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValueUniqueUid(valueUniqueUid);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java
new file mode 100644
index 0000000000..63f9e624cb
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java
@@ -0,0 +1,50 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import java.util.*;
+import org.junit.Assert;
+
+
+public class GroupTypeDefinitionTest {
+
+ private GroupTypeDefinition createTestSubject() {
+ return new GroupTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ GroupTypeDefinition testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ GroupTypeDefinition testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java
new file mode 100644
index 0000000000..68ff7ed6d3
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InputDefinitionTest {
+
+ private InputDefinition createTestSubject() {
+ return new InputDefinition();
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceInput> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceInput> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
new file mode 100644
index 0000000000..88c253360c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InterfaceDefinitionTest {
+
+ private InterfaceDefinition createTestSubject() {
+ return new InterfaceDefinition();
+ }
+
+ @Test
+ public void testIsDefinition() throws Exception {
+ InterfaceDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDefinition();
+ }
+
+ @Test
+ public void testSetDefinition() throws Exception {
+ InterfaceDefinition testSubject;
+ boolean definition = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefinition(definition);
+ }
+
+ @Test
+ public void testGetOperationsMap() throws Exception {
+ InterfaceDefinition testSubject;
+ Map<String, Operation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOperationsMap();
+ }
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ InterfaceDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/NodeTypeInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/NodeTypeInfoTest.java
new file mode 100644
index 0000000000..9a95a879df
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/NodeTypeInfoTest.java
@@ -0,0 +1,137 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class NodeTypeInfoTest {
+
+ private NodeTypeInfo createTestSubject() {
+ return new NodeTypeInfo();
+ }
+
+
+ @Test
+ public void testGetUnmarkedCopy() throws Exception {
+ NodeTypeInfo testSubject;
+ NodeTypeInfo result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUnmarkedCopy();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ NodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ NodeTypeInfo testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetTemplateFileName() throws Exception {
+ NodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTemplateFileName();
+ }
+
+
+ @Test
+ public void testSetTemplateFileName() throws Exception {
+ NodeTypeInfo testSubject;
+ String templateFileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTemplateFileName(templateFileName);
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ NodeTypeInfo testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ NodeTypeInfo testSubject;
+ List<String> derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testIsNested() throws Exception {
+ NodeTypeInfo testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isNested();
+ }
+
+
+ @Test
+ public void testSetNested() throws Exception {
+ NodeTypeInfo testSubject;
+ boolean isNested = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNested(isNested);
+ }
+
+
+ @Test
+ public void testGetMappedToscaTemplate() throws Exception {
+ NodeTypeInfo testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMappedToscaTemplate();
+ }
+
+
+ @Test
+ public void testSetMappedToscaTemplate() throws Exception {
+ NodeTypeInfo testSubject;
+ Map<String, Object> mappedToscaTemplate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMappedToscaTemplate(mappedToscaTemplate);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/PointTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PointTest.java
new file mode 100644
index 0000000000..8f25cfd5e4
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PointTest.java
@@ -0,0 +1,68 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PointTest {
+
+ private Point createTestSubject() {
+ return new Point();
+ }
+
+
+ @Test
+ public void testGetX() throws Exception {
+ Point testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getX();
+ }
+
+
+ @Test
+ public void testSetX() throws Exception {
+ Point testSubject;
+ String x = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setX(x);
+ }
+
+
+ @Test
+ public void testGetY() throws Exception {
+ Point testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getY();
+ }
+
+
+ @Test
+ public void testSetY() throws Exception {
+ Point testSubject;
+ String y = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setY(y);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ Point testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java
new file mode 100644
index 0000000000..3ba8f61826
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PolicyTypeDefinitionTest {
+
+ private PolicyTypeDefinition createTestSubject() {
+ return new PolicyTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ PolicyTypeDefinition testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ PolicyTypeDefinition testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PolicyTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java
new file mode 100644
index 0000000000..64ee3db41b
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java
@@ -0,0 +1,118 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.ProductMetadataDataDefinition;
+
+
+public class ProductTest {
+
+ private Product createTestSubject() {
+ return new Product();
+ }
+
+
+ @Test
+ public void testGetFullName() throws Exception {
+ Product testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFullName();
+ }
+
+
+ @Test
+ public void testSetFullName() throws Exception {
+ Product testSubject;
+ String fullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFullName(fullName);
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ Product testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ Product testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testGetContacts() throws Exception {
+ Product testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getContacts();
+ }
+
+
+ @Test
+ public void testSetContacts() throws Exception {
+ Product testSubject;
+ List<String> contacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setContacts(contacts);
+ }
+
+
+ @Test
+ public void testAddContact() throws Exception {
+ Product testSubject;
+ String contact = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addContact(contact);
+ }
+
+
+ @Test
+ public void testGetIsActive() throws Exception {
+ Product testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsActive();
+ }
+
+
+ @Test
+ public void testSetIsActive() throws Exception {
+ Product testSubject;
+ Boolean isActive = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsActive(isActive);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java
new file mode 100644
index 0000000000..81df0e223d
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java
@@ -0,0 +1,86 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PropertyDefinitionTest {
+
+ private PropertyDefinition createTestSubject() {
+ return new PropertyDefinition();
+ }
+
+ @Test
+ public void testGetConstraints() throws Exception {
+ PropertyDefinition testSubject;
+ List<PropertyConstraint> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConstraints();
+ }
+
+ @Test
+ public void testSetConstraints() throws Exception {
+ PropertyDefinition testSubject;
+ List<PropertyConstraint> constraints = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConstraints(constraints);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ PropertyDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testIsDefinition() throws Exception {
+ PropertyDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDefinition();
+ }
+
+ @Test
+ public void testSetDefinition() throws Exception {
+ PropertyDefinition testSubject;
+ boolean definition = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefinition(definition);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ PropertyDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+ @Test
+ public void testEquals() throws Exception {
+ PropertyDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementAndRelationshipPairTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementAndRelationshipPairTest.java
new file mode 100644
index 0000000000..bc03848b9c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementAndRelationshipPairTest.java
@@ -0,0 +1,216 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.RelationshipInstDataDefinition;
+
+
+public class RequirementAndRelationshipPairTest {
+
+ private RequirementAndRelationshipPair createTestSubject() {
+ return new RequirementAndRelationshipPair();
+ }
+
+
+ @Test
+ public void testGetRequirement() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirement();
+ }
+
+
+ @Test
+ public void testSetRequirement() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String requirement = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirement(requirement);
+ }
+
+
+ @Test
+ public void testGetCapabilityOwnerId() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityOwnerId();
+ }
+
+
+ @Test
+ public void testSetCapabilityOwnerId() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String capabilityOwnerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilityOwnerId(capabilityOwnerId);
+ }
+
+
+ @Test
+ public void testGetRequirementOwnerId() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementOwnerId();
+ }
+
+
+ @Test
+ public void testSetRequirementOwnerId() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String requirementOwnerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementOwnerId(requirementOwnerId);
+ }
+
+
+ @Test
+ public void testGetRelationship() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ RelationshipImpl result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationship();
+ }
+
+
+ @Test
+ public void testSetRelationships() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ RelationshipImpl relationship = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationships(relationship);
+ }
+
+
+ @Test
+ public void testGetCapability() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapability();
+ }
+
+
+ @Test
+ public void testSetCapability() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String capability = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapability(capability);
+ }
+
+
+ @Test
+ public void testGetCapabilityUid() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityUid();
+ }
+
+
+ @Test
+ public void testSetCapabilityUid() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String capabilityUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilityUid(capabilityUid);
+ }
+
+
+ @Test
+ public void testGetRequirementUid() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementUid();
+ }
+
+
+ @Test
+ public void testSetRequirementUid() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String requirementUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementUid(requirementUid);
+ }
+
+
+ @Test
+ public void testGetId() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getId();
+ }
+
+
+ @Test
+ public void testSetId() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String id = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setId(id);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testEqualsTo() throws Exception {
+ RequirementAndRelationshipPair testSubject;
+ RelationshipInstDataDefinition savedRelation = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ savedRelation = null;
+ result = testSubject.equalsTo(savedRelation);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementImplDefTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementImplDefTest.java
new file mode 100644
index 0000000000..ea747b3a48
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementImplDefTest.java
@@ -0,0 +1,114 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RequirementImplDefTest {
+
+ private RequirementImplDef createTestSubject() {
+ return new RequirementImplDef();
+ }
+
+
+ @Test
+ public void testGetNodeId() throws Exception {
+ RequirementImplDef testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeId();
+ }
+
+
+ @Test
+ public void testSetNodeId() throws Exception {
+ RequirementImplDef testSubject;
+ String nodeId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNodeId(nodeId);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ RequirementImplDef testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ RequirementImplDef testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetRequirementProperties() throws Exception {
+ RequirementImplDef testSubject;
+ Map<String, CapabiltyInstance> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementProperties();
+ }
+
+
+ @Test
+ public void testSetRequirementProperties() throws Exception {
+ RequirementImplDef testSubject;
+ Map<String, CapabiltyInstance> requirementProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementProperties(requirementProperties);
+ }
+
+
+ @Test
+ public void testGetPoint() throws Exception {
+ RequirementImplDef testSubject;
+ Point result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPoint();
+ }
+
+
+ @Test
+ public void testSetPoint() throws Exception {
+ RequirementImplDef testSubject;
+ Point point = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPoint(point);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RequirementImplDef testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementInstanceTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementInstanceTest.java
new file mode 100644
index 0000000000..72f6ee2716
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/RequirementInstanceTest.java
@@ -0,0 +1,68 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RequirementInstanceTest {
+
+ private RequirementInstance createTestSubject() {
+ return new RequirementInstance();
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ RequirementInstance testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ RequirementInstance testSubject;
+ String node = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetRelationship() throws Exception {
+ RequirementInstance testSubject;
+ RelationshipImpl result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationship();
+ }
+
+
+ @Test
+ public void testSetRelationship() throws Exception {
+ RequirementInstance testSubject;
+ RelationshipImpl relationship = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationship(relationship);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RequirementInstance testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceInstanceHeatParameterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceInstanceHeatParameterTest.java
new file mode 100644
index 0000000000..50c423b847
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ResourceInstanceHeatParameterTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ResourceInstanceHeatParameterTest {
+
+ private ResourceInstanceHeatParameter createTestSubject() {
+ return new ResourceInstanceHeatParameter();
+ }
+
+
+ @Test
+ public void testGetValueUniqueId() throws Exception {
+ ResourceInstanceHeatParameter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueUniqueId();
+ }
+
+
+ @Test
+ public void testSetValueUniqueId() throws Exception {
+ ResourceInstanceHeatParameter testSubject;
+ String valueUniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValueUniqueId(valueUniqueId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ResourceInstanceHeatParameter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadCapInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadCapInfoTest.java
new file mode 100644
index 0000000000..655df75cc4
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadCapInfoTest.java
@@ -0,0 +1,81 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class UploadCapInfoTest {
+
+ private UploadCapInfo createTestSubject() {
+ return new UploadCapInfo();
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ UploadCapInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ UploadCapInfo testSubject;
+ String node = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetValidSourceTypes() throws Exception {
+ UploadCapInfo testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValidSourceTypes();
+ }
+
+
+ @Test
+ public void testSetValidSourceTypes() throws Exception {
+ UploadCapInfo testSubject;
+ List<String> validSourceTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValidSourceTypes(validSourceTypes);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ UploadCapInfo testSubject;
+ List<UploadPropInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ UploadCapInfo testSubject;
+ List<UploadPropInfo> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadPropInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadPropInfoTest.java
new file mode 100644
index 0000000000..0b3e9301cd
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadPropInfoTest.java
@@ -0,0 +1,104 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.GetInputValueDataDefinition;
+
+
+public class UploadPropInfoTest {
+
+ private UploadPropInfo createTestSubject() {
+ return new UploadPropInfo();
+ }
+
+
+ @Test
+ public void testGetGet_input() throws Exception {
+ UploadPropInfo testSubject;
+ List<GetInputValueDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGet_input();
+ }
+
+
+ @Test
+ public void testSetGet_input() throws Exception {
+ UploadPropInfo testSubject;
+ List<GetInputValueDataDefinition> get_input = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGet_input(get_input);
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ UploadPropInfo testSubject;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ UploadPropInfo testSubject;
+ Object value = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ UploadPropInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ UploadPropInfo testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testIsPassword() throws Exception {
+ UploadPropInfo testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isPassword();
+ }
+
+
+ @Test
+ public void testSetPassword() throws Exception {
+ UploadPropInfo testSubject;
+ boolean password = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPassword(password);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadReqInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadReqInfoTest.java
new file mode 100644
index 0000000000..eb1306c597
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/UploadReqInfoTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class UploadReqInfoTest {
+
+ private UploadReqInfo createTestSubject() {
+ return new UploadReqInfo();
+ }
+
+
+ @Test
+ public void testGetCapabilityName() throws Exception {
+ UploadReqInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityName();
+ }
+
+
+ @Test
+ public void testSetCapabilityName() throws Exception {
+ UploadReqInfo testSubject;
+ String capabilityName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilityName(capabilityName);
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ UploadReqInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ UploadReqInfo testSubject;
+ String node = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/cache/DaoInfoTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/cache/DaoInfoTest.java
new file mode 100644
index 0000000000..1428a86342
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/cache/DaoInfoTest.java
@@ -0,0 +1,36 @@
+package org.openecomp.sdc.be.model.cache;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
+
+
+public class DaoInfoTest {
+
+ private DaoInfo createTestSubject() {
+ return new DaoInfo(new ToscaOperationFacade(), new ComponentCache());
+ }
+
+
+ @Test
+ public void testGetToscaOperationFacade() throws Exception {
+ DaoInfo testSubject;
+ ToscaOperationFacade result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaOperationFacade();
+ }
+
+
+ @Test
+ public void testGetComponentCache() throws Exception {
+ DaoInfo testSubject;
+ ComponentCache result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentCache();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java
new file mode 100644
index 0000000000..3bb589a976
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java
@@ -0,0 +1,61 @@
+package org.openecomp.sdc.be.model.category;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import java.util.*;
+import org.junit.Assert;
+
+
+public class CategoryDefinitionTest {
+
+ private CategoryDefinition createTestSubject() {
+ return new CategoryDefinition();
+ }
+
+
+ @Test
+ public void testGetSubcategories() throws Exception {
+ CategoryDefinition testSubject;
+ List<SubCategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubcategories();
+ }
+
+
+ @Test
+ public void testSetSubcategories() throws Exception {
+ CategoryDefinition testSubject;
+ List<SubCategoryDefinition> subcategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubcategories(subcategories);
+ }
+
+
+ @Test
+ public void testAddSubCategory() throws Exception {
+ CategoryDefinition testSubject;
+ SubCategoryDefinition subcategory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addSubCategory(subcategory);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CategoryDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java
new file mode 100644
index 0000000000..f9acabdc4b
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.model.category;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SubCategoryDefinitionTest {
+
+ private SubCategoryDefinition createTestSubject() {
+ return new SubCategoryDefinition();
+ }
+
+
+ @Test
+ public void testGetGroupings() throws Exception {
+ SubCategoryDefinition testSubject;
+ List<GroupingDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupings();
+ }
+
+
+ @Test
+ public void testSetGroupings() throws Exception {
+ SubCategoryDefinition testSubject;
+ List<GroupingDefinition> groupingDefinitions = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupings(groupingDefinitions);
+ }
+
+
+ @Test
+ public void testAddGrouping() throws Exception {
+ SubCategoryDefinition testSubject;
+ GroupingDefinition groupingDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addGrouping(groupingDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ SubCategoryDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/NodeTypeTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/NodeTypeTest.java
new file mode 100644
index 0000000000..ba7b253463
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/NodeTypeTest.java
@@ -0,0 +1,175 @@
+package org.openecomp.sdc.be.model.jsontitan.datamodel;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.InterfaceDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.ListCapabilityDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.ListRequirementDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.MapPropertiesDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
+
+
+public class NodeTypeTest {
+
+ private NodeType createTestSubject() {
+ return new NodeType();
+ }
+
+
+ @Test
+ public void testGetDerivedList() throws Exception {
+ NodeType testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedList();
+ }
+
+
+ @Test
+ public void testSetDerivedList() throws Exception {
+ NodeType testSubject;
+ List<String> derivedList = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedList(derivedList);
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ NodeType testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ NodeType testSubject;
+ List<String> derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetAttributes() throws Exception {
+ NodeType testSubject;
+ Map<String, PropertyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAttributes();
+ }
+
+
+ @Test
+ public void testSetAttributes() throws Exception {
+ NodeType testSubject;
+ Map<String, PropertyDataDefinition> attributes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAttributes(attributes);
+ }
+
+
+ @Test
+ public void testGetCapabilties() throws Exception {
+ NodeType testSubject;
+ Map<String, ListCapabilityDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilties();
+ }
+
+
+ @Test
+ public void testSetCapabilties() throws Exception {
+ NodeType testSubject;
+ Map<String, ListCapabilityDataDefinition> capabilties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilties(capabilties);
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ NodeType testSubject;
+ Map<String, ListRequirementDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ NodeType testSubject;
+ Map<String, ListRequirementDataDefinition> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+
+
+ @Test
+ public void testGetCapabiltiesProperties() throws Exception {
+ NodeType testSubject;
+ Map<String, MapPropertiesDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabiltiesProperties();
+ }
+
+
+ @Test
+ public void testSetCapabiltiesProperties() throws Exception {
+ NodeType testSubject;
+ Map<String, MapPropertiesDataDefinition> capabiltiesProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabiltiesProperties(capabiltiesProperties);
+ }
+
+
+ @Test
+ public void testGetInterfaceArtifacts() throws Exception {
+ NodeType testSubject;
+ Map<String, InterfaceDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaceArtifacts();
+ }
+
+
+ @Test
+ public void testSetInterfaceArtifacts() throws Exception {
+ NodeType testSubject;
+ Map<String, InterfaceDataDefinition> interfaceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaceArtifacts(interfaceArtifacts);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/TopologyTemplateTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/TopologyTemplateTest.java
new file mode 100644
index 0000000000..bd5a16a844
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/TopologyTemplateTest.java
@@ -0,0 +1,416 @@
+package org.openecomp.sdc.be.model.jsontitan.datamodel;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.ArtifactDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.ComponentInstanceDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.CompositionDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.GroupDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.MapArtifactDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.MapCapabiltyProperty;
+import org.openecomp.sdc.be.datatypes.elements.MapGroupsDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.MapListCapabiltyDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.MapListRequirementDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.MapPropertiesDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
+import org.openecomp.sdc.be.datatypes.elements.RelationshipInstDataDefinition;
+import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
+
+
+public class TopologyTemplateTest {
+
+ private TopologyTemplate createTestSubject() {
+ return new TopologyTemplate();
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, PropertyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, PropertyDataDefinition> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+
+
+ @Test
+ public void testGetInstInputs() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapPropertiesDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstInputs();
+ }
+
+
+ @Test
+ public void testSetInstInputs() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapPropertiesDataDefinition> instInputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstInputs(instInputs);
+ }
+
+
+ @Test
+ public void testGetHeatParameters() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, ? extends ToscaDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatParameters();
+ }
+
+
+ @Test
+ public void testSetHeatParameters() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, ? extends ToscaDataDefinition> heatParameters = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatParameters(heatParameters);
+ }
+
+
+ @Test
+ public void testGetInstAttributes() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapPropertiesDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstAttributes();
+ }
+
+
+ @Test
+ public void testSetInstAttributes() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapPropertiesDataDefinition> instAttributes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstAttributes(instAttributes);
+ }
+
+
+ @Test
+ public void testGetInstProperties() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapPropertiesDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstProperties();
+ }
+
+
+ @Test
+ public void testSetInstProperties() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapPropertiesDataDefinition> instProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstProperties(instProperties);
+ }
+
+
+ @Test
+ public void testGetGroups() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, GroupDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroups();
+ }
+
+
+ @Test
+ public void testSetGroups() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, GroupDataDefinition> groups = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroups(groups);
+ }
+
+
+ @Test
+ public void testGetInstGroups() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapGroupsDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstGroups();
+ }
+
+
+ @Test
+ public void testSetInstGroups() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapGroupsDataDefinition> instGroups = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstGroups(instGroups);
+ }
+
+
+ @Test
+ public void testGetServiceApiArtifacts() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, ArtifactDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceApiArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceApiArtifacts() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, ArtifactDataDefinition> serviceApiArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceApiArtifacts(serviceApiArtifacts);
+ }
+
+
+ @Test
+ public void testGetCompositions() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, CompositionDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCompositions();
+ }
+
+
+ @Test
+ public void testSetCompositions() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, CompositionDataDefinition> compositions = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCompositions(compositions);
+ }
+
+
+ @Test
+ public void testGetCalculatedCapabilities() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListCapabiltyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCalculatedCapabilities();
+ }
+
+
+ @Test
+ public void testSetCalculatedCapabilities() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListCapabiltyDataDefinition> calculatedCapabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCalculatedCapabilities(calculatedCapabilities);
+ }
+
+
+ @Test
+ public void testGetCalculatedRequirements() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListRequirementDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCalculatedRequirements();
+ }
+
+
+ @Test
+ public void testSetCalculatedRequirements() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListRequirementDataDefinition> calculatedRequirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCalculatedRequirements(calculatedRequirements);
+ }
+
+
+ @Test
+ public void testGetFullfilledCapabilities() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListCapabiltyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFullfilledCapabilities();
+ }
+
+
+ @Test
+ public void testSetFullfilledCapabilities() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListCapabiltyDataDefinition> fullfilledCapabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFullfilledCapabilities(fullfilledCapabilities);
+ }
+
+
+ @Test
+ public void testGetFullfilledRequirements() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListRequirementDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFullfilledRequirements();
+ }
+
+
+ @Test
+ public void testSetFullfilledRequirements() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapListRequirementDataDefinition> fullfilledRequirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFullfilledRequirements(fullfilledRequirements);
+ }
+
+
+ @Test
+ public void testGetInstDeploymentArtifacts() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapArtifactDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetInstDeploymentArtifacts() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapArtifactDataDefinition> instDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstDeploymentArtifacts(instDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetCalculatedCapabilitiesProperties() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapCapabiltyProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCalculatedCapabilitiesProperties();
+ }
+
+
+ @Test
+ public void testSetCalculatedCapabilitiesProperties() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapCapabiltyProperty> calculatedCapabilitiesProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCalculatedCapabilitiesProperties(calculatedCapabilitiesProperties);
+ }
+
+
+ @Test
+ public void testGetInstanceArtifacts() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapArtifactDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstanceArtifacts();
+ }
+
+
+ @Test
+ public void testSetInstanceArtifacts() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, MapArtifactDataDefinition> instanceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstanceArtifacts(instanceArtifacts);
+ }
+
+
+
+
+
+ @Test
+ public void testGetComponentInstances() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, ComponentInstanceDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstances();
+ }
+
+
+ @Test
+ public void testSetComponentInstances() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, ComponentInstanceDataDefinition> instances = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstances(instances);
+ }
+
+
+ @Test
+ public void testGetRelations() throws Exception {
+ TopologyTemplate testSubject;
+ Map<String, RelationshipInstDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelations();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/ToscaElementTypeEnumTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/ToscaElementTypeEnumTest.java
new file mode 100644
index 0000000000..671eeb2219
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/datamodel/ToscaElementTypeEnumTest.java
@@ -0,0 +1,28 @@
+package org.openecomp.sdc.be.model.jsontitan.datamodel;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
+
+
+public class ToscaElementTypeEnumTest {
+
+ private ToscaElementTypeEnum createTestSubject() {
+ return ToscaElementTypeEnum.TopologyTemplate;
+ }
+
+
+
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ ToscaElementTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/enums/JsonConstantKeysEnumTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/enums/JsonConstantKeysEnumTest.java
new file mode 100644
index 0000000000..11faa42b79
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/enums/JsonConstantKeysEnumTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.be.model.jsontitan.enums;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class JsonConstantKeysEnumTest {
+
+ private JsonConstantKeysEnum createTestSubject() {
+ return JsonConstantKeysEnum.COMPOSITION;
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ JsonConstantKeysEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/operations/ToscaElementOperationTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/operations/ToscaElementOperationTest.java
index 339023f9a4..806c22a8fb 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/operations/ToscaElementOperationTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/operations/ToscaElementOperationTest.java
@@ -1,7 +1,14 @@
package org.openecomp.sdc.be.model.jsontitan.operations;
-import fj.data.Either;
-import org.apache.cassandra.cql3.CQL3Type;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
@@ -21,10 +28,7 @@ import org.openecomp.sdc.be.model.operations.api.StorageOperationStatus;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
-import java.util.*;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
+import fj.data.Either;
/**
* Created by chaya on 6/12/2017.
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/ToscaTypeTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/ToscaTypeTest.java
new file mode 100644
index 0000000000..0cea40fcec
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/ToscaTypeTest.java
@@ -0,0 +1,67 @@
+package org.openecomp.sdc.be.model.tosca;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class ToscaTypeTest {
+
+ private ToscaType createTestSubject() {
+ return ToscaType.BOOLEAN;
+ }
+
+
+ @Test
+ public void testFromYamlTypeName() throws Exception {
+ String typeName = "";
+ ToscaType result;
+
+ // test 1
+ typeName = null;
+ result = ToscaType.fromYamlTypeName(typeName);
+ Assert.assertEquals(null, result);
+
+ // test 2
+ typeName = "";
+ result = ToscaType.fromYamlTypeName(typeName);
+ Assert.assertEquals(null, result);
+ }
+
+
+ @Test
+ public void testIsValidValue() throws Exception {
+ ToscaType testSubject;
+ String value = "";
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isValidValue(value);
+ }
+
+
+
+ @Test
+ public void testConvert() throws Exception {
+ ToscaType testSubject;
+ String value = "";
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convert(value);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ToscaType testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/EqualConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/EqualConstraintTest.java
new file mode 100644
index 0000000000..8978c405b0
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/EqualConstraintTest.java
@@ -0,0 +1,31 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.tosca.ToscaType;
+
+
+public class EqualConstraintTest {
+
+ private EqualConstraint createTestSubject() {
+ return new EqualConstraint("");
+ }
+
+
+
+
+ @Test
+ public void testValidate() throws Exception {
+ EqualConstraint testSubject;
+ Object propertyValue = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ propertyValue = null;
+ testSubject.validate(propertyValue);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/GreaterThanConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/GreaterThanConstraintTest.java
new file mode 100644
index 0000000000..001b09c517
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/GreaterThanConstraintTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.tosca.ToscaType;
+
+public class GreaterThanConstraintTest {
+
+ private GreaterThanConstraint createTestSubject() {
+ return new GreaterThanConstraint("");
+ }
+
+
+
+
+
+
+ @Test
+ public void testGetGreaterThan() throws Exception {
+ GreaterThanConstraint testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGreaterThan();
+ }
+
+
+ @Test
+ public void testSetGreaterThan() throws Exception {
+ GreaterThanConstraint testSubject;
+ String greaterThan = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGreaterThan(greaterThan);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/InRangeConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/InRangeConstraintTest.java
new file mode 100644
index 0000000000..f7a040cf94
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/InRangeConstraintTest.java
@@ -0,0 +1,61 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.tosca.ToscaType;
+
+
+public class InRangeConstraintTest {
+
+ private InRangeConstraint createTestSubject() {
+ return new InRangeConstraint(null);
+ }
+
+
+
+
+
+ @Test
+ public void testGetRangeMinValue() throws Exception {
+ InRangeConstraint testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRangeMinValue();
+ }
+
+
+ @Test
+ public void testSetRangeMinValue() throws Exception {
+ InRangeConstraint testSubject;
+ String minValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRangeMinValue(minValue);
+ }
+
+
+ @Test
+ public void testGetRangeMaxValue() throws Exception {
+ InRangeConstraint testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRangeMaxValue();
+ }
+
+
+ @Test
+ public void testSetRangeMaxValue() throws Exception {
+ InRangeConstraint testSubject;
+ String maxValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRangeMaxValue(maxValue);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LengthConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LengthConstraintTest.java
new file mode 100644
index 0000000000..87781f0260
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LengthConstraintTest.java
@@ -0,0 +1,38 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class LengthConstraintTest {
+
+ private LengthConstraint createTestSubject() {
+ return new LengthConstraint();
+ }
+
+
+
+
+
+ @Test
+ public void testGetLength() throws Exception {
+ LengthConstraint testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLength();
+ }
+
+
+ @Test
+ public void testSetLength() throws Exception {
+ LengthConstraint testSubject;
+ Integer length = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLength(length);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LessOrEqualConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LessOrEqualConstraintTest.java
new file mode 100644
index 0000000000..6430802948
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LessOrEqualConstraintTest.java
@@ -0,0 +1,41 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.tosca.ToscaType;
+
+
+public class LessOrEqualConstraintTest {
+
+ private LessOrEqualConstraint createTestSubject() {
+ return new LessOrEqualConstraint("");
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testGetLessOrEqual() throws Exception {
+ LessOrEqualConstraint testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLessOrEqual();
+ }
+
+
+ @Test
+ public void testSetLessOrEqual() throws Exception {
+ LessOrEqualConstraint testSubject;
+ String lessOrEqual = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLessOrEqual(lessOrEqual);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java
new file mode 100644
index 0000000000..ae0a50612d
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java
@@ -0,0 +1,36 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MaxLengthConstraintTest {
+
+ private MaxLengthConstraint createTestSubject() {
+ return new MaxLengthConstraint(null);
+ }
+
+
+
+ @Test
+ public void testGetMaxLength() throws Exception {
+ MaxLengthConstraint testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxLength();
+ }
+
+
+ @Test
+ public void testSetMaxLength() throws Exception {
+ MaxLengthConstraint testSubject;
+ Integer maxLength = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxLength(maxLength);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MinLengthConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MinLengthConstraintTest.java
new file mode 100644
index 0000000000..4263a6fe28
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MinLengthConstraintTest.java
@@ -0,0 +1,38 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MinLengthConstraintTest {
+
+ private MinLengthConstraint createTestSubject() {
+ return new MinLengthConstraint(null);
+ }
+
+
+
+
+
+ @Test
+ public void testGetMinLength() throws Exception {
+ MinLengthConstraint testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinLength();
+ }
+
+
+ @Test
+ public void testSetMinLength() throws Exception {
+ MinLengthConstraint testSubject;
+ Integer minLength = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinLength(minLength);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraintTest.java
new file mode 100644
index 0000000000..1a20abbace
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraintTest.java
@@ -0,0 +1,25 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PatternConstraintTest {
+
+ private PatternConstraint createTestSubject() {
+ return new PatternConstraint();
+ }
+
+
+ @Test
+ public void testSetPattern() throws Exception {
+ PatternConstraint testSubject;
+ String pattern = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPattern(pattern);
+ }
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraintTest.java
new file mode 100644
index 0000000000..93622300c4
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/ValidValuesConstraintTest.java
@@ -0,0 +1,43 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.tosca.ToscaType;
+
+
+public class ValidValuesConstraintTest {
+
+ private ValidValuesConstraint createTestSubject() {
+ return new ValidValuesConstraint(null);
+ }
+
+
+
+
+
+
+
+ @Test
+ public void testGetValidValues() throws Exception {
+ ValidValuesConstraint testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValidValues();
+ }
+
+
+ @Test
+ public void testSetValidValues() throws Exception {
+ ValidValuesConstraint testSubject;
+ List<String> validValues = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValidValues(validValues);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/BooleanConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/BooleanConverterTest.java
new file mode 100644
index 0000000000..a37e8f6b4f
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/BooleanConverterTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class BooleanConverterTest {
+
+ private BooleanConverter createTestSubject() {
+ return BooleanConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ BooleanConverter result;
+
+ // default test
+ result = BooleanConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvertToToscaValue() throws Exception {
+ BooleanConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertToToscaValue(value, innerType, dataTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DataTypePropertyConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DataTypePropertyConverterTest.java
index 84f2254bbb..ebb7566611 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DataTypePropertyConverterTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DataTypePropertyConverterTest.java
@@ -1,5 +1,8 @@
package org.openecomp.sdc.be.model.tosca.converters;
+import static org.junit.Assert.*;
+
+import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import org.junit.Before;
import org.junit.Test;
@@ -14,174 +17,225 @@ import java.util.Map;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
+import java.util.*;
+import org.junit.Assert;
public class DataTypePropertyConverterTest {
- private static final String EMPTY_JSON_STR = "{}";
- public static final String PROPERTY2_DEFAULT = "{\"prop1\":\"def1\",\"prop3\":\"def3\"}";
- private DataTypePropertyConverter testInstance = DataTypePropertyConverter.getInstance();
- private Map<String, DataTypeDefinition> dataTypes;
- private DataTypeDefinition noDefaultValue, dataType1, dataType2, dataType3;
- private PropertyDefinition prop1, prop2, prop3, noDefaultProp;
-
- @Before
- public void setUp() throws Exception {
- dataTypes = new HashMap<>();
-
- prop1 = new PropertyDefinition();
- prop1.setDefaultValue("def1");
- prop1.setName("prop1");
-
- prop2 = new PropertyDefinition();
- prop2.setType("dataType1");
- prop2.setName("prop2");
-
- prop3 = new PropertyDefinition();
- prop3.setDefaultValue("def3");
- prop3.setName("prop3");
-
- noDefaultProp = new PropertyDefinition();
- noDefaultProp.setName("noDefaultProp");
-
- noDefaultValue = new DataTypeDefinition();
- noDefaultValue.setProperties(Collections.singletonList(noDefaultProp));
-
- dataType1 = new DataTypeDefinition();
- dataType1.setProperties(Arrays.asList(prop1, prop3));
-
- dataType2 = new DataTypeDefinition();
- dataType2.setDerivedFrom(dataType1);
-
- dataType3 = new DataTypeDefinition();
- dataType3.setProperties(Collections.singletonList(prop2));
- dataType3.setDerivedFrom(noDefaultValue);
-
- dataTypes.put("noDefault", noDefaultValue);
- dataTypes.put("dataType1", dataType1);
- dataTypes.put("dataType2", dataType2);
- dataTypes.put("dataType3", dataType3);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec_dataTypeNotExist() throws Exception {
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("someType", dataTypes);
- assertEquals(EMPTY_JSON_STR, defaultValue);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec_NoDefaultValue() throws Exception {
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("noDefault", dataTypes);
- assertEquals(EMPTY_JSON_STR, defaultValue);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec() throws Exception {
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType1", dataTypes);
- assertEquals(PROPERTY2_DEFAULT, defaultValue);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec_defaultFromDerivedDataType_derivedDataTypeHasNoDefaults() throws Exception {
- dataType2.setDerivedFrom(noDefaultValue);
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType2", dataTypes);
- assertEquals(EMPTY_JSON_STR, defaultValue);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec_defaultFromDerivedDataType() throws Exception {
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType2", dataTypes);
- assertEquals(PROPERTY2_DEFAULT, defaultValue);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec_defaultFromDataTypesOfProperties_dataTypeOfPropertyHasNoDefault() throws Exception {
- dataType3.getProperties().get(0).setType(noDefaultValue.getName());
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType3", dataTypes);
- assertEquals(EMPTY_JSON_STR, defaultValue);
- }
-
- @Test
- public void testGetPropertyDefaultValuesRec_defaultFromDataTypesOfProperties() throws Exception {
- String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType3", dataTypes);
- assertEquals("{\"prop2\":" + PROPERTY2_DEFAULT + "}", defaultValue);//data type 3 has property prop2 which has a data type with property prop1 which has a default value
- }
-
- @Test
- public void testMergeDefaultValues_allDefaultValuesAreOverridden() throws Exception {
- JsonObject value = new JsonObject();
- value.addProperty(noDefaultProp.getName(), "override1");
-
- JsonObject prop1Val = new JsonObject();
- prop1Val.addProperty(prop1.getName(), "prop1Override");
-
- JsonObject prop3Val = new JsonObject();
- prop3Val.addProperty(prop3.getName(), "prop3Override");
-
- JsonObject prop2Value = new JsonObject();
- prop2Value.add(prop3.getName(), prop3Val);
- prop2Value.add(prop1.getName(), prop1Val);
-
- value.add(prop2.getName(), prop2Value);
-
- String valBeforeMerge = value.toString();
-
- testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
- assertEquals(valBeforeMerge, value.toString());
- }
-
- @Test
- public void testMergeDefaultValues() throws Exception {
- JsonObject value = new JsonObject();
- value.addProperty(noDefaultProp.getName(), "override1");
-
- JsonObject prop1Val = new JsonObject();
- prop1Val.addProperty(prop1.getName(), "prop1Override");
-
- value.add(prop2.getName(), prop1Val);
-
- testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
-
- assertEquals("{\"noDefaultProp\":\"override1\",\"prop2\":{\"prop1\":\"prop1Override\",\"prop3\":\"def3\"}}",
- value.toString());//expect to merge prop 3 default as it was not overridden
- }
-
- @Test
- public void testMergeDefaultValues_mergeAll() throws Exception {
- JsonObject value = new JsonObject();
- testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
+ private static final String EMPTY_JSON_STR = "{}";
+ public static final String PROPERTY2_DEFAULT = "{\"prop1\":\"def1\",\"prop3\":\"def3\"}";
+ private DataTypePropertyConverter testInstance = DataTypePropertyConverter.getInstance();
+ private Map<String, DataTypeDefinition> dataTypes;
+ private DataTypeDefinition noDefaultValue, dataType1, dataType2, dataType3;
+ private PropertyDefinition prop1, prop2, prop3, noDefaultProp;
+
+ @Before
+ public void setUp() throws Exception {
+ dataTypes = new HashMap<>();
+
+ prop1 = new PropertyDefinition();
+ prop1.setDefaultValue("def1");
+ prop1.setName("prop1");
+
+ prop2 = new PropertyDefinition();
+ prop2.setType("dataType1");
+ prop2.setName("prop2");
+
+ prop3 = new PropertyDefinition();
+ prop3.setDefaultValue("def3");
+ prop3.setName("prop3");
+
+ noDefaultProp = new PropertyDefinition();
+ noDefaultProp.setName("noDefaultProp");
+
+ noDefaultValue = new DataTypeDefinition();
+ noDefaultValue.setProperties(Collections.singletonList(noDefaultProp));
+
+ dataType1 = new DataTypeDefinition();
+ dataType1.setProperties(Arrays.asList(prop1, prop3));
+
+ dataType2 = new DataTypeDefinition();
+ dataType2.setDerivedFrom(dataType1);
+
+ dataType3 = new DataTypeDefinition();
+ dataType3.setProperties(Collections.singletonList(prop2));
+ dataType3.setDerivedFrom(noDefaultValue);
+
+ dataTypes.put("noDefault", noDefaultValue);
+ dataTypes.put("dataType1", dataType1);
+ dataTypes.put("dataType2", dataType2);
+ dataTypes.put("dataType3", dataType3);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec_dataTypeNotExist() throws Exception {
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("someType", dataTypes);
+ assertEquals(EMPTY_JSON_STR, defaultValue);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec_NoDefaultValue() throws Exception {
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("noDefault", dataTypes);
+ assertEquals(EMPTY_JSON_STR, defaultValue);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec() throws Exception {
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType1", dataTypes);
+ assertEquals(PROPERTY2_DEFAULT, defaultValue);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec_defaultFromDerivedDataType_derivedDataTypeHasNoDefaults()
+ throws Exception {
+ dataType2.setDerivedFrom(noDefaultValue);
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType2", dataTypes);
+ assertEquals(EMPTY_JSON_STR, defaultValue);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec_defaultFromDerivedDataType() throws Exception {
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType2", dataTypes);
+ assertEquals(PROPERTY2_DEFAULT, defaultValue);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec_defaultFromDataTypesOfProperties_dataTypeOfPropertyHasNoDefault()
+ throws Exception {
+ dataType3.getProperties().get(0).setType(noDefaultValue.getName());
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType3", dataTypes);
+ assertEquals(EMPTY_JSON_STR, defaultValue);
+ }
+
+ @Test
+ public void testGetPropertyDefaultValuesRec_defaultFromDataTypesOfProperties() throws Exception {
+ String defaultValue = testInstance.getDataTypePropertiesDefaultValuesRec("dataType3", dataTypes);
+ assertEquals("{\"prop2\":" + PROPERTY2_DEFAULT + "}", defaultValue);// data
+ // type
+ // 3
+ // has
+ // property
+ // prop2
+ // which
+ // has
+ // a
+ // data
+ // type
+ // with
+ // property
+ // prop1
+ // which
+ // has
+ // a
+ // default
+ // value
+ }
+
+ @Test
+ public void testMergeDefaultValues_allDefaultValuesAreOverridden() throws Exception {
+ JsonObject value = new JsonObject();
+ value.addProperty(noDefaultProp.getName(), "override1");
+
+ JsonObject prop1Val = new JsonObject();
+ prop1Val.addProperty(prop1.getName(), "prop1Override");
+
+ JsonObject prop3Val = new JsonObject();
+ prop3Val.addProperty(prop3.getName(), "prop3Override");
+
+ JsonObject prop2Value = new JsonObject();
+ prop2Value.add(prop3.getName(), prop3Val);
+ prop2Value.add(prop1.getName(), prop1Val);
+
+ value.add(prop2.getName(), prop2Value);
+
+ String valBeforeMerge = value.toString();
+
+ testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
+ assertEquals(valBeforeMerge, value.toString());
+ }
+
+ @Test
+ public void testMergeDefaultValues() throws Exception {
+ JsonObject value = new JsonObject();
+ value.addProperty(noDefaultProp.getName(), "override1");
+
+ JsonObject prop1Val = new JsonObject();
+ prop1Val.addProperty(prop1.getName(), "prop1Override");
+
+ value.add(prop2.getName(), prop1Val);
+
+ testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
+
+ assertEquals("{\"noDefaultProp\":\"override1\",\"prop2\":{\"prop1\":\"prop1Override\",\"prop3\":\"def3\"}}",
+ value.toString());// expect to merge prop 3 default as it was
+ // not overridden
+ }
+
+ @Test
+ public void testMergeDefaultValues_mergeAll() throws Exception {
+ JsonObject value = new JsonObject();
+ testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
+
+ assertEquals("{\"prop2\":" + PROPERTY2_DEFAULT + "}", value.toString());// expect
+ // to
+ // merge
+ // prop
+ // 3
+ // default
+ // as
+ // it
+ // was
+ // not
+ // overridden
+ }
+
+ @Test
+ public void testMergeDefaultValues_doNotAddDefaultsForGetInputValues() throws Exception {
+
+ JsonObject getInputValue = new JsonObject();
+ getInputValue.addProperty("get_input", "in1");
+
+ JsonObject value = new JsonObject();
+ value.add(prop2.getName(), getInputValue);
+
+ testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
+
+ assertEquals("{\"prop2\":{\"get_input\":\"in1\"}}", value.toString());
+ }
+
+ @Test
+ public void testMergeDefaultValues_doNotAddDefaultsForGetInputInnerValues() throws Exception {
+ JsonObject getInputValue = new JsonObject();
+ getInputValue.addProperty("get_input", "in1");
- assertEquals("{\"prop2\":" + PROPERTY2_DEFAULT + "}",
- value.toString());//expect to merge prop 3 default as it was not overridden
- }
+ JsonObject prop1Val = new JsonObject();
+ prop1Val.add(prop1.getName(), getInputValue);
- @Test
- public void testMergeDefaultValues_doNotAddDefaultsForGetInputValues() throws Exception {
+ JsonObject value = new JsonObject();
+ value.add(prop2.getName(), prop1Val);
- JsonObject getInputValue = new JsonObject();
- getInputValue.addProperty("get_input", "in1");
+ testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
- JsonObject value = new JsonObject();
- value.add(prop2.getName(), getInputValue);
+ assertEquals("{\"prop2\":{\"prop1\":{\"get_input\":\"in1\"},\"prop3\":\"def3\"}}", value.toString());
- testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
+ }
- assertEquals("{\"prop2\":{\"get_input\":\"in1\"}}", value.toString());
- }
+ private DataTypePropertyConverter createTestSubject() {
+ return DataTypePropertyConverter.getInstance();
+ }
- @Test
- public void testMergeDefaultValues_doNotAddDefaultsForGetInputInnerValues() throws Exception {
- JsonObject getInputValue = new JsonObject();
- getInputValue.addProperty("get_input", "in1");
+
+ @Test
+ public void testGetInstance() throws Exception {
+ DataTypePropertyConverter result;
- JsonObject prop1Val = new JsonObject();
- prop1Val.add(prop1.getName(), getInputValue);
+ // default test
+ result = DataTypePropertyConverter.getInstance();
+ }
- JsonObject value = new JsonObject();
- value.add(prop2.getName(), prop1Val);
+
- testInstance.mergeDataTypeDefaultValuesWithPropertyValue(value, "dataType3", dataTypes);
- assertEquals("{\"prop2\":{\"prop1\":{\"get_input\":\"in1\"},\"prop3\":\"def3\"}}", value.toString());
+
- }
}
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DefaultConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DefaultConverterTest.java
new file mode 100644
index 0000000000..111c4f84f1
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/DefaultConverterTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class DefaultConverterTest {
+
+ private DefaultConverter createTestSubject() {
+ return DefaultConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ DefaultConverter result;
+
+ // default test
+ result = DefaultConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvert() throws Exception {
+ DefaultConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convert(value, innerType, dataTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/FloatConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/FloatConverterTest.java
new file mode 100644
index 0000000000..d66182b966
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/FloatConverterTest.java
@@ -0,0 +1,27 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class FloatConverterTest {
+
+ private FloatConverter createTestSubject() {
+ return FloatConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ FloatConverter result;
+
+ // default test
+ result = FloatConverter.getInstance();
+ }
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatBooleanConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatBooleanConverterTest.java
new file mode 100644
index 0000000000..8f7aa6d849
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatBooleanConverterTest.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class HeatBooleanConverterTest {
+
+ private HeatBooleanConverter createTestSubject() {
+ return HeatBooleanConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ HeatBooleanConverter result;
+
+ // default test
+ result = HeatBooleanConverter.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatCommaDelimitedListConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatCommaDelimitedListConverterTest.java
new file mode 100644
index 0000000000..9b3cb57028
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatCommaDelimitedListConverterTest.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class HeatCommaDelimitedListConverterTest {
+
+ private HeatCommaDelimitedListConverter createTestSubject() {
+ return HeatCommaDelimitedListConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ HeatCommaDelimitedListConverter result;
+
+ // default test
+ result = HeatCommaDelimitedListConverter.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatJsonConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatJsonConverterTest.java
new file mode 100644
index 0000000000..4e5ee49b6d
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatJsonConverterTest.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class HeatJsonConverterTest {
+
+ private HeatJsonConverter createTestSubject() {
+ return HeatJsonConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ HeatJsonConverter result;
+
+ // default test
+ result = HeatJsonConverter.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatNumberConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatNumberConverterTest.java
new file mode 100644
index 0000000000..1594b00c77
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatNumberConverterTest.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class HeatNumberConverterTest {
+
+ private HeatNumberConverter createTestSubject() {
+ return HeatNumberConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ HeatNumberConverter result;
+
+ // default test
+ result = HeatNumberConverter.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java
index 285dd9a965..3844bc81af 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/HeatStringConverterTest.java
@@ -1,16 +1,36 @@
package org.openecomp.sdc.be.model.tosca.converters;
-import org.junit.Test;
-
import static org.junit.Assert.assertEquals;
+import java.util.Map;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
public class HeatStringConverterTest {
- @Test
- public void convertString_strWithQuotes_returnStringAsIs() {
- String str = "'i'm string with \"quote\"'";
- String convert = HeatStringConverter.getInstance().convert(str, null, null);
- assertEquals(str, convert);
- }
+ @Test
+ public void convertString_strWithQuotes_returnStringAsIs() {
+ String str = "'i'm string with \"quote\"'";
+ String convert = HeatStringConverter.getInstance().convert(str, null, null);
+ assertEquals(str, convert);
+ }
+
+ private HeatStringConverter createTestSubject() {
+ return HeatStringConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ HeatStringConverter result;
+
+ // default test
+ result = HeatStringConverter.getInstance();
+ }
+
+
+
}
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/IntegerConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/IntegerConverterTest.java
new file mode 100644
index 0000000000..00bb834faf
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/IntegerConverterTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class IntegerConverterTest {
+
+ private IntegerConverter createTestSubject() {
+ return IntegerConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ IntegerConverter result;
+
+ // default test
+ result = IntegerConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvertToToscaValue() throws Exception {
+ IntegerConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ Object result;
+
+ // test 1
+ testSubject = createTestSubject();
+ value = null;
+ result = testSubject.convertToToscaValue(value, innerType, dataTypes);
+ Assert.assertEquals(null, result);
+
+ // test 2
+ testSubject = createTestSubject();
+ value = "";
+ result = testSubject.convertToToscaValue(value, innerType, dataTypes);
+ Assert.assertEquals(null, result);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/JsonConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/JsonConverterTest.java
new file mode 100644
index 0000000000..431443ab80
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/JsonConverterTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class JsonConverterTest {
+
+ private JsonConverter createTestSubject() {
+ return JsonConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ JsonConverter result;
+
+ // default test
+ result = JsonConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvert() throws Exception {
+ JsonConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convert(value, innerType, dataTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ListConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ListConverterTest.java
new file mode 100644
index 0000000000..a253ef07e8
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ListConverterTest.java
@@ -0,0 +1,36 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+import fj.data.Either;
+
+
+public class ListConverterTest {
+
+ private ListConverter createTestSubject() {
+ return new ListConverter();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ListConverter result;
+
+ // default test
+ result = ListConverter.getInstance();
+ }
+
+
+
+
+
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/MapConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/MapConverterTest.java
new file mode 100644
index 0000000000..99f5e2716f
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/MapConverterTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+import fj.data.Either;
+
+
+public class MapConverterTest {
+
+ private MapConverter createTestSubject() {
+ return new MapConverter();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ MapConverter result;
+
+ // default test
+ result = MapConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvert() throws Exception {
+ MapConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convert(value, innerType, dataTypes);
+ }
+
+
+
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/StringConvertorTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/StringConvertorTest.java
new file mode 100644
index 0000000000..a3a142d668
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/StringConvertorTest.java
@@ -0,0 +1,28 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+public class StringConvertorTest {
+
+ private StringConvertor createTestSubject() {
+ return StringConvertor.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ StringConvertor result;
+
+ // default test
+ result = StringConvertor.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaBooleanConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaBooleanConverterTest.java
new file mode 100644
index 0000000000..c96c1244b6
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaBooleanConverterTest.java
@@ -0,0 +1,27 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+public class ToscaBooleanConverterTest {
+
+ private ToscaBooleanConverter createTestSubject() {
+ return ToscaBooleanConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ToscaBooleanConverter result;
+
+ // default test
+ result = ToscaBooleanConverter.getInstance();
+ }
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverterTest.java
new file mode 100644
index 0000000000..a8c5aeef66
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverterTest.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class ToscaFloatConverterTest {
+
+ private ToscaFloatConverter createTestSubject() {
+ return ToscaFloatConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ToscaFloatConverter result;
+
+ // default test
+ result = ToscaFloatConverter.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaJsonValueConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaJsonValueConverterTest.java
new file mode 100644
index 0000000000..34eae243f7
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaJsonValueConverterTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class ToscaJsonValueConverterTest {
+
+ private ToscaJsonValueConverter createTestSubject() {
+ return ToscaJsonValueConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ToscaJsonValueConverter result;
+
+ // default test
+ result = ToscaJsonValueConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvertToToscaValue() throws Exception {
+ ToscaJsonValueConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertToToscaValue(value, innerType, dataTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaListValueConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaListValueConverterTest.java
new file mode 100644
index 0000000000..a713c4ce6c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaListValueConverterTest.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class ToscaListValueConverterTest {
+
+ private ToscaListValueConverter createTestSubject() {
+ return ToscaListValueConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ToscaListValueConverter result;
+
+ // default test
+ result = ToscaListValueConverter.getInstance();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaStringConvertorTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaStringConvertorTest.java
new file mode 100644
index 0000000000..8365c0345a
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaStringConvertorTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class ToscaStringConvertorTest {
+
+ private ToscaStringConvertor createTestSubject() {
+ return ToscaStringConvertor.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ToscaStringConvertor result;
+
+ // default test
+ result = ToscaStringConvertor.getInstance();
+ }
+
+
+ @Test
+ public void testConvertToToscaValue() throws Exception {
+ ToscaStringConvertor testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertToToscaValue(value, innerType, dataTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaValueDefaultConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaValueDefaultConverterTest.java
new file mode 100644
index 0000000000..b9ae07cb76
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/converters/ToscaValueDefaultConverterTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.model.tosca.converters;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+
+
+public class ToscaValueDefaultConverterTest {
+
+ private ToscaValueDefaultConverter createTestSubject() {
+ return ToscaValueDefaultConverter.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ ToscaValueDefaultConverter result;
+
+ // default test
+ result = ToscaValueDefaultConverter.getInstance();
+ }
+
+
+ @Test
+ public void testConvertToToscaValue() throws Exception {
+ ToscaValueDefaultConverter testSubject;
+ String value = "";
+ String innerType = "";
+ Map<String, DataTypeDefinition> dataTypes = null;
+ Object result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.convertToToscaValue(value, innerType, dataTypes);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/version/ComparableVersionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/version/ComparableVersionTest.java
new file mode 100644
index 0000000000..5d0c34d037
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/version/ComparableVersionTest.java
@@ -0,0 +1,64 @@
+package org.openecomp.sdc.be.model.tosca.version;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ComparableVersionTest {
+
+ private ComparableVersion createTestSubject() {
+ return new ComparableVersion("");
+ }
+
+
+ @Test
+ public void testParseVersion() throws Exception {
+ ComparableVersion testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.parseVersion(version);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ ComparableVersion testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ComparableVersion testSubject;
+ Object o = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(o);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ComparableVersion testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java
new file mode 100644
index 0000000000..b57342f637
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiCategoriesTest.java
@@ -0,0 +1,82 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.category.CategoryDefinition;
+
+
+public class UiCategoriesTest {
+
+ private UiCategories createTestSubject() {
+ return new UiCategories();
+ }
+
+
+ @Test
+ public void testGetResourceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceCategories();
+ }
+
+
+ @Test
+ public void testSetResourceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> resourceCategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceCategories(resourceCategories);
+ }
+
+
+ @Test
+ public void testGetServiceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceCategories();
+ }
+
+
+ @Test
+ public void testSetServiceCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> serviceCategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceCategories(serviceCategories);
+ }
+
+
+ @Test
+ public void testGetProductCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProductCategories();
+ }
+
+
+ @Test
+ public void testSetProductCategories() throws Exception {
+ UiCategories testSubject;
+ List<CategoryDefinition> productCategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProductCategories(productCategories);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java
new file mode 100644
index 0000000000..52767a2934
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiComponentDataTransferTest.java
@@ -0,0 +1,446 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+import org.openecomp.sdc.be.model.CapabilityDefinition;
+import org.openecomp.sdc.be.model.ComponentInstance;
+import org.openecomp.sdc.be.model.ComponentInstanceInput;
+import org.openecomp.sdc.be.model.ComponentInstanceProperty;
+import org.openecomp.sdc.be.model.GroupDefinition;
+import org.openecomp.sdc.be.model.InputDefinition;
+import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
+import org.openecomp.sdc.be.model.RequirementDefinition;
+import org.openecomp.sdc.be.model.category.CategoryDefinition;
+
+
+public class UiComponentDataTransferTest {
+
+ private UiComponentDataTransfer createTestSubject() {
+ return new UiComponentDataTransfer();
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+
+
+ @Test
+ public void testGetDeploymentArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetDeploymentArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> deploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentArtifacts(deploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetToscaArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaArtifacts();
+ }
+
+
+ @Test
+ public void testSetToscaArtifacts() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, ArtifactDefinition> toscaArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaArtifacts(toscaArtifacts);
+ }
+
+
+ @Test
+ public void testGetCategories() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<CategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCategories();
+ }
+
+
+ @Test
+ public void testSetCategories() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<CategoryDefinition> categories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCategories(categories);
+ }
+
+
+ @Test
+ public void testGetCreatorUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatorUserId();
+ }
+
+
+ @Test
+ public void testSetCreatorUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String creatorUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreatorUserId(creatorUserId);
+ }
+
+
+ @Test
+ public void testGetCreatorFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatorFullName();
+ }
+
+
+ @Test
+ public void testSetCreatorFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String creatorFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreatorFullName(creatorFullName);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterUserId();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterUserId() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String lastUpdaterUserId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterUserId(lastUpdaterUserId);
+ }
+
+
+ @Test
+ public void testGetLastUpdaterFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdaterFullName();
+ }
+
+
+ @Test
+ public void testSetLastUpdaterFullName() throws Exception {
+ UiComponentDataTransfer testSubject;
+ String lastUpdaterFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdaterFullName(lastUpdaterFullName);
+ }
+
+
+ @Test
+ public void testGetComponentType() throws Exception {
+ UiComponentDataTransfer testSubject;
+ ComponentTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentType();
+ }
+
+
+ @Test
+ public void testSetComponentType() throws Exception {
+ UiComponentDataTransfer testSubject;
+ ComponentTypeEnum componentType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentType(componentType);
+ }
+
+
+ @Test
+ public void testGetComponentInstances() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<ComponentInstance> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstances();
+ }
+
+
+ @Test
+ public void testSetComponentInstances() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<ComponentInstance> componentInstances = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstances(componentInstances);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesRelations() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<RequirementCapabilityRelDef> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesRelations();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesRelations() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<RequirementCapabilityRelDef> componentInstancesRelations = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesRelations(componentInstancesRelations);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceInput>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesInputs();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceInput>> componentInstancesInputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesInputs(componentInstancesInputs);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesProperties() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesProperties();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesProperties() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> componentInstancesProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesProperties(componentInstancesProperties);
+ }
+
+
+ @Test
+ public void testGetComponentInstancesAttributes() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstancesAttributes();
+ }
+
+
+ @Test
+ public void testSetComponentInstancesAttributes() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<ComponentInstanceProperty>> componentInstancesAttributes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstancesAttributes(componentInstancesAttributes);
+ }
+
+
+ @Test
+ public void testGetCapabilities() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<CapabilityDefinition>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilities();
+ }
+
+
+ @Test
+ public void testSetCapabilities() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<CapabilityDefinition>> capabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilities(capabilities);
+ }
+
+
+ @Test
+ public void testGetRequirements() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<RequirementDefinition>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirements();
+ }
+
+
+ @Test
+ public void testSetRequirements() throws Exception {
+ UiComponentDataTransfer testSubject;
+ Map<String, List<RequirementDefinition>> requirements = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirements(requirements);
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<InputDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<InputDefinition> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+
+
+ @Test
+ public void testGetGroups() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<GroupDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroups();
+ }
+
+
+ @Test
+ public void testSetGroups() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<GroupDefinition> groups = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroups(groups);
+ }
+
+
+ @Test
+ public void testGetAdditionalInformation() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<AdditionalInformationDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformation() throws Exception {
+ UiComponentDataTransfer testSubject;
+ List<AdditionalInformationDefinition> additionalInformation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformation(additionalInformation);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java
new file mode 100644
index 0000000000..040b94520f
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceDataTransferTest.java
@@ -0,0 +1,195 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
+import org.openecomp.sdc.be.model.InterfaceDefinition;
+import org.openecomp.sdc.be.model.PropertyDefinition;
+
+
+public class UiResourceDataTransferTest {
+
+ private UiResourceDataTransfer createTestSubject() {
+ return new UiResourceDataTransfer();
+ }
+
+
+ @Test
+ public void testGetAdditionalInformation() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<AdditionalInformationDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformation() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<AdditionalInformationDefinition> additionalInformation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformation(additionalInformation);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ UiResourceDataTransfer testSubject;
+ UiResourceMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ UiResourceDataTransfer testSubject;
+ UiResourceMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetDerivedList() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedList();
+ }
+
+
+ @Test
+ public void testSetDerivedList() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> derivedList = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedList(derivedList);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetAttributes() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAttributes();
+ }
+
+
+ @Test
+ public void testSetAttributes() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<PropertyDefinition> attributes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAttributes(attributes);
+ }
+
+
+ @Test
+ public void testGetInterfaces() throws Exception {
+ UiResourceDataTransfer testSubject;
+ Map<String, InterfaceDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaces();
+ }
+
+
+ @Test
+ public void testSetInterfaces() throws Exception {
+ UiResourceDataTransfer testSubject;
+ Map<String, InterfaceDefinition> interfaces = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaces(interfaces);
+ }
+
+
+ @Test
+ public void testGetDefaultCapabilities() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultCapabilities();
+ }
+
+
+ @Test
+ public void testSetDefaultCapabilities() throws Exception {
+ UiResourceDataTransfer testSubject;
+ List<String> defaultCapabilities = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultCapabilities(defaultCapabilities);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java
new file mode 100644
index 0000000000..9248b4d176
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiResourceMetadataTest.java
@@ -0,0 +1,215 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.components.ResourceMetadataDataDefinition;
+import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
+
+
+public class UiResourceMetadataTest {
+
+ private UiResourceMetadata createTestSubject() {
+ return new UiResourceMetadata(null, null, new ResourceMetadataDataDefinition());
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ UiResourceMetadata testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ UiResourceMetadata testSubject;
+ List<String> derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetVendorName() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorName();
+ }
+
+
+ @Test
+ public void testSetVendorName() throws Exception {
+ UiResourceMetadata testSubject;
+ String vendorName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorName(vendorName);
+ }
+
+
+ @Test
+ public void testGetVendorRelease() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorRelease();
+ }
+
+
+ @Test
+ public void testSetVendorRelease() throws Exception {
+ UiResourceMetadata testSubject;
+ String vendorRelease = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorRelease(vendorRelease);
+ }
+
+
+ @Test
+ public void testGetResourceVendorModelNumber() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVendorModelNumber();
+ }
+
+
+ @Test
+ public void testSetResourceVendorModelNumber() throws Exception {
+ UiResourceMetadata testSubject;
+ String resourceVendorModelNumber = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVendorModelNumber(resourceVendorModelNumber);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ UiResourceMetadata testSubject;
+ ResourceTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ UiResourceMetadata testSubject;
+ ResourceTypeEnum resourceType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testGetIsAbstract() throws Exception {
+ UiResourceMetadata testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsAbstract();
+ }
+
+
+ @Test
+ public void testSetIsAbstract() throws Exception {
+ UiResourceMetadata testSubject;
+ Boolean isAbstract = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsAbstract(isAbstract);
+ }
+
+
+ @Test
+ public void testGetCost() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCost();
+ }
+
+
+ @Test
+ public void testSetCost() throws Exception {
+ UiResourceMetadata testSubject;
+ String cost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCost(cost);
+ }
+
+
+ @Test
+ public void testGetLicenseType() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLicenseType();
+ }
+
+
+ @Test
+ public void testSetLicenseType() throws Exception {
+ UiResourceMetadata testSubject;
+ String licenseType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLicenseType(licenseType);
+ }
+
+
+ @Test
+ public void testGetToscaResourceName() throws Exception {
+ UiResourceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaResourceName();
+ }
+
+
+ @Test
+ public void testSetToscaResourceName() throws Exception {
+ UiResourceMetadata testSubject;
+ String toscaResourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaResourceName(toscaResourceName);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java
new file mode 100644
index 0000000000..83a1281172
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceDataTransferTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.ui.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+
+
+public class UiServiceDataTransferTest {
+
+ private UiServiceDataTransfer createTestSubject() {
+ return new UiServiceDataTransfer();
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ UiServiceDataTransfer testSubject;
+ UiServiceMetadata result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ UiServiceDataTransfer testSubject;
+ UiServiceMetadata metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetServiceApiArtifacts() throws Exception {
+ UiServiceDataTransfer testSubject;
+ Map<String, ArtifactDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceApiArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceApiArtifacts() throws Exception {
+ UiServiceDataTransfer testSubject;
+ Map<String, ArtifactDefinition> serviceApiArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceApiArtifacts(serviceApiArtifacts);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java
new file mode 100644
index 0000000000..1d203b1ce3
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/ui/model/UiServiceMetadataTest.java
@@ -0,0 +1,124 @@
+package org.openecomp.sdc.be.ui.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.components.ServiceMetadataDataDefinition;
+
+
+public class UiServiceMetadataTest {
+
+ private UiServiceMetadata createTestSubject() {
+ return new UiServiceMetadata(null, new ServiceMetadataDataDefinition());
+ }
+
+
+ @Test
+ public void testGetDistributionStatus() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatus();
+ }
+
+
+ @Test
+ public void testSetDistributionStatus() throws Exception {
+ UiServiceMetadata testSubject;
+ String distributionStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatus(distributionStatus);
+ }
+
+
+ @Test
+ public void testGetEcompGeneratedNaming() throws Exception {
+ UiServiceMetadata testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEcompGeneratedNaming();
+ }
+
+
+ @Test
+ public void testSetEcompGeneratedNaming() throws Exception {
+ UiServiceMetadata testSubject;
+ Boolean ecompGeneratedNaming = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompGeneratedNaming(ecompGeneratedNaming);
+ }
+
+
+ @Test
+ public void testGetNamingPolicy() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNamingPolicy();
+ }
+
+
+ @Test
+ public void testSetNamingPolicy() throws Exception {
+ UiServiceMetadata testSubject;
+ String namingPolicy = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNamingPolicy(namingPolicy);
+ }
+
+
+ @Test
+ public void testGetServiceType() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceType();
+ }
+
+
+ @Test
+ public void testSetServiceType() throws Exception {
+ UiServiceMetadata testSubject;
+ String serviceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceType(serviceType);
+ }
+
+
+ @Test
+ public void testGetServiceRole() throws Exception {
+ UiServiceMetadata testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceRole();
+ }
+
+
+ @Test
+ public void testSetServiceRole() throws Exception {
+ UiServiceMetadata testSubject;
+ String serviceRole = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceRole(serviceRole);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java
new file mode 100644
index 0000000000..592ab058b0
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java
@@ -0,0 +1,735 @@
+package org.openecomp.sdc.be.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.BeEcompErrorManager.ErrorSeverity;
+import org.openecomp.sdc.common.config.IEcompConfigurationManager;
+
+
+public class BeEcompErrorManagerTest {
+
+ private BeEcompErrorManager createTestSubject() {
+ return BeEcompErrorManager.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ BeEcompErrorManager result;
+
+ // default test
+ result = BeEcompErrorManager.getInstance();
+ }
+
+
+
+
+ @Test
+ public void testGetConfigurationManager() throws Exception {
+ BeEcompErrorManager testSubject;
+ IEcompConfigurationManager result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConfigurationManager();
+ }
+
+
+ @Test
+ public void testLogBeUebAuthenticationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String reason = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebAuthenticationError(context, reason);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckTitanRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckTitanRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckElasticSearchRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckElasticSearchRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckUebClusterRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckUebClusterRecovery(context);
+ }
+
+
+ @Test
+ public void testLogFeHealthCheckRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logFeHealthCheckRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckError(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckTitanError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckTitanError(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckElasticSearchError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckElasticSearchError(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckUebClusterError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckUebClusterError(context);
+ }
+
+
+ @Test
+ public void testLogFeHealthCheckError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logFeHealthCheckError(context);
+ }
+
+
+ @Test
+ public void testLogBeUebConnectionError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String reason = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebConnectionError(context, reason);
+ }
+
+
+ @Test
+ public void testLogBeUebUnkownHostError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String host = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebUnkownHostError(context, host);
+ }
+
+
+ @Test
+ public void testLogBeComponentMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String componentType = "";
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeComponentMissingError(context, componentType, name);
+ }
+
+
+ @Test
+ public void testLogBeIncorrectComponentError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String componentType = "";
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeIncorrectComponentError(context, componentType, name);
+ }
+
+
+ @Test
+ public void testLogBeInvalidConfigurationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String parameterName = "";
+ String parameterValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidConfigurationError(context, parameterName, parameterValue);
+ }
+
+
+ @Test
+ public void testLogBeUebObjectNotFoundError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String notFoundObjectName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebObjectNotFoundError(context, notFoundObjectName);
+ }
+
+
+ @Test
+ public void testLogBeDistributionEngineInvalidArtifactType() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String artifactType = "";
+ String validArtifactTypes = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDistributionEngineInvalidArtifactType(context, artifactType, validArtifactTypes);
+ }
+
+
+ @Test
+ public void testLogBeMissingConfigurationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String parameterName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeMissingConfigurationError(context, parameterName);
+ }
+
+
+ @Test
+ public void testLogBeConfigurationInvalidListSizeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String parameterName = "";
+ int listMinimumSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeConfigurationInvalidListSizeError(context, parameterName, listMinimumSize);
+ }
+
+
+ @Test
+ public void testLogErrorConfigFileFormat() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logErrorConfigFileFormat(context, description);
+ }
+
+
+ @Test
+ public void testLogBeMissingArtifactInformationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String missingInfo = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeMissingArtifactInformationError(context, missingInfo);
+ }
+
+
+ @Test
+ public void testLogBeArtifactMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeArtifactMissingError(context, artifactName);
+ }
+
+
+ @Test
+ public void testLogBeUserMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String userId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUserMissingError(context, userId);
+ }
+
+
+ @Test
+ public void testLogBeInvalidTypeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String type = "";
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidTypeError(context, type, name);
+ }
+
+
+ @Test
+ public void testLogBeInvalidValueError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String value = "";
+ String name = "";
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidValueError(context, value, name, type);
+ }
+
+
+ @Test
+ public void testLogBeArtifactPayloadInvalid() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeArtifactPayloadInvalid(context);
+ }
+
+
+ @Test
+ public void testLogBeArtifactInformationInvalidError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeArtifactInformationInvalidError(context);
+ }
+
+
+ @Test
+ public void testLogBeDistributionMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String distributionName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDistributionMissingError(context, distributionName);
+ }
+
+
+ @Test
+ public void testLogBeGraphObjectMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String objectType = "";
+ String objectName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeGraphObjectMissingError(context, objectType, objectName);
+ }
+
+
+ @Test
+ public void testLogBeInvalidJsonInput() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidJsonInput(context);
+ }
+
+
+ @Test
+ public void testLogBeInitializationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInitializationError(context);
+ }
+
+
+ @Test
+ public void testLogBeFailedAddingResourceInstanceError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String resourceName = "";
+ String serviceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedAddingResourceInstanceError(context, resourceName, serviceId);
+ }
+
+
+ @Test
+ public void testLogBeUebSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String operation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebSystemError(context, operation);
+ }
+
+
+ @Test
+ public void testLogBeDistributionEngineSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String operation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDistributionEngineSystemError(context, operation);
+ }
+
+
+ @Test
+ public void testLogBeFailedAddingNodeTypeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedAddingNodeTypeError(context, nodeType);
+ }
+
+
+ @Test
+ public void testLogBeDaoSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDaoSystemError(context);
+ }
+
+
+ @Test
+ public void testLogBeSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeSystemError(context);
+ }
+
+
+ @Test
+ public void testLogBeExecuteRollbackError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeExecuteRollbackError(context);
+ }
+
+
+ @Test
+ public void testLogBeFailedLockObjectError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String type = "";
+ String id = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedLockObjectError(context, type, id);
+ }
+
+
+ @Test
+ public void testLogBeFailedCreateNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedCreateNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedUpdateNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedUpdateNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedDeleteNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedDeleteNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedRetrieveNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedRetrieveNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedFindParentError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String node = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedFindParentError(context, node, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedFindAllNodesError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeType = "";
+ String parentNode = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedFindAllNodesError(context, nodeType, parentNode, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedFindAssociationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeType = "";
+ String fromNode = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedFindAssociationError(context, nodeType, fromNode, status);
+ }
+
+
+ @Test
+ public void testLogBeComponentCleanerSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String operation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeComponentCleanerSystemError(context, operation);
+ }
+
+
+ @Test
+ public void testLogBeRestApiGeneralError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeRestApiGeneralError(context);
+ }
+
+
+ @Test
+ public void testLogFqdnResolveError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logFqdnResolveError(context, description);
+ }
+
+
+ @Test
+ public void testLogSiteSwitchoverInfo() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logSiteSwitchoverInfo(context, description);
+ }
+
+
+ @Test
+ public void testLogInternalAuthenticationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalAuthenticationError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalConnectionError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalConnectionError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalDataError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalDataError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInvalidInputError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInvalidInputError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalFlowError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalFlowError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalUnexpectedError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalUnexpectedError(context, description, severity);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java
new file mode 100644
index 0000000000..86c78b236e
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CleanComponentsConfigurationTest {
+
+ private CleanComponentsConfiguration createTestSubject() {
+ return new CleanComponentsConfiguration();
+ }
+
+
+ @Test
+ public void testGetCleanIntervalInMinutes() throws Exception {
+ CleanComponentsConfiguration testSubject;
+ long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCleanIntervalInMinutes();
+ }
+
+
+
+
+
+ @Test
+ public void testGetComponentsToClean() throws Exception {
+ CleanComponentsConfiguration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentsToClean();
+ }
+
+
+ @Test
+ public void testSetComponentsToClean() throws Exception {
+ CleanComponentsConfiguration testSubject;
+ List<String> componentsToClean = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentsToClean(componentsToClean);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java
new file mode 100644
index 0000000000..5b98270ee9
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java
@@ -0,0 +1,1455 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.Date;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.Configuration.ApplicationL1CacheConfig;
+import org.openecomp.sdc.be.config.Configuration.ApplicationL2CacheConfig;
+import org.openecomp.sdc.be.config.Configuration.ArtifactTypeConfig;
+import org.openecomp.sdc.be.config.Configuration.BeMonitoringConfig;
+import org.openecomp.sdc.be.config.Configuration.CassandrConfig;
+import org.openecomp.sdc.be.config.Configuration.EcompPortalConfig;
+import org.openecomp.sdc.be.config.Configuration.ElasticSearchConfig;
+import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
+import org.openecomp.sdc.be.config.Configuration.SwitchoverDetectorConfig;
+import org.openecomp.sdc.be.config.Configuration.ToscaValidatorsConfig;
+import org.openecomp.sdc.be.config.Configuration.VfModuleProperty;
+
+
+public class ConfigurationTest {
+
+ private Configuration createTestSubject() {
+ return new Configuration();
+ }
+
+
+ @Test
+ public void testGetGenericAssetNodeTypes() throws Exception {
+ Configuration testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGenericAssetNodeTypes();
+ }
+
+
+ @Test
+ public void testSetGenericAssetNodeTypes() throws Exception {
+ Configuration testSubject;
+ Map<String, String> genericAssetNodeTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGenericAssetNodeTypes(genericAssetNodeTypes);
+ }
+
+
+ @Test
+ public void testGetSwitchoverDetector() throws Exception {
+ Configuration testSubject;
+ SwitchoverDetectorConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSwitchoverDetector();
+ }
+
+
+ @Test
+ public void testSetSwitchoverDetector() throws Exception {
+ Configuration testSubject;
+ SwitchoverDetectorConfig switchoverDetector = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSwitchoverDetector(switchoverDetector);
+ }
+
+
+ @Test
+ public void testGetApplicationL1Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL1CacheConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicationL1Cache();
+ }
+
+
+ @Test
+ public void testSetApplicationL1Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL1CacheConfig applicationL1Cache = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicationL1Cache(applicationL1Cache);
+ }
+
+
+ @Test
+ public void testGetApplicationL2Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL2CacheConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicationL2Cache();
+ }
+
+
+ @Test
+ public void testSetApplicationL2Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL2CacheConfig applicationL2Cache = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicationL2Cache(applicationL2Cache);
+ }
+
+
+ @Test
+ public void testGetCassandraConfig() throws Exception {
+ Configuration testSubject;
+ CassandrConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCassandraConfig();
+ }
+
+
+ @Test
+ public void testSetCassandraConfig() throws Exception {
+ Configuration testSubject;
+ CassandrConfig cassandraKeySpace = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCassandraConfig(cassandraKeySpace);
+ }
+
+
+ @Test
+ public void testGetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIdentificationHeaderFields();
+ }
+
+
+ @Test
+ public void testSetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> identificationHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIdentificationHeaderFields(identificationHeaderFields);
+ }
+
+
+ @Test
+ public void testGetReleased() throws Exception {
+ Configuration testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReleased();
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetReleased() throws Exception {
+ Configuration testSubject;
+ Date released = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReleased(released);
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ Configuration testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProtocols();
+ }
+
+
+ @Test
+ public void testSetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> protocols = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProtocols(protocols);
+ }
+
+
+ @Test
+ public void testGetUsers() throws Exception {
+ Configuration testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUsers();
+ }
+
+
+ @Test
+ public void testSetUsers() throws Exception {
+ Configuration testSubject;
+ Map<String, String> users = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUsers(users);
+ }
+
+
+ @Test
+ public void testGetBeFqdn() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeFqdn();
+ }
+
+
+ @Test
+ public void testSetBeFqdn() throws Exception {
+ Configuration testSubject;
+ String beHost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeFqdn(beHost);
+ }
+
+
+ @Test
+ public void testGetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeHttpPort();
+ }
+
+
+ @Test
+ public void testSetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer beHttpPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeHttpPort(beHttpPort);
+ }
+
+
+ @Test
+ public void testGetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeSslPort();
+ }
+
+
+ @Test
+ public void testSetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer beSslPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeSslPort(beSslPort);
+ }
+
+
+ @Test
+ public void testGetBeContext() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeContext();
+ }
+
+
+ @Test
+ public void testSetBeContext() throws Exception {
+ Configuration testSubject;
+ String beContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeContext(beContext);
+ }
+
+
+ @Test
+ public void testGetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeProtocol();
+ }
+
+
+ @Test
+ public void testSetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String beProtocol = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeProtocol(beProtocol);
+ }
+
+
+ @Test
+ public void testGetNeo4j() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNeo4j();
+ }
+
+
+ @Test
+ public void testSetNeo4j() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> neo4j = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNeo4j(neo4j);
+ }
+
+
+ @Test
+ public void testGetElasticSearch() throws Exception {
+ Configuration testSubject;
+ ElasticSearchConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElasticSearch();
+ }
+
+
+ @Test
+ public void testSetElasticSearch() throws Exception {
+ Configuration testSubject;
+ ElasticSearchConfig elasticSearch = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElasticSearch(elasticSearch);
+ }
+
+
+ @Test
+ public void testGetTitanCfgFile() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanCfgFile();
+ }
+
+
+ @Test
+ public void testSetTitanCfgFile() throws Exception {
+ Configuration testSubject;
+ String titanCfgFile = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanCfgFile(titanCfgFile);
+ }
+
+
+ @Test
+ public void testGetTitanMigrationKeySpaceCfgFile() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanMigrationKeySpaceCfgFile();
+ }
+
+
+ @Test
+ public void testSetTitanMigrationKeySpaceCfgFile() throws Exception {
+ Configuration testSubject;
+ String titanMigrationKeySpaceCfgFile = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanMigrationKeySpaceCfgFile(titanMigrationKeySpaceCfgFile);
+ }
+
+
+ @Test
+ public void testGetTitanInMemoryGraph() throws Exception {
+ Configuration testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanInMemoryGraph();
+ }
+
+
+ @Test
+ public void testSetTitanInMemoryGraph() throws Exception {
+ Configuration testSubject;
+ Boolean titanInMemoryGraph = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanInMemoryGraph(titanInMemoryGraph);
+ }
+
+
+ @Test
+ public void testGetStartMigrationFrom() throws Exception {
+ Configuration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStartMigrationFrom();
+ }
+
+
+ @Test
+ public void testSetStartMigrationFrom() throws Exception {
+ Configuration testSubject;
+ int startMigrationFrom = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStartMigrationFrom(startMigrationFrom);
+ }
+
+
+ @Test
+ public void testGetTitanLockTimeout() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanLockTimeout();
+ }
+
+
+ @Test
+ public void testSetTitanLockTimeout() throws Exception {
+ Configuration testSubject;
+ Long titanLockTimeout = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanLockTimeout(titanLockTimeout);
+ }
+
+
+ @Test
+ public void testGetTitanHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanHealthCheckReadTimeout();
+ }
+
+
+
+
+ @Test
+ public void testSetTitanHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long titanHealthCheckReadTimeout = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanHealthCheckReadTimeout(titanHealthCheckReadTimeout);
+ }
+
+
+ @Test
+ public void testGetTitanReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanReconnectIntervalInSeconds();
+ }
+
+
+
+
+ @Test
+ public void testSetTitanReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long titanReconnectIntervalInSeconds = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanReconnectIntervalInSeconds(titanReconnectIntervalInSeconds);
+ }
+
+
+ @Test
+ public void testGetEsReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEsReconnectIntervalInSeconds();
+ }
+
+
+
+
+ @Test
+ public void testSetEsReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long esReconnectIntervalInSeconds = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEsReconnectIntervalInSeconds(esReconnectIntervalInSeconds);
+ }
+
+
+ @Test
+ public void testGetArtifactTypes() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetArtifactTypes() throws Exception {
+ Configuration testSubject;
+ List<String> artifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactTypes(artifactTypes);
+ }
+
+
+ @Test
+ public void testGetExcludeResourceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExcludeResourceCategory();
+ }
+
+
+ @Test
+ public void testSetExcludeResourceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> excludeResourceCategory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExcludeResourceCategory(excludeResourceCategory);
+ }
+
+
+ @Test
+ public void testGetExcludeResourceType() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExcludeResourceType();
+ }
+
+
+ @Test
+ public void testSetExcludeResourceType() throws Exception {
+ Configuration testSubject;
+ List<String> excludeResourceType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExcludeResourceType(excludeResourceType);
+ }
+
+
+ @Test
+ public void testGetToscaArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaArtifacts();
+ }
+
+
+ @Test
+ public void testSetToscaArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> toscaArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaArtifacts(toscaArtifacts);
+ }
+
+
+ @Test
+ public void testGetInformationalResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInformationalResourceArtifacts();
+ }
+
+
+ @Test
+ public void testSetInformationalResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> informationalResourceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInformationalResourceArtifacts(informationalResourceArtifacts);
+ }
+
+
+ @Test
+ public void testGetInformationalServiceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInformationalServiceArtifacts();
+ }
+
+
+ @Test
+ public void testSetInformationalServiceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> informationalServiceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInformationalServiceArtifacts(informationalServiceArtifacts);
+ }
+
+
+ @Test
+ public void testGetServiceApiArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceApiArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceApiArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> serviceApiArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceApiArtifacts(serviceApiArtifacts);
+ }
+
+
+ @Test
+ public void testGetServiceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceDeploymentArtifacts(serviceDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetResourceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetResourceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceDeploymentArtifacts(resourceDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testSetResourceInstanceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInstanceDeploymentArtifacts(resourceInstanceDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetResourceInstanceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInstanceDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testGetExcludeServiceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExcludeServiceCategory();
+ }
+
+
+ @Test
+ public void testSetExcludeServiceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> excludeServiceCategory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExcludeServiceCategory(excludeServiceCategory);
+ }
+
+
+ @Test
+ public void testGetLicenseTypes() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLicenseTypes();
+ }
+
+
+ @Test
+ public void testSetLicenseTypes() throws Exception {
+ Configuration testSubject;
+ List<String> licenseTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLicenseTypes(licenseTypes);
+ }
+
+
+ @Test
+ public void testGetAdditionalInformationMaxNumberOfKeys() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformationMaxNumberOfKeys();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformationMaxNumberOfKeys() throws Exception {
+ Configuration testSubject;
+ Integer additionalInformationMaxNumberOfKeys = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformationMaxNumberOfKeys(additionalInformationMaxNumberOfKeys);
+ }
+
+
+ @Test
+ public void testGetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ BeMonitoringConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSystemMonitoring();
+ }
+
+
+ @Test
+ public void testSetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ BeMonitoringConfig systemMonitoring = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSystemMonitoring(systemMonitoring);
+ }
+
+
+ @Test
+ public void testGetDefaultHeatArtifactTimeoutMinutes() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultHeatArtifactTimeoutMinutes();
+ }
+
+
+ @Test
+ public void testSetDefaultHeatArtifactTimeoutMinutes() throws Exception {
+ Configuration testSubject;
+ Integer defaultHeatArtifactTimeoutMinutes = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultHeatArtifactTimeoutMinutes(defaultHeatArtifactTimeoutMinutes);
+ }
+
+
+ @Test
+ public void testGetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebHealthCheckReconnectIntervalInSeconds();
+ }
+
+
+ @Test
+ public void testSetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long uebHealthCheckReconnectIntervalInSeconds = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebHealthCheckReconnectIntervalInSeconds(uebHealthCheckReconnectIntervalInSeconds);
+ }
+
+
+ @Test
+ public void testGetUebHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebHealthCheckReadTimeout();
+ }
+
+
+ @Test
+ public void testSetUebHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long uebHealthCheckReadTimeout = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebHealthCheckReadTimeout(uebHealthCheckReadTimeout);
+ }
+
+
+ @Test
+ public void testGetCleanComponentsConfiguration() throws Exception {
+ Configuration testSubject;
+ CleanComponentsConfiguration result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCleanComponentsConfiguration();
+ }
+
+
+ @Test
+ public void testSetCleanComponentsConfiguration() throws Exception {
+ Configuration testSubject;
+ CleanComponentsConfiguration cleanComponentsConfiguration = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCleanComponentsConfiguration(cleanComponentsConfiguration);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUnLoggedUrls() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUnLoggedUrls();
+ }
+
+
+ @Test
+ public void testSetUnLoggedUrls() throws Exception {
+ Configuration testSubject;
+ List<String> unLoggedUrls = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUnLoggedUrls(unLoggedUrls);
+ }
+
+
+ @Test
+ public void testGetDeploymentResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeploymentResourceArtifacts();
+ }
+
+
+ @Test
+ public void testSetDeploymentResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> deploymentResourceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentResourceArtifacts(deploymentResourceArtifacts);
+ }
+
+
+ @Test
+ public void testGetHeatEnvArtifactHeader() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatEnvArtifactHeader();
+ }
+
+
+ @Test
+ public void testSetHeatEnvArtifactHeader() throws Exception {
+ Configuration testSubject;
+ String heatEnvArtifactHeader = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatEnvArtifactHeader(heatEnvArtifactHeader);
+ }
+
+
+ @Test
+ public void testGetHeatEnvArtifactFooter() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatEnvArtifactFooter();
+ }
+
+
+ @Test
+ public void testSetHeatEnvArtifactFooter() throws Exception {
+ Configuration testSubject;
+ String heatEnvArtifactFooter = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatEnvArtifactFooter(heatEnvArtifactFooter);
+ }
+
+
+ @Test
+ public void testGetDeploymentResourceInstanceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeploymentResourceInstanceArtifacts();
+ }
+
+
+ @Test
+ public void testSetDeploymentResourceInstanceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> deploymentResourceInstanceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentResourceInstanceArtifacts(deploymentResourceInstanceArtifacts);
+ }
+
+
+ @Test
+ public void testGetArtifactsIndex() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactsIndex();
+ }
+
+
+ @Test
+ public void testSetArtifactsIndex() throws Exception {
+ Configuration testSubject;
+ String artifactsIndex = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactsIndex(artifactsIndex);
+ }
+
+
+ @Test
+ public void testGetResourceInformationalDeployedArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInformationalDeployedArtifacts();
+ }
+
+
+ @Test
+ public void testSetResourceInformationalDeployedArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInformationalDeployedArtifacts(resourceInformationalDeployedArtifacts);
+ }
+
+
+ @Test
+ public void testGetResourceTypes() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceTypes();
+ }
+
+
+ @Test
+ public void testSetResourceTypes() throws Exception {
+ Configuration testSubject;
+ List<String> resourceTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceTypes(resourceTypes);
+ }
+
+
+ @Test
+ public void testGetToscaFilesDir() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaFilesDir();
+ }
+
+
+ @Test
+ public void testSetToscaFilesDir() throws Exception {
+ Configuration testSubject;
+ String toscaFilesDir = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaFilesDir(toscaFilesDir);
+ }
+
+
+ @Test
+ public void testGetHeatTranslatorPath() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatTranslatorPath();
+ }
+
+
+ @Test
+ public void testSetHeatTranslatorPath() throws Exception {
+ Configuration testSubject;
+ String heatTranslatorPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatTranslatorPath(heatTranslatorPath);
+ }
+
+
+ @Test
+ public void testGetRequirementsToFulfillBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementsToFulfillBeforeCert();
+ }
+
+
+ @Test
+ public void testSetRequirementsToFulfillBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> requirementsToFulfillBeforeCert = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementsToFulfillBeforeCert(requirementsToFulfillBeforeCert);
+ }
+
+
+ @Test
+ public void testGetCapabilitiesToConsumeBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilitiesToConsumeBeforeCert();
+ }
+
+
+ @Test
+ public void testSetCapabilitiesToConsumeBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> capabilitiesToConsumeBeforeCert = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilitiesToConsumeBeforeCert(capabilitiesToConsumeBeforeCert);
+ }
+
+
+ @Test
+ public void testGetOnboarding() throws Exception {
+ Configuration testSubject;
+ OnboardingConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOnboarding();
+ }
+
+
+ @Test
+ public void testSetOnboarding() throws Exception {
+ Configuration testSubject;
+ OnboardingConfig onboarding = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOnboarding(onboarding);
+ }
+
+
+ @Test
+ public void testGetEcompPortal() throws Exception {
+ Configuration testSubject;
+ EcompPortalConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEcompPortal();
+ }
+
+
+ @Test
+ public void testSetEcompPortal() throws Exception {
+ Configuration testSubject;
+ EcompPortalConfig ecompPortal = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompPortal(ecompPortal);
+ }
+
+
+ @Test
+ public void testGetToscaValidators() throws Exception {
+ Configuration testSubject;
+ ToscaValidatorsConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaValidators();
+ }
+
+
+ @Test
+ public void testSetToscaValidators() throws Exception {
+ Configuration testSubject;
+ ToscaValidatorsConfig toscaValidators = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaValidators(toscaValidators);
+ }
+
+
+ @Test
+ public void testIsDisableAudit() throws Exception {
+ Configuration testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDisableAudit();
+ }
+
+
+ @Test
+ public void testSetDisableAudit() throws Exception {
+ Configuration testSubject;
+ boolean enableAudit = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDisableAudit(enableAudit);
+ }
+
+
+ @Test
+ public void testGetResourceInformationalArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInformationalArtifacts();
+ }
+
+
+ @Test
+ public void testSetResourceInformationalArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceInformationalArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInformationalArtifacts(resourceInformationalArtifacts);
+ }
+
+
+ @Test
+ public void testGetVfModuleProperties() throws Exception {
+ Configuration testSubject;
+ Map<String, VfModuleProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleProperties();
+ }
+
+
+ @Test
+ public void testSetVfModuleProperties() throws Exception {
+ Configuration testSubject;
+ Map<String, VfModuleProperty> vfModuleProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVfModuleProperties(vfModuleProperties);
+ }
+
+
+ @Test
+ public void testGetToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaConformanceLevel();
+ }
+
+
+ @Test
+ public void testSetToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String toscaConformanceLevel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaConformanceLevel(toscaConformanceLevel);
+ }
+
+
+ @Test
+ public void testGetMinToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinToscaConformanceLevel();
+ }
+
+
+ @Test
+ public void testSetMinToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String toscaConformanceLevel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinToscaConformanceLevel(toscaConformanceLevel);
+ }
+
+
+ @Test
+ public void testGetDefaultImports() throws Exception {
+ Configuration testSubject;
+ LinkedList<Map<String, Map<String, String>>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultImports();
+ }
+
+
+ @Test
+ public void testSetDefaultImports() throws Exception {
+ Configuration testSubject;
+ LinkedList<Map<String, Map<String, String>>> defaultImports = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultImports(defaultImports);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
new file mode 100644
index 0000000000..8eb9befa7f
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
@@ -0,0 +1,372 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.ComponentArtifactTypesConfig;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.CreateTopicConfig;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.DistributionNotificationTopicConfig;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.DistributionStatusTopicConfig;
+
+
+public class DistributionEngineConfigurationTest {
+
+ private DistributionEngineConfiguration createTestSubject() {
+ return new DistributionEngineConfiguration();
+ }
+
+
+ @Test
+ public void testGetUebServers() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebServers();
+ }
+
+
+ @Test
+ public void testSetUebServers() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> uebServers = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebServers(uebServers);
+ }
+
+
+ @Test
+ public void testGetDistributionNotifTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionNotifTopicName();
+ }
+
+
+ @Test
+ public void testSetDistributionNotifTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String distributionNotifTopicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionNotifTopicName(distributionNotifTopicName);
+ }
+
+
+ @Test
+ public void testGetDistributionStatusTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatusTopicName();
+ }
+
+
+ @Test
+ public void testSetDistributionStatusTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String distributionStatusTopicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatusTopicName(distributionStatusTopicName);
+ }
+
+
+ @Test
+ public void testGetInitRetryIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInitRetryIntervalSec();
+ }
+
+
+ @Test
+ public void testSetInitRetryIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer initRetryIntervalSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInitRetryIntervalSec(initRetryIntervalSec);
+ }
+
+
+ @Test
+ public void testGetDistribNotifServiceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistribNotifServiceArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetDistribNotifServiceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig distribNotifServiceArtifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistribNotifServiceArtifactTypes(distribNotifServiceArtifactTypes);
+ }
+
+
+ @Test
+ public void testGetDistribNotifResourceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistribNotifResourceArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetDistribNotifResourceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig distribNotifResourceArtifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistribNotifResourceArtifactTypes(distribNotifResourceArtifactTypes);
+ }
+
+
+ @Test
+ public void testGetUebPublicKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebPublicKey();
+ }
+
+
+ @Test
+ public void testSetUebPublicKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String uebPublicKey = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebPublicKey(uebPublicKey);
+ }
+
+
+ @Test
+ public void testGetUebSecretKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebSecretKey();
+ }
+
+
+ @Test
+ public void testSetUebSecretKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String uebSecretKey = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebSecretKey(uebSecretKey);
+ }
+
+
+ @Test
+ public void testGetEnvironments() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEnvironments();
+ }
+
+
+ @Test
+ public void testSetEnvironments() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> environments = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ environments = null;
+ testSubject.setEnvironments(environments);
+ }
+
+
+ @Test
+ public void testGetDistributionStatusTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionStatusTopicConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatusTopic();
+ }
+
+
+ @Test
+ public void testSetDistributionStatusTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionStatusTopicConfig distributionStatusTopic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatusTopic(distributionStatusTopic);
+ }
+
+
+ @Test
+ public void testGetInitMaxIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInitMaxIntervalSec();
+ }
+
+
+ @Test
+ public void testSetInitMaxIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer initMaxIntervalSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInitMaxIntervalSec(initMaxIntervalSec);
+ }
+
+
+ @Test
+ public void testGetCreateTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ CreateTopicConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreateTopic();
+ }
+
+
+ @Test
+ public void testSetCreateTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ CreateTopicConfig createTopic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreateTopic(createTopic);
+ }
+
+
+ @Test
+ public void testIsStartDistributionEngine() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isStartDistributionEngine();
+ }
+
+
+ @Test
+ public void testSetStartDistributionEngine() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean startDistributionEngine = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStartDistributionEngine(startDistributionEngine);
+ }
+
+
+ @Test
+ public void testGetDistributionNotificationTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionNotificationTopicConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionNotificationTopic();
+ }
+
+
+ @Test
+ public void testSetDistributionNotificationTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionNotificationTopicConfig distributionNotificationTopic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionNotificationTopic(distributionNotificationTopic);
+ }
+
+
+ @Test
+ public void testGetDefaultArtifactInstallationTimeout() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultArtifactInstallationTimeout();
+ }
+
+
+ @Test
+ public void testSetDefaultArtifactInstallationTimeout() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ int defaultArtifactInstallationTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultArtifactInstallationTimeout(defaultArtifactInstallationTimeout);
+ }
+
+
+ @Test
+ public void testIsUseHttpsWithDmaap() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isUseHttpsWithDmaap();
+ }
+
+
+ @Test
+ public void testSetUseHttpsWithDmaap() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean useHttpsWithDmaap = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUseHttpsWithDmaap(useHttpsWithDmaap);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java
new file mode 100644
index 0000000000..47e380b7cc
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ErrorConfigurationTest {
+
+ private ErrorConfiguration createTestSubject() {
+ return new ErrorConfiguration();
+ }
+
+
+ @Test
+ public void testGetErrors() throws Exception {
+ ErrorConfiguration testSubject;
+ Map<String, ErrorInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrors();
+ }
+
+
+ @Test
+ public void testSetErrors() throws Exception {
+ ErrorConfiguration testSubject;
+ Map<String, ErrorInfo> errors = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setErrors(errors);
+ }
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ ErrorConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java
new file mode 100644
index 0000000000..86bedf6beb
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java
@@ -0,0 +1,110 @@
+package org.openecomp.sdc.be.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.ErrorInfo.ErrorInfoType;
+
+
+public class ErrorInfoTest {
+
+ private ErrorInfo createTestSubject() {
+ return new ErrorInfo();
+ }
+
+
+ @Test
+ public void testGetCode() throws Exception {
+ ErrorInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCode();
+ }
+
+
+ @Test
+ public void testSetCode() throws Exception {
+ ErrorInfo testSubject;
+ Integer code = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCode(code);
+ }
+
+
+ @Test
+ public void testGetMessage() throws Exception {
+ ErrorInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessage();
+ }
+
+
+ @Test
+ public void testSetMessage() throws Exception {
+ ErrorInfo testSubject;
+ String message = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMessage(message);
+ }
+
+
+ @Test
+ public void testGetMessageId() throws Exception {
+ ErrorInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessageId();
+ }
+
+
+ @Test
+ public void testSetMessageId() throws Exception {
+ ErrorInfo testSubject;
+ String messageId = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ messageId = null;
+ testSubject.setMessageId(messageId);
+
+ // test 2
+ testSubject = createTestSubject();
+ messageId = "";
+ testSubject.setMessageId(messageId);
+ }
+
+
+ @Test
+ public void testGetErrorInfoType() throws Exception {
+ ErrorInfo testSubject;
+ ErrorInfoType result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrorInfoType();
+ }
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ ErrorInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java
new file mode 100644
index 0000000000..2c62d6677c
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class Neo4jErrorsConfigurationTest {
+
+ private Neo4jErrorsConfiguration createTestSubject() {
+ return new Neo4jErrorsConfiguration();
+ }
+
+
+ @Test
+ public void testGetErrors() throws Exception {
+ Neo4jErrorsConfiguration testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrors();
+ }
+
+
+ @Test
+ public void testSetErrors() throws Exception {
+ Neo4jErrorsConfiguration testSubject;
+ Map<String, String> errors = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setErrors(errors);
+ }
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ Neo4jErrorsConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java
new file mode 100644
index 0000000000..616dbf9491
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.config.validation;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DeploymentArtifactHeatConfigurationTest {
+
+ private DeploymentArtifactHeatConfiguration createTestSubject() {
+ return new DeploymentArtifactHeatConfiguration();
+ }
+
+
+ @Test
+ public void testGetHeat_template_version() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeat_template_version();
+ }
+
+
+ @Test
+ public void testSetHeat_template_version() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ String heat_template_version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeat_template_version(heat_template_version);
+ }
+
+
+ @Test
+ public void testGetResources() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResources();
+ }
+
+
+ @Test
+ public void testSetResources() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ Map<String, Object> resources = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResources(resources);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java
new file mode 100644
index 0000000000..ef313377c6
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java
@@ -0,0 +1,56 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactGroupTypeEnumTest {
+
+ private ArtifactGroupTypeEnum createTestSubject() {
+ return ArtifactGroupTypeEnum.DEPLOYMENT;
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ArtifactGroupTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ArtifactGroupTypeEnum testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testFindType() throws Exception {
+ String type = "";
+ ArtifactGroupTypeEnum result;
+
+ // default test
+ result = ArtifactGroupTypeEnum.findType(type);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ArtifactGroupTypeEnum.getAllTypes();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java
new file mode 100644
index 0000000000..466eb3bab2
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java
@@ -0,0 +1,56 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactTypeEnumTest {
+
+ private ArtifactTypeEnum createTestSubject() {
+ return ArtifactTypeEnum.AAI_SERVICE_MODEL;
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ArtifactTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ArtifactTypeEnum testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testFindType() throws Exception {
+ String type = "";
+ ArtifactTypeEnum result;
+
+ // default test
+ result = ArtifactTypeEnum.findType(type);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ArtifactTypeEnum.getAllTypes();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java
new file mode 100644
index 0000000000..7d2e3de68a
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java
@@ -0,0 +1,114 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.common.api.HealthCheckInfo.HealthCheckComponent;
+import org.openecomp.sdc.common.api.HealthCheckInfo.HealthCheckStatus;
+
+
+public class HealthCheckInfoTest {
+
+ private HealthCheckInfo createTestSubject() {
+ return new HealthCheckInfo(null, null, "", "");
+ }
+
+
+ @Test
+ public void testGetHealthCheckComponent() throws Exception {
+ HealthCheckInfo testSubject;
+ HealthCheckComponent result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckComponent();
+ }
+
+
+ @Test
+ public void testGetHealthCheckStatus() throws Exception {
+ HealthCheckInfo testSubject;
+ HealthCheckStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckStatus();
+ }
+
+
+ @Test
+ public void testGetComponentsInfo() throws Exception {
+ HealthCheckInfo testSubject;
+ List<HealthCheckInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentsInfo();
+ }
+
+
+ @Test
+ public void testSetComponentsInfo() throws Exception {
+ HealthCheckInfo testSubject;
+ List<HealthCheckInfo> componentsInfo = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentsInfo(componentsInfo);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ HealthCheckInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ HealthCheckInfo testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ HealthCheckInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ HealthCheckInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testMain() throws Exception {
+ String[] args = new String[] { "" };
+
+ // default test
+ HealthCheckInfo.main(args);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java
new file mode 100644
index 0000000000..50c53d0587
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java
@@ -0,0 +1,61 @@
+package org.openecomp.sdc.common.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.common.api.ResponseInfo.ResponseStatusEnum;
+
+
+public class ResponseInfoTest {
+
+ private ResponseInfo createTestSubject() {
+ return new ResponseInfo(null, "");
+ }
+
+
+ @Test
+ public void testGetApplicativeStatus() throws Exception {
+ ResponseInfo testSubject;
+ ResponseStatusEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicativeStatus();
+ }
+
+
+ @Test
+ public void testSetApplicativeStatus() throws Exception {
+ ResponseInfo testSubject;
+ ResponseStatusEnum applicativeStatus = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicativeStatus(applicativeStatus);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ResponseInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ResponseInfo testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java
new file mode 100644
index 0000000000..0a83b8ec61
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java
@@ -0,0 +1,136 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeInfoTest {
+
+ private ToscaNodeTypeInfo createTestSubject() {
+ return new ToscaNodeTypeInfo();
+ }
+
+
+ @Test
+ public void testGetTemplateName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTemplateName();
+ }
+
+
+ @Test
+ public void testSetTemplateName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String templateName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTemplateName(templateName);
+ }
+
+
+ @Test
+ public void testGetNodeName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeName();
+ }
+
+
+ @Test
+ public void testSetNodeName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String nodeName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNodeName(nodeName);
+ }
+
+
+ @Test
+ public void testGetTemplateVersion() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTemplateVersion();
+ }
+
+
+ @Test
+ public void testSetTemplateVersion() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String templateVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTemplateVersion(templateVersion);
+ }
+
+
+ @Test
+ public void testGetInterfaces() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ List<ToscaNodeTypeInterface> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaces();
+ }
+
+
+ @Test
+ public void testSetInterfaces() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ List<ToscaNodeTypeInterface> interfaces = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaces(interfaces);
+ }
+
+
+ @Test
+ public void testGetIconPath() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIconPath();
+ }
+
+
+ @Test
+ public void testSetIconPath() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String iconPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIconPath(iconPath);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java
new file mode 100644
index 0000000000..7d14df9c6d
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeInterfaceTest {
+
+ private ToscaNodeTypeInterface createTestSubject() {
+ return new ToscaNodeTypeInterface();
+ }
+
+
+ @Test
+ public void testGetScripts() throws Exception {
+ ToscaNodeTypeInterface testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getScripts();
+ }
+
+
+ @Test
+ public void testSetScripts() throws Exception {
+ ToscaNodeTypeInterface testSubject;
+ List<String> scripts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setScripts(scripts);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java
new file mode 100644
index 0000000000..f731bb78fa
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class YamlSuffixEnumTest {
+
+ private YamlSuffixEnum createTestSubject() {
+ return YamlSuffixEnum.YAML;
+ }
+
+
+ @Test
+ public void testGetSuffix() throws Exception {
+ YamlSuffixEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSuffix();
+ }
+
+
+ @Test
+ public void testSetSuufix() throws Exception {
+ YamlSuffixEnum testSubject;
+ String suffix = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSuufix(suffix);
+ }
+
+
+ @Test
+ public void testGetSuffixes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = YamlSuffixEnum.getSuffixes();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java
new file mode 100644
index 0000000000..521f2e38d1
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.common.datastructure;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AuditingFieldsKeysEnumTest {
+
+ private AuditingFieldsKeysEnum createTestSubject() {
+ return AuditingFieldsKeysEnum.AUDIT_ACTION;
+ }
+
+
+ @Test
+ public void testGetValueClass() throws Exception {
+ AuditingFieldsKeysEnum testSubject;
+ Class<?> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueClass();
+ }
+
+
+ @Test
+ public void testGetDisplayName() throws Exception {
+ AuditingFieldsKeysEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDisplayName();
+ }
+
+
+ @Test
+ public void testSetDisplayName() throws Exception {
+ AuditingFieldsKeysEnum testSubject;
+ String displayName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDisplayName(displayName);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java
new file mode 100644
index 0000000000..2826b49c66
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java
@@ -0,0 +1,119 @@
+package org.openecomp.sdc.common.datastructure;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ESTimeBasedEventTest {
+
+ private ESTimeBasedEvent createTestSubject() {
+ return new ESTimeBasedEvent();
+ }
+
+
+
+
+ @Test
+ public void testCalculateYearIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateYearIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateMonthIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateMonthIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateDayIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateDayIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateHourIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateHourIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateMinuteIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateMinuteIndexSuffix();
+ }
+
+
+
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String timestamp = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testGetFields() throws Exception {
+ ESTimeBasedEvent testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFields();
+ }
+
+
+ @Test
+ public void testSetFields() throws Exception {
+ ESTimeBasedEvent testSubject;
+ Map<String, Object> fields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFields(fields);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java
new file mode 100644
index 0000000000..272c9d1796
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.common.datastructure;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MonitoringFieldsKeysEnumTest {
+
+ private MonitoringFieldsKeysEnum createTestSubject() {
+ return MonitoringFieldsKeysEnum.MONITORING_APP_ID;
+ }
+
+
+ @Test
+ public void testGetValueClass() throws Exception {
+ MonitoringFieldsKeysEnum testSubject;
+ Class<?> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueClass();
+ }
+
+
+ @Test
+ public void testGetDisplayName() throws Exception {
+ MonitoringFieldsKeysEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDisplayName();
+ }
+
+
+ @Test
+ public void testSetDisplayName() throws Exception {
+ MonitoringFieldsKeysEnum testSubject;
+ String displayName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDisplayName(displayName);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java
new file mode 100644
index 0000000000..eac9196b75
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java
@@ -0,0 +1,26 @@
+package org.openecomp.sdc.common.datastructure;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class WrapperTest {
+
+ private Wrapper createTestSubject() {
+ return new Wrapper(null);
+ }
+
+
+
+
+ @Test
+ public void testIsEmpty() throws Exception {
+ Wrapper testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isEmpty();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java
new file mode 100644
index 0000000000..fa86708eb2
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/kpi/api/ASDCKpiApiTest.java
@@ -0,0 +1,53 @@
+package org.openecomp.sdc.common.kpi.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ASDCKpiApiTest {
+
+ private ASDCKpiApi createTestSubject() {
+ return new ASDCKpiApi();
+ }
+
+
+ @Test
+ public void testCountImportResourcesKPI() throws Exception {
+
+ // default test
+ ASDCKpiApi.countImportResourcesKPI();
+ }
+
+
+ @Test
+ public void testCountCreatedResourcesKPI() throws Exception {
+
+ // default test
+ ASDCKpiApi.countCreatedResourcesKPI();
+ }
+
+
+ @Test
+ public void testCountCreatedServicesKPI() throws Exception {
+
+ // default test
+ ASDCKpiApi.countCreatedServicesKPI();
+ }
+
+
+ @Test
+ public void testCountUsersAuthorizations() throws Exception {
+
+ // default test
+ ASDCKpiApi.countUsersAuthorizations();
+ }
+
+
+ @Test
+ public void testCountActivatedDistribution() throws Exception {
+
+ // default test
+ ASDCKpiApi.countActivatedDistribution();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
new file mode 100644
index 0000000000..a9936adae5
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/listener/AppContextListenerTest.java
@@ -0,0 +1,43 @@
+package org.openecomp.sdc.common.listener;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+import javax.servlet.ServletContext;
+import javax.servlet.ServletContextEvent;
+
+import org.junit.Test;
+
+
+public class AppContextListenerTest {
+
+ private AppContextListener createTestSubject() {
+ return new AppContextListener();
+ }
+
+
+
+
+
+ @Test
+ public void testContextDestroyed() throws Exception {
+ AppContextListener testSubject;
+ ServletContextEvent context = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.contextDestroyed(context);
+ }
+
+
+
+
+// @Test
+ public void testGetManifestInfo() throws Exception {
+ ServletContext application = null;
+ Map<String, String> result;
+
+ // default test
+ result = AppContextListener.getManifestInfo(application);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java
new file mode 100644
index 0000000000..2e64590ccc
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java
@@ -0,0 +1,244 @@
+package org.openecomp.sdc.common.monitoring;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MonitoringEventTest {
+
+ private MonitoringEvent createTestSubject() {
+ return new MonitoringEvent();
+ }
+
+
+ @Test
+ public void testGetHostid() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostid();
+ }
+
+
+ @Test
+ public void testSetHostid() throws Exception {
+ MonitoringEvent testSubject;
+ String hostid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostid(hostid);
+ }
+
+
+ @Test
+ public void testGetHostcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostcpu();
+ }
+
+
+ @Test
+ public void testSetHostcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long hostcpu = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostcpu(hostcpu);
+ }
+
+
+ @Test
+ public void testGetHostmem() throws Exception {
+ MonitoringEvent testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostmem();
+ }
+
+
+ @Test
+ public void testSetHostmem() throws Exception {
+ MonitoringEvent testSubject;
+ Double hostmem = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostmem(hostmem);
+ }
+
+
+ @Test
+ public void testGetHostdisk() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostdisk();
+ }
+
+
+ @Test
+ public void testSetHostdisk() throws Exception {
+ MonitoringEvent testSubject;
+ String hostdisk = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostdisk(hostdisk);
+ }
+
+
+ @Test
+ public void testGetJvmid() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmid();
+ }
+
+
+ @Test
+ public void testSetJvmid() throws Exception {
+ MonitoringEvent testSubject;
+ String jvmid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmid(jvmid);
+ }
+
+
+ @Test
+ public void testGetJvmcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmcpu();
+ }
+
+
+ @Test
+ public void testSetJvmcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long jvmcpu = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmcpu(jvmcpu);
+ }
+
+
+ @Test
+ public void testGetJvmmem() throws Exception {
+ MonitoringEvent testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmmem();
+ }
+
+
+ @Test
+ public void testSetJvmmem() throws Exception {
+ MonitoringEvent testSubject;
+ Long jvmmem = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmmem(jvmmem);
+ }
+
+
+ @Test
+ public void testGetJvmtnum() throws Exception {
+ MonitoringEvent testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmtnum();
+ }
+
+
+ @Test
+ public void testSetJvmtnum() throws Exception {
+ MonitoringEvent testSubject;
+ Integer jvmtnum = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmtnum(jvmtnum);
+ }
+
+
+ @Test
+ public void testGetAppid() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAppid();
+ }
+
+
+ @Test
+ public void testSetAppid() throws Exception {
+ MonitoringEvent testSubject;
+ String appid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAppid(appid);
+ }
+
+
+ @Test
+ public void testGetAppstat() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAppstat();
+ }
+
+
+ @Test
+ public void testSetAppstat() throws Exception {
+ MonitoringEvent testSubject;
+ String appstat = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAppstat(appstat);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java
new file mode 100644
index 0000000000..89309e7c03
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java
@@ -0,0 +1,112 @@
+package org.openecomp.sdc.common.rest.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestConfigurationInfoTest {
+
+ private RestConfigurationInfo createTestSubject() {
+ return new RestConfigurationInfo();
+ }
+
+
+ @Test
+ public void testGetReadTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReadTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetReadTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer readTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReadTimeoutInSec(readTimeoutInSec);
+ }
+
+
+ @Test
+ public void testGetIgnoreCertificate() throws Exception {
+ RestConfigurationInfo testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIgnoreCertificate();
+ }
+
+
+ @Test
+ public void testSetIgnoreCertificate() throws Exception {
+ RestConfigurationInfo testSubject;
+ Boolean ignoreCertificate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIgnoreCertificate(ignoreCertificate);
+ }
+
+
+ @Test
+ public void testGetConnectionPoolSize() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectionPoolSize();
+ }
+
+
+ @Test
+ public void testSetConnectionPoolSize() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer connectionPoolSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectionPoolSize(connectionPoolSize);
+ }
+
+
+ @Test
+ public void testGetConnectTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetConnectTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer connectTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectTimeoutInSec(connectTimeoutInSec);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestConfigurationInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java
new file mode 100644
index 0000000000..a01c761072
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java
@@ -0,0 +1,101 @@
+package org.openecomp.sdc.common.rest.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestResponseAsByteArrayTest {
+
+ private RestResponseAsByteArray createTestSubject() {
+ return new RestResponseAsByteArray(null, "", 0);
+ }
+
+
+ @Test
+ public void testGetResponse() throws Exception {
+ RestResponseAsByteArray testSubject;
+ byte[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResponse();
+ }
+
+
+ @Test
+ public void testSetResponse() throws Exception {
+ RestResponseAsByteArray testSubject;
+ byte[] response = new byte[] { ' ' };
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResponse(response);
+ }
+
+
+ @Test
+ public void testGetHttpStatusCode() throws Exception {
+ RestResponseAsByteArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHttpStatusCode();
+ }
+
+
+ @Test
+ public void testSetHttpStatusCode() throws Exception {
+ RestResponseAsByteArray testSubject;
+ int httpStatusCode = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHttpStatusCode(httpStatusCode);
+ }
+
+
+ @Test
+ public void testGetStatusDescription() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatusDescription();
+ }
+
+
+ @Test
+ public void testSetStatusDescription() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String statusDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatusDescription(statusDescription);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testToPrettyString() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toPrettyString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java
new file mode 100644
index 0000000000..c7fe36581d
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java
@@ -0,0 +1,90 @@
+package org.openecomp.sdc.common.rest.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestResponseTest {
+
+ private RestResponse createTestSubject() {
+ return new RestResponse("", "", 0);
+ }
+
+
+ @Test
+ public void testGetResponse() throws Exception {
+ RestResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResponse();
+ }
+
+
+ @Test
+ public void testSetResponse() throws Exception {
+ RestResponse testSubject;
+ String response = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResponse(response);
+ }
+
+
+ @Test
+ public void testGetHttpStatusCode() throws Exception {
+ RestResponse testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHttpStatusCode();
+ }
+
+
+ @Test
+ public void testSetHttpStatusCode() throws Exception {
+ RestResponse testSubject;
+ int httpStatusCode = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHttpStatusCode(httpStatusCode);
+ }
+
+
+ @Test
+ public void testGetStatusDescription() throws Exception {
+ RestResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatusDescription();
+ }
+
+
+ @Test
+ public void testSetStatusDescription() throws Exception {
+ RestResponse testSubject;
+ String statusDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatusDescription(statusDescription);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java
new file mode 100644
index 0000000000..405da1076c
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.common.util;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityTypeNameEnumTest {
+
+ private CapabilityTypeNameEnum createTestSubject() {
+ return CapabilityTypeNameEnum.ATTACHMENT;
+ }
+
+
+ @Test
+ public void testGetCapabilityName() throws Exception {
+ CapabilityTypeNameEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityName();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java
new file mode 100644
index 0000000000..f574accd13
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java
@@ -0,0 +1,126 @@
+package org.openecomp.sdc.common.util;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class GeneralUtilityTest {
+
+ private GeneralUtility createTestSubject() {
+ return new GeneralUtility();
+ }
+
+
+ @Test
+ public void testGenerateTextFile() throws Exception {
+ String fileName = "";
+ String fileData = "";
+ boolean result;
+
+ // default test
+ result = GeneralUtility.generateTextFile(fileName, fileData);
+ }
+
+
+ @Test
+ public void testIsBase64Encoded() throws Exception {
+ byte[] data = new byte[] { ' ' };
+ boolean result;
+
+ // default test
+ result = GeneralUtility.isBase64Encoded(data);
+ }
+
+
+ @Test
+ public void testIsBase64Encoded_1() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = GeneralUtility.isBase64Encoded(str);
+ }
+
+
+ @Test
+ public void testIsExceedingLimit() throws Exception {
+ String str = "";
+ int limit = 0;
+ boolean result;
+
+ // test 1
+ str = null;
+ result = GeneralUtility.isExceedingLimit(str, limit);
+ Assert.assertEquals(false, result);
+
+ // test 2
+ str = "";
+ result = GeneralUtility.isExceedingLimit(str, limit);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testIsExceedingLimit_1() throws Exception {
+ List<String> strList = null;
+ int limit = 0;
+ int delimiterLength = 0;
+ boolean result;
+
+ // test 1
+ strList = null;
+ result = GeneralUtility.isExceedingLimit(strList, limit, delimiterLength);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testGetFilenameExtension() throws Exception {
+ String fileName = "";
+ String result;
+
+ // test 1
+ fileName = null;
+ result = GeneralUtility.getFilenameExtension(fileName);
+ Assert.assertEquals("", result);
+
+ // test 2
+ fileName = "";
+ result = GeneralUtility.getFilenameExtension(fileName);
+ Assert.assertEquals("", result);
+ }
+
+
+ @Test
+ public void testCalculateMD5Base64EncodedByByteArray() throws Exception {
+ byte[] payload = new byte[] { ' ' };
+ String result;
+
+ // default test
+ result = GeneralUtility.calculateMD5Base64EncodedByByteArray(payload);
+ }
+
+
+ @Test
+ public void testCalculateMD5Base64EncodedByString() throws Exception {
+ String data = "";
+ String result;
+
+ // default test
+ result = GeneralUtility.calculateMD5Base64EncodedByString(data);
+ }
+
+
+ @Test
+ public void testIsEmptyString() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = GeneralUtility.isEmptyString(str);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java
new file mode 100644
index 0000000000..c11ccb79ce
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.common.util;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+import com.google.gson.Gson;
+
+
+public class GsonFactoryTest {
+
+ private GsonFactory createTestSubject() {
+ return new GsonFactory();
+ }
+
+
+ @Test
+ public void testGetGson() throws Exception {
+ Gson result;
+
+ // default test
+ result = GsonFactory.getGson();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java
new file mode 100644
index 0000000000..2c4e0b7f00
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java
@@ -0,0 +1,605 @@
+package org.openecomp.sdc.common.util;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class ValidationUtilsTest {
+
+ private ValidationUtils createTestSubject() {
+ return new ValidationUtils();
+ }
+
+
+ @Test
+ public void testValidateArtifactLabel() throws Exception {
+ String label = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactLabel(label);
+ }
+
+
+ @Test
+ public void testValidateArtifactDisplayName() throws Exception {
+ String displayName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactDisplayName(displayName);
+ }
+
+
+
+
+ @Test
+ public void testNormalizeCategoryName4Display() throws Exception {
+ String str = "";
+ String result;
+
+ // test 1
+ str = "123";
+ result = ValidationUtils.normalizeCategoryName4Display(str);
+ Assert.assertEquals("123", result);
+
+ // test 2
+ str = "123#123";
+ result = ValidationUtils.normalizeCategoryName4Display(str);
+ Assert.assertEquals("123#123", result);
+ }
+
+
+ @Test
+ public void testNormalizeCategoryName4Uniqueness() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeCategoryName4Uniqueness(str);
+ }
+
+
+ @Test
+ public void testValidateCategoryDisplayNameLength() throws Exception {
+ String label = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateCategoryDisplayNameLength(label);
+ }
+
+
+ @Test
+ public void testValidateProductFullNameLength() throws Exception {
+ String fullName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateProductFullNameLength(fullName);
+ }
+
+
+ @Test
+ public void testValidateArtifactLabelLength() throws Exception {
+ String label = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactLabelLength(label);
+ }
+
+
+ @Test
+ public void testValidateResourceInstanceNameLength() throws Exception {
+ String resourceInstanceName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateResourceInstanceNameLength(resourceInstanceName);
+ }
+
+
+ @Test
+ public void testValidateResourceInstanceName() throws Exception {
+ String resourceInstanceName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateResourceInstanceName(resourceInstanceName);
+ }
+
+
+ @Test
+ public void testValidateUrlLength() throws Exception {
+ String url = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateUrlLength(url);
+ }
+
+
+ @Test
+ public void testValidateArtifactNameLength() throws Exception {
+ String artifactName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactNameLength(artifactName);
+ }
+
+
+ @Test
+ public void testValidateComponentNamePattern() throws Exception {
+ String componentName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateComponentNamePattern(componentName);
+ }
+
+
+ @Test
+ public void testValidateComponentNameLength() throws Exception {
+ String componentName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateComponentNameLength(componentName);
+ }
+
+
+ @Test
+ public void testValidateIcon() throws Exception {
+ String icon = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIcon(icon);
+ }
+
+
+ @Test
+ public void testValidateIconLength() throws Exception {
+ String icon = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIconLength(icon);
+ }
+
+
+ @Test
+ public void testValidateProjectCode() throws Exception {
+ String projectCode = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateProjectCode(projectCode);
+ }
+
+
+ @Test
+ public void testValidateProjectCodeLegth() throws Exception {
+ String projectCode = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateProjectCodeLegth(projectCode);
+ }
+
+
+ @Test
+ public void testValidateContactId() throws Exception {
+ String contactId = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateContactId(contactId);
+ }
+
+
+ @Test
+ public void testValidateCost() throws Exception {
+ String cost = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateCost(cost);
+ }
+
+
+ @Test
+ public void testRemoveHtmlTags() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeHtmlTags(str);
+ }
+
+
+ @Test
+ public void testRemoveAllTags() throws Exception {
+ String htmlText = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeAllTags(htmlText);
+ }
+
+
+ @Test
+ public void testNormaliseWhitespace() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normaliseWhitespace(str);
+ }
+
+
+ @Test
+ public void testStripOctets() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.stripOctets(str);
+ }
+
+
+ @Test
+ public void testRemoveNoneUtf8Chars() throws Exception {
+ String input = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeNoneUtf8Chars(input);
+ }
+
+
+ @Test
+ public void testValidateIsEnglish() throws Exception {
+ String input = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIsEnglish(input);
+ }
+
+
+ @Test
+ public void testValidateIsAscii() throws Exception {
+ String input = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIsAscii(input);
+ }
+
+
+ @Test
+ public void testConvertHtmlTagsToEntities() throws Exception {
+ String input = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.convertHtmlTagsToEntities(input);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testValidateTagListLength() throws Exception {
+ int tagListLength = 0;
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateTagListLength(tagListLength);
+ }
+
+
+ @Test
+ public void testValidateDescriptionLength() throws Exception {
+ String description = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateDescriptionLength(description);
+ }
+
+
+ @Test
+ public void testValidateStringNotEmpty() throws Exception {
+ String value = "";
+ boolean result;
+
+ // test 1
+ value = null;
+ result = ValidationUtils.validateStringNotEmpty(value);
+ Assert.assertEquals(false, result);
+
+ // test 2
+ value = "";
+ result = ValidationUtils.validateStringNotEmpty(value);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testValidateListNotEmpty() throws Exception {
+ List<?> list = null;
+ boolean result;
+
+ // test 1
+ list = null;
+ result = ValidationUtils.validateListNotEmpty(list);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testValidateVendorName() throws Exception {
+ String vendorName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorName(vendorName);
+ }
+
+
+ @Test
+ public void testValidateVendorNameLength() throws Exception {
+ String vendorName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorNameLength(vendorName);
+ }
+
+
+ @Test
+ public void testValidateResourceVendorModelNumberLength() throws Exception {
+ String resourceVendorModelNumber = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateResourceVendorModelNumberLength(resourceVendorModelNumber);
+ }
+
+
+ @Test
+ public void testValidateVendorRelease() throws Exception {
+ String vendorRelease = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorRelease(vendorRelease);
+ }
+
+
+ @Test
+ public void testValidateVendorReleaseLength() throws Exception {
+ String vendorRelease = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorReleaseLength(vendorRelease);
+ }
+
+
+ @Test
+ public void testValidateServiceTypeLength() throws Exception {
+ String serviceType = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateServiceTypeLength(serviceType);
+ }
+
+
+ @Test
+ public void testValidateServiceRoleLength() throws Exception {
+ String serviceRole = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateServiceRoleLength(serviceRole);
+ }
+
+
+ @Test
+ public void testHasBeenCertified() throws Exception {
+ String version = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.hasBeenCertified(version);
+ }
+
+
+ @Test
+ public void testNormaliseComponentName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normaliseComponentName(name);
+ }
+
+
+ @Test
+ public void testNormalizeComponentInstanceName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeComponentInstanceName(name);
+ }
+
+
+
+
+
+ @Test
+ public void testConvertToSystemName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.convertToSystemName(name);
+ }
+
+
+ @Test
+ public void testNormalizeFileName() throws Exception {
+ String filename = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeFileName(filename);
+ }
+
+
+
+
+
+ @Test
+ public void testValidateUrl() throws Exception {
+ String url = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateUrl(url);
+ }
+
+
+ @Test
+ public void testCleanArtifactDisplayName() throws Exception {
+ String strIn = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.cleanArtifactDisplayName(strIn);
+ }
+
+
+ @Test
+ public void testNormalizeArtifactLabel() throws Exception {
+ String strIn = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeArtifactLabel(strIn);
+ }
+
+
+ @Test
+ public void testValidateAdditionalInformationKeyName() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateAdditionalInformationKeyName(str);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testValidateConsumerName() throws Exception {
+ String consumerName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateConsumerName(consumerName);
+ }
+
+
+ @Test
+ public void testIsUTF8Str() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.isUTF8Str(str);
+ }
+
+
+ @Test
+ public void testValidateConsumerPassSalt() throws Exception {
+ String consumerSalt = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateConsumerPassSalt(consumerSalt);
+ }
+
+
+ @Test
+ public void testIsFloatNumber() throws Exception {
+ String number = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.isFloatNumber(number);
+ }
+
+
+ @Test
+ public void testValidateCertifiedVersion() throws Exception {
+ String version = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateCertifiedVersion(version);
+ }
+
+
+ @Test
+ public void testValidateMinorVersion() throws Exception {
+ String version = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateMinorVersion(version);
+ }
+
+
+ @Test
+ public void testNormaliseProductName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normaliseProductName(name);
+ }
+
+
+
+
+
+ @Test
+ public void testRemoveHtmlTagsOnly() throws Exception {
+ String htmlText = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeHtmlTagsOnly(htmlText);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java
new file mode 100644
index 0000000000..d034f2ddfa
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java
@@ -0,0 +1,543 @@
+package org.openecomp.sdc.fe.config;
+
+import java.util.Date;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
+import org.openecomp.sdc.fe.config.Configuration.FeMonitoringConfig;
+
+
+public class ConfigurationTest {
+
+ private Configuration createTestSubject() {
+ return new Configuration();
+ }
+
+
+ @Test
+ public void testGetKibanaProtocol() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKibanaProtocol();
+ }
+
+
+ @Test
+ public void testSetKibanaProtocol() throws Exception {
+ Configuration testSubject;
+ String kibanaProtocol = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKibanaProtocol(kibanaProtocol);
+ }
+
+
+ @Test
+ public void testGetKibanaHost() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKibanaHost();
+ }
+
+
+ @Test
+ public void testSetKibanaHost() throws Exception {
+ Configuration testSubject;
+ String kibanaHost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKibanaHost(kibanaHost);
+ }
+
+
+ @Test
+ public void testGetKibanaPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKibanaPort();
+ }
+
+
+ @Test
+ public void testSetKibanaPort() throws Exception {
+ Configuration testSubject;
+ Integer kibanaPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKibanaPort(kibanaPort);
+ }
+
+
+ @Test
+ public void testGetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ FeMonitoringConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSystemMonitoring();
+ }
+
+
+ @Test
+ public void testSetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ FeMonitoringConfig systemMonitoring = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSystemMonitoring(systemMonitoring);
+ }
+
+
+ @Test
+ public void testGetHealthCheckSocketTimeoutInMs() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckSocketTimeoutInMs();
+ }
+
+
+ @Test
+ public void testGetHealthCheckSocketTimeoutInMs_1() throws Exception {
+ Configuration testSubject;
+ int defaultVal = 0;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckSocketTimeoutInMs(defaultVal);
+ }
+
+
+ @Test
+ public void testSetHealthCheckSocketTimeoutInMs() throws Exception {
+ Configuration testSubject;
+ Integer healthCheckSocketTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHealthCheckSocketTimeoutInMs(healthCheckSocketTimeout);
+ }
+
+
+ @Test
+ public void testGetHealthCheckIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckIntervalInSeconds();
+ }
+
+
+ @Test
+ public void testGetHealthCheckIntervalInSeconds_1() throws Exception {
+ Configuration testSubject;
+ int defaultVal = 0;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckIntervalInSeconds(defaultVal);
+ }
+
+
+ @Test
+ public void testSetHealthCheckIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Integer healthCheckInterval = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHealthCheckIntervalInSeconds(healthCheckInterval);
+ }
+
+
+ @Test
+ public void testGetReleased() throws Exception {
+ Configuration testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReleased();
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetReleased() throws Exception {
+ Configuration testSubject;
+ Date released = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReleased(released);
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ Configuration testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetConnection() throws Exception {
+ Configuration testSubject;
+ Connection result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnection();
+ }
+
+
+ @Test
+ public void testSetConnection() throws Exception {
+ Configuration testSubject;
+ Connection connection = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnection(connection);
+ }
+
+
+ @Test
+ public void testGetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProtocols();
+ }
+
+
+ @Test
+ public void testSetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> protocols = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProtocols(protocols);
+ }
+
+
+ @Test
+ public void testGetBeHost() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeHost();
+ }
+
+
+ @Test
+ public void testSetBeHost() throws Exception {
+ Configuration testSubject;
+ String beHost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeHost(beHost);
+ }
+
+
+ @Test
+ public void testGetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeHttpPort();
+ }
+
+
+ @Test
+ public void testSetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer beHttpPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeHttpPort(beHttpPort);
+ }
+
+
+ @Test
+ public void testGetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeSslPort();
+ }
+
+
+ @Test
+ public void testSetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer beSslPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeSslPort(beSslPort);
+ }
+
+
+ @Test
+ public void testGetBeContext() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeContext();
+ }
+
+
+ @Test
+ public void testSetBeContext() throws Exception {
+ Configuration testSubject;
+ String beContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeContext(beContext);
+ }
+
+
+ @Test
+ public void testGetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeProtocol();
+ }
+
+
+ @Test
+ public void testSetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String beProtocol = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeProtocol(beProtocol);
+ }
+
+
+ @Test
+ public void testGetThreadpoolSize() throws Exception {
+ Configuration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getThreadpoolSize();
+ }
+
+
+ @Test
+ public void testSetThreadpoolSize() throws Exception {
+ Configuration testSubject;
+ int threadpoolSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setThreadpoolSize(threadpoolSize);
+ }
+
+
+ @Test
+ public void testGetRequestTimeout() throws Exception {
+ Configuration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestTimeout();
+ }
+
+
+ @Test
+ public void testSetRequestTimeout() throws Exception {
+ Configuration testSubject;
+ int requestTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestTimeout(requestTimeout);
+ }
+
+
+ @Test
+ public void testGetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIdentificationHeaderFields();
+ }
+
+
+ @Test
+ public void testSetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> identificationHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIdentificationHeaderFields(identificationHeaderFields);
+ }
+
+
+ @Test
+ public void testGetOptionalHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOptionalHeaderFields();
+ }
+
+
+ @Test
+ public void testSetOptionalHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> optionalHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOptionalHeaderFields(optionalHeaderFields);
+ }
+
+
+ @Test
+ public void testGetForwardHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getForwardHeaderFields();
+ }
+
+
+ @Test
+ public void testSetForwardHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> forwardHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setForwardHeaderFields(forwardHeaderFields);
+ }
+
+
+ @Test
+ public void testGetFeFqdn() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFeFqdn();
+ }
+
+
+ @Test
+ public void testSetFeFqdn() throws Exception {
+ Configuration testSubject;
+ String feFqdn = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFeFqdn(feFqdn);
+ }
+
+
+ @Test
+ public void testGetOnboardingForwardContext() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOnboardingForwardContext();
+ }
+
+
+ @Test
+ public void testSetOnboardingForwardContext() throws Exception {
+ Configuration testSubject;
+ String onboardingForwardContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOnboardingForwardContext(onboardingForwardContext);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java
new file mode 100644
index 0000000000..af950ee45f
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinitionTest.java
@@ -0,0 +1,140 @@
+package org.openecomp.sdc.be.datatypes.category;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class CategoryDataDefinitionTest {
+
+ private CategoryDataDefinition createTestSubject() {
+ return new CategoryDataDefinition();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ CategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ CategoryDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetNormalizedName() throws Exception {
+ CategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNormalizedName();
+ }
+
+
+ @Test
+ public void testSetNormalizedName() throws Exception {
+ CategoryDataDefinition testSubject;
+ String normalizedName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNormalizedName(normalizedName);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ CategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ CategoryDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetIcons() throws Exception {
+ CategoryDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIcons();
+ }
+
+
+ @Test
+ public void testSetIcons() throws Exception {
+ CategoryDataDefinition testSubject;
+ List<String> icons = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIcons(icons);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ CategoryDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ CategoryDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/GroupingDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/GroupingDataDefinitionTest.java
new file mode 100644
index 0000000000..be109eab7c
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/GroupingDataDefinitionTest.java
@@ -0,0 +1,116 @@
+package org.openecomp.sdc.be.datatypes.category;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class GroupingDataDefinitionTest {
+
+ private GroupingDataDefinition createTestSubject() {
+ return new GroupingDataDefinition();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ GroupingDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ GroupingDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetNormalizedName() throws Exception {
+ GroupingDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNormalizedName();
+ }
+
+
+ @Test
+ public void testSetNormalizedName() throws Exception {
+ GroupingDataDefinition testSubject;
+ String normalizedName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNormalizedName(normalizedName);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupingDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GroupingDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ GroupingDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ GroupingDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupingDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/SubCategoryDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/SubCategoryDataDefinitionTest.java
new file mode 100644
index 0000000000..73d0865fe9
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/category/SubCategoryDataDefinitionTest.java
@@ -0,0 +1,140 @@
+package org.openecomp.sdc.be.datatypes.category;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class SubCategoryDataDefinitionTest {
+
+ private SubCategoryDataDefinition createTestSubject() {
+ return new SubCategoryDataDefinition();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetNormalizedName() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNormalizedName();
+ }
+
+
+ @Test
+ public void testSetNormalizedName() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String normalizedName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNormalizedName(normalizedName);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetIcons() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIcons();
+ }
+
+
+ @Test
+ public void testSetIcons() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ List<String> icons = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIcons(icons);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ SubCategoryDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ResourceMetadataDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ResourceMetadataDataDefinitionTest.java
new file mode 100644
index 0000000000..249a844c9c
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ResourceMetadataDataDefinitionTest.java
@@ -0,0 +1,224 @@
+package org.openecomp.sdc.be.datatypes.components;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
+
+
+public class ResourceMetadataDataDefinitionTest {
+
+ private ResourceMetadataDataDefinition createTestSubject() {
+ return new ResourceMetadataDataDefinition();
+ }
+
+
+ @Test
+ public void testGetVendorName() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorName();
+ }
+
+
+ @Test
+ public void testSetVendorName() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String vendorName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorName(vendorName);
+ }
+
+
+ @Test
+ public void testGetVendorRelease() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorRelease();
+ }
+
+
+ @Test
+ public void testSetVendorRelease() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String vendorRelease = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorRelease(vendorRelease);
+ }
+
+
+ @Test
+ public void testGetResourceVendorModelNumber() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceVendorModelNumber();
+ }
+
+
+ @Test
+ public void testSetResourceVendorModelNumber() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String resourceVendorModelNumber = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceVendorModelNumber(resourceVendorModelNumber);
+ }
+
+
+ @Test
+ public void testGetResourceType() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ ResourceTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceType();
+ }
+
+
+ @Test
+ public void testSetResourceType() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ ResourceTypeEnum resourceType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceType(resourceType);
+ }
+
+
+ @Test
+ public void testIsAbstract() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isAbstract();
+ }
+
+
+ @Test
+ public void testSetAbstract() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ Boolean isAbstract = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAbstract(isAbstract);
+ }
+
+
+ @Test
+ public void testGetCost() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCost();
+ }
+
+
+ @Test
+ public void testSetCost() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String cost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCost(cost);
+ }
+
+
+ @Test
+ public void testGetLicenseType() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLicenseType();
+ }
+
+
+ @Test
+ public void testSetLicenseType() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String licenseType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLicenseType(licenseType);
+ }
+
+
+ @Test
+ public void testGetToscaResourceName() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaResourceName();
+ }
+
+
+ @Test
+ public void testSetToscaResourceName() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String toscaResourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaResourceName(toscaResourceName);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ResourceMetadataDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java
new file mode 100644
index 0000000000..4fc110350c
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/components/ServiceMetadataDataDefinitionTest.java
@@ -0,0 +1,160 @@
+package org.openecomp.sdc.be.datatypes.components;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class ServiceMetadataDataDefinitionTest {
+
+ private ServiceMetadataDataDefinition createTestSubject() {
+ return new ServiceMetadataDataDefinition();
+ }
+
+
+ @Test
+ public void testGetDistributionStatus() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatus();
+ }
+
+
+ @Test
+ public void testSetDistributionStatus() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String distributionStatus = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatus(distributionStatus);
+ }
+
+
+ @Test
+ public void testGetServiceType() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceType();
+ }
+
+
+ @Test
+ public void testSetServiceType() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String serviceType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceType(serviceType);
+ }
+
+
+ @Test
+ public void testGetServiceRole() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceRole();
+ }
+
+
+ @Test
+ public void testSetServiceRole() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String serviceRole = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceRole(serviceRole);
+ }
+
+
+ @Test
+ public void testIsEcompGeneratedNaming() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isEcompGeneratedNaming();
+ }
+
+
+ @Test
+ public void testSetEcompGeneratedNaming() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ Boolean ecompGeneratedNaming = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompGeneratedNaming(ecompGeneratedNaming);
+ }
+
+
+ @Test
+ public void testGetNamingPolicy() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNamingPolicy();
+ }
+
+
+ @Test
+ public void testSetNamingPolicy() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String namingPolicy = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNamingPolicy(namingPolicy);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ServiceMetadataDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/AdditionalInfoParameterDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/AdditionalInfoParameterDataDefinitionTest.java
new file mode 100644
index 0000000000..94ec9166ee
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/AdditionalInfoParameterDataDefinitionTest.java
@@ -0,0 +1,136 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AdditionalInfoParameterDataDefinitionTest {
+
+ private AdditionalInfoParameterDataDefinition createTestSubject() {
+ return new AdditionalInfoParameterDataDefinition();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetLastCreatedCounter() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastCreatedCounter();
+ }
+
+
+ @Test
+ public void testSetLastCreatedCounter() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ Integer lastCreatedCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastCreatedCounter(lastCreatedCounter);
+ }
+
+
+ @Test
+ public void testGetParameters() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ List<AdditionalInfoParameterInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParameters();
+ }
+
+
+ @Test
+ public void testSetParameters() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ List<AdditionalInfoParameterInfo> parameters = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParameters(parameters);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalInfoParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinitionTest.java
new file mode 100644
index 0000000000..315067d8a9
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinitionTest.java
@@ -0,0 +1,736 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.common.api.ArtifactGroupTypeEnum;
+
+
+public class ArtifactDataDefinitionTest {
+
+ private ArtifactDataDefinition createTestSubject() {
+ return new ArtifactDataDefinition();
+ }
+
+
+ @Test
+ public void testGetArtifactName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactName();
+ }
+
+
+ @Test
+ public void testGetArtifactType() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactType();
+ }
+
+
+ @Test
+ public void testSetArtifactType() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactType(artifactType);
+ }
+
+
+ @Test
+ public void testGetArtifactRef() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactRef();
+ }
+
+
+ @Test
+ public void testSetArtifactRef() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactRef = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactRef(artifactRef);
+ }
+
+
+ @Test
+ public void testGetArtifactRepository() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactRepository();
+ }
+
+
+ @Test
+ public void testSetArtifactRepository() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactRepository = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactRepository(artifactRepository);
+ }
+
+
+ @Test
+ public void testSetArtifactName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactName(artifactName);
+ }
+
+
+ @Test
+ public void testGetArtifactChecksum() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactChecksum();
+ }
+
+
+ @Test
+ public void testSetArtifactChecksum() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactChecksum = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactChecksum(artifactChecksum);
+ }
+
+
+ @Test
+ public void testGetUserIdCreator() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserIdCreator();
+ }
+
+
+ @Test
+ public void testSetUserIdCreator() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String userIdCreator = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserIdCreator(userIdCreator);
+ }
+
+
+ @Test
+ public void testGetUserIdLastUpdater() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUserIdLastUpdater();
+ }
+
+
+ @Test
+ public void testSetUserIdLastUpdater() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String userIdLastUpdater = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUserIdLastUpdater(userIdLastUpdater);
+ }
+
+
+ @Test
+ public void testGetCreatorFullName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreatorFullName();
+ }
+
+
+ @Test
+ public void testSetCreatorFullName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String creatorFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreatorFullName(creatorFullName);
+ }
+
+
+ @Test
+ public void testGetUpdaterFullName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUpdaterFullName();
+ }
+
+
+ @Test
+ public void testSetUpdaterFullName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String updaterFullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUpdaterFullName(updaterFullName);
+ }
+
+
+ @Test
+ public void testGetCreationDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationDate();
+ }
+
+
+ @Test
+ public void testSetCreationDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long creationDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationDate(creationDate);
+ }
+
+
+ @Test
+ public void testGetLastUpdateDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdateDate();
+ }
+
+
+ @Test
+ public void testSetLastUpdateDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long lastUpdateDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdateDate(lastUpdateDate);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetArtifactLabel() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactLabel();
+ }
+
+
+ @Test
+ public void testSetArtifactLabel() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactLabel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactLabel(artifactLabel);
+ }
+
+
+ @Test
+ public void testGetEsId() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEsId();
+ }
+
+
+ @Test
+ public void testSetEsId() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String esId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEsId(esId);
+ }
+
+
+ @Test
+ public void testGetArtifactCreator() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactCreator();
+ }
+
+
+ @Test
+ public void testSetArtifactCreator() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactCreator = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactCreator(artifactCreator);
+ }
+
+
+ @Test
+ public void testGetMandatory() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMandatory();
+ }
+
+
+ @Test
+ public void testSetMandatory() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean mandatory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMandatory(mandatory);
+ }
+
+
+ @Test
+ public void testGetArtifactDisplayName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactDisplayName();
+ }
+
+
+ @Test
+ public void testSetArtifactDisplayName() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactDisplayName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactDisplayName(artifactDisplayName);
+ }
+
+
+ @Test
+ public void testGetApiUrl() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApiUrl();
+ }
+
+
+ @Test
+ public void testSetApiUrl() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String apiUrl = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApiUrl(apiUrl);
+ }
+
+
+ @Test
+ public void testGetServiceApi() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceApi();
+ }
+
+
+ @Test
+ public void testSetServiceApi() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean serviceApi = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceApi(serviceApi);
+ }
+
+
+ @Test
+ public void testGetArtifactGroupType() throws Exception {
+ ArtifactDataDefinition testSubject;
+ ArtifactGroupTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactGroupType();
+ }
+
+
+ @Test
+ public void testSetArtifactGroupType() throws Exception {
+ ArtifactDataDefinition testSubject;
+ ArtifactGroupTypeEnum artifactGroupType = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ artifactGroupType = null;
+ testSubject.setArtifactGroupType(artifactGroupType);
+ }
+
+
+ @Test
+ public void testGetTimeout() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimeout();
+ }
+
+
+ @Test
+ public void testSetTimeout() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Integer timeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimeout(timeout);
+ }
+
+
+ @Test
+ public void testGetArtifactVersion() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactVersion();
+ }
+
+
+ @Test
+ public void testSetArtifactVersion() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactVersion(artifactVersion);
+ }
+
+
+ @Test
+ public void testGetArtifactUUID() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactUUID();
+ }
+
+
+ @Test
+ public void testSetArtifactUUID() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String artifactUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactUUID(artifactUUID);
+ }
+
+
+ @Test
+ public void testGetPayloadUpdateDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPayloadUpdateDate();
+ }
+
+
+ @Test
+ public void testSetPayloadUpdateDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long payloadUpdateDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPayloadUpdateDate(payloadUpdateDate);
+ }
+
+
+ @Test
+ public void testGetHeatParamsUpdateDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatParamsUpdateDate();
+ }
+
+
+ @Test
+ public void testSetHeatParamsUpdateDate() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Long heatParamsUpdateDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatParamsUpdateDate(heatParamsUpdateDate);
+ }
+
+
+ @Test
+ public void testGetRequiredArtifacts() throws Exception {
+ ArtifactDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequiredArtifacts();
+ }
+
+
+ @Test
+ public void testSetRequiredArtifacts() throws Exception {
+ ArtifactDataDefinition testSubject;
+ List<String> requiredArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequiredArtifacts(requiredArtifacts);
+ }
+
+
+ @Test
+ public void testGetGenerated() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGenerated();
+ }
+
+
+ @Test
+ public void testSetGenerated() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean generated = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGenerated(generated);
+ }
+
+
+ @Test
+ public void testGetDuplicated() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDuplicated();
+ }
+
+
+ @Test
+ public void testSetDuplicated() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Boolean duplicated = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDuplicated(duplicated);
+ }
+
+
+ @Test
+ public void testGetHeatParameters() throws Exception {
+ ArtifactDataDefinition testSubject;
+ List<HeatParameterDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatParameters();
+ }
+
+
+ @Test
+ public void testSetHeatParameters() throws Exception {
+ ArtifactDataDefinition testSubject;
+ List<HeatParameterDataDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatParameters(properties);
+ }
+
+
+ @Test
+ public void testGetGeneratedFromId() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGeneratedFromId();
+ }
+
+
+ @Test
+ public void testSetGeneratedFromId() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String generatedFromId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGeneratedFromId(generatedFromId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ArtifactDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ArtifactDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinitionTest.java
new file mode 100644
index 0000000000..218ca8d74f
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinitionTest.java
@@ -0,0 +1,371 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class CapabilityDataDefinitionTest {
+
+ private CapabilityDataDefinition createTestSubject() {
+ return new CapabilityDataDefinition();
+ }
+
+
+ @Test
+ public void testGetOwnerId() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOwnerId();
+ }
+
+
+ @Test
+ public void testSetOwnerId() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String ownerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOwnerId(ownerId);
+ }
+
+
+ @Test
+ public void testGetOwnerName() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOwnerName();
+ }
+
+
+ @Test
+ public void testSetOwnerName() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String ownerName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOwnerName(ownerName);
+ }
+
+
+ @Test
+ public void testGetMinOccurrences() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinOccurrences();
+ }
+
+
+ @Test
+ public void testSetMinOccurrences() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String minOccurrences = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinOccurrences(minOccurrences);
+ }
+
+
+ @Test
+ public void testGetMaxOccurrences() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxOccurrences();
+ }
+
+
+ @Test
+ public void testSetMaxOccurrences() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String maxOccurrences = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxOccurrences(maxOccurrences);
+ }
+
+
+ @Test
+ public void testGetLeftOccurrences() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLeftOccurrences();
+ }
+
+
+ @Test
+ public void testSetLeftOccurrences() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String leftOccurrences = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLeftOccurrences(leftOccurrences);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetParentName() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentName();
+ }
+
+
+ @Test
+ public void testSetParentName() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String parentName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentName(parentName);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetValidSourceTypes() throws Exception {
+ CapabilityDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValidSourceTypes();
+ }
+
+
+ @Test
+ public void testSetValidSourceTypes() throws Exception {
+ CapabilityDataDefinition testSubject;
+ List<String> validSourceTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValidSourceTypes(validSourceTypes);
+ }
+
+
+ @Test
+ public void testGetCapabilitySources() throws Exception {
+ CapabilityDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilitySources();
+ }
+
+
+ @Test
+ public void testSetCapabilitySources() throws Exception {
+ CapabilityDataDefinition testSubject;
+ List<String> capabilitySources = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilitySources(capabilitySources);
+ }
+
+
+ @Test
+ public void testSetPath() throws Exception {
+ CapabilityDataDefinition testSubject;
+ List<String> path = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPath(path);
+ }
+
+
+ @Test
+ public void testGetPath() throws Exception {
+ CapabilityDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPath();
+ }
+
+
+ @Test
+ public void testSetSource() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String source = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSource(source);
+ }
+
+
+ @Test
+ public void testGetSource() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSource();
+ }
+
+
+ @Test
+ public void testAddToPath() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String elementInPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addToPath(elementInPath);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ CapabilityDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ CapabilityDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinitionTest.java
new file mode 100644
index 0000000000..a6faeb3d30
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinitionTest.java
@@ -0,0 +1,444 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.enums.OriginTypeEnum;
+
+
+public class ComponentInstanceDataDefinitionTest {
+
+ private ComponentInstanceDataDefinition createTestSubject() {
+ return new ComponentInstanceDataDefinition();
+ }
+
+
+ @Test
+ public void testGetIcon() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIcon();
+ }
+
+
+ @Test
+ public void testSetIcon() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String icon = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIcon(icon);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetPosX() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPosX();
+ }
+
+
+ @Test
+ public void testSetPosX() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String posX = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPosX(posX);
+ }
+
+
+ @Test
+ public void testGetPosY() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPosY();
+ }
+
+
+ @Test
+ public void testSetPosY() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String posY = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPosY(posY);
+ }
+
+
+ @Test
+ public void testGetComponentUid() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentUid();
+ }
+
+
+ @Test
+ public void testSetComponentUid() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String resourceUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentUid(resourceUid);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetInvariantName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantName();
+ }
+
+
+ @Test
+ public void testSetInvariantName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String invariantName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantName(invariantName);
+ }
+
+
+ @Test
+ public void testGetPropertyValueCounter() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyValueCounter();
+ }
+
+
+ @Test
+ public void testSetPropertyValueCounter() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Integer propertyValueCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyValueCounter(propertyValueCounter);
+ }
+
+
+ @Test
+ public void testGetNormalizedName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNormalizedName();
+ }
+
+
+ @Test
+ public void testSetNormalizedName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String normalizedName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNormalizedName(normalizedName);
+ }
+
+
+ @Test
+ public void testGetOriginType() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ OriginTypeEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOriginType();
+ }
+
+
+ @Test
+ public void testSetOriginType() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ OriginTypeEnum originType = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ originType = null;
+ testSubject.setOriginType(originType);
+ }
+
+
+ @Test
+ public void testGetAttributeValueCounter() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAttributeValueCounter();
+ }
+
+
+ @Test
+ public void testSetAttributeValueCounter() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Integer attributeValueCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAttributeValueCounter(attributeValueCounter);
+ }
+
+
+ @Test
+ public void testGetInputValueCounter() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputValueCounter();
+ }
+
+
+ @Test
+ public void testSetInputValueCounter() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ Integer inputValueCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputValueCounter(inputValueCounter);
+ }
+
+
+ @Test
+ public void testGetCustomizationUUID() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCustomizationUUID();
+ }
+
+
+ @Test
+ public void testSetCustomizationUUID() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String customizationUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCustomizationUUID(customizationUUID);
+ }
+
+
+ @Test
+ public void testGetComponentName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentName();
+ }
+
+
+ @Test
+ public void testSetComponentName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String resourceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentName(resourceName);
+ }
+
+
+ @Test
+ public void testGetComponentVersion() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentVersion();
+ }
+
+
+ @Test
+ public void testGetToscaComponentName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaComponentName();
+ }
+
+
+ @Test
+ public void testSetToscaComponentName() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String toscaComponentName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaComponentName(toscaComponentName);
+ }
+
+
+ @Test
+ public void testSetComponentVersion() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String resourceVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentVersion(resourceVersion);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ComponentInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CompositionDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CompositionDataDefinitionTest.java
new file mode 100644
index 0000000000..3418265183
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CompositionDataDefinitionTest.java
@@ -0,0 +1,83 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CompositionDataDefinitionTest {
+
+ private CompositionDataDefinition createTestSubject() {
+ return new CompositionDataDefinition();
+ }
+
+
+ @Test
+ public void testGetComponentInstances() throws Exception {
+ CompositionDataDefinition testSubject;
+ Map<String, ComponentInstanceDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstances();
+ }
+
+
+ @Test
+ public void testSetComponentInstances() throws Exception {
+ CompositionDataDefinition testSubject;
+ Map<String, ComponentInstanceDataDefinition> componentInstances = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstances(componentInstances);
+ }
+
+
+ @Test
+ public void testGetRelations() throws Exception {
+ CompositionDataDefinition testSubject;
+ Map<String, RelationshipInstDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelations();
+ }
+
+
+ @Test
+ public void testSetRelations() throws Exception {
+ CompositionDataDefinition testSubject;
+ Map<String, RelationshipInstDataDefinition> relations = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelations(relations);
+ }
+
+
+ @Test
+ public void testAddInstance() throws Exception {
+ CompositionDataDefinition testSubject;
+ String key = "";
+ ComponentInstanceDataDefinition instance = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addInstance(key, instance);
+ }
+
+
+ @Test
+ public void testAddRelation() throws Exception {
+ CompositionDataDefinition testSubject;
+ String key = "";
+ RelationshipInstDataDefinition relation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addRelation(key, relation);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ConsumerDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ConsumerDataDefinitionTest.java
new file mode 100644
index 0000000000..7d5a73333c
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ConsumerDataDefinitionTest.java
@@ -0,0 +1,182 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class ConsumerDataDefinitionTest {
+
+ private ConsumerDataDefinition createTestSubject() {
+ return new ConsumerDataDefinition();
+ }
+
+
+ @Test
+ public void testGetConsumerName() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerName();
+ }
+
+
+ @Test
+ public void testSetConsumerName() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String consumerName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerName(consumerName);
+ }
+
+
+ @Test
+ public void testGetConsumerPassword() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerPassword();
+ }
+
+
+ @Test
+ public void testSetConsumerPassword() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String consumerPassword = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerPassword(consumerPassword);
+ }
+
+
+ @Test
+ public void testGetConsumerSalt() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerSalt();
+ }
+
+
+ @Test
+ public void testSetConsumerSalt() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String consumerSalt = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerSalt(consumerSalt);
+ }
+
+
+ @Test
+ public void testGetConsumerLastAuthenticationTime() throws Exception {
+ ConsumerDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerLastAuthenticationTime();
+ }
+
+
+ @Test
+ public void testSetConsumerLastAuthenticationTime() throws Exception {
+ ConsumerDataDefinition testSubject;
+ Long consumerLastAuthenticationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerLastAuthenticationTime(consumerLastAuthenticationTime);
+ }
+
+
+ @Test
+ public void testGetConsumerDetailsLastupdatedtime() throws Exception {
+ ConsumerDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConsumerDetailsLastupdatedtime();
+ }
+
+
+ @Test
+ public void testSetConsumerDetailsLastupdatedtime() throws Exception {
+ ConsumerDataDefinition testSubject;
+ Long consumerDetailsLastupdatedtime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConsumerDetailsLastupdatedtime(consumerDetailsLastupdatedtime);
+ }
+
+
+ @Test
+ public void testGetLastModfierAtuid() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastModfierAtuid();
+ }
+
+
+ @Test
+ public void testSetLastModfierAtuid() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String lastModfierAtuid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastModfierAtuid(lastModfierAtuid);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ConsumerDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ConsumerDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ConsumerDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/DataTypeDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/DataTypeDataDefinitionTest.java
new file mode 100644
index 0000000000..54d9bdac36
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/DataTypeDataDefinitionTest.java
@@ -0,0 +1,156 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DataTypeDataDefinitionTest {
+
+ private DataTypeDataDefinition createTestSubject() {
+ return new DataTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetDerivedFromName() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFromName();
+ }
+
+
+ @Test
+ public void testSetDerivedFromName() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String derivedFromName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFromName(derivedFromName);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ DataTypeDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ DataTypeDataDefinition testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ DataTypeDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ DataTypeDataDefinition testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DataTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GetInputValueDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GetInputValueDataDefinitionTest.java
new file mode 100644
index 0000000000..2ac0fda57b
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GetInputValueDataDefinitionTest.java
@@ -0,0 +1,182 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class GetInputValueDataDefinitionTest {
+
+ private GetInputValueDataDefinition createTestSubject() {
+ return new GetInputValueDataDefinition();
+ }
+
+
+ @Test
+ public void testGetPropName() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropName();
+ }
+
+
+ @Test
+ public void testSetPropName() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String propName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropName(propName);
+ }
+
+
+ @Test
+ public void testGetInputName() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputName();
+ }
+
+
+ @Test
+ public void testSetInputName() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String inputName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputName(inputName);
+ }
+
+
+ @Test
+ public void testGetIndexValue() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIndexValue();
+ }
+
+
+ @Test
+ public void testSetIndexValue() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ Integer indexValue = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIndexValue(indexValue);
+ }
+
+
+ @Test
+ public void testGetGetInputIndex() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ GetInputValueDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGetInputIndex();
+ }
+
+
+ @Test
+ public void testSetGetInputIndex() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ GetInputValueDataDefinition getInputIndex = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGetInputIndex(getInputIndex);
+ }
+
+
+ @Test
+ public void testIsList() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isList();
+ }
+
+
+ @Test
+ public void testSetList() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ boolean isList = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setList(isList);
+ }
+
+
+ @Test
+ public void testGetInputId() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputId();
+ }
+
+
+ @Test
+ public void testSetInputId() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String inputId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputId(inputId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ GetInputValueDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupDataDefinitionTest.java
new file mode 100644
index 0000000000..74e1bf3a47
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupDataDefinitionTest.java
@@ -0,0 +1,313 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupDataDefinitionTest {
+
+ private GroupDataDefinition createTestSubject() {
+ return new GroupDataDefinition();
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ GroupDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GroupDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ GroupDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ GroupDataDefinition testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ GroupDataDefinition testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ GroupDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetPropertyValueCounter() throws Exception {
+ GroupDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyValueCounter();
+ }
+
+
+ @Test
+ public void testSetPropertyValueCounter() throws Exception {
+ GroupDataDefinition testSubject;
+ Integer propertyValueCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyValueCounter(propertyValueCounter);
+ }
+
+
+ @Test
+ public void testGetGroupUUID() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupUUID();
+ }
+
+
+ @Test
+ public void testSetGroupUUID() throws Exception {
+ GroupDataDefinition testSubject;
+ String groupUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupUUID(groupUUID);
+ }
+
+
+ @Test
+ public void testGetMembers() throws Exception {
+ GroupDataDefinition testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMembers();
+ }
+
+
+ @Test
+ public void testSetMembers() throws Exception {
+ GroupDataDefinition testSubject;
+ Map<String, String> members = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMembers(members);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ GroupDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ GroupDataDefinition testSubject;
+ List<String> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+
+
+ @Test
+ public void testGetArtifactsUuid() throws Exception {
+ GroupDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactsUuid();
+ }
+
+
+ @Test
+ public void testSetArtifactsUuid() throws Exception {
+ GroupDataDefinition testSubject;
+ List<String> artifactsUuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactsUuid(artifactsUuid);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ GroupDataDefinition testSubject;
+ List<PropertyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ GroupDataDefinition testSubject;
+ List<PropertyDataDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetTypeUid() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTypeUid();
+ }
+
+
+ @Test
+ public void testSetTypeUid() throws Exception {
+ GroupDataDefinition testSubject;
+ String typeUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTypeUid(typeUid);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupInstanceDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupInstanceDataDefinitionTest.java
new file mode 100644
index 0000000000..4fc8d2417c
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupInstanceDataDefinitionTest.java
@@ -0,0 +1,486 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupInstanceDataDefinitionTest {
+
+ private GroupInstanceDataDefinition createTestSubject() {
+ return new GroupInstanceDataDefinition();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetNormalizedName() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNormalizedName();
+ }
+
+
+ @Test
+ public void testSetNormalizedName() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String normalizedName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNormalizedName(normalizedName);
+ }
+
+
+ @Test
+ public void testGetGroupUid() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupUid();
+ }
+
+
+ @Test
+ public void testSetGroupUid() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String groupUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupUid(groupUid);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testGetPosX() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPosX();
+ }
+
+
+ @Test
+ public void testSetPosX() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String posX = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPosX(posX);
+ }
+
+
+ @Test
+ public void testGetPosY() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPosY();
+ }
+
+
+ @Test
+ public void testSetPosY() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String posY = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPosY(posY);
+ }
+
+
+ @Test
+ public void testGetPropertyValueCounter() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyValueCounter();
+ }
+
+
+ @Test
+ public void testSetPropertyValueCounter() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ Integer propertyValueCounter = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyValueCounter(propertyValueCounter);
+ }
+
+
+ @Test
+ public void testGetCustomizationUUID() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCustomizationUUID();
+ }
+
+
+ @Test
+ public void testSetCustomizationUUID() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String customizationUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCustomizationUUID(customizationUUID);
+ }
+
+
+ @Test
+ public void testGetGroupName() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupName();
+ }
+
+
+ @Test
+ public void testSetGroupName() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String groupName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupName(groupName);
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetGroupUUID() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupUUID();
+ }
+
+
+ @Test
+ public void testSetGroupUUID() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String groupUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupUUID(groupUUID);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetArtifacts() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifacts();
+ }
+
+
+ @Test
+ public void testSetArtifacts() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> artifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifacts(artifacts);
+ }
+
+
+ @Test
+ public void testGetArtifactsUuid() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactsUuid();
+ }
+
+
+ @Test
+ public void testSetArtifactsUuid() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> artifactsUuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactsUuid(artifactsUuid);
+ }
+
+
+ @Test
+ public void testGetGroupInstanceArtifacts() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupInstanceArtifacts();
+ }
+
+
+ @Test
+ public void testSetGroupInstanceArtifacts() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> groupInstanceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupInstanceArtifacts(groupInstanceArtifacts);
+ }
+
+
+ @Test
+ public void testGetGroupInstanceArtifactsUuid() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupInstanceArtifactsUuid();
+ }
+
+
+ @Test
+ public void testSetGroupInstanceArtifactsUuid() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<String> groupInstanceArtifactsUuid = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupInstanceArtifactsUuid(groupInstanceArtifactsUuid);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<PropertyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ GroupInstanceDataDefinition testSubject;
+ List<PropertyDataDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testGetSerialversionuid() throws Exception {
+ long result;
+
+ // default test
+ result = GroupInstanceDataDefinition.getSerialversionuid();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java
new file mode 100644
index 0000000000..aec794abd0
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/GroupTypeDataDefinitionTest.java
@@ -0,0 +1,247 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupTypeDataDefinitionTest {
+
+ private GroupTypeDataDefinition createTestSubject() {
+ return new GroupTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetMembers() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMembers();
+ }
+
+
+ @Test
+ public void testSetMembers() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ List<String> members = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMembers(members);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ Map<String, String> metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ String derivedFrom = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testIsHighestVersion() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isHighestVersion();
+ }
+
+
+ @Test
+ public void testSetHighestVersion() throws Exception {
+ GroupTypeDataDefinition testSubject;
+ boolean isLatestVersion = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHighestVersion(isLatestVersion);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/HeatParameterDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/HeatParameterDataDefinitionTest.java
new file mode 100644
index 0000000000..b4d98363a9
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/HeatParameterDataDefinitionTest.java
@@ -0,0 +1,182 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class HeatParameterDataDefinitionTest {
+
+ private HeatParameterDataDefinition createTestSubject() {
+ return new HeatParameterDataDefinition();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetCurrentValue() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCurrentValue();
+ }
+
+
+ @Test
+ public void testSetCurrentValue() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String currentValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCurrentValue(currentValue);
+ }
+
+
+ @Test
+ public void testGetDefaultValue() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultValue();
+ }
+
+
+ @Test
+ public void testSetDefaultValue() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String defaultValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultValue(defaultValue);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ HeatParameterDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputDataDefinitionTest.java
new file mode 100644
index 0000000000..05e0372b83
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputDataDefinitionTest.java
@@ -0,0 +1,79 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InputDataDefinitionTest {
+
+ private InputDataDefinition createTestSubject() {
+ return new InputDataDefinition();
+ }
+
+
+ @Test
+ public void testIsHidden() throws Exception {
+ InputDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isHidden();
+ }
+
+
+ @Test
+ public void testSetHidden() throws Exception {
+ InputDataDefinition testSubject;
+ Boolean hidden = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHidden(hidden);
+ }
+
+
+ @Test
+ public void testIsImmutable() throws Exception {
+ InputDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isImmutable();
+ }
+
+
+ @Test
+ public void testSetImmutable() throws Exception {
+ InputDataDefinition testSubject;
+ Boolean immutable = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImmutable(immutable);
+ }
+
+
+ @Test
+ public void testGetLabel() throws Exception {
+ InputDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLabel();
+ }
+
+
+ @Test
+ public void testSetLabel() throws Exception {
+ InputDataDefinition testSubject;
+ String label = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLabel(label);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputsValueDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputsValueDataDefinitionTest.java
new file mode 100644
index 0000000000..fa37a425b9
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InputsValueDataDefinitionTest.java
@@ -0,0 +1,79 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InputsValueDataDefinitionTest {
+
+ private InputsValueDataDefinition createTestSubject() {
+ return new InputsValueDataDefinition("", "");
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ InputsValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ InputsValueDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ InputsValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ InputsValueDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ InputsValueDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ InputsValueDataDefinition testSubject;
+ String value = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java
new file mode 100644
index 0000000000..e54ba4b175
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinitionTest.java
@@ -0,0 +1,147 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InterfaceDataDefinitionTest {
+
+ private InterfaceDataDefinition createTestSubject() {
+ return new InterfaceDataDefinition();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ InterfaceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ InterfaceDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ InterfaceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ InterfaceDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetCreationDate() throws Exception {
+ InterfaceDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationDate();
+ }
+
+
+ @Test
+ public void testSetCreationDate() throws Exception {
+ InterfaceDataDefinition testSubject;
+ Long creationDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationDate(creationDate);
+ }
+
+
+ @Test
+ public void testGetLastUpdateDate() throws Exception {
+ InterfaceDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdateDate();
+ }
+
+
+ @Test
+ public void testSetLastUpdateDate() throws Exception {
+ InterfaceDataDefinition testSubject;
+ Long lastUpdateDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdateDate(lastUpdateDate);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ InterfaceDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ InterfaceDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetOperations() throws Exception {
+ InterfaceDataDefinition testSubject;
+ Map<String, OperationDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOperations();
+ }
+
+
+ @Test
+ public void testSetOperations() throws Exception {
+ InterfaceDataDefinition testSubject;
+ Map<String, OperationDataDefinition> operations = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOperations(operations);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListCapabilityDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListCapabilityDataDefinitionTest.java
new file mode 100644
index 0000000000..5ee6d81c09
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListCapabilityDataDefinitionTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ListCapabilityDataDefinitionTest {
+
+ private ListCapabilityDataDefinition createTestSubject() {
+ List list = new ArrayList<>();
+ return new ListCapabilityDataDefinition(list);
+ }
+
+
+ @Test
+ public void testGetListToscaDataDefinition() throws Exception {
+ ListCapabilityDataDefinition testSubject;
+ List<CapabilityDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testSetListToscaDataDefinition() throws Exception {
+ ListCapabilityDataDefinition testSubject;
+ List<CapabilityDataDefinition> listToscaDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setListToscaDataDefinition(listToscaDataDefinition);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListDataDefinitionTest.java
new file mode 100644
index 0000000000..29d465b074
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListDataDefinitionTest.java
@@ -0,0 +1,47 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ListDataDefinitionTest {
+
+ private ListDataDefinition createTestSubject() {
+ List list = new ArrayList<>();
+ return new ListDataDefinition(list);
+ }
+
+
+
+
+
+
+ @Test
+ public void testSetOwnerIdIfEmpty() throws Exception {
+ ListDataDefinition testSubject;
+ String ownerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOwnerIdIfEmpty(ownerId);
+ }
+
+
+
+
+
+ @Test
+ public void testFindUidMatch() throws Exception {
+ ListDataDefinition testSubject;
+ String uid = "";
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.findUidMatch(uid);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListMapPropertiesDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListMapPropertiesDataDefinitionTest.java
new file mode 100644
index 0000000000..102990e0c0
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListMapPropertiesDataDefinitionTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ListMapPropertiesDataDefinitionTest {
+
+ private ListMapPropertiesDataDefinition createTestSubject() {
+ List list = new ArrayList<>();
+ return new ListMapPropertiesDataDefinition(list);
+ }
+
+
+ @Test
+ public void testGetListToscaDataDefinition() throws Exception {
+ ListMapPropertiesDataDefinition testSubject;
+ List<MapPropertiesDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testSetMapToscaDataDefinition() throws Exception {
+ ListMapPropertiesDataDefinition testSubject;
+ List<MapPropertiesDataDefinition> listToscaDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMapToscaDataDefinition(listToscaDataDefinition);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListRequirementDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListRequirementDataDefinitionTest.java
new file mode 100644
index 0000000000..645b25d010
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ListRequirementDataDefinitionTest.java
@@ -0,0 +1,39 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ListRequirementDataDefinitionTest {
+
+ private ListRequirementDataDefinition createTestSubject() {
+ List list = new ArrayList<>();
+ return new ListRequirementDataDefinition(list);
+ }
+
+
+ @Test
+ public void testGetListToscaDataDefinition() throws Exception {
+ ListRequirementDataDefinition testSubject;
+ List<RequirementDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testSetListToscaDataDefinition() throws Exception {
+ ListRequirementDataDefinition testSubject;
+ List<RequirementDataDefinition> listToscaDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setListToscaDataDefinition(listToscaDataDefinition);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapArtifactDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapArtifactDataDefinitionTest.java
new file mode 100644
index 0000000000..bc026ff085
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapArtifactDataDefinitionTest.java
@@ -0,0 +1,63 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MapArtifactDataDefinitionTest {
+
+ private MapArtifactDataDefinition createTestSubject() {
+
+ Map map = new HashMap<>();
+
+ return new MapArtifactDataDefinition(new MapDataDefinition(map), "");
+ }
+
+
+ @Test
+ public void testGetMapToscaDataDefinition() throws Exception {
+ MapArtifactDataDefinition testSubject;
+ Map<String, ArtifactDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMapToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testSetMapToscaDataDefinition() throws Exception {
+ MapArtifactDataDefinition testSubject;
+ Map<String, ArtifactDataDefinition> mapToscaDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMapToscaDataDefinition(mapToscaDataDefinition);
+ }
+
+
+ @Test
+ public void testGetParentName() throws Exception {
+ MapArtifactDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentName();
+ }
+
+
+ @Test
+ public void testSetParentName() throws Exception {
+ MapArtifactDataDefinition testSubject;
+ String parentName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentName(parentName);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapDataDefinitionTest.java
new file mode 100644
index 0000000000..5c7b071f47
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapDataDefinitionTest.java
@@ -0,0 +1,60 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MapDataDefinitionTest {
+
+ private MapDataDefinition createTestSubject() {
+ Map myMap = new HashMap<>();
+ return new MapDataDefinition(myMap);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testDelete() throws Exception {
+ MapDataDefinition testSubject;
+ String key = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.delete(key);
+ }
+
+
+
+
+
+ @Test
+ public void testSetOwnerIdIfEmpty() throws Exception {
+ MapDataDefinition testSubject;
+ String ownerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOwnerIdIfEmpty(ownerId);
+ }
+
+
+ @Test
+ public void testFindKeyByItemUidMatch() throws Exception {
+ MapDataDefinition testSubject;
+ String uid = "";
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.findKeyByItemUidMatch(uid);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListCapabiltyDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListCapabiltyDataDefinitionTest.java
new file mode 100644
index 0000000000..b0ecee8d05
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListCapabiltyDataDefinitionTest.java
@@ -0,0 +1,40 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MapListCapabiltyDataDefinitionTest {
+
+ private MapListCapabiltyDataDefinition createTestSubject() {
+ Map map = new HashMap<>();
+ return new MapListCapabiltyDataDefinition(map);
+ }
+
+
+ @Test
+ public void testGetMapToscaDataDefinition() throws Exception {
+ MapListCapabiltyDataDefinition testSubject;
+ Map<String, ListCapabilityDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMapToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testAdd() throws Exception {
+ MapListCapabiltyDataDefinition testSubject;
+ String key = "";
+ CapabilityDataDefinition value = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.add(key, value);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java
new file mode 100644
index 0000000000..8c352b5337
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java
@@ -0,0 +1,42 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MapListRequirementDataDefinitionTest {
+
+ private MapListRequirementDataDefinition createTestSubject() {
+ Map map = new HashMap<>();
+ return new MapListRequirementDataDefinition(map);
+ }
+
+
+ @Test
+ public void testGetMapToscaDataDefinition() throws Exception {
+ MapListRequirementDataDefinition testSubject;
+ Map<String, ListRequirementDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMapToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testAdd() throws Exception {
+ MapListRequirementDataDefinition testSubject;
+ String key = "";
+ RequirementDataDefinition value = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.add(key, value);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapPropertiesDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapPropertiesDataDefinitionTest.java
new file mode 100644
index 0000000000..97027b3d33
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapPropertiesDataDefinitionTest.java
@@ -0,0 +1,61 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MapPropertiesDataDefinitionTest {
+
+ private MapPropertiesDataDefinition createTestSubject() {
+ Map map = new HashMap<>();
+ return new MapPropertiesDataDefinition(new MapDataDefinition(map), "");
+ }
+
+
+ @Test
+ public void testGetMapToscaDataDefinition() throws Exception {
+ MapPropertiesDataDefinition testSubject;
+ Map<String, PropertyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMapToscaDataDefinition();
+ }
+
+
+ @Test
+ public void testSetMapToscaDataDefinition() throws Exception {
+ MapPropertiesDataDefinition testSubject;
+ Map<String, PropertyDataDefinition> mapToscaDataDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMapToscaDataDefinition(mapToscaDataDefinition);
+ }
+
+
+ @Test
+ public void testGetParentName() throws Exception {
+ MapPropertiesDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentName();
+ }
+
+
+ @Test
+ public void testSetParentName() throws Exception {
+ MapPropertiesDataDefinition testSubject;
+ String parentName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentName(parentName);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java
new file mode 100644
index 0000000000..9169cdf019
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationDataDefinitionTest.java
@@ -0,0 +1,147 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class OperationDataDefinitionTest {
+
+ private OperationDataDefinition createTestSubject() {
+ return new OperationDataDefinition();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ OperationDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ OperationDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationDate() throws Exception {
+ OperationDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationDate();
+ }
+
+
+ @Test
+ public void testSetCreationDate() throws Exception {
+ OperationDataDefinition testSubject;
+ Long creationDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationDate(creationDate);
+ }
+
+
+ @Test
+ public void testGetLastUpdateDate() throws Exception {
+ OperationDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastUpdateDate();
+ }
+
+
+ @Test
+ public void testSetLastUpdateDate() throws Exception {
+ OperationDataDefinition testSubject;
+ Long lastUpdateDate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastUpdateDate(lastUpdateDate);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ OperationDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ OperationDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetImplementation() throws Exception {
+ OperationDataDefinition testSubject;
+ ArtifactDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getImplementation();
+ }
+
+
+ @Test
+ public void testSetImplementation() throws Exception {
+ OperationDataDefinition testSubject;
+ ArtifactDataDefinition implementation = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImplementation(implementation);
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ OperationDataDefinition testSubject;
+ Map<String, PropertyDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ OperationDataDefinition testSubject;
+ Map<String, PropertyDataDefinition> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PolicyTypeDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PolicyTypeDataDefinitionTest.java
new file mode 100644
index 0000000000..57fda65334
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PolicyTypeDataDefinitionTest.java
@@ -0,0 +1,247 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PolicyTypeDataDefinitionTest {
+
+ private PolicyTypeDataDefinition createTestSubject() {
+ return new PolicyTypeDataDefinition();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetTargets() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTargets();
+ }
+
+
+ @Test
+ public void testSetTargets() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ List<String> members = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTargets(members);
+ }
+
+
+ @Test
+ public void testGetMetadata() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadata();
+ }
+
+
+ @Test
+ public void testSetMetadata() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ Map<String, String> metadata = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMetadata(metadata);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetCreationTime() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreationTime();
+ }
+
+
+ @Test
+ public void testSetCreationTime() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ Long creationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreationTime(creationTime);
+ }
+
+
+ @Test
+ public void testGetModificationTime() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getModificationTime();
+ }
+
+
+ @Test
+ public void testSetModificationTime() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ Long modificationTime = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setModificationTime(modificationTime);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ String derivedFrom = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testIsHighestVersion() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isHighestVersion();
+ }
+
+
+ @Test
+ public void testSetHighestVersion() throws Exception {
+ PolicyTypeDataDefinition testSubject;
+ boolean isLatestVersion = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHighestVersion(isLatestVersion);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java
new file mode 100644
index 0000000000..49ad568e3a
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinitionTest.java
@@ -0,0 +1,132 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ProductMetadataDataDefinitionTest {
+
+ private ProductMetadataDataDefinition createTestSubject() {
+ return new ProductMetadataDataDefinition();
+ }
+
+
+ @Test
+ public void testGetIsActive() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsActive();
+ }
+
+
+ @Test
+ public void testSetIsActive() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ Boolean active = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsActive(active);
+ }
+
+
+ @Test
+ public void testGetContacts() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getContacts();
+ }
+
+
+ @Test
+ public void testSetContacts() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ List<String> contacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setContacts(contacts);
+ }
+
+
+ @Test
+ public void testAddContact() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ String contact = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ contact = null;
+ testSubject.addContact(contact);
+
+ // test 2
+ testSubject = createTestSubject();
+ contact = "";
+ testSubject.addContact(contact);
+ }
+
+
+ @Test
+ public void testGetFullName() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFullName();
+ }
+
+
+ @Test
+ public void testSetFullName() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ String fullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFullName(fullName);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ProductMetadataDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java
new file mode 100644
index 0000000000..d03a44d384
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinitionTest.java
@@ -0,0 +1,511 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields;
+
+
+public class PropertyDataDefinitionTest {
+
+ private PropertyDataDefinition createTestSubject() {
+ return new PropertyDataDefinition();
+ }
+
+
+ @Test
+ public void testGetInputPath() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputPath();
+ }
+
+
+ @Test
+ public void testSetInputPath() throws Exception {
+ PropertyDataDefinition testSubject;
+ String inputPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputPath(inputPath);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ PropertyDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetValue() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+
+ @Test
+ public void testSetValue() throws Exception {
+ PropertyDataDefinition testSubject;
+ String value = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+
+
+ @Test
+ public void testIsDefinition() throws Exception {
+ PropertyDataDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDefinition();
+ }
+
+
+ @Test
+ public void testSetDefinition() throws Exception {
+ PropertyDataDefinition testSubject;
+ boolean definition = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefinition(definition);
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testGetDefaultValue() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultValue();
+ }
+
+
+ @Test
+ public void testSetDefaultValue() throws Exception {
+ PropertyDataDefinition testSubject;
+ String defaultValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultValue(defaultValue);
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ PropertyDataDefinition testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testIsRequired() throws Exception {
+ PropertyDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isRequired();
+ }
+
+
+ @Test
+ public void testSetRequired() throws Exception {
+ PropertyDataDefinition testSubject;
+ Boolean required = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequired(required);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ PropertyDataDefinition testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testIsPassword() throws Exception {
+ PropertyDataDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isPassword();
+ }
+
+
+ @Test
+ public void testSetPassword() throws Exception {
+ PropertyDataDefinition testSubject;
+ boolean password = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPassword(password);
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetSchema() throws Exception {
+ PropertyDataDefinition testSubject;
+ SchemaDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSchema();
+ }
+
+
+ @Test
+ public void testSetSchema() throws Exception {
+ PropertyDataDefinition testSubject;
+ SchemaDefinition entrySchema = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSchema(entrySchema);
+ }
+
+
+ @Test
+ public void testGetLabel() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLabel();
+ }
+
+
+ @Test
+ public void testSetLabel() throws Exception {
+ PropertyDataDefinition testSubject;
+ String label = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLabel(label);
+ }
+
+
+ @Test
+ public void testIsHidden() throws Exception {
+ PropertyDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isHidden();
+ }
+
+
+ @Test
+ public void testSetHidden() throws Exception {
+ PropertyDataDefinition testSubject;
+ Boolean hidden = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHidden(hidden);
+ }
+
+
+ @Test
+ public void testIsImmutable() throws Exception {
+ PropertyDataDefinition testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isImmutable();
+ }
+
+
+ @Test
+ public void testSetImmutable() throws Exception {
+ PropertyDataDefinition testSubject;
+ Boolean immutable = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImmutable(immutable);
+ }
+
+
+ @Test
+ public void testGetParentUniqueId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentUniqueId();
+ }
+
+
+ @Test
+ public void testSetParentUniqueId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String parentUniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentUniqueId(parentUniqueId);
+ }
+
+
+ @Test
+ public void testGetGetInputValues() throws Exception {
+ PropertyDataDefinition testSubject;
+ List<GetInputValueDataDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGetInputValues();
+ }
+
+
+ @Test
+ public void testSetGetInputValues() throws Exception {
+ PropertyDataDefinition testSubject;
+ List<GetInputValueDataDefinition> getInputValues = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGetInputValues(getInputValues);
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ PropertyDataDefinition testSubject;
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetInputId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputId();
+ }
+
+
+ @Test
+ public void testSetInputId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String inputId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputId(inputId);
+ }
+
+
+ @Test
+ public void testGetInstanceUniqueId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInstanceUniqueId();
+ }
+
+
+ @Test
+ public void testSetInstanceUniqueId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String instanceUniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInstanceUniqueId(instanceUniqueId);
+ }
+
+
+ @Test
+ public void testGetPropertyId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPropertyId();
+ }
+
+
+ @Test
+ public void testSetPropertyId() throws Exception {
+ PropertyDataDefinition testSubject;
+ String propertyId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPropertyId(propertyId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PropertyDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ PropertyDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ PropertyDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+
+
+
+
+
+
+
+
+ @Test
+ public void testConvertPropertyDataToInstancePropertyData() throws Exception {
+ PropertyDataDefinition testSubject;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.convertPropertyDataToInstancePropertyData();
+ }
+} \ No newline at end of file
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinitionTest.java
new file mode 100644
index 0000000000..e5da90f2ee
--- /dev/null
+++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinitionTest.java
@@ -0,0 +1,349 @@
+package org.openecomp.sdc.be.datatypes.elements;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class RequirementDataDefinitionTest {
+
+ private RequirementDataDefinition createTestSubject() {
+ return new RequirementDataDefinition();
+ }
+
+
+ @Test
+ public void testGetUniqueId() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUniqueId();
+ }
+
+
+ @Test
+ public void testSetUniqueId() throws Exception {
+ RequirementDataDefinition testSubject;
+ String uniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUniqueId(uniqueId);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ RequirementDataDefinition testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetParentName() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentName();
+ }
+
+
+ @Test
+ public void testSetParentName() throws Exception {
+ RequirementDataDefinition testSubject;
+ String parentName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentName(parentName);
+ }
+
+
+ @Test
+ public void testGetCapability() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapability();
+ }
+
+
+ @Test
+ public void testSetCapability() throws Exception {
+ RequirementDataDefinition testSubject;
+ String capability = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapability(capability);
+ }
+
+
+ @Test
+ public void testGetNode() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNode();
+ }
+
+
+ @Test
+ public void testSetNode() throws Exception {
+ RequirementDataDefinition testSubject;
+ String node = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNode(node);
+ }
+
+
+ @Test
+ public void testGetRelationship() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRelationship();
+ }
+
+
+ @Test
+ public void testSetRelationship() throws Exception {
+ RequirementDataDefinition testSubject;
+ String relationship = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRelationship(relationship);
+ }
+
+
+ @Test
+ public void testGetOwnerId() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOwnerId();
+ }
+
+
+ @Test
+ public void testSetOwnerId() throws Exception {
+ RequirementDataDefinition testSubject;
+ String ownerId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOwnerId(ownerId);
+ }
+
+
+ @Test
+ public void testGetOwnerName() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOwnerName();
+ }
+
+
+ @Test
+ public void testSetOwnerName() throws Exception {
+ RequirementDataDefinition testSubject;
+ String ownerName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOwnerName(ownerName);
+ }
+
+
+ @Test
+ public void testGetMinOccurrences() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinOccurrences();
+ }
+
+
+ @Test
+ public void testSetMinOccurrences() throws Exception {
+ RequirementDataDefinition testSubject;
+ String minOccurrences = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinOccurrences(minOccurrences);
+ }
+
+
+ @Test
+ public void testGetLeftOccurrences() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLeftOccurrences();
+ }
+
+
+ @Test
+ public void testSetLeftOccurrences() throws Exception {
+ RequirementDataDefinition testSubject;
+ String leftOccurrences = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLeftOccurrences(leftOccurrences);
+ }
+
+
+ @Test
+ public void testGetMaxOccurrences() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxOccurrences();
+ }
+
+
+ @Test
+ public void testSetMaxOccurrences() throws Exception {
+ RequirementDataDefinition testSubject;
+ String maxOccurrences = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxOccurrences(maxOccurrences);
+ }
+
+
+ @Test
+ public void testSetPath() throws Exception {
+ RequirementDataDefinition testSubject;
+ List<String> path = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPath(path);
+ }
+
+
+ @Test
+ public void testGetPath() throws Exception {
+ RequirementDataDefinition testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPath();
+ }
+
+
+ @Test
+ public void testSetSource() throws Exception {
+ RequirementDataDefinition testSubject;
+ String source = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSource(source);
+ }
+
+
+ @Test
+ public void testGetSource() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSource();
+ }
+
+
+ @Test
+ public void testAddToPath() throws Exception {
+ RequirementDataDefinition testSubject;
+ String elementInPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addToPath(elementInPath);
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ RequirementDataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ RequirementDataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RequirementDataDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/docs/index.rst b/docs/index.rst
index 7ba626a806..cc71b4572b 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -10,9 +10,9 @@ SDC Documentation
architecture.rst
configuration.rst
consumedapis.rst
+ offeredapis.rst
delivery.rst
humaninterfaces.rst
installation.rst
logging.rst
- offeredapis.rst
release-notes.rst
diff --git a/docs/offeredapis.rst b/docs/offeredapis.rst
index 23504c1daa..bdc5034eb0 100644
--- a/docs/offeredapis.rst
+++ b/docs/offeredapis.rst
@@ -4,11 +4,10272 @@
Offered APIs
============
-.. note::
- * This section is used to describe the external interfaces offered by a software component
-
- * This section is typically: provided for a platform-component and sdk; and
- referenced in developer guides and api reference manuals.
-
- * This note must be removed after content has been added.
+:Date: 2017-10-18
+.. contents::
+ :depth: 3
+..
+
+Overview
+========
+
+Version information
+-------------------
+
+*Version* : 1.0.0
+
+URI scheme
+----------
+
+*Host* : localhost:8080 *BasePath* : /sdc2/rest *Schemes* : HTTP
+
+Tags
+----
+
+- Additional Information Servlet
+
+- BE Monitoring
+
+- Catalog Types Upload
+
+- Component Servlet
+
+- Consumer Servlet
+
+- Distribution Service Servlet
+
+- Element Servlet
+
+- Input Catalog
+
+- Lifecycle Actions Servlet
+
+- Product Catalog
+
+- Resource Artifact Servlet
+
+- Resource Attribute Servlet
+
+- Resource Group Servlet
+
+- Resource Instance Servlet
+
+- Resource Property Servlet
+
+- Resources Catalog
+
+- Resources Catalog Upload
+
+- Service Catalog
+
+- Types Fetch Servlet
+
+- User Administration
+
+Paths
+=====
+
+return aggregate BE health check of Titan, ES and BE
+----------------------------------------------------
+
+::
+
+ GET /healthCheck
+
+Description
+~~~~~~~~~~~
+
+return BE health check
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Titan, ES and BE are all up | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | One or more BE components (Titan, ES, BE) are down | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- BE Monitoring
+
+POST /monitoring
+----------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Body** | **body**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- BE Monitoring
+
+Retrieve all artifactTypes
+--------------------------
+
+::
+
+ GET /v1/artifactTypes
+
+Description
+~~~~~~~~~~~
+
+Retrieve all artifactTypes
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns artifactTypes Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | No artifactTypes were found | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+get component audit records
+---------------------------
+
+::
+
+ GET /v1/catalog/audit-records/{componentType}/{componentUniqueId}
+
+Description
+~~~~~~~~~~~
+
+get audit records for a service or a resource
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentUniqueId**\ * | string |
+| | required* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Get data types
+--------------
+
+::
+
+ GET /v1/catalog/dataTypes
+
+Description
+~~~~~~~~~~~
+
+Returns data types
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | datatypes | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Data types not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Types Fetch Servlet
+
+Create product
+--------------
+
+::
+
+ POST /v1/catalog/products
+
+Description
+~~~~~~~~~~~
+
+Returns created product
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | USER\_ID of product strategist user | string |
+| ** | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Product object to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Product <#_pr |
+| | | oduct>`__ |
++---------+----------------------------------------------------+----------------+
+| **201** | Product created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid/missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation / Empty USER\_ID header | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Product already exists / User not found / Wrong | No Content |
+| | user role | |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Product Catalog
+
+Retrieve Service
+----------------
+
+::
+
+ GET /v1/catalog/products/productName/{productName}/productVersion/{productVersion}
+
+Description
+~~~~~~~~~~~
+
+Returns product according to name and version
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **productName**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **productVersion**\ *req | string |
+| | uired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Product found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Product not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Product Catalog
+
+validate product name
+---------------------
+
+::
+
+ GET /v1/catalog/products/validate-name/{productName}
+
+Description
+~~~~~~~~~~~
+
+checks if the chosen product name is available
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **productName**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Product Catalog
+
+Retrieve product
+----------------
+
+::
+
+ GET /v1/catalog/products/{productId}
+
+Description
+~~~~~~~~~~~
+
+Returns product according to productId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **productId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Product found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Product not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Product Catalog
+
+DELETE /v1/catalog/products/{productid}
+---------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **productId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Tags
+~~~~
+
+- Product Catalog
+
+Update Product Metadata
+-----------------------
+
+::
+
+ PUT /v1/catalog/products/{productId}/metadata
+
+Description
+~~~~~~~~~~~
+
+Returns updated product
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **productId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Product object to be Updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Product Updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Product Catalog
+
+Create Resource
+---------------
+
+::
+
+ POST /v1/catalog/resources
+
+Description
+~~~~~~~~~~~
+
+Returns created resource
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource object to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Resource <#_r |
+| | | esource>`__ |
++---------+----------------------------------------------------+----------------+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Resource already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+GET /v1/catalog/resources/certified/abstract
+--------------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+GET /v1/catalog/resources/certified/notabstract
+-----------------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Create Resource
+---------------
+
+::
+
+ POST /v1/catalog/resources/csar/{csaruuid}
+
+Description
+~~~~~~~~~~~
+
+Returns resource created from csar uuid
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **csaruuid**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Resource <#_r |
+| | | esource>`__ |
++---------+----------------------------------------------------+----------------+
+| **201** | Resource retrieced | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Retrieve Resource by name and version
+-------------------------------------
+
+::
+
+ GET /v1/catalog/resources/resourceName/{resourceName}/resourceVersion/{resourceVersion}
+
+Description
+~~~~~~~~~~~
+
+Returns resource according to resourceId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceName**\ *requi | string |
+| | red* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceVersion**\ *re | string |
+| | quired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+validate resource name
+----------------------
+
+::
+
+ GET /v1/catalog/resources/validate-name/{resourceName}
+
+Description
+~~~~~~~~~~~
+
+checks if the chosen resource name is available
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceName**\ *requi | string |
+| | red* | |
++------------------+--------------------------+----------------------------------+
+| **Query** | **subtype**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Retrieve Resource
+-----------------
+
+::
+
+ GET /v1/catalog/resources/{resourceId}
+
+Description
+~~~~~~~~~~~
+
+Returns resource according to resourceId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Update Resource
+---------------
+
+::
+
+ PUT /v1/catalog/resources/{resourceId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource object to be updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Resource already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+DELETE /v1/catalog/resources/{resourceid}
+-----------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **resourceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Create Additional Information Label and Value
+---------------------------------------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/additionalinfo
+
+Description
+~~~~~~~~~~~
+
+Returns created Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Additional information key value to | string |
+| | required* | be created | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Additional information created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Get all Additional Information under resource
+---------------------------------------------
+
+::
+
+ GET /v1/catalog/resources/{resourceId}/additionalinfo
+
+Description
+~~~~~~~~~~~
+
+Returns Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | list of additional information | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Get Additional Information by id
+--------------------------------
+
+::
+
+ GET /v1/catalog/resources/{resourceId}/additionalinfo/{labelId}
+
+Description
+~~~~~~~~~~~
+
+Returns Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **labelId** | label id | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | fetched additional information | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Update Additional Information Label and Value
+---------------------------------------------
+
+::
+
+ PUT /v1/catalog/resources/{resourceId}/additionalinfo/{labelId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **labelId** | label id | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Additional information key value to | string |
+| | required* | be created | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Additional information updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Create Additional Information Label and Value
+---------------------------------------------
+
+::
+
+ DELETE /v1/catalog/resources/{resourceId}/additionalinfo/{labelId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **labelId** | label id | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Additional information deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Create Artifact
+---------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/artifacts
+
+Description
+~~~~~~~~~~~
+
+Returns created ArtifactDefinition
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **resourceI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Artifact already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update Artifact
+---------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated artifact
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Download resource Artifact in Base64
+------------------------------------
+
+::
+
+ GET /v1/catalog/resources/{resourceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns downloaded artifact
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **artifactId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource artifact downloaded | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource/Artifact not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Delete Artifact
+---------------
+
+::
+
+ DELETE /v1/catalog/resources/{resourceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns delete artifact
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **artifactId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Create Resource Attribute
+-------------------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/attributes
+
+Description
+~~~~~~~~~~~
+
+Returns created resource attribute
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | attribute | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource attribute to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource property created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Resource attribute already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Attribute Servlet
+
+Update Resource Attribute
+-------------------------
+
+::
+
+ PUT /v1/catalog/resources/{resourceId}/attributes/{attributeId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated attribute
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **attribute | attribute id to update | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | attribute | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource attribute to update | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource attribute updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Attribute Servlet
+
+Create Resource Attribute
+-------------------------
+
+::
+
+ DELETE /v1/catalog/resources/{resourceId}/attributes/{attributeId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted attribute
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **attribute | Attribute id to delete | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id of attribute | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **204** | deleted attribute | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource property not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Attribute Servlet
+
+Update Resource Metadata
+------------------------
+
+::
+
+ PUT /v1/catalog/resources/{resourceId}/metadata
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource metadata
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource metadata to be updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource metadata updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Create Resource Property
+------------------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/properties
+
+Description
+~~~~~~~~~~~
+
+Returns created resource property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource property to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource property created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Resource property already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Property Servlet
+
+Create Resource Property
+------------------------
+
+::
+
+ GET /v1/catalog/resources/{resourceId}/properties/{propertyId}
+
+Description
+~~~~~~~~~~~
+
+Returns property of resource
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **propertyI | proerty id to get | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id of property | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | property | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource property not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Property Servlet
+
+Update Resource Property
+------------------------
+
+::
+
+ PUT /v1/catalog/resources/{resourceId}/properties/{propertyId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **propertyI | proerty id to update | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id to update with new | string |
+| | d**\ *requi | property | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Resource property to update | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource property updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Property Servlet
+
+Create Resource Property
+------------------------
+
+::
+
+ DELETE /v1/catalog/resources/{resourceId}/properties/{propertyId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **propertyI | Property id to delete | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | resource id of property | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **204** | deleted property | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource property not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Property Servlet
+
+Create Artifact and Attach to interface
+---------------------------------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/{interfaceType}/{operation}/artifacts
+
+Description
+~~~~~~~~~~~
+
+Returns created resource
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **Content-M | | string |
+| ** | D5**\ *opti | | |
+| | onal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **interface | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **operation | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Artifact already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+update Artifact Attach to interface
+-----------------------------------
+
+::
+
+ POST /v1/catalog/resources/{resourceId}/{interfaceType}/{operation}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+updates artifact by interface
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **Content-M | | string |
+| ** | D5**\ *opti | | |
+| | onal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **interface | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **operation | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | delete artifact under interface deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Artifact already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+delete Artifact from interface
+------------------------------
+
+::
+
+ DELETE /v1/catalog/resources/{resourceId}/{interfaceType}/{operation}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+delete matching artifact from interface
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **artifactId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **interfaceType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **operation**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **resourceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | delete artifact under interface deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Artifact already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+DELETE /v1/catalog/resources/{resourcename}/{version}
+-----------------------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **resourceName**\ *requi | string |
+| | red* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **version**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Tags
+~~~~
+
+- Resources Catalog
+
+Create Service
+--------------
+
+::
+
+ POST /v1/catalog/services
+
+Description
+~~~~~~~~~~~
+
+Returns created service
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Service object to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Service <#_se |
+| | | rvice>`__ |
++---------+----------------------------------------------------+----------------+
+| **201** | Service created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Service already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Retrieve Distributions
+----------------------
+
+::
+
+ GET /v1/catalog/services/distribution/{did}
+
+Description
+~~~~~~~~~~~
+
+Return the list of distribution status objects
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **did**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Status not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Distribution Service Servlet
+
+Retrieve Service
+----------------
+
+::
+
+ GET /v1/catalog/services/serviceName/{serviceName}/serviceVersion/{serviceVersion}
+
+Description
+~~~~~~~~~~~
+
+Returns service according to name and version
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceName**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceVersion**\ *req | string |
+| | uired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Service not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Download service artifact
+-------------------------
+
+::
+
+ GET /v1/catalog/services/toscatoheat/{artifactName}
+
+Description
+~~~~~~~~~~~
+
+Returns downloaded artifact
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **artifactName**\ *requi | string |
+| | red* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Artifact downloaded | No Content |
++---------+----------------------------------------------------+----------------+
+| **401** | Authorization required | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Artifact not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/octet-stream``
+
+Tags
+~~~~
+
+- Service Catalog
+
+validate service name
+---------------------
+
+::
+
+ GET /v1/catalog/services/validate-name/{serviceName}
+
+Description
+~~~~~~~~~~~
+
+checks if the chosen service name is available
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceName**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Get Inputs only
+---------------
+
+::
+
+ GET /v1/catalog/services/{componentId}/inputs
+
+Description
+~~~~~~~~~~~
+
+Returns Inputs list
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Query** | **amount**\ *optional* | integer (int32) |
++------------------+--------------------------+----------------------------------+
+| **Query** | **fromId**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Retrieve Service
+----------------
+
+::
+
+ GET /v1/catalog/services/{serviceId}
+
+Description
+~~~~~~~~~~~
+
+Returns service according to serviceId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Service not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+DELETE /v1/catalog/services/{serviceid}
+---------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Tags
+~~~~
+
+- Service Catalog
+
+Create Additional Information Label and Value
+---------------------------------------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/additionalinfo
+
+Description
+~~~~~~~~~~~
+
+Returns created Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | service id to update with new | string |
+| | **\ *requir | property | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Additional information key value to | string |
+| | required* | be created | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Additional information created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Get all Additional Information under service
+--------------------------------------------
+
+::
+
+ GET /v1/catalog/services/{serviceId}/additionalinfo
+
+Description
+~~~~~~~~~~~
+
+Returns Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | service id to update with new | string |
+| | **\ *requir | property | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | list of additional information | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Get Additional Information by id
+--------------------------------
+
+::
+
+ GET /v1/catalog/services/{serviceId}/additionalinfo/{labelId}
+
+Description
+~~~~~~~~~~~
+
+Returns Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **labelId** | label id | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | service id to update with new | string |
+| | **\ *requir | property | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | fetched additional information | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Update Additional Information Label and Value
+---------------------------------------------
+
+::
+
+ PUT /v1/catalog/services/{serviceId}/additionalinfo/{labelId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **labelId** | label id | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | service id to update with new | string |
+| | **\ *requir | property | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Additional information key value to | string |
+| | required* | be created | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Additional information updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Create Additional Information Label and Value
+---------------------------------------------
+
+::
+
+ DELETE /v1/catalog/services/{serviceId}/additionalinfo/{labelId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted Additional Inforamtion property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **labelId** | label id | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | service id to update with new | string |
+| | **\ *requir | property | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Additional information deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Additional information key already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Additional Information Servlet
+
+Create Artifact
+---------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/artifacts
+
+Description
+~~~~~~~~~~~
+
+Returns created ArtifactDefinition
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **serviceId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Artifact already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update Api Artifact
+-------------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/artifacts/api/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns created ArtifactDefinition
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **Content-M | | string |
+| ** | D5**\ *opti | | |
+| | onal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Api Artifact Updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Delete Api Artifact
+-------------------
+
+::
+
+ DELETE /v1/catalog/services/{serviceId}/artifacts/api/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns Deleted ArtifactDefinition
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **Content-MD5**\ *option | string |
+| | al* | |
++------------------+--------------------------+----------------------------------+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **artifactId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **204** | Api Artifact deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update Artifact
+---------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated artifact
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Service artifact created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Download service Artifact in Base64
+-----------------------------------
+
+::
+
+ GET /v1/catalog/services/{serviceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns downloaded artifact
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **artifactId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service artifact downloaded | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Service/Artifact not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Delete Artifact
+---------------
+
+::
+
+ DELETE /v1/catalog/services/{serviceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns delete artifact
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **artifactId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Service artifact deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update Service Distribution State
+---------------------------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/distribution-state/{state}
+
+Description
+~~~~~~~~~~~
+
+service with the changed distribution status
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **state**\ | | enum (approve, |
+| | *required* | | reject) |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | DistributionChangeInfo - get comment | `LifecycleChange |
+| | required* | out of body | InfoWithAction < |
+| | | | #_lifecyclechang |
+| | | | einfowithaction> |
+| | | | `__ |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service distribution state changed | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Service is not available for distribution | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Requested service was not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error. Please try again later. | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Mark distribution as deployed
+-----------------------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/distribution/{did}/markDeployed
+
+Description
+~~~~~~~~~~~
+
+relevant audit record will be created
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **did**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service was marked as deployed | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Service is not available | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Requested service was not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error. Please try again later. | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Activate distribution
+---------------------
+
+::
+
+ POST /v1/catalog/services/{serviceId}/distribution/{env}/activate
+
+Description
+~~~~~~~~~~~
+
+activate distribution
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **env**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | OK | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Requested service was not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Service cannot be distributed due to missing | No Content |
+| | deployment artifacts | |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error. Please try again later. | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Update Service Metadata
+-----------------------
+
+::
+
+ PUT /v1/catalog/services/{serviceId}/metadata
+
+Description
+~~~~~~~~~~~
+
+Returns updated service
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Service object to be Updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service Updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+POST /v1/catalog/services/{serviceid}/tempUrlToBeDeleted
+--------------------------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceId**\ *required | string |
+| | * | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | OK | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error. Please try again later. | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+DELETE /v1/catalog/services/{servicename}/{version}
+---------------------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **serviceName**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **version**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Tags
+~~~~
+
+- Service Catalog
+
+Retrieve Distributions
+----------------------
+
+::
+
+ GET /v1/catalog/services/{serviceUUID}/distribution
+
+Description
+~~~~~~~~~~~
+
+Returns list bases on the information extracted from Auditing Records
+according to service uuid
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **serviceUUID**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Service found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Service not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Distribution Service Servlet
+
+Create Resource from yaml
+-------------------------
+
+::
+
+ POST /v1/catalog/upload/{resourceAuthority}
+
+Description
+~~~~~~~~~~~
+
+Returns created resource
+
+Parameters
+~~~~~~~~~~
+
++---------+------------+----------------------------------+----------------+---------+
+| Type | Name | Description | Schema | Default |
++=========+============+==================================+================+=========+
+| **Heade | **USER\_ID | | string | |
+| r** | **\ *optio | | | |
+| | nal* | | | |
++---------+------------+----------------------------------+----------------+---------+
+| **Path* | **resource | validValues: normative-resource | enum | |
+| * | Authority* | / user-resource | (multipart, | |
+| | *\ *requir | | user-resource, | |
+| | ed* | | user-resource- | |
+| | | | ui-import) | |
++---------+------------+----------------------------------+----------------+---------+
+| **Query | **createNe | | boolean | ``"true |
+| ** | wVersion** | | | "`` |
+| | \ *optiona | | | |
+| | l* | | | |
++---------+------------+----------------------------------+----------------+---------+
+| **FormD | **resource | resourceMetadata | string | |
+| ata** | Metadata** | | | |
+| | \ *optiona | | | |
+| | l* | | | |
++---------+------------+----------------------------------+----------------+---------+
+| **FormD | **resource | FileInputStream | file | |
+| ata** | Zip**\ *op | | | |
+| | tional* | | | |
++---------+------------+----------------------------------+----------------+---------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Resource already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resources Catalog Upload
+
+Create Capability Type from yaml
+--------------------------------
+
+::
+
+ POST /v1/catalog/uploadType/capability
+
+Description
+~~~~~~~~~~~
+
+Returns created Capability Type
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **FormDa | **capabilit | FileInputStream | file |
+| ta** | yTypeZip**\ | | |
+| | *optional* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Capability Type created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Capability Type already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Catalog Types Upload
+
+Create Categories from yaml
+---------------------------
+
+::
+
+ POST /v1/catalog/uploadType/categories
+
+Description
+~~~~~~~~~~~
+
+Returns created categories
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **FormDa | **categorie | FileInputStream | file |
+| ta** | sZip**\ *op | | |
+| | tional* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Categories created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Category already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Catalog Types Upload
+
+Create Categories from yaml
+---------------------------
+
+::
+
+ POST /v1/catalog/uploadType/datatypes
+
+Description
+~~~~~~~~~~~
+
+Returns created data types
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **FormDa | **dataTypes | FileInputStream | file |
+| ta** | Zip**\ *opt | | |
+| | ional* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Data types created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Data types already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Catalog Types Upload
+
+Create GroupTypes from yaml
+---------------------------
+
+::
+
+ POST /v1/catalog/uploadType/grouptypes
+
+Description
+~~~~~~~~~~~
+
+Returns created group types
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **FormDa | **groupType | FileInputStream | file |
+| ta** | sZip**\ *op | | |
+| | tional* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | group types created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | group types already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Catalog Types Upload
+
+Create Interface Lyfecycle Type from yaml
+-----------------------------------------
+
+::
+
+ POST /v1/catalog/uploadType/interfaceLifecycle
+
+Description
+~~~~~~~~~~~
+
+Returns created Interface Lifecycle Type
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **FormDa | **interface | FileInputStream | file |
+| ta** | LifecycleTy | | |
+| | peZip**\ *o | | |
+| | ptional* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Interface Lifecycle Type created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Interface Lifecycle Type already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Catalog Types Upload
+
+Create PolicyTypes from yaml
+----------------------------
+
+::
+
+ POST /v1/catalog/uploadType/policytypes
+
+Description
+~~~~~~~~~~~
+
+Returns created policy types
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **FormDa | **policyTyp | FileInputStream | file |
+| ta** | esZip**\ *o | | |
+| | ptional* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | policy types created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | policy types already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``multipart/form-data``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Catalog Types Upload
+
+Change Resource lifecycle State
+-------------------------------
+
+::
+
+ POST /v1/catalog/{componentCollection}/{componentId}/lifecycleState/{lifecycleOperation}
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | id of user initiating the operation | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | validValues: resources / services / | enum (resources, |
+| | Collection* | products | services, |
+| | *\ *require | | products) |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | id of component to be changed | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **lifecycle | | enum (checkout, |
+| | Operation** | | undoCheckout, |
+| | \ *required | | checkin, |
+| | * | | certificationReq |
+| | | | uest, |
+| | | | startCertificati |
+| | | | on, |
+| | | | failCertificatio |
+| | | | n, |
+| | | | cancelCertificat |
+| | | | ion, |
+| | | | certify) |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | LifecycleChangeInfo - relevant for | string |
+| | optional* | checkin, failCertification, | |
+| | | cancelCertification | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource state changed | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Resource already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Lifecycle Actions Servlet
+
+Get Component Requirments And Capabilities
+------------------------------------------
+
+::
+
+ GET /v1/catalog/{componentType}/latestversion/notabstract
+
+Description
+~~~~~~~~~~~
+
+Returns Requirments And Capabilities according to componentId
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Query* | **internalC | | string |
+| * | omponentTyp | | |
+| | e**\ *optio | | |
+| | nal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Consumer Object to be created | < string > array |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Get Component uid only
+----------------------
+
+::
+
+ GET /v1/catalog/{componentType}/latestversion/notabstract/metadata
+
+Description
+~~~~~~~~~~~
+
+Returns componentId
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Query* | **internalC | | string |
+| * | omponentTyp | | |
+| | e**\ *optio | | |
+| | nal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | uid list | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Get Component instances
+-----------------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/componentInstances
+
+Description
+~~~~~~~~~~~
+
+Returns component instances
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Query* | **searchTex | | string |
+| * | t**\ *optio | | |
+| | nal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | uid list | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Get properties
+--------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/componentInstances/{instanceId}/{inputId}/properties
+
+Description
+~~~~~~~~~~~
+
+Returns properties list
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **inputId**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **instanceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Get Inputs only
+---------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/componentInstances/{instanceId}/{originComponentUid}/inputs
+
+Description
+~~~~~~~~~~~
+
+Returns Inputs list
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **instanceId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **originComponentUid**\ | string |
+| | *required* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Create inputs on service
+------------------------
+
+::
+
+ POST /v1/catalog/{componentType}/{componentId}/create/inputs
+
+Description
+~~~~~~~~~~~
+
+Return inputs list
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | ComponentIns Inputs Object to be | string |
+| | required* | created | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Delete input from service
+-------------------------
+
+::
+
+ DELETE /v1/catalog/{componentType}/{componentId}/delete/{inputId}/input
+
+Description
+~~~~~~~~~~~
+
+Delete service input
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **inputId** | | string |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Service Input to be deleted | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Input deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Input not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Retrieve Resource
+-----------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/filteredDataByParams
+
+Description
+~~~~~~~~~~~
+
+Returns resource according to resourceId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Query** | **include**\ *optional* | < string > array(multi) |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Retrieve properties belonging to component instances of specific component by name and optionally resource type
+---------------------------------------------------------------------------------------------------------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/filteredproperties/{propertyNameFragment}
+
+Description
+~~~~~~~~~~~
+
+Returns properties belonging to component instances of specific
+component by name and optionally resource type
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **propertyNameFragment** | string |
+| | \ *required* | |
++------------------+--------------------------+----------------------------------+
+| **Query** | **resourceType**\ *optio | < string > array(multi) |
+| | nal* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Get inputs
+----------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/inputs/{inputId}
+
+Description
+~~~~~~~~~~~
+
+Returns inputs list
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **inputId**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Get inputs
+----------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/inputs/{inputId}/inputs
+
+Description
+~~~~~~~~~~~
+
+Returns inputs list
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **inputId**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Get Component Requirments And Capabilities
+------------------------------------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentId}/requirmentsCapabilities
+
+Description
+~~~~~~~~~~~
+
+Returns Requirements And Capabilities according to componentId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Validate Component Conformance Level
+------------------------------------
+
+::
+
+ GET /v1/catalog/{componentType}/{componentUuid}/conformanceLevelValidation
+
+Description
+~~~~~~~~~~~
+
+Returns the result according to conformance level in BE config
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentUuid**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Component Servlet
+
+Get component Artifacts
+-----------------------
+
+::
+
+ GET /v1/catalog/{containerComponentType}/{componentId}/artifactsByType/{artifactGroupType}
+
+Description
+~~~~~~~~~~~
+
+Returns artifacts
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **artifactG | | string |
+| | roupType**\ | | |
+| | *required* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component artifacts | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource/Artifact not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Get group artifacts
+-------------------
+
+::
+
+ GET /v1/catalog/{containerComponentType}/{componentId}/groups/{groupId}
+
+Description
+~~~~~~~~~~~
+
+Returns artifacts metadata according to groupId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **containerComponentType | string |
+| | **\ *required* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **groupId**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | group found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Group not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Group Servlet
+
+Update Group Metadata
+---------------------
+
+::
+
+ PUT /v1/catalog/{containerComponentType}/{componentId}/groups/{groupUniqueId}/metadata
+
+Description
+~~~~~~~~~~~
+
+Returns updated group definition
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | | string |
+| | ComponentTy | | |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **groupUniq | | string |
+| | ueId**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Service object to be Updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Group Updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Group Servlet
+
+Updates List of properties on a group (only values)
+---------------------------------------------------
+
+::
+
+ PUT /v1/catalog/{containerComponentType}/{componentId}/groups/{groupUniqueId}/properties
+
+Description
+~~~~~~~~~~~
+
+Returns updated list of properties
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | | string |
+| | ComponentTy | | |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **groupUniq | | string |
+| | ueId**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Service object to be Updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Group Updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Group Servlet
+
+Create ComponentInstance
+------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance
+
+Description
+~~~~~~~~~~~
+
+Returns created ComponentInstance
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | USER\_ID of modifier user | string |
+| ** | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | RI object to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Component created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Component instance already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Associate RI to RI
+------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/associate
+
+Description
+~~~~~~~~~~~
+
+Returns created RelationshipInfo
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | unique id of the container component | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | allowed values are resources | enum (resources, |
+| | ComponentTy | /services / products | services, |
+| | pe**\ *requ | | products) |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | RelationshipInfo | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Relationship created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Relationship already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Create RI and associate RI to RI
+--------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/createAndAssociate
+
+Description
+~~~~~~~~~~~
+
+Returns created RI and RelationshipInfo
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | RI created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Relationship already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Dissociate RI from RI
+---------------------
+
+::
+
+ PUT /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/dissociate
+
+Description
+~~~~~~~~~~~
+
+Returns deleted RelationshipInfo
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | unique id of the container component | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | allowed values are resources | enum (resources, |
+| | ComponentTy | /services / products | services, |
+| | pe**\ *requ | | products) |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | RelationshipInfo | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Relationship deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance multiple component
+-------------------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/multipleComponentInstance
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services / | enum (resources, |
+| | ComponentTy | products | services, |
+| | pe**\ *requ | | products) |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Component Instance JSON Array | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource instance updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance
+------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services / | enum (resources, |
+| | ComponentTy | products | services, |
+| | pe**\ *requ | | products) |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Resource instance updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Load Resource Instance artifact payload
+---------------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts
+
+Description
+~~~~~~~~~~~
+
+Returns updated artifact
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **Content-M | | string |
+| ** | D5**\ *opti | | |
+| | onal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Artifact updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Delete Resource Instance artifact
+---------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted artifact
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **Content-M | | string |
+| ** | D5**\ *opti | | |
+| | onal* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Artifact updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update Resource Instance HEAT\_ENV parameters
+---------------------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/artifacts/{artifactId}/heatParams
+
+Description
+~~~~~~~~~~~
+
+Returns updated artifact
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the artifact | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Artifact updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update resource instance attribute
+----------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/attribute
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance attribute
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | id of user initiating the operation | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | service id | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | resource instance id | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource instance created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance
+------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/changeVersion
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource instance created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Get group artifacts
+-------------------
+
+::
+
+ GET /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/groupInstance/{groupInstId}
+
+Description
+~~~~~~~~~~~
+
+Returns artifacts metadata according to groupInstId
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentInstanceId**\ | string |
+| | *required* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **containerComponentType | string |
+| | **\ *required* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **groupInstId**\ *requir | string |
+| | ed* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | group found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Group not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance property
+---------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/groupInstance/{groupInstanceId}/property
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | id of user initiating the operation | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | service id | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | resource instance id | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **groupInst | group instance id | string |
+| | anceId**\ * | | |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource instance created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance property
+---------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/input
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | id of user initiating the operation | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | service id | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | resource instance id | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource instance created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance property
+---------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/property
+
+Description
+~~~~~~~~~~~
+
+Returns updated resource instance property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | id of user initiating the operation | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | service id | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | resource instance id | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource instance created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update resource instance
+------------------------
+
+::
+
+ DELETE /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{componentInstanceId}/property/{propertyId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted resource instance property
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | id of user initiating the operation | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | service id | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | resource instance id | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **propertyI | property id | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Resource instance created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Delete ResourceInstance
+-----------------------
+
+::
+
+ DELETE /v1/catalog/{containerComponentType}/{componentId}/resourceInstance/{resourceInstanceId}
+
+Description
+~~~~~~~~~~~
+
+Returns delete resourceInstance
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services / | enum (resources, |
+| | ComponentTy | products | services, |
+| | pe**\ *requ | | products) |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **resourceI | | string |
+| | nstanceId** | | |
+| | \ *required | | |
+| | * | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | ResourceInstance deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Download component Artifact in Base64
+-------------------------------------
+
+::
+
+ GET /v1/catalog/{containerComponentType}/{componentId}/resourceInstances/{componentInstanceId}/artifacts/{artifactId}
+
+Description
+~~~~~~~~~~~
+
+Returns downloaded artifact
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **artifactI | | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | ResourceInstance artifact downloaded | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | ResourceInstance/Artifact not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Get component Artifacts
+-----------------------
+
+::
+
+ GET /v1/catalog/{containerComponentType}/{componentId}/resourceInstances/{componentInstanceId}/artifactsByType/{artifactGroupType}
+
+Description
+~~~~~~~~~~~
+
+Returns artifacts
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **artifactG | | string |
+| | roupType**\ | | |
+| | *required* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Component artifacts | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Resource/Artifact not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Artifact Servlet
+
+Update resource inputs
+----------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{componentId}/update/inputs
+
+Description
+~~~~~~~~~~~
+
+Returns updated input
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **component | | string |
+| | Id**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the input | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Input updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Input Catalog
+
+Get component instance properties
+---------------------------------
+
+::
+
+ GET /v1/catalog/{containerComponentType}/{containerComponentId}/componentInstances/{componentInstanceUniqueId}/properties
+
+Description
+~~~~~~~~~~~
+
+Returns component instance properties
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentInstanceUniqu | string |
+| | eId**\ *required* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **containerComponentId** | string |
+| | \ *required* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **containerComponentType | string |
+| | **\ *required* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Properties found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Component/Component Instance - not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Create service proxy
+--------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{containerComponentId}/serviceProxy
+
+Description
+~~~~~~~~~~~
+
+Returns created service proxy
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | USER\_ID of modifier user | string |
+| ** | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | | string |
+| | ComponentId | | |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | RI object to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Service proxy created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Service proxy already exist | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Delete service proxy
+--------------------
+
+::
+
+ DELETE /v1/catalog/{containerComponentType}/{containerComponentId}/serviceProxy/{serviceProxyId}
+
+Description
+~~~~~~~~~~~
+
+Returns delete service proxy
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **container | | string |
+| | ComponentId | | |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services / | enum (resources, |
+| | ComponentTy | products | services, |
+| | pe**\ *requ | | products) |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **servicePr | | string |
+| | oxyId**\ *r | | |
+| | equired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Service proxy deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update service proxy with new version
+-------------------------------------
+
+::
+
+ POST /v1/catalog/{containerComponentType}/{containerComponentId}/serviceProxy/{serviceProxyId}/changeVersion/{newServiceId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated service proxy
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **container | | string |
+| | ComponentId | | |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **container | valid values: resources / services | enum (resources, |
+| | ComponentTy | | services) |
+| | pe**\ *requ | | |
+| | ired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **servicePr | | string |
+| | oxyId**\ *r | | |
+| | equired* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Service proxy created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Resource Instance Servlet
+
+Update Group Instance Property Values
+-------------------------------------
+
+::
+
+ PUT /v1/catalog/{containerComponentType}/{serviceId}/resourceInstance/{componentInstanceId}/groupInstance/{groupInstanceId}
+
+Description
+~~~~~~~~~~~
+
+Returns updated group instance
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | | string |
+| | InstanceId* | | |
+| | *\ *require | | |
+| | d* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **groupInst | | string |
+| | anceId**\ * | | |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **serviceId | | string |
+| | **\ *requir | | |
+| | ed* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Group instance object to be Updated | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Group Instance Property Values Updated | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Service Catalog
+
+Retrieve the all resource, service and product categories
+---------------------------------------------------------
+
+::
+
+ GET /v1/categories
+
+Description
+~~~~~~~~~~~
+
+Retrieve the all resource, service and product categories
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns categories Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Retrieve the list of all resource/service/product categories/sub-categories/groupings
+-------------------------------------------------------------------------------------
+
+::
+
+ GET /v1/categories/{componentType}
+
+Description
+~~~~~~~~~~~
+
+Retrieve the list of all resource/service/product
+categories/sub-categories/groupings.
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | allowed values are resources / | enum (resources, |
+| | Type**\ *re | services/ products | services, |
+| | quired* | | products) |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns categories Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid component type | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Create new component category
+-----------------------------
+
+::
+
+ POST /v1/category/{componentType}
+
+Description
+~~~~~~~~~~~
+
+Create new component category
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | allowed values are resources | enum (resources, |
+| | Type**\ *re | /services / products | services, |
+| | quired* | | products) |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Category to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Category created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid category data | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | USER\_ID header is missing | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Category already exists / User not permitted to | No Content |
+| | perform the action | |
++---------+----------------------------------------------------+----------------+
+| **500** | General Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Create new component sub-category
+---------------------------------
+
+::
+
+ POST /v1/category/{componentType}/{categoryId}/subCategory
+
+Description
+~~~~~~~~~~~
+
+Create new component sub-category for existing category
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **categoryI | Parent category unique ID | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | allowed values are resources / | enum (resources, |
+| | Type**\ *re | products | products) |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Subcategory to be created. e.g. | string |
+| | required* | {"name":"Resource-subcat"} | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Subcategory created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid subcategory data | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | USER\_ID header is missing | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Parent category wasn’t found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Subcategory already exists / User not permitted to | No Content |
+| | perform the action | |
++---------+----------------------------------------------------+----------------+
+| **500** | General Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Create new component grouping
+-----------------------------
+
+::
+
+ POST /v1/category/{componentType}/{categoryId}/subCategory/{subCategoryId}/grouping
+
+Description
+~~~~~~~~~~~
+
+Create new component grouping for existing sub-category
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **categoryI | Parent category unique ID | string |
+| | d**\ *requi | | |
+| | red* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **component | allowed values are products | enum (products) |
+| | Type**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **subCatego | Parent sub-category unique ID | string |
+| | ryId**\ *re | | |
+| | quired* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Subcategory to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Grouping created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid grouping data | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | USER\_ID header is missing | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Parent category or subcategory were not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Grouping already exists / User not permitted to | No Content |
+| | perform the action | |
++---------+----------------------------------------------------+----------------+
+| **500** | General Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Delete component category
+-------------------------
+
+::
+
+ DELETE /v1/category/{componentType}/{categoryUniqueId}
+
+Description
+~~~~~~~~~~~
+
+Delete component category
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **categoryUniqueId**\ *r | string |
+| | equired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Category <#_c |
+| | | ategory>`__ |
++---------+----------------------------------------------------+----------------+
+| **204** | Category deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | USER\_ID header is missing | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Category not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | User not permitted to perform the action | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | General Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Delete component category
+-------------------------
+
+::
+
+ DELETE /v1/category/{componentType}/{categoryUniqueId}/subCategory/{subCategoryUniqueId}
+
+Description
+~~~~~~~~~~~
+
+Delete component category
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **categoryUniqueId**\ *r | string |
+| | equired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **subCategoryUniqueId**\ | string |
+| | *required* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Category <#_c |
+| | | ategory>`__ |
++---------+----------------------------------------------------+----------------+
+| **204** | Category deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | USER\_ID header is missing | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Category not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | User not permitted to perform the action | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | General Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Delete component category
+-------------------------
+
+::
+
+ DELETE /v1/category/{componentType}/{categoryUniqueId}/subCategory/{subCategoryUniqueId}/grouping/{groupingUniqueId}
+
+Description
+~~~~~~~~~~~
+
+Delete component category
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **categoryUniqueId**\ *r | string |
+| | equired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **groupingUniqueId**\ *r | string |
+| | equired* | |
++------------------+--------------------------+----------------------------------+
+| **Path** | **subCategoryUniqueId**\ | string |
+| | *required* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `Category <#_c |
+| | | ategory>`__ |
++---------+----------------------------------------------------+----------------+
+| **204** | Category deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | USER\_ID header is missing | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Category not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | User not permitted to perform the action | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | General Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Retrieve all artifactTypes
+--------------------------
+
+::
+
+ GET /v1/configuration/ui
+
+Description
+~~~~~~~~~~~
+
+Retrieve all artifactTypes
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns artifactTypes Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | No artifactTypes were found | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Consumer credentials
+--------------------
+
+::
+
+ POST /v1/consumers
+
+Description
+~~~~~~~~~~~
+
+Returns created ECOMP consumer credentials
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | Consumer Object to be created | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **201** | Consumer credentials created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid content / Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Consumer Servlet
+
+Retrieve Consumer
+-----------------
+
+::
+
+ GET /v1/consumers/{consumerId}
+
+Description
+~~~~~~~~~~~
+
+Returns consumer according to ConsumerID
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **consumerId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Consumer found | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Consumer not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Consumer Servlet
+
+Deletes Consumer
+----------------
+
+::
+
+ DELETE /v1/consumers/{consumerId}
+
+Description
+~~~~~~~~~~~
+
+Returns deleted consumer according to ConsumerID
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Path** | **consumerId**\ *require | string |
+| | d* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `ConsumerDefin |
+| | | ition <#_consu |
+| | | merdefinition> |
+| | | `__ |
++---------+----------------------------------------------------+----------------+
+| **204** | Consumer deleted | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | Consumer not found | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Consumer Servlet
+
+Retrieve ecomp portal menu - MOC
+--------------------------------
+
+::
+
+ GET /v1/ecompPortalMenu
+
+Description
+~~~~~~~~~~~
+
+Retrieve ecomp portal menu
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Retrieve ecomp portal menu | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Retrieve all followed
+---------------------
+
+::
+
+ GET /v1/followed
+
+Description
+~~~~~~~~~~~
+
+Retrieve all followed
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns followed Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | User not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+DELETE /v1/inactiveComponents/{componenttype}
+---------------------------------------------
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **componentType**\ *requ | string |
+| | ired* | |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **defau | successful operation | No Content |
+| lt** | | |
++---------+----------------------------------------------------+----------------+
+
+Tags
+~~~~
+
+- Element Servlet
+
+Retrieve all propertyScopes
+---------------------------
+
+::
+
+ GET /v1/propertyScopes
+
+Description
+~~~~~~~~~~~
+
+Retrieve all propertyScopes
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns propertyScopes Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | No propertyScopes were found | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Retrieve catalog resources and services
+---------------------------------------
+
+::
+
+ GET /v1/screen
+
+Description
+~~~~~~~~~~~
+
+Retrieve catalog resources and services
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+| **Query** | **excludeTypes**\ *optio | < enum (PRODUCT, SERVICE, VF, |
+| | nal* | VFC, CP, VL, VFCMT, CVFC, PNF) > |
+| | | array(multi) |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns resources and services Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | User not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+Retrieve all tags
+-----------------
+
+::
+
+ GET /v1/tags
+
+Description
+~~~~~~~~~~~
+
+Retrieve all tags
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns tags Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | No tags were found | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- Element Servlet
+
+add user
+--------
+
+::
+
+ POST /v1/user
+
+Description
+~~~~~~~~~~~
+
+Provision new user
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the user | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | successful operation | `User <#_user> |
+| | | `__ |
++---------+----------------------------------------------------+----------------+
+| **201** | New user created | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid Content. | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+| **405** | Method Not Allowed | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | User already exists | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+retrieve all administrators
+---------------------------
+
+::
+
+ GET /v1/user/admins
+
+Description
+~~~~~~~~~~~
+
+Returns all administrators
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Path** | **userId**\ *required* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns user Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **405** | Method Not Allowed | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+authorize
+---------
+
+::
+
+ GET /v1/user/authorize
+
+Description
+~~~~~~~~~~~
+
+authorize user
+
+Parameters
+~~~~~~~~~~
+
++------------------+--------------------------+----------------------------------+
+| Type | Name | Schema |
++==================+==========================+==================================+
+| **Header** | **HTTP\_CSP\_EMAIL**\ *o | string |
+| | ptional* | |
++------------------+--------------------------+----------------------------------+
+| **Header** | **HTTP\_CSP\_FIRSTNAME** | string |
+| | \ *optional* | |
++------------------+--------------------------+----------------------------------+
+| **Header** | **HTTP\_CSP\_LASTNAME**\ | string |
+| | *optional* | |
++------------------+--------------------------+----------------------------------+
+| **Header** | **USER\_ID**\ *optional* | string |
++------------------+--------------------------+----------------------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns user Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted Access | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+Retrieve the list of all active ASDC users or only group of users having specific roles.
+----------------------------------------------------------------------------------------
+
+::
+
+ GET /v1/user/users
+
+Description
+~~~~~~~~~~~
+
+Returns list of users with the specified roles, or all of users in the
+case of empty *roles* header
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | Any active user’s USER\_ID | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Query* | **roles**\ | TESTER,DESIGNER,PRODUCT\_STRATEGIST, | string |
+| * | *optional* | OPS,PRODUCT\_MANAGER,GOVERNOR, | |
+| | | ADMIN OR all users by not typing | |
+| | | anything | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns users Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **204** | No provisioned ASDC users of requested role | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Missing content | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Restricted Access | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+retrieve user details
+---------------------
+
+::
+
+ GET /v1/user/{userId}
+
+Description
+~~~~~~~~~~~
+
+Returns user details according to userId
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **userId**\ | userId of user to get | string |
+| | *required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns user Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | User not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **405** | Method Not Allowed | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+delete user
+-----------
+
+::
+
+ DELETE /v1/user/{userId}
+
+Description
+~~~~~~~~~~~
+
+Delete user
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **userId**\ | userId of user to get | string |
+| | *required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Update deleted OK | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid Content. | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | User not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **405** | Method Not Allowed | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+update user role
+----------------
+
+::
+
+ POST /v1/user/{userId}/role
+
+Description
+~~~~~~~~~~~
+
+Update user role
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Header | **USER\_ID* | | string |
+| ** | *\ *optiona | | |
+| | l* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Path** | **userId**\ | userId of user to get | string |
+| | *required* | | |
++----------+-------------+--------------------------------------+------------------+
+| **Body** | **body**\ * | json describe the update role | string |
+| | required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Update user OK | No Content |
++---------+----------------------------------------------------+----------------+
+| **400** | Invalid Content. | No Content |
++---------+----------------------------------------------------+----------------+
+| **403** | Missing information/Restricted operation | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | User not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **405** | Method Not Allowed | No Content |
++---------+----------------------------------------------------+----------------+
+| **409** | User already exists | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+retrieve user role
+------------------
+
+::
+
+ GET /v1/user/{userId}/role
+
+Description
+~~~~~~~~~~~
+
+Returns user role according to userId
+
+Parameters
+~~~~~~~~~~
+
++----------+-------------+--------------------------------------+------------------+
+| Type | Name | Description | Schema |
++==========+=============+======================================+==================+
+| **Path** | **userId**\ | userId of user to get | string |
+| | *required* | | |
++----------+-------------+--------------------------------------+------------------+
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | Returns user role Ok | No Content |
++---------+----------------------------------------------------+----------------+
+| **404** | User not found | No Content |
++---------+----------------------------------------------------+----------------+
+| **405** | Method Not Allowed | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Server Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- User Administration
+
+return the ASDC application version
+-----------------------------------
+
+::
+
+ GET /version
+
+Description
+~~~~~~~~~~~
+
+return the ASDC application version
+
+Responses
+~~~~~~~~~
+
++---------+----------------------------------------------------+----------------+
+| HTTP | Description | Schema |
+| Code | | |
++=========+====================================================+================+
+| **200** | return ASDC version | No Content |
++---------+----------------------------------------------------+----------------+
+| **500** | Internal Error | No Content |
++---------+----------------------------------------------------+----------------+
+
+Consumes
+~~~~~~~~
+
+- ``application/json``
+
+Produces
+~~~~~~~~
+
+- ``application/json``
+
+Tags
+~~~~
+
+- BE Monitoring
+
+Definitions
+===========
+
+AdditionalInfoParameterInfo
+---------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **key**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+AdditionalInformationDefinition
+-------------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **creationTime**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **lastCreatedCounter**\ *optio | integer (int32) |
+| nal* | |
++--------------------------------+-------------------------------------------+
+| **modificationTime**\ *optiona | integer (int64) |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parameters**\ *optional* | < |
+| | `AdditionalInfoParameterInfo <#_additiona |
+| | linfoparameterinfo>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **parentUniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+ArtifactDataDefinition
+----------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **apiUrl**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactChecksum**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **artifactCreator**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **artifactDisplayName**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **artifactGroupType**\ *option | enum (INFORMATIONAL, DEPLOYMENT, |
+| al* | LIFE\_CYCLE, SERVICE\_API, TOSCA, OTHER) |
++--------------------------------+-------------------------------------------+
+| **artifactLabel**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactRef**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactRepository**\ *optio | string |
+| nal* | |
++--------------------------------+-------------------------------------------+
+| **artifactType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactVersion**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **creatorFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **duplicated**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **esId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **generated**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **generatedFromId**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **heatParameters**\ *optional* | < |
+| | `HeatParameterDataDefinition <#_heatparam |
+| | eterdatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **heatParamsUpdateDate**\ *opt | integer (int64) |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **mandatory**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **payloadUpdateDate**\ *option | integer (int64) |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **requiredArtifacts**\ *option | < string > array |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **serviceApi**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **timeout**\ *optional* | integer (int32) |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **updaterFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **userIdCreator**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **userIdLastUpdater**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+
+ArtifactDefinition
+------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **apiUrl**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactChecksum**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **artifactCreator**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **artifactDisplayName**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **artifactGroupType**\ *option | enum (INFORMATIONAL, DEPLOYMENT, |
+| al* | LIFE\_CYCLE, SERVICE\_API, TOSCA, OTHER) |
++--------------------------------+-------------------------------------------+
+| **artifactLabel**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactRef**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactRepository**\ *optio | string |
+| nal* | |
++--------------------------------+-------------------------------------------+
+| **artifactType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **artifactVersion**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **creatorFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **duplicated**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **esId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **generated**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **generatedFromId**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **heatParameters**\ *optional* | < |
+| | `HeatParameterDataDefinition <#_heatparam |
+| | eterdatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **heatParamsUpdateDate**\ *opt | integer (int64) |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **listHeatParameters**\ *optio | < |
+| nal* | `HeatParameterDefinition <#_heatparameter |
+| | definition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **mandatory**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **payloadData**\ *optional* | < string (byte) > array |
++--------------------------------+-------------------------------------------+
+| **payloadUpdateDate**\ *option | integer (int64) |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **requiredArtifacts**\ *option | < string > array |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **serviceApi**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **timeout**\ *optional* | integer (int32) |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **updaterFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **userIdCreator**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **userIdLastUpdater**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+
+CapabilityDefinition
+--------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **capabilitySources**\ *option | < string > array |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **leftOccurrences**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **maxOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **minOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **path**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < |
+| | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **source**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **validSourceTypes**\ *optiona | < string > array |
+| l* | |
++--------------------------------+-------------------------------------------+
+
+Category
+--------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+CategoryDefinition
+------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **icons**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **subcategories**\ *optional* | < |
+| | `SubCategoryDefinition <#_subcategorydefi |
+| | nition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+ComponentInstance
+-----------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **artifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **attributeValueCounter**\ *op | integer (int32) |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **capabilities**\ *optional* | < string, < |
+| | `CapabilityDefinition <#_capabilitydefini |
+| | tion>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **componentUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **componentVersion**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **creationTime**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **customizationUUID**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **deploymentArtifacts**\ *opti | < string, |
+| onal* | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groupInstances**\ *optional* | < `GroupInstance <#_groupinstance>`__ > |
+| | array |
++--------------------------------+-------------------------------------------+
+| **icon**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputValueCounter**\ *option | integer (int32) |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **invariantName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **modificationTime**\ *optiona | integer (int64) |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **originType**\ *optional* | enum (PRODUCT, SERVICE, VF, VFC, CP, VL, |
+| | VFCMT, CVFC, PNF) |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **posX**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **posY**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **propertyValueCounter**\ *opt | integer (int32) |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **requirements**\ *optional* | < string, < |
+| | `RequirementDefinition <#_requirementdefi |
+| | nition>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **toscaComponentName**\ *optio | string |
+| nal* | |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+ComponentInstanceInput
+----------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **componentInstanceId**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **componentInstanceName**\ *op | string |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **constraints**\ *optional* | < |
+| | `PropertyConstraint <#_propertyconstraint |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **getInputValues**\ *optional* | < |
+| | `GetInputValueDataDefinition <#_getinputv |
+| | aluedatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **hidden**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **immutable**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **inputId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputPath**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < |
+| | `ComponentInstanceInput <#_componentinsta |
+| | nceinput>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **instanceUniqueId**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **label**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentUniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **password**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **path**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < |
+| | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **propertyId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **required**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **rules**\ *optional* | < `PropertyRule <#_propertyrule>`__ > |
+| | array |
++--------------------------------+-------------------------------------------+
+| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **valueUniqueUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+ComponentInstanceProperty
+-------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **componentInstanceId**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **componentInstanceName**\ *op | string |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **constraints**\ *optional* | < |
+| | `PropertyConstraint <#_propertyconstraint |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **getInputValues**\ *optional* | < |
+| | `GetInputValueDataDefinition <#_getinputv |
+| | aluedatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **hidden**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **immutable**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **inputId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputPath**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **instanceUniqueId**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **label**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentUniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **password**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **path**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **propertyId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **required**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **rules**\ *optional* | < `PropertyRule <#_propertyrule>`__ > |
+| | array |
++--------------------------------+-------------------------------------------+
+| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **valueUniqueUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+ComponentMetadataDataDefinition
+-------------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **allVersions**\ *optional* | < string, string > map |
++--------------------------------+-------------------------------------------+
+| **componentType**\ *optional* | enum (RESOURCE, SERVICE, |
+| | RESOURCE\_INSTANCE, PRODUCT, |
+| | SERVICE\_INSTANCE) |
++--------------------------------+-------------------------------------------+
+| **conformanceLevel**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **contactId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **creatorFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **creatorUserId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarVersion**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **deleted**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **highestVersion**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **icon**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **importedToscaChecksum**\ *op | string |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **isDeleted**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **isHighestVersion**\ *optiona | boolean |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterFullName**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterUserId**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **lifecycleState**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **projectCode**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **state**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **systemName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **tags**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uuid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+ComponentMetadataDefinition
+---------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **metadataDataDefinition**\ *o | `ComponentMetadataDataDefinition <#_compo |
+| ptional* | nentmetadatadatadefinition>`__ |
++--------------------------------+-------------------------------------------+
+
+ConsumerDefinition
+------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **consumerDetailsLastupdatedti | integer (int64) |
+| me**\ *optional* | |
++--------------------------------+-------------------------------------------+
+| **consumerLastAuthenticationTi | integer (int64) |
+| me**\ *optional* | |
++--------------------------------+-------------------------------------------+
+| **consumerName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **consumerPassword**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **consumerSalt**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **lastModfierAtuid**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+DistributionStatusInfo
+----------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **errorReason**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **omfComponentID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **timestamp**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **url**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+DistributionStatusListResponse
+------------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **distributionStatusList**\ *o | < |
+| ptional* | `DistributionStatusInfo <#_distributionst |
+| | atusinfo>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+
+GetInputValueDataDefinition
+---------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **getInputIndex**\ *optional* | `GetInputValueDataDefinition <#_getinputv |
+| | aluedatadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **indexValue**\ *optional* | integer (int32) |
++--------------------------------+-------------------------------------------+
+| **inputId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **list**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **propName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+GroupDefinition
+---------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **artifacts**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **artifactsUuid**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groupUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **members**\ *optional* | < string, string > map |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < |
+| | `PropertyDataDefinition <#_propertydatade |
+| | finition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **propertyValueCounter**\ *opt | integer (int32) |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **typeUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+GroupInstance
+-------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **artifacts**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **artifactsUuid**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **creationTime**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **customizationUUID**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groupInstanceArtifacts**\ *o | < string > array |
+| ptional* | |
++--------------------------------+-------------------------------------------+
+| **groupInstanceArtifactsUuid** | < string > array |
+| \ *optional* | |
++--------------------------------+-------------------------------------------+
+| **groupName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groupUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groupUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **modificationTime**\ *optiona | integer (int64) |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **posX**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **posY**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < |
+| | `PropertyDataDefinition <#_propertydatade |
+| | finition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **propertyValueCounter**\ *opt | integer (int32) |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+GroupingDefinition
+------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+HeatParameterDataDefinition
+---------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **currentValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+HeatParameterDefinition
+-----------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **currentValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+InputDefinition
+---------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **constraints**\ *optional* | < |
+| | `PropertyConstraint <#_propertyconstraint |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **getInputValues**\ *optional* | < |
+| | `GetInputValueDataDefinition <#_getinputv |
+| | aluedatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **hidden**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **immutable**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **inputId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputPath**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < |
+| | `ComponentInstanceInput <#_componentinsta |
+| | nceinput>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **instanceUniqueId**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **label**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentUniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **password**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < |
+| | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **propertyId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **required**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+InterfaceDefinition
+-------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **operations**\ *optional* | < string, |
+| | `OperationDataDefinition <#_operationdata |
+| | definition>`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **operationsMap**\ *optional* | < string, `Operation <#_operation>`__ > |
+| | map |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+LifecycleChangeInfoWithAction
+-----------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **action**\ *optional* | enum (CREATE\_FROM\_CSAR, |
+| | UPDATE\_FROM\_EXTERNAL\_API) |
++--------------------------------+-------------------------------------------+
+| **userRemarks**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+Operation
+---------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **implementation**\ *optional* | `ArtifactDataDefinition <#_artifactdatade |
+| | finition>`__ |
++--------------------------------+-------------------------------------------+
+| **implementationArtifact**\ *o | `ArtifactDefinition <#_artifactdefinition |
+| ptional* | >`__ |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < string, |
+| | `PropertyDataDefinition <#_propertydatade |
+| | finition>`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+OperationDataDefinition
+-----------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **implementation**\ *optional* | `ArtifactDataDefinition <#_artifactdatade |
+| | finition>`__ |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < string, |
+| | `PropertyDataDefinition <#_propertydatade |
+| | finition>`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+Product
+-------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **additionalInformation**\ *op | < |
+| tional* | `AdditionalInformationDefinition <#_addit |
+| | ionalinformationdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **allArtifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **allVersions**\ *optional* | < string, string > map |
++--------------------------------+-------------------------------------------+
+| **artifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **capabilities**\ *optional* | < string, < |
+| | `CapabilityDefinition <#_capabilitydefini |
+| | tion>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **categories**\ *optional* | < |
+| | `CategoryDefinition <#_categorydefinition |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentInstances**\ *optio | < |
+| nal* | `ComponentInstance <#_componentinstance>` |
+| | __ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentInstancesAttributes | < string, < |
+| **\ *optional* | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesInputs**\ | < string, < |
+| *optional* | `ComponentInstanceInput <#_componentinsta |
+| | nceinput>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesProperties | < string, < |
+| **\ *optional* | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesRelations* | < |
+| *\ *optional* | `RequirementCapabilityRelDef <#_requireme |
+| | ntcapabilityreldef>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentMetadataDefinition* | `ComponentMetadataDefinition <#_component |
+| *\ *optional* | metadatadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **componentType**\ *optional* | enum (RESOURCE, SERVICE, |
+| | RESOURCE\_INSTANCE, PRODUCT, |
+| | SERVICE\_INSTANCE) |
++--------------------------------+-------------------------------------------+
+| **conformanceLevel**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **contactId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **contacts**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **creatorFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **creatorUserId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarVersion**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **deploymentArtifacts**\ *opti | < string, |
+| onal* | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **derivedFromGenericType**\ *o | string |
+| ptional* | |
++--------------------------------+-------------------------------------------+
+| **derivedFromGenericVersion**\ | string |
+| *optional* | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **fullName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groups**\ *optional* | < `GroupDefinition <#_groupdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **highestVersion**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **icon**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **importedToscaChecksum**\ *op | string |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < `InputDefinition <#_inputdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **isActive**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **isDeleted**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterFullName**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterUserId**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **lifecycleState**\ *optional* | enum (READY\_FOR\_CERTIFICATION, |
+| | CERTIFICATION\_IN\_PROGRESS, CERTIFIED, |
+| | NOT\_CERTIFIED\_CHECKIN, |
+| | NOT\_CERTIFIED\_CHECKOUT) |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **projectCode**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **requirements**\ *optional* | < string, < |
+| | `RequirementDefinition <#_requirementdefi |
+| | nition>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **systemName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **tags**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **toscaArtifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **toscaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uuid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+PropertyConstraint
+------------------
+
+*Type* : object
+
+PropertyDataDefinition
+----------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **getInputValues**\ *optional* | < |
+| | `GetInputValueDataDefinition <#_getinputv |
+| | aluedatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **hidden**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **immutable**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **inputId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputPath**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **instanceUniqueId**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **label**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentUniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **password**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **propertyId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **required**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+PropertyDefinition
+------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **constraints**\ *optional* | < |
+| | `PropertyConstraint <#_propertyconstraint |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **defaultValue**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **definition**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **getInputValues**\ *optional* | < |
+| | `GetInputValueDataDefinition <#_getinputv |
+| | aluedatadefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **hidden**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **immutable**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **inputId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **inputPath**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **instanceUniqueId**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **label**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentUniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **password**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **propertyId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **required**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **schema**\ *optional* | `SchemaDefinition <#_schemadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+PropertyRule
+------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **firstToken**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **rule**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **ruleSize**\ *optional* | integer (int32) |
++--------------------------------+-------------------------------------------+
+| **value**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+RelationshipImpl
+----------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **type**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+RequirementAndRelationshipPair
+------------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **capability**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **capabilityOwnerId**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **capabilityUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **id**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **relationship**\ *optional* | `RelationshipImpl <#_relationshipimpl>`__ |
++--------------------------------+-------------------------------------------+
+| **requirement**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **requirementOwnerId**\ *optio | string |
+| nal* | |
++--------------------------------+-------------------------------------------+
+| **requirementUid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+RequirementCapabilityRelDef
+---------------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **fromNode**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **relationships**\ *optional* | < |
+| | `RequirementAndRelationshipPair <#_requir |
+| | ementandrelationshippair>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **toNode**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+RequirementDefinition
+---------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **capability**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **leftOccurrences**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **maxOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **minOccurrences**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **node**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **parentName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **path**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **relationship**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **source**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+Resource
+--------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **abstract**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **additionalInformation**\ *op | < |
+| tional* | `AdditionalInformationDefinition <#_addit |
+| | ionalinformationdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **allArtifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **allVersions**\ *optional* | < string, string > map |
++--------------------------------+-------------------------------------------+
+| **artifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **attributes**\ *optional* | < |
+| | `PropertyDefinition <#_propertydefinition |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **capabilities**\ *optional* | < string, < |
+| | `CapabilityDefinition <#_capabilitydefini |
+| | tion>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **categories**\ *optional* | < |
+| | `CategoryDefinition <#_categorydefinition |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentInstances**\ *optio | < |
+| nal* | `ComponentInstance <#_componentinstance>` |
+| | __ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentInstancesAttributes | < string, < |
+| **\ *optional* | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesInputs**\ | < string, < |
+| *optional* | `ComponentInstanceInput <#_componentinsta |
+| | nceinput>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesProperties | < string, < |
+| **\ *optional* | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesRelations* | < |
+| *\ *optional* | `RequirementCapabilityRelDef <#_requireme |
+| | ntcapabilityreldef>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentMetadataDefinition* | `ComponentMetadataDefinition <#_component |
+| *\ *optional* | metadatadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **componentType**\ *optional* | enum (RESOURCE, SERVICE, |
+| | RESOURCE\_INSTANCE, PRODUCT, |
+| | SERVICE\_INSTANCE) |
++--------------------------------+-------------------------------------------+
+| **conformanceLevel**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **contactId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **cost**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **creatorFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **creatorUserId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarVersion**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **defaultCapabilities**\ *opti | < string > array |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **deploymentArtifacts**\ *opti | < string, |
+| onal* | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **derivedFrom**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **derivedFromGenericType**\ *o | string |
+| ptional* | |
++--------------------------------+-------------------------------------------+
+| **derivedFromGenericVersion**\ | string |
+| *optional* | |
++--------------------------------+-------------------------------------------+
+| **derivedList**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **groups**\ *optional* | < `GroupDefinition <#_groupdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **highestVersion**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **icon**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **importedToscaChecksum**\ *op | string |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < `InputDefinition <#_inputdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **interfaces**\ *optional* | < string, |
+| | `InterfaceDefinition <#_interfacedefiniti |
+| | on>`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **isDeleted**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterFullName**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterUserId**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **licenseType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **lifecycleState**\ *optional* | enum (READY\_FOR\_CERTIFICATION, |
+| | CERTIFICATION\_IN\_PROGRESS, CERTIFIED, |
+| | NOT\_CERTIFIED\_CHECKIN, |
+| | NOT\_CERTIFIED\_CHECKOUT) |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **projectCode**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < |
+| | `PropertyDefinition <#_propertydefinition |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **requirements**\ *optional* | < string, < |
+| | `RequirementDefinition <#_requirementdefi |
+| | nition>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **resourceType**\ *optional* | enum (VFC, VF, CP, PNF, CVFC, VL, VFCMT, |
+| | ABSTRACT) |
++--------------------------------+-------------------------------------------+
+| **resourceVendorModelNumber**\ | string |
+| *optional* | |
++--------------------------------+-------------------------------------------+
+| **systemName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **tags**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **toscaArtifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **toscaResourceName**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **toscaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uuid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **vendorName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **vendorRelease**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+SchemaDefinition
+----------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **constraints**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **derivedFrom**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **properties**\ *optional* | < string, |
+| | `PropertyDataDefinition <#_propertydatade |
+| | finition>`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **property**\ *optional* | `PropertyDataDefinition <#_propertydatade |
+| | finition>`__ |
++--------------------------------+-------------------------------------------+
+
+Service
+-------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **additionalInformation**\ *op | < |
+| tional* | `AdditionalInformationDefinition <#_addit |
+| | ionalinformationdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **allArtifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **allVersions**\ *optional* | < string, string > map |
++--------------------------------+-------------------------------------------+
+| **artifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **capabilities**\ *optional* | < string, < |
+| | `CapabilityDefinition <#_capabilitydefini |
+| | tion>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **categories**\ *optional* | < |
+| | `CategoryDefinition <#_categorydefinition |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentInstances**\ *optio | < |
+| nal* | `ComponentInstance <#_componentinstance>` |
+| | __ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentInstancesAttributes | < string, < |
+| **\ *optional* | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesInputs**\ | < string, < |
+| *optional* | `ComponentInstanceInput <#_componentinsta |
+| | nceinput>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesProperties | < string, < |
+| **\ *optional* | `ComponentInstanceProperty <#_componentin |
+| | stanceproperty>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **componentInstancesRelations* | < |
+| *\ *optional* | `RequirementCapabilityRelDef <#_requireme |
+| | ntcapabilityreldef>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **componentMetadataDefinition* | `ComponentMetadataDefinition <#_component |
+| *\ *optional* | metadatadefinition>`__ |
++--------------------------------+-------------------------------------------+
+| **componentType**\ *optional* | enum (RESOURCE, SERVICE, |
+| | RESOURCE\_INSTANCE, PRODUCT, |
+| | SERVICE\_INSTANCE) |
++--------------------------------+-------------------------------------------+
+| **conformanceLevel**\ *optiona | string |
+| l* | |
++--------------------------------+-------------------------------------------+
+| **contactId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **creationDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **creatorFullName**\ *optional | string |
+| * | |
++--------------------------------+-------------------------------------------+
+| **creatorUserId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **csarVersion**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **deploymentArtifacts**\ *opti | < string, |
+| onal* | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **derivedFromGenericType**\ *o | string |
+| ptional* | |
++--------------------------------+-------------------------------------------+
+| **derivedFromGenericVersion**\ | string |
+| *optional* | |
++--------------------------------+-------------------------------------------+
+| **description**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **distributionStatus**\ *optio | enum (DISTRIBUTION\_NOT\_APPROVED, |
+| nal* | DISTRIBUTION\_APPROVED, DISTRIBUTED, |
+| | DISTRIBUTION\_REJECTED) |
++--------------------------------+-------------------------------------------+
+| **ecompGeneratedNaming**\ *opt | boolean |
+| ional* | |
++--------------------------------+-------------------------------------------+
+| **groups**\ *optional* | < `GroupDefinition <#_groupdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **highestVersion**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **icon**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **importedToscaChecksum**\ *op | string |
+| tional* | |
++--------------------------------+-------------------------------------------+
+| **inputs**\ *optional* | < `InputDefinition <#_inputdefinition>`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **invariantUUID**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **isDeleted**\ *optional* | boolean |
++--------------------------------+-------------------------------------------+
+| **lastUpdateDate**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterFullName**\ *opti | string |
+| onal* | |
++--------------------------------+-------------------------------------------+
+| **lastUpdaterUserId**\ *option | string |
+| al* | |
++--------------------------------+-------------------------------------------+
+| **lifecycleState**\ *optional* | enum (READY\_FOR\_CERTIFICATION, |
+| | CERTIFICATION\_IN\_PROGRESS, CERTIFIED, |
+| | NOT\_CERTIFIED\_CHECKIN, |
+| | NOT\_CERTIFIED\_CHECKOUT) |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **namingPolicy**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **projectCode**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **requirements**\ *optional* | < string, < |
+| | `RequirementDefinition <#_requirementdefi |
+| | nition>`__ |
+| | > array > map |
++--------------------------------+-------------------------------------------+
+| **serviceApiArtifacts**\ *opti | < string, |
+| onal* | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **serviceRole**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **serviceType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **systemName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **tags**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **toscaArtifacts**\ *optional* | < string, |
+| | `ArtifactDefinition <#_artifactdefinition |
+| | >`__ |
+| | > map |
++--------------------------------+-------------------------------------------+
+| **toscaType**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uuid**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **version**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+SubCategoryDefinition
+---------------------
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **groupings**\ *optional* | < |
+| | `GroupingDefinition <#_groupingdefinition |
+| | >`__ |
+| | > array |
++--------------------------------+-------------------------------------------+
+| **icons**\ *optional* | < string > array |
++--------------------------------+-------------------------------------------+
+| **name**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **normalizedName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **ownerId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **uniqueId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+
+User
+----
+
++--------------------------------+-------------------------------------------+
+| Name | Schema |
++================================+===========================================+
+| **email**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **firstName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **fullName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **lastLoginTime**\ *optional* | integer (int64) |
++--------------------------------+-------------------------------------------+
+| **lastName**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **role**\ *optional* | string |
++--------------------------------+-------------------------------------------+
+| **status**\ *optional* | enum (ACTIVE, INACTIVE) |
++--------------------------------+-------------------------------------------+
+| **userId**\ *optional* | string |
++--------------------------------+-------------------------------------------+
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index 5bd0f3a106..f0a2edcd75 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -33,6 +33,7 @@
<mvn.surefire.version>2.19.1</mvn.surefire.version>
<mvn.swagger.version>3.1.0</mvn.swagger.version>
<mvn.war.version>2.1.1</mvn.war.version>
+ <mvn.antrun.version>1.8</mvn.antrun.version>
<!-- Onboarding artifacts version -->
<openecomp.sdc.common.version>${project.version}</openecomp.sdc.common.version>
diff --git a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ComponentQuestionnaireHealer.java b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ComponentQuestionnaireHealer.java
index d061556e4c..4dadb97f71 100644
--- a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ComponentQuestionnaireHealer.java
+++ b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ComponentQuestionnaireHealer.java
@@ -19,6 +19,7 @@ import org.openecomp.sdc.versioning.dao.types.Version;
import java.util.Collection;
import java.util.Map;
+import java.util.Objects;
public class ComponentQuestionnaireHealer implements Healer {
@@ -59,8 +60,10 @@ public class ComponentQuestionnaireHealer implements Healer {
Collection<ComponentEntity> componentEntities =
componentDao.list(new ComponentEntity(vspId, version, null));
componentEntities.forEach(componentEntity -> {
- String questionnaire = componentDao.getQuestionnaireData(vspId, version, componentEntity
- .getId()).getQuestionnaireData();
+ ComponentEntity componentQuestionnaireData =
+ componentDao.getQuestionnaireData(vspId, version, componentEntity.getId());
+ String questionnaire = Objects.isNull(componentQuestionnaireData) ? null
+ : componentQuestionnaireData.getQuestionnaireData();
if (questionnaire != null) {
JsonParser jsonParser = new JsonParser();
@@ -97,7 +100,6 @@ public class ComponentQuestionnaireHealer implements Healer {
* Move Disk Atributes from genral/image/ to genral/disk in component questionnaire itself
* @param json
* @param diskAttrName
- * @param diskJsonObject
* @return
*/
private void processDiskAttribute(JsonObject json, String diskAttrName) {
diff --git a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/SubEntitiesQuestionnaireHealer.java b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/SubEntitiesQuestionnaireHealer.java
index 130405be1d..9355eb076f 100644
--- a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/SubEntitiesQuestionnaireHealer.java
+++ b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/SubEntitiesQuestionnaireHealer.java
@@ -55,6 +55,9 @@ public class SubEntitiesQuestionnaireHealer implements Healer {
private static NicDao nicDao = NicDaoFactory.getInstance().createInterface();
private static NetworkDao networkDao = NetworkDaoFactory.getInstance().createInterface();
+ private static String emptyString = "";
+ private static String emptyJson = "{}";
+
@Override
public Object heal(Map<String, Object> healingParams) throws Exception {
@@ -90,8 +93,7 @@ public class SubEntitiesQuestionnaireHealer implements Healer {
for (Object entity : compositionEntities) {
CompositionEntity compositionEntity = (CompositionEntity) entity;
- if (Objects.isNull(compositionEntity.getQuestionnaireData()) ||
- "".equals(compositionEntity.getQuestionnaireData())) {
+ if (isQuestionnaireNeedsToGetHealed(compositionEntity)) {
compositionEntity.setVersion(newVersion);
updateNullQuestionnaire(compositionEntity, type);
}
@@ -100,6 +102,12 @@ public class SubEntitiesQuestionnaireHealer implements Healer {
mdcDataDebugMessage.debugExitMessage(null);
}
+ private boolean isQuestionnaireNeedsToGetHealed(CompositionEntity compositionEntity) {
+ return Objects.isNull(compositionEntity.getQuestionnaireData())
+ || emptyString.equals(compositionEntity.getQuestionnaireData())
+ || emptyJson.equals(compositionEntity.getQuestionnaireData());
+ }
+
private void updateNullQuestionnaire(CompositionEntity entity,
CompositionEntityType type) {
diff --git a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ValidationStructureHealer.java b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ValidationStructureHealer.java
index 58ba3b7c35..4bf7e18091 100644
--- a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ValidationStructureHealer.java
+++ b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ValidationStructureHealer.java
@@ -48,6 +48,11 @@ public class ValidationStructureHealer implements Healer {
UploadDataEntity orchestrationTemplate =
orchestrationTemplateDao.getOrchestrationTemplate(vspId, version);
+ if(Objects.isNull(orchestrationTemplate.getValidationData())
+ || !JsonUtil.isValidJson(orchestrationTemplate.getValidationData())){
+ return Optional.empty();
+ }
+
OldValidationStructureTree oldValidationStructureTree;
try{
oldValidationStructureTree =
diff --git a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/VlmVersionHealer.java b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/VlmVersionHealer.java
index 4accd790ab..085923b8a0 100644
--- a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/VlmVersionHealer.java
+++ b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/VlmVersionHealer.java
@@ -1,5 +1,6 @@
package org.openecomp.sdc.healing.healers;
+import org.apache.commons.collections4.CollectionUtils;
import org.openecomp.sdc.common.utils.SdcCommon;
import org.openecomp.sdc.healing.interfaces.Healer;
import org.openecomp.sdc.logging.api.Logger;
@@ -15,6 +16,7 @@ import org.openecomp.sdc.vendorsoftwareproduct.dao.VendorSoftwareProductInfoDao;
import org.openecomp.sdc.vendorsoftwareproduct.dao.VendorSoftwareProductInfoDaoFactory;
import org.openecomp.sdc.vendorsoftwareproduct.dao.type.VspDetails;
import org.openecomp.sdc.versioning.dao.types.Version;
+import org.openecomp.sdc.versioning.types.VersionInfo;
import java.util.ArrayList;
import java.util.List;
@@ -60,7 +62,7 @@ public class VlmVersionHealer implements Healer {
VendorLicenseModelEntity vlm = vendorLicenseModel.getVendorLicenseModel();
String vlmId = vlm.getId();
- Version vlmVersion = vlm.getVersion();
+ Version vlmVersion = getLatestFinalVlmVersion(vendorLicenseModel.getVersionInfo());
List<LicenseAgreementEntity> laList =
new ArrayList<>(
@@ -68,12 +70,19 @@ public class VlmVersionHealer implements Healer {
vspDetails.setVlmVersion(vlmVersion);
- vspDetails.setLicenseAgreement(laList.get(0).getId());
- vspDetails.setFeatureGroups(new ArrayList<>(laList.get(0).getFeatureGroupIds()));
- vspInfoDao.update(vspDetails);
+ if(CollectionUtils.isNotEmpty(laList)) {
+ vspDetails.setLicenseAgreement(laList.get(0).getId());
+ vspDetails.setFeatureGroups(new ArrayList<>(laList.get(0).getFeatureGroupIds()));
+ }
+ vspInfoDao.update(vspDetails);
return vspDetails;
}
+
+ private Version getLatestFinalVlmVersion(VersionInfo versionInfo){
+ return versionInfo.getActiveVersion().isFinal() ? versionInfo.getActiveVersion()
+ : versionInfo.getLatestFinalVersion();
+ }
}
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java
index 2fe1416ffc..705773d1fc 100644
--- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/main/java/org/openecomp/sdc/enrichment/impl/tosca/PortMirroringEnricher.java
@@ -9,27 +9,34 @@ import org.apache.commons.collections4.MapUtils;
import org.openecomp.sdc.datatypes.error.ErrorMessage;
import org.openecomp.sdc.enrichment.impl.tosca.model.PortMirroringConnectionPointDescription;
import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage;
+import org.openecomp.sdc.tosca.datatypes.ToscaElementTypes;
import org.openecomp.sdc.tosca.datatypes.ToscaNodeType;
import org.openecomp.sdc.tosca.datatypes.ToscaServiceModel;
import org.openecomp.sdc.tosca.datatypes.model.CapabilityAssignment;
import org.openecomp.sdc.tosca.datatypes.model.Import;
import org.openecomp.sdc.tosca.datatypes.model.NodeTemplate;
+import org.openecomp.sdc.tosca.datatypes.model.NodeType;
import org.openecomp.sdc.tosca.datatypes.model.PropertyDefinition;
import org.openecomp.sdc.tosca.datatypes.model.RequirementAssignment;
import org.openecomp.sdc.tosca.datatypes.model.ServiceTemplate;
import org.openecomp.sdc.tosca.services.DataModelUtil;
+import org.openecomp.sdc.tosca.services.ToscaAnalyzerService;
import org.openecomp.sdc.tosca.services.ToscaConstants;
import org.openecomp.sdc.tosca.services.ToscaUtil;
+import org.openecomp.sdc.tosca.services.impl.ToscaAnalyzerServiceImpl;
import org.openecomp.sdc.translator.services.heattotosca.HeatToToscaUtil;
import org.openecomp.sdc.translator.services.heattotosca.globaltypes.GlobalTypesGenerator;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
+import java.util.Set;
import java.util.stream.Collectors;
public class PortMirroringEnricher {
@@ -186,40 +193,40 @@ public class PortMirroringEnricher {
addPortMirroringSubstitutionMappingCapability(serviceTemplate,
externalPortNodeTemplateId);
}
- handleExternalPortProperties(externalNodeTemplate.getValue());
+ handleExternalPortProperties(externalNodeTemplate.getValue(), serviceTemplate, toscaServiceModel);
}
addGlobalTypeImport(serviceTemplate);
}
}
}
- private void handleExternalPortProperties(NodeTemplate portNodeTemplate) {
+ private void handleExternalPortProperties(NodeTemplate portNodeTemplate,
+ ServiceTemplate serviceTemplate,
+ ToscaServiceModel toscaServiceModel){
- ServiceTemplate serviceTemplate = globalTypesServiceTemplate.get("openecomp/nodes.yml");
+ ToscaAnalyzerService toscaAnalyzerService = new ToscaAnalyzerServiceImpl();
String externalPortType = portNodeTemplate.getType();
Map<String, PropertyDefinition> globalTypesportProperties = new HashMap<>();
- globalTypesportProperties.putAll(
- serviceTemplate.getNode_types().get("org.openecomp.resource.cp.nodes.network.Port")
- .getProperties());
- globalTypesportProperties
- .putAll(serviceTemplate.getNode_types().get(externalPortType).getProperties());
+ NodeType flatNodeType =
+ (NodeType) toscaAnalyzerService.getFlatEntity(ToscaElementTypes.NODE_TYPE, externalPortType, serviceTemplate, toscaServiceModel);
+ globalTypesportProperties.putAll(flatNodeType.getProperties());
Map<String, Object> properties = portNodeTemplate.getProperties();
Map<String, Object> filteredProperties = new HashMap<>();
- if (MapUtils.isEmpty(properties)) {
+ if(MapUtils.isEmpty(properties)){
return;
}
- for (Map.Entry<String, Object> propertyEntry : properties.entrySet()) {
- if (globalTypesportProperties.containsKey(propertyEntry.getKey())) {
+ for(Map.Entry<String, Object> propertyEntry: properties.entrySet()){
+ if(globalTypesportProperties.containsKey(propertyEntry.getKey())){
filteredProperties.put(propertyEntry.getKey(), propertyEntry.getValue());
}
}
- if (!MapUtils.isEmpty(filteredProperties)) {
+ if(!MapUtils.isEmpty(filteredProperties)) {
portNodeTemplate.setProperties(filteredProperties);
- } else {
+ }else{
portNodeTemplate.setProperties(null);
}
@@ -284,14 +291,15 @@ public class PortMirroringEnricher {
private boolean isPortNodeTemplate(String nodeType) {
//Check if node corresponds to a concrete port node
- if (Objects.nonNull(nodeType)) {
- if (nodeType.equals(ToscaNodeType.NEUTRON_PORT)
- || nodeType.equals(ToscaNodeType.CONTRAILV2_VIRTUAL_MACHINE_INTERFACE)
- || nodeType.equals(ToscaNodeType.CONTRAIL_PORT)) {
- return true;
- }
- }
- return false;
+ Set<String> portNodeTypes = getPortNodeTypes();
+ return Objects.nonNull(nodeType)
+ && portNodeTypes.contains(nodeType);
+ }
+
+ private Set<String> getPortNodeTypes(){
+ return new HashSet<>(Arrays.asList(ToscaNodeType.NEUTRON_PORT,
+ ToscaNodeType.CONTRAILV2_VIRTUAL_MACHINE_INTERFACE,
+ ToscaNodeType.CONTRAIL_PORT));
}
private boolean isSubstitutableNodeTemplate(NodeTemplate nodeTemplate) {
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp/nodes.yml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp/nodes.yml
index 83516a22ba..810bf304c1 100644
--- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp/nodes.yml
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp/nodes.yml
@@ -1,308 +1,316 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in 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.
+#
+
tosca_definitions_version: tosca_simple_openecomp_1_0
+
metadata:
filename: openecomp/nodes.yml
version: '1.0'
+
imports:
- openecomp_index:
file: _index.yml
+
node_types:
- org.openecomp.resource.vl.nodes.network.VL:
+
+ org.openecomp.resource.vl.nodes.network.Network:
derived_from: tosca.nodes.network.Network
properties:
vendor:
type: string
required: false
- status: SUPPORTED
vl_name:
type: string
required: false
- status: SUPPORTED
capabilities:
end_point:
type: tosca.capabilities.Endpoint
- occurrences:
- - 1
- - UNBOUNDED
+
org.openecomp.resource.abstract.nodes.AbstractSubstitute:
derived_from: tosca.nodes.Root
properties:
service_template_filter:
- type: org.openecomp.datatypes.substitution.SubstitutionFiltering
description: Substitution Filter
- required: true
+ type: org.openecomp.datatypes.substitution.SubstitutionFiltering
status: SUPPORTED
+ required: true
+
org.openecomp.resource.vl.extVL:
- derived_from: org.openecomp.resource.vl.nodes.network.VL
+ derived_from: org.openecomp.resource.vl.nodes.network.Network
description: VF Tenant oam protected network
properties:
network_type:
- type: string
description: OPENECOMP supported network types.
+ type: string
required: true
- status: SUPPORTED
network_role:
- type: string
description: |
Unique label that defines the role that this network performs. example: vce oam network, vnat sr-iov1 network
+ type: string
required: true
- status: SUPPORTED
network_scope:
- type: string
description: |
Uniquely identifies the network scope. Valid values for the network scope includes: VF - VF-level network. Intra-VF network which connects the VFCs (VMs) inside the VF. SERVICE - Service-level network. Intra-Service network which connects the VFs within the service GLOBAL - Global network which can be shared by multiple services
- required: true
- status: SUPPORTED
+ type: string
constraints:
- valid_values:
- VF
- SERVICE
- GLOBAL
network_technology:
- type: string
description: OPENECOMP supported network technology
+ type: string
required: true
- status: SUPPORTED
network_ecomp_naming:
type: org.openecomp.datatypes.EcompNaming
required: true
- status: SUPPORTED
network_homing:
type: org.openecomp.datatypes.EcompHoming
required: true
- status: SUPPORTED
network_assignments:
type: org.openecomp.datatypes.network.NetworkAssignments
required: true
- status: SUPPORTED
provider_network:
type: org.openecomp.datatypes.network.ProviderNetwork
required: true
- status: SUPPORTED
network_flows:
type: org.openecomp.datatypes.network.NetworkFlows
required: false
- status: SUPPORTED
+
+
org.openecomp.resource.vfc.nodes.Compute:
derived_from: tosca.nodes.Compute
capabilities:
disk.ephemeral.size:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
instance:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
memory:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.iops:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.read.requests:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
cpu.delta:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.capacity:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.read.bytes:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.write.bytes:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.latency:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.read.bytes.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.usage:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
cpu_util:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.allocation:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.write.requests.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.write.bytes.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.latency:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
cpu:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.write.requests:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.write.bytes:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.read.requests:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.root.size:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.write.bytes.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
vcpus:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.iops:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.usage:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.read.requests.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.write.requests.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.allocation:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.read.bytes.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.read.bytes:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
memory.usage:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.device.capacity:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
memory.resident:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
disk.write.requests:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
+
org.openecomp.resource.abstract.nodes.DFAbstractSubstitute:
derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
properties:
license_feature_group_ref:
- type: string
description: refrence to license feature group
- required: true
+ type: string
status: SUPPORTED
+ required: true
requirements:
- deployment_flavor:
capability: org.openecomp.capabilities.attachment.DeploymentFlavor
@@ -311,191 +319,222 @@ node_types:
occurrences:
- 1
- UNBOUNDED
+
+ org.openecomp.resource.abstract.nodes.ComplexVFC:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+
org.openecomp.resource.abstract.nodes.VFC:
derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
properties:
high_availablity:
- type: string
description: high_availablity
- required: false
+ type: string
status: SUPPORTED
+ required: false
vm_image_name:
- type: string
description: Master image_name volume id
- required: true
+ type: string
status: SUPPORTED
+ required: true
vm_flavor_name:
- type: string
description: Master image_name volume id
- required: true
+ type: string
status: SUPPORTED
+ required: true
nfc_naming_code:
- type: string
description: nfc code for instance naming
+ type: string
+ status: SUPPORTED
required: false
+ nfc_code:
+ type: string
+ description: nfc code
status: SUPPORTED
- vm_type_tag:
+ required: false
+ nfc_function:
type: string
- description: vm type based on naming Convention
+ description: nfc function
+ status: SUPPORTED
required: false
+ vm_type_tag:
+ description: vm type based on naming Convention
+ type: string
status: SUPPORTED
+ required: false
vfc_naming:
- type: org.openecomp.datatypes.Naming
description: vfc naming
- required: false
- default: false
+ type: org.openecomp.datatypes.Naming
status: SUPPORTED
+ default: false
+ required: false
min_instances:
- type: integer
description: Minimum number of VFC Instances
- required: false
- default: 0
+ type: integer
status: SUPPORTED
+ default: 0
+ required: false
constraints:
- greater_or_equal: 0
max_instances:
- type: integer
description: Maximum number of VFC Instances
- required: false
+ type: integer
status: SUPPORTED
+ required: false
constraints:
- greater_or_equal: 1
+
org.openecomp.resource.vl.ELine:
- derived_from: org.openecomp.resource.vl.nodes.network.VL
+ derived_from: org.openecomp.resource.vl.nodes.network.Network
capabilities:
linkable:
type: tosca.capabilities.network.Linkable
occurrences:
- 0
- 2
+
org.openecomp.resource.cp.nodes.network.SubInterface:
derived_from: tosca.nodes.network.Port
+
org.openecomp.resource.vl.internalVL:
- derived_from: org.openecomp.resource.vl.nodes.network.VL
+ derived_from: org.openecomp.resource.vl.nodes.network.Network
description: The AT&T internal (VF-level) Virtual Link
- org.openecomp.resource.cp.nodes.network.CP:
- derived_from: tosca.nodes.network.Port
+
+ org.openecomp.resource.cp.nodes.network.Port:
+ derived_from: tosca.nodes.network.Port
properties:
network_role_tag:
- type: string
description: Must correlate to the set of defined “network-role�? tag identifiers from the associated HEAT template
+ type: string
required: true
- status: SUPPORTED
mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
description: identifies MAC address assignments to the CP
+ type: org.openecomp.datatypes.network.MacRequirements
required: false
- status: SUPPORTED
vlan_requirements:
- type: list
description: identifies vlan address assignments to the CP
- required: false
- status: SUPPORTED
+ type: list
entry_schema:
type: org.openecomp.datatypes.network.VlanRequirements
+ required: false
ip_requirements:
- type: list
description: identifies IP requirements to the CP
- required: true
- status: SUPPORTED
+ type: list
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
+ required: true
+ network_role:
+ description: identical to VL network_role
+ type: string
+ required: false
+ order:
+ description: The order of the CP on the compute instance (e.g. eth2).
+ type: integer
+ required: false
+ exCP_naming:
+ description: CP Name
+ type: org.openecomp.datatypes.Naming
+ required: false
+ subnetpoolid:
+ description: subnet pool id
+ type: string
+ required: false
capabilities:
network.incoming.packets.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.outgoing.bytes:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.outgoing.packets.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.outpoing.packets:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.incoming.bytes.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.incoming.bytes:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.outgoing.bytes.rate:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
network.incoming.packets:
- type: org.openecomp.capabilities.metric.Ceilometer
description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ type: org.openecomp.capabilities.metric.Ceilometer
occurrences:
- 1
- UNBOUNDED
+
org.openecomp.resource.nodes.DeploymentFlavor:
derived_from: tosca.nodes.Root
capabilities:
deployment_flavor:
- type: org.openecomp.capabilities.attachment.DeploymentFlavor
description: Allowed deployment flavors of an abstract node
+ type: org.openecomp.capabilities.attachment.DeploymentFlavor
occurrences:
- 1
- UNBOUNDED
+
org.openecomp.resource.cp.extCP:
derived_from: tosca.nodes.Root
description: The AT&T Connection Point base type all other CP derive from
properties:
network_role:
- type: string
description: identical to VL network_role
+ type: string
required: true
- status: SUPPORTED
order:
- type: integer
description: The order of the CP on the compute instance (e.g. eth2).
+ type: integer
required: true
- status: SUPPORTED
network_role_tag:
- type: string
description: Must correlate to the set of defined “network-role�? tag identifiers from the associated HEAT template
+ type: string
required: true
- status: SUPPORTED
mac_requirements:
- type: org.openecomp.datatypes.network.MacRequirements
description: identifies MAC address assignments to the CP
+ type: org.openecomp.datatypes.network.MacRequirements
required: false
- status: SUPPORTED
vlan_requirements:
- type: list
description: identifies vlan address assignments to the CP
- required: false
- status: SUPPORTED
+ type: list
entry_schema:
type: org.openecomp.datatypes.network.VlanRequirements
+ required: false
ip_requirements:
- type: list
description: identifies IP requirements to the CP
- required: true
- status: SUPPORTED
+ type: list
entry_schema:
type: org.openecomp.datatypes.network.IpRequirements
+ required: true
+ capabilities:
+ internal_connectionPoint:
+ type: tosca.capabilities.Node
+ valid_source_types:
+ - tosca.nodes.network.Port
requirements:
- virtualLink:
capability: tosca.capabilities.network.Linkable
@@ -505,15 +544,802 @@ node_types:
relationship: tosca.relationships.network.BindsTo
- external_virtualLink:
capability: tosca.capabilities.network.Linkable
- node: org.openecomp.resource.vl.nodes.network.VL
+ node: org.openecomp.resource.vl.nodes.network.Network
relationship: tosca.relationships.network.LinksTo
+
+ org.openecomp.resource.vfc.nodes.volume:
+ derived_from: tosca.nodes.BlockStorage
+
+ ### Node types related to Deployment Flavors
+ org.openecomp.resource.abstract.nodes.VnfConfiguration:
+ derived_from: tosca.nodes.Root
+ description: a container for the available flavors
+ properties:
+ allowed_flavors:
+ description: a collection of all available flavor valuesets
+ type: map
+ entry_schema:
+ type: org.openecomp.datatypes.flavors.DeploymentFlavor
+
+ org.openecomp.resource.abstract.nodes.MultiFlavorVFC:
+ derived_from: org.openecomp.resource.abstract.nodes.VFC
+ description: Multi flavored VFC node
+ properties:
+ images:
+ type: map
+ entry_schema:
+ type: org.openecomp.datatypes.ImageInfo
+ required: false
+
+ ## New node types for Port Mirroring
+ org.openecomp.nodes.ServiceProxy:
+ derived_from: tosca.nodes.Root
+
+ org.openecomp.nodes.PortMirroringConfiguration:
+ derived_from: tosca.nodes.Root
+ requirements:
+ - source:
+ capability: org.openecomp.capabilities.PortMirroring
+ occurrences:
+ - 1
+ - UNBOUNDED
+ - collector:
+ capability: org.openecomp.capabilities.PortMirroring
+ occurrences:
+ - 1
+ - 1
+
+ org.openecomp.resource.cp.v2.extCP:
+ derived_from: org.openecomp.resource.cp.nodes.network.Port
+ description: The SDC External Connection Point base type
capabilities:
- internal_connectionPoint:
- type: tosca.capabilities.Node
- valid_source_types:
- - tosca.nodes.network.Port
+ port_mirroring:
+ type: org.openecomp.capabilities.PortMirroring
+
+ org.openecomp.resource.cp.v2.extNeutronCP:
+ derived_from: org.openecomp.resource.cp.v2.extCP
+ properties:
+ port_security_enabled:
+ type: boolean
+ description: Flag to enable/disable port security on the network
+ required: false
+ status: SUPPORTED
+ device_id:
+ type: string
+ description: Device ID of this port
+ required: false
+ status: SUPPORTED
+ qos_policy:
+ type: string
+ description: The name or ID of QoS policy to attach to this network
+ required: false
+ status: SUPPORTED
+ allowed_address_pairs:
+ type: list
+ description: Additional MAC/IP address pairs allowed to pass through the port
+ required: false
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.AddressPair
+ binding:vnic_type:
+ type: string
+ description: The vnic type to be bound on the neutron port
+ required: false
+ status: SUPPORTED
+ constraints:
+ - valid_values:
+ - macvtap
+ - direct
+ - normal
+ value_specs:
+ type: map
+ description: Extra parameters to include in the request
+ required: false
+ default: {
+ }
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ device_owner:
+ type: string
+ description: Name of the network owning the port
+ required: false
+ status: SUPPORTED
+ network:
+ type: string
+ description: Network this port belongs to
+ required: false
+ status: SUPPORTED
+ replacement_policy:
+ type: string
+ description: Policy on how to respond to a stack-update for this resource
+ required: false
+ default: AUTO
+ status: SUPPORTED
+ constraints:
+ - valid_values:
+ - REPLACE_ALWAYS
+ - AUTO
+ security_groups:
+ type: list
+ description: List of security group names or IDs
+ required: false
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ fixed_ips:
+ type: list
+ description: Desired IPs for this port
+ required: false
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.neutron.port.FixedIps
+ mac_address:
+ type: string
+ description: MAC address to give to this port
+ required: false
+ status: SUPPORTED
+ admin_state_up:
+ type: boolean
+ description: A boolean value specifying the administrative status of the network
+ required: false
+ default: true
+ status: SUPPORTED
+ name:
+ type: string
+ description: A symbolic name for this port
+ required: false
+ status: SUPPORTED
+ attributes:
+ tenant_id:
+ type: string
+ description: Tenant owning the port
+ status: SUPPORTED
+ network_id:
+ type: string
+ description: Unique identifier for the network owning the port
+ status: SUPPORTED
+ qos_policy_id:
+ type: string
+ description: The QoS policy ID attached to this network
+ status: SUPPORTED
+ show:
+ type: string
+ description: Detailed information about resource
+ status: SUPPORTED
+ subnets:
+ type: list
+ description: Subnets of this network
+ status: SUPPORTED
+ entry_schema:
+ type: string
+ status:
+ type: string
+ description: The status of the network
+ status: SUPPORTED
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
occurrences:
- 1
- UNBOUNDED
- org.openecomp.resource.vfc.nodes.volume:
- derived_from: tosca.nodes.BlockStorage
+ binding:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ org.openecomp.resource.cp.v2.extContrailCP:
+ derived_from: org.openecomp.resource.cp.v2.extCP
+ properties:
+ static_routes:
+ type: list
+ description: An ordered list of static routes to be added to this interface
+ required: false
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
+ virtual_network:
+ type: string
+ description: Virtual Network for this interface
+ required: true
+ status: SUPPORTED
+ static_route:
+ type: boolean
+ description: Static route enabled
+ required: false
+ default: false
+ status: SUPPORTED
+ allowed_address_pairs:
+ type: list
+ description: List of allowed address pair for this interface
+ required: false
+ status: SUPPORTED
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.AddressPair
+ shared_ip:
+ type: boolean
+ description: Shared ip enabled
+ required: false
+ default: false
+ status: SUPPORTED
+ ip_address:
+ type: string
+ description: IP for this interface
+ required: false
+ status: SUPPORTED
+ interface_type:
+ type: string
+ description: Interface type
+ required: true
+ status: SUPPORTED
+ constraints:
+ - valid_values:
+ - management
+ - left
+ - right
+ - other
+ attributes:
+ fq_name:
+ type: string
+ description: fq_name
+ status: SUPPORTED
+ tosca.nodes.nfv.NS.vEPC_NS:
+ derived_from: tosca.nodes.nfv.NS
+ properties:
+ vendor:
+ default: ChinaMobile
+ required: false
+ type: string
+ csarVersion:
+ default: v1.0
+ required: false
+ type: string
+ name:
+ default: vEPC_NS
+ required: false
+ type: string
+ csarProvider:
+ default: ChinaMobile
+ required: false
+ type: string
+ id:
+ default: vEPC_NS
+ required: false
+ type: string
+ version:
+ default: v1.0
+ required: false
+ type: string
+ csarType:
+ default: NSAR
+ required: false
+ type: string
+ requirements:
+ - virtualLink:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ tosca.nodes.nfv.NS.vIMS_NS:
+ derived_from: tosca.nodes.nfv.NS
+ properties:
+ vendor:
+ default: ChinaMobile
+ required: false
+ type: string
+ csarVersion:
+ default: v1.0
+ required: false
+ type: string
+ name:
+ default: vIMS_NS
+ required: false
+ type: string
+ csarProvider:
+ default: ChinaMobile
+ required: false
+ type: string
+ id:
+ default: vIMS_NS
+ required: false
+ type: string
+ version:
+ default: v1.0
+ required: false
+ type: string
+ csarType:
+ default: NSAR
+ required: false
+ type: string
+ requirements:
+ - virtualLink:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ tosca.nodes.nfv.NS:
+ derived_from: tosca.nodes.Root
+ properties:
+ vendor:
+ required: false
+ type: string
+ name:
+ required: false
+ type: string
+ id:
+ required: false
+ type: string
+ version:
+ required: false
+ type: string
+ requirements:
+ - virtualLink:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ tosca.nodes.nfv.VDU.Compute:
+ attributes:
+ private_address:
+ type: string
+ public_address:
+ type: string
+ networks:
+ type: string
+ ports:
+ type: string
+ capabilities:
+ scalable:
+ type: tosca.capabilities.Scalable
+ virtual_compute:
+ type: tosca.capabilities.nfv.VirtualCompute
+ endpoint:
+ type: tosca.capabilities.Endpoint.Admin
+ os:
+ type: tosca.capabilities.OperatingSystem
+ virtual_binding:
+ type: tosca.capabilities.nfv.VirtualBindable
+ host:
+ type: tosca.capabilities.Container
+ binding:
+ type: tosca.capabilities.network.Bindable
+ monitoring_parameter:
+ type: tosca.capabilities.nfv.Metric
+ derived_from: tosca.nodes.Root
+ properties:
+ configurable_properties:
+ entry_schema:
+ type: tosca.datatypes.nfv.VnfcConfigurableProperties
+ type: map
+ name:
+ type: string
+ nfvi_constraints:
+ entry_schema:
+ type: string
+ required: false
+ type: list
+ descrption:
+ type: string
+ boot_order:
+ entry_schema:
+ type: string
+ required: false
+ type: list
+ requirements:
+ - local_storage:
+ capability: tosca.capabilities.Attachment
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - virtual_storage:
+ capability: tosca.capabilities.nfv.VirtualStorage
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ tosca.nodes.nfv.VDU.VirtualStorage:
+ capabilities:
+ virtual_storage:
+ type: tosca.capabilities.nfv.VirtualStorage
+ derived_from: tosca.nodes.Root
+ properties:
+ id:
+ type: string
+ size_of_storage:
+ type: string
+ rdma_enabled:
+ required: false
+ type: boolean
+ type_of_storage:
+ type: string
+
+ tosca.nodes.nfv.VduCpd:
+ derived_from: tosca.nodes.Root
+ properties:
+ virtual_network_interface_requirements:
+ entry_schema:
+ type: tosca.datatypes.nfv.VirtualNetworkInterfaceRequirements
+ required: false
+ type: list
+ role:
+ constraints:
+ - valid_values:
+ - root
+ - leaf
+ required: false
+ type: string
+ bitrate_requirement:
+ required: false
+ type: integer
+ description:
+ required: false
+ type: string
+ layer_protocol:
+ constraints:
+ - valid_values:
+ - ethernet
+ - mpls
+ - odu2
+ - ipv4
+ - ipv6
+ - pseudo_wire
+ type: string
+ address_data:
+ entry_schema:
+ type: tosca.datatype.nfv.AddressData
+ required: false
+ type: list
+ requirements:
+ - virtual_binding:
+ capability: tosca.capabilities.nfv.VirtualBindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - virtual_link:
+ capability: tosca.capabilities.nfv.VirtualBindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ tosca.nodes.nfv.ext.ImageFile:
+ capabilities:
+ guest_os:
+ type: tosca.capabilities.nfv.ext.GuestOs
+ image_fle:
+ type: tosca.capabilities.nfv.ext.ImageFile
+ derived_from: tosca.nodes.Root
+ properties:
+ file_url:
+ required: false
+ type: string
+ container_type:
+ required: false
+ type: string
+ name:
+ required: false
+ type: string
+ disk_format:
+ required: false
+ type: string
+ version:
+ required: false
+ type: string
+ tosca.nodes.nfv.ext.LocalStorage:
+ capabilities:
+ local_attachment:
+ type: tosca.capabilities.nfv.ext.LocalAttachment
+ derived_from: tosca.nodes.Root
+ properties:
+ size:
+ required: false
+ type: string
+ disk_type:
+ required: false
+ type: string
+ tosca.nodes.nfv.ext.zte.CP:
+ capabilities:
+ forwarder:
+ type: tosca.capabilities.nfv.Forwarder
+ derived_from: tosca.nodes.Root
+ properties:
+ guest_os_mtu:
+ required: false
+ type: integer
+ bandwidth:
+ required: false
+ type: integer
+ interface_name:
+ required: false
+ type: string
+ allowed_address_pairs:
+ entry_schema:
+ type: tosca.datatypes.nfv.ext.AddressPairs
+ required: false
+ type: list
+ ip_address:
+ required: false
+ type: string
+ bond:
+ required: false
+ type: string
+ proxiedVNFs:
+ entry_schema:
+ type: string
+ required: false
+ type: list
+ sfc_encapsulation:
+ required: false
+ type: string
+ floating_ip_address:
+ required: false
+ type: tosca.datatypes.nfv.ext.FloatingIP
+ service_ip_address:
+ required: false
+ type: string
+ mac_address:
+ required: false
+ type: string
+ proxiedVNFtype:
+ required: false
+ type: string
+ macbond:
+ required: false
+ type: string
+ vnic_type:
+ required: false
+ type: string
+ direction:
+ required: false
+ type: string
+ order:
+ required: false
+ type: integer
+ requirements:
+ - forwarder:
+ capability: tosca.capabilities.nfv.Forwarder
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - virtualbinding:
+ capability: tosca.capabilities.nfv.VirtualBindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - virtualLink:
+ capability: tosca.capabilities.nfv.VirtualBindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ tosca.nodes.nfv.ext.zte.VDU:
+ capabilities:
+ scalable:
+ type: tosca.capabilities.Scalable
+ monitoring_parameter:
+ type: tosca.capabilities.nfv.Metric
+ nfv_compute:
+ type: tosca.capabilities.nfv.ext.Compute.Container.Architecture
+ virtualbinding:
+ type: tosca.capabilities.nfv.VirtualBindable
+ derived_from: tosca.nodes.Root
+ properties:
+ manual_scale_select_vim:
+ required: false
+ type: boolean
+ vdu_type:
+ required: false
+ type: string
+ watchdog:
+ required: false
+ type: tosca.datatypes.nfv.ext.zte.WatchDog
+ name:
+ required: false
+ type: string
+ local_affinity_antiaffinity_rule:
+ required: false
+ type: tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule
+ support_scaling:
+ required: false
+ type: boolean
+ storage_policy:
+ required: false
+ type: string
+ key_vdu:
+ required: false
+ type: boolean
+ location_info:
+ required: false
+ type: tosca.datatypes.nfv.ext.LocationInfo
+ inject_data_list:
+ entry_schema:
+ type: tosca.datatypes.nfv.ext.InjectData
+ required: false
+ type: list
+ requirements:
+ - guest_os:
+ capability: tosca.capabilities.nfv.ext.GuestOs
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - local_storage:
+ capability: tosca.capabilities.nfv.ext.LocalAttachment
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - volume_storage:
+ capability: tosca.capabilities.Attachment
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - dependency:
+ capability: tosca.capabilities.Node
+ occurrences:
+ - 0
+ - UNBOUNDED
+ tosca.nodes.nfv.ext.zte.VL:
+ capabilities:
+ virtual_linkable:
+ type: tosca.capabilities.nfv.VirtualLinkable
+ derived_from: tosca.nodes.Root
+ properties:
+ segmentation_id:
+ required: false
+ type: string
+ network_name:
+ required: false
+ type: string
+ is_predefined:
+ required: false
+ type: boolean
+ mtu:
+ required: false
+ type: integer
+ dns_nameservers:
+ entry_schema:
+ type: string
+ required: false
+ type: list
+ physical_network:
+ required: false
+ type: string
+ dhcp_enabled:
+ required: false
+ type: boolean
+ network_id:
+ required: false
+ type: string
+ host_routes:
+ entry_schema:
+ type: tosca.datatypes.nfv.ext.HostRouteInfo
+ required: false
+ type: list
+ ip_version:
+ required: false
+ type: integer
+ vendor:
+ required: false
+ type: string
+ name:
+ required: false
+ type: string
+ start_ip:
+ required: false
+ type: string
+ vlan_transparent:
+ required: false
+ type: boolean
+ cidr:
+ required: false
+ type: string
+ gateway_ip:
+ required: false
+ type: string
+ network_type:
+ required: false
+ type: string
+ end_ip:
+ required: false
+ type: string
+ location_info:
+ required: false
+ type: tosca.datatypes.nfv.ext.LocationInfo
+ tosca.nodes.nfv.ext.zte.VNF:
+ capabilities:
+ forwarder:
+ type: tosca.capabilities.nfv.Forwarder
+ derived_from: tosca.nodes.Root
+ properties:
+ request_reclassification:
+ required: false
+ type: boolean
+ domain_type:
+ required: false
+ type: string
+ nsh_aware:
+ required: false
+ type: boolean
+ plugin_info:
+ required: false
+ type: string
+ adjust_vnf_capacity:
+ required: false
+ type: boolean
+ vnfd_version:
+ required: false
+ type: string
+ vmnumber_overquota_alarm:
+ required: false
+ type: boolean
+ custom_properties:
+ entry_schema:
+ type: string
+ required: false
+ type: map
+ version:
+ required: false
+ type: string
+ cross_dc:
+ required: false
+ type: boolean
+ script_info:
+ required: false
+ type: string
+ vendor:
+ required: false
+ type: string
+ is_shared:
+ required: false
+ type: boolean
+ name:
+ required: false
+ type: string
+ vnf_extend_type:
+ required: false
+ type: string
+ id:
+ required: false
+ type: string
+ vnf_type:
+ required: false
+ type: string
+ is_sfc_proxy:
+ required: false
+ type: boolean
+ requirements:
+ - forwarder:
+ capability: tosca.capabilities.nfv.Forwarder
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - virtualLink:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ occurrences:
+ - 0
+ - UNBOUNDED
+
+ tosca.nodes.nfv.VnfVirtualLinkDesc:
+ capabilities:
+ monitoring_parameters:
+ type: tosca.capabilities.nfv.Metric
+ virtual_linkable:
+ type: tosca.capabilities.nfv.VirtualLinkable
+ derived_from: tosca.nodes.Root
+ properties:
+ vl_flavours:
+ entry_schema:
+ type: string
+ type: map
+ description:
+ required: false
+ type: string
+ test_access:
+ entry_schema:
+ type: string
+ required: false
+ type: list
+ connectivity_type:
+ type: tosca.datatypes.nfv.ConnectivityType \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/pom.xml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/pom.xml
deleted file mode 100644
index 12fd1179c5..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/pom.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <name>att-sdc-translator-impl</name>
- <artifactId>att-sdc-translator-impl</artifactId>
-
-
- <parent>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-lib</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../..</relativePath>
- </parent>
-
- <dependencies>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
- </dependency>
-<!-- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.17</version>
- </dependency >-->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-translator-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc.core</groupId>
- <artifactId>openecomp-heat-lib</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc.core</groupId>
- <artifactId>openecomp-tosca-lib</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc.common</groupId>
- <artifactId>openecomp-tosca-datatype</artifactId>
- <version>${openecomp.sdc.common.version}</version>
- </dependency>
-
-
- <!-- need to be changed to sdk -->
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-translator-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${mvn.surefire.version}</version>
- <configuration>
- <useSystemClassLoader>false</useSystemClassLoader>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/tosca/datatypes/AttToscaPolicyType.java b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/tosca/datatypes/AttToscaPolicyType.java
deleted file mode 100644
index fd893730c4..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/tosca/datatypes/AttToscaPolicyType.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package com.att.sdc.tosca.datatypes;
-
-import org.openecomp.config.api.Configuration;
-import org.openecomp.config.api.ConfigurationManager;
-import org.openecomp.sdc.tosca.services.ConfigConstants;
-
-/**
- * Created by TALIO on 5/17/2017.
- */
-public class AttToscaPolicyType {
- private static Configuration config = ConfigurationManager.lookup();
-
- public static final String POLICY_TYPE_PREFIX =
- config.getAsString(ConfigConstants.NAMESPACE, ConfigConstants.PREFIX_POLICY_TYPE);
-
-
- public static final String PLACEMENT_VALET_AFFINITY = POLICY_TYPE_PREFIX + "placement.valet" +
- ".Affinity";
- public static final String PLACEMENT_VALET_EXCLUSIVITY =
- POLICY_TYPE_PREFIX + "placement.valet.Exclusivity";
- public static final String PLACEMENT_VALET_DIVERSITY = POLICY_TYPE_PREFIX + "placement.valet" +
- ".Diversity";
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImpl.java b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImpl.java
deleted file mode 100644
index 176c7c5e65..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImpl.java
+++ /dev/null
@@ -1,301 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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 com.att.sdc.translator.services.heattotosca.impl.resourcetranslation;
-
-import com.att.sdc.tosca.datatypes.AttToscaPolicyType;
-import com.google.common.base.Strings;
-import org.apache.commons.collections4.MapUtils;
-import org.openecomp.sdc.heat.datatypes.model.HeatOrchestrationTemplate;
-import org.openecomp.sdc.heat.datatypes.model.HeatResourcesTypes;
-import org.openecomp.sdc.heat.datatypes.model.Resource;
-import org.openecomp.sdc.tosca.datatypes.ToscaGroupType;
-import org.openecomp.sdc.tosca.datatypes.ToscaTopologyTemplateElements;
-import org.openecomp.sdc.tosca.datatypes.model.GroupDefinition;
-import org.openecomp.sdc.tosca.datatypes.model.NodeTemplate;
-import org.openecomp.sdc.tosca.datatypes.model.PolicyDefinition;
-import org.openecomp.sdc.tosca.services.DataModelUtil;
-import org.openecomp.sdc.translator.datatypes.heattotosca.to.TranslateTo;
-import org.openecomp.sdc.translator.datatypes.heattotosca.unifiedmodel.consolidation.ComputeTemplateConsolidationData;
-import org.openecomp.sdc.translator.services.heattotosca.ConsolidationDataUtil;
-import org.openecomp.sdc.translator.services.heattotosca.ResourceTranslationFactory;
-import org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationBase;
-import org.openecomp.sdc.translator.services.heattotosca.mapping.TranslatorHeatToToscaPropertyConverter;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-
-import static org.openecomp.sdc.translator.services.heattotosca.HeatToToscaUtil.getResource;
-
-public class ResourceTranslationValetGroupAssignmentImpl extends ResourceTranslationBase {
- private static final String AFFINITY = "affinity";
- private static final String EXCLUSIVITY = "exclusivity";
- private static final String DIVERSITY = "diversity";
- private static List<String> supportedPolicies = Arrays.asList(AFFINITY, EXCLUSIVITY, DIVERSITY);
-
- private boolean validateGroupType(TranslateTo translateTo) {
- Map<String, Object> properties = translateTo.getResource().getProperties();
- if (properties == null) {
- return false;
- }
-
- Object groupType = properties.get("group_type");
- if (Objects.isNull(groupType)) {
- return false;
- }
- return isGroupTypeValid(groupType);
- }
-
- @Override
- protected void translate(TranslateTo translateTo) {
-
-
- mdcDataDebugMessage.debugEntryMessage(null, null);
-
- String resourceId = translateTo.getResourceId();
- Optional<String> toscaPolicyType = getToscaPolicies(translateTo.getResource(), resourceId);
- if (toscaPolicyType.isPresent()) {
- List<String> members = getAttValetGroupAssignmentMembers(translateTo);
- addGroupToTopology(translateTo, resourceId, members);
- addPoliciesToTopology(translateTo, toscaPolicyType.get());
- }
-
- mdcDataDebugMessage.debugExitMessage(null, null);
- }
-
- @Override
- protected String generateTranslatedId(TranslateTo translateTo) {
- return isEssentialRequirementsValid(translateTo) ? getValetGroupAssignmentTranslatedGroupId(
- translateTo) : null;
- }
-
- @Override
- protected Optional<ToscaTopologyTemplateElements> getTranslatedToscaTopologyElement(
- TranslateTo translateTo) {
- if (isEssentialRequirementsValid(translateTo)) {
- return Optional.of(ToscaTopologyTemplateElements.GROUP);
- } else {
- return Optional.empty();
- }
- }
-
- @Override
- protected boolean isEssentialRequirementsValid(TranslateTo translateTo) {
- return validateGroupType(translateTo);
- }
-
- private void addPoliciesToTopology(TranslateTo translateTo, String policyType) {
- mdcDataDebugMessage.debugEntryMessage(null, null);
- ResourceTranslationBase.logger.info("******** Creating policy '%s' ********", policyType);
- PolicyDefinition policyDefinition = new PolicyDefinition();
- policyDefinition.setType(policyType);
- policyDefinition
- .setTargets(
- Collections.singletonList(getValetGroupAssignmentTranslatedGroupId(translateTo)));
- policyDefinition.setProperties(TranslatorHeatToToscaPropertyConverter
- .getToscaPropertiesSimpleConversion(translateTo.getServiceTemplate(),
- translateTo.getResourceId(),translateTo.getResource().getProperties(),
- policyDefinition.getProperties(), translateTo.getHeatFileName(),
- translateTo.getHeatOrchestrationTemplate(), translateTo.getResource().getType(),
- policyDefinition, translateTo.getContext()));
-
- DataModelUtil.addPolicyDefinition(translateTo.getServiceTemplate(),
- getTranslatedPolicyId(translateTo), policyDefinition);
- ResourceTranslationBase.logger.info("******** Policy '%s' created ********", policyType);
- mdcDataDebugMessage.debugExitMessage(null, null);
- }
-
- private String getTranslatedPolicyId(TranslateTo translateTo) {
- return translateTo.getResourceId() + "_policy";
- }
-
- private void addGroupToTopology(TranslateTo translateTo, String resourceId,
- List<String> members) {
- mdcDataDebugMessage.debugEntryMessage(null, null);
- ResourceTranslationBase.logger
- .info("******** Start creating group for resource '%s' ********", resourceId);
- GroupDefinition group = new GroupDefinition();
- group.setMembers(members);
- group.setType(ToscaGroupType.NATIVE_ROOT);
- String groupId = getValetGroupAssignmentTranslatedGroupId(translateTo);
- DataModelUtil
- .addGroupDefinitionToTopologyTemplate(translateTo.getServiceTemplate(), groupId, group);
- ResourceTranslationBase.logger
- .info("******** Creating group '%s' for resource '%s' ********", groupId, resourceId);
- mdcDataDebugMessage.debugExitMessage(null, null);
- }
-
- private List<String> getAttValetGroupAssignmentMembers(TranslateTo translateTo) {
-
-
- mdcDataDebugMessage.debugEntryMessage(null, null);
-
- Map<String, Object> properties = translateTo.getResource().getProperties();
- List<String> members = new ArrayList<>();
- String refResourceId;
- Optional<String> refAttachedResourceId;
-
- if (MapUtils.isNotEmpty(properties)) {
- Object resources = properties.get("resources");
-
- //if null warning no resource
- if (resources instanceof List) {
- for (Object member : ((List) resources)) {
- if (member instanceof Map) {
- refResourceId = (String) ((Map) member).get("get_resource");
-
- refAttachedResourceId =
- ResourceTranslationBase.getResourceTranslatedId(translateTo.getHeatFileName(),
- translateTo.getHeatOrchestrationTemplate(), refResourceId,
- translateTo.getContext());
- if (refAttachedResourceId.isPresent() ) {
- members.add(refAttachedResourceId.get());
- updateComputeConsolidationDataGroup(translateTo, refResourceId);
- }
- }
- }
- }
- }
-
- mdcDataDebugMessage.debugExitMessage(null, null);
- return members;
- }
-
- private void updateComputeConsolidationDataGroup(TranslateTo translateTo,
- String refResourceId) {
- Resource refResource =
- getResource(translateTo.getHeatOrchestrationTemplate(), refResourceId,
- translateTo.getHeatFileName());
- if (isNovaServerResource(translateTo.getHeatOrchestrationTemplate(), refResourceId)) {
- String heatFileName = translateTo.getHeatFileName();
- Optional<String> translatedNovaServerId =
- ResourceTranslationFactory.getInstance(refResource)
- .translateResource(heatFileName, translateTo.getServiceTemplate(),
- translateTo.getHeatOrchestrationTemplate(), refResource, refResourceId,
- translateTo.getContext());
- //Add nova server information to compute data
- if (translatedNovaServerId.isPresent()) {
- NodeTemplate translatedNovaServerNodeTemplate = DataModelUtil
- .getNodeTemplate(translateTo.getServiceTemplate(),
- translatedNovaServerId.get());
- if (translatedNovaServerNodeTemplate != null) {
- ComputeTemplateConsolidationData computeTemplateConsolidationData = ConsolidationDataUtil
- .getComputeTemplateConsolidationData(translateTo.getContext(), translateTo
- .getServiceTemplate(), translatedNovaServerNodeTemplate.getType(),
- translatedNovaServerId.get());
- ConsolidationDataUtil.updateGroupIdInConsolidationData(computeTemplateConsolidationData,
- translateTo.getTranslatedId());
- }
- }
- }
- }
-
- private boolean isNovaServerResource(HeatOrchestrationTemplate heatOrchestrationTemplate,
- Object resourceToTranslate) {
- return heatOrchestrationTemplate.getResources().get(resourceToTranslate).getType()
- .equals(HeatResourcesTypes.NOVA_SERVER_RESOURCE_TYPE.getHeatResource());
- }
-
-
- private Optional<String> getToscaPolicies(Resource resource, String resourceId) {
-
-
- mdcDataDebugMessage.debugEntryMessage(null, null);
-
- Map<String, Object> properties = resource.getProperties();
- if (Objects.isNull(properties) || Objects.isNull(properties.get("group_type"))) {
- ResourceTranslationBase.logger
- .warn("Resource '" + resourceId + "'(" + resource.getType() + ") missing group_type");
- return Optional.empty();
- }
-
- Object groupType = properties.get("group_type");
- if (!isGroupTypeValid(groupType)) {
- ResourceTranslationBase.logger.warn("Resource '" + resourceId + "'(" + resource.getType()
- + ") contains unsupported policy '" + groupType
- + "'. This resource is been ignored during the translation");
-
- mdcDataDebugMessage.debugExitMessage(null, null);
- return Optional.empty();
- }
-
- mdcDataDebugMessage.debugExitMessage(null, null);
- return getToscaPolicyByGroupType((String) groupType);
-
- }
-
- private boolean isGroupTypeValid(Object groupType) {
- if (!(groupType instanceof String)) {
- return false;
- }
- return supportedPolicies.contains(groupType);
- }
-
- private Optional<String> getToscaPolicyByGroupType(String groupType) {
- mdcDataDebugMessage.debugEntryMessage(null, null);
-
- String toscaPolicyType;
- switch (groupType) {
- case AFFINITY:
- toscaPolicyType = AttToscaPolicyType.PLACEMENT_VALET_AFFINITY;
- break;
- case EXCLUSIVITY:
- toscaPolicyType = AttToscaPolicyType.PLACEMENT_VALET_EXCLUSIVITY;
- break;
- default:
- toscaPolicyType = AttToscaPolicyType.PLACEMENT_VALET_DIVERSITY;
- }
-
- mdcDataDebugMessage.debugExitMessage(null, null);
- return Optional.of(toscaPolicyType);
- }
-
-
- private String getValetGroupAssignmentTranslatedGroupId(TranslateTo translateTo) {
- mdcDataDebugMessage.debugEntryMessage(null, null);
-
- String resourceId = super.generateTranslatedId(translateTo);
- String groupName = null;
- Map<String, Object> properties = translateTo.getResource().getProperties();
-
- if (properties == null) {
- return resourceId + "_group";
- }
-
- Object groupNameProperty = properties.get("group_name");
- if (groupNameProperty instanceof String) {
- groupName = (String) groupNameProperty;
- }
-
- if (groupName != null && !Strings.isNullOrEmpty(groupName)) {
- groupName = groupName.replace(" ", "_");
- resourceId += "_" + groupName;
-
- }
-
- mdcDataDebugMessage.debugExitMessage(null, null);
- return resourceId + "_group";
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaMapping.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaMapping.json
deleted file mode 100644
index 2b20db7e9f..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaMapping.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "resourceMapping": {
- "ATT::Valet::GroupAssignment": {
- "properties": {
- "level": "level"
- },
- "attributes": {
- }
- }
- },
- "_config": {
- "namespace": "heatToToscaMapping",
- "mergeStrategy": "merge"
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaTranslator.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaTranslator.json
deleted file mode 100644
index 33fb21e5e9..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-merge-heatToToscaTranslator.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "resourceTranslationImpl": {
- "ATT::Valet::GroupAssignment": {
- "enable": true,
- "implementationClass": "com.att.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationValetGroupAssignmentImpl"
- }
- },
- "_config": {
- "namespace": "heatToToscaTranslator",
- "mergeStrategy": "merge"
- }
-
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-override-heatToToscaTranslator.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-override-heatToToscaTranslator.json
deleted file mode 100644
index 2c364fe8af..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/main/resources/config-override-heatToToscaTranslator.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "resourceTranslationImpl": {
- "OS::Contrail::NetworkPolicy": {
- "enable": true,
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationContrailNetworkPolicyImpl"
- },
- "OS::Contrail::AttachPolicy": {
- "enable": true,
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationContrailAttachPolicyImpl"
- },
- "OS::ContrailV2::NetworkPolicy": {
- "enable": true,
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationContrailV2NetworkPolicyImpl"
- },
- "OS::Nova::ServerGroup": {
- "enable": true,
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationNovaServerGroupsImpl"
- },
- "OS::Neutron::SecurityGroup": {
- "enable": true,
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.resourcetranslation.ResourceTranslationNeutronSecurityGroupImpl"
- }
- },
- "namingConventionExtractImpl": {
- "NovaServerNodeTypeName": {
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.nameextractor.NameExtractorNovaServerImpl"
- },
- "ContrailComputeNodeTypeName": {
- "implementationClass": "org.openecomp.sdc.translator.services.heattotosca.impl.nameextractor.NameExtractorContrailComputeImpl"
- }
- },
- "_config": {
- "namespace": "heatToToscaTranslator",
- "mergeStrategy": "override"
- }
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/BaseResourceTranslationTest.java b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/BaseResourceTranslationTest.java
deleted file mode 100644
index 0009388ad3..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/BaseResourceTranslationTest.java
+++ /dev/null
@@ -1,326 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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 com.att.sdc.translator.services.heattotosca.impl.resourcetranslation;
-
-import org.apache.commons.collections4.MapUtils;
-import org.junit.Assert;
-import org.junit.Before;
-import org.openecomp.core.translator.datatypes.TranslatorOutput;
-import org.openecomp.core.utilities.file.FileUtils;
-import org.openecomp.core.utilities.json.JsonUtil;
-import org.openecomp.core.validation.util.MessageContainerUtil;
-import org.openecomp.sdc.common.errors.CoreException;
-import org.openecomp.sdc.common.errors.ErrorCategory;
-import org.openecomp.sdc.common.errors.ErrorCode;
-import org.openecomp.sdc.common.utils.SdcCommon;
-import org.openecomp.sdc.datatypes.error.ErrorLevel;
-import org.openecomp.sdc.datatypes.error.ErrorMessage;
-import org.openecomp.sdc.heat.datatypes.manifest.FileData;
-import org.openecomp.sdc.heat.datatypes.manifest.ManifestContent;
-import org.openecomp.sdc.heat.datatypes.manifest.ManifestFile;
-import org.openecomp.sdc.logging.api.Logger;
-import org.openecomp.sdc.logging.api.LoggerFactory;
-import org.openecomp.sdc.logging.context.impl.MdcDataErrorMessage;
-import org.openecomp.sdc.logging.types.LoggerConstants;
-import org.openecomp.sdc.logging.types.LoggerErrorCode;
-import org.openecomp.sdc.logging.types.LoggerTragetServiceName;
-import org.openecomp.sdc.tosca.datatypes.model.GroupDefinition;
-import org.openecomp.sdc.tosca.datatypes.model.ServiceTemplate;
-import org.openecomp.sdc.tosca.services.ToscaExtensionYamlUtil;
-import org.openecomp.sdc.tosca.services.ToscaFileOutputService;
-import org.openecomp.sdc.tosca.services.impl.ToscaFileOutputServiceCsarImpl;
-import org.openecomp.sdc.translator.datatypes.heattotosca.TranslationContext;
-import org.openecomp.sdc.translator.datatypes.heattotosca.unifiedmodel.consolidation.ComputeTemplateConsolidationData;
-import org.openecomp.sdc.translator.datatypes.heattotosca.unifiedmodel.consolidation.ConsolidationData;
-import org.openecomp.sdc.translator.datatypes.heattotosca.unifiedmodel.consolidation.FileComputeConsolidationData;
-import org.openecomp.sdc.translator.datatypes.heattotosca.unifiedmodel.consolidation.TypeComputeConsolidationData;
-import org.openecomp.sdc.translator.services.heattotosca.TranslationService;
-
-import java.io.BufferedInputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.net.URL;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipInputStream;
-
-import static org.junit.Assert.assertEquals;
-
-
-public class BaseResourceTranslationTest {
-
- protected String inputFilesPath;
- protected String outputFilesPath;
- protected TranslationContext translationContext;
-
- private String zipFilename = "VSP.zip";
- private TranslationService translationService;
- private boolean isValid;
- private File translatedZipFile;
-
- private Map<String, byte[]> expectedResultMap = new HashMap<>();
- private Set<String> expectedResultFileNameSet = new HashSet<>();
-
- private final String MANIFEST_NAME = SdcCommon.MANIFEST_NAME;
- private String validationFilename = "validationOutput.json";
-
- //private final Logger log = (Logger) LoggerFactory.getLogger(this.getClass().getName());
-
- @Before
- public void setUp() throws IOException {
- initTranslatorAndTranslate();
- }
-
- protected void initTranslatorAndTranslate() throws IOException {
- translationService = new TranslationService();
- translationContext = new TranslationContext();
- translatedZipFile = translateZipFile();
- }
-
- protected void testTranslation() throws IOException {
-
- URL url = BaseResourceTranslationTest.class.getResource(outputFilesPath);
-
- String path = url.getPath();
- File pathFile = new File(path);
- File[] files = pathFile.listFiles();
- Assert.assertNotNull("manifest files is empty", files);
- for (File expectedFile : files) {
- expectedResultFileNameSet.add(expectedFile.getName());
- try (FileInputStream input = new FileInputStream(expectedFile)) {
- expectedResultMap.put(expectedFile.getName(), FileUtils.toByteArray(input));
- }
- }
-
- try (FileInputStream fis = new FileInputStream(translatedZipFile);
- ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis))) {
- ZipEntry entry;
- String name;
- String expected;
- String actual;
-
- while ((entry = zis.getNextEntry()) != null) {
-
- name = entry.getName()
- .substring(entry.getName().lastIndexOf(File.separator) + 1, entry.getName().length());
- if (expectedResultFileNameSet.contains(name)) {
- expected = new String(expectedResultMap.get(name)).trim().replace("\r", "");
- actual = new String(FileUtils.toByteArray(zis)).trim().replace("\r", "");
- assertEquals("difference in file: " + name, expected, actual);
-
- expectedResultFileNameSet.remove(name);
- }
- }
- if (expectedResultFileNameSet.isEmpty()) {
- expectedResultFileNameSet.forEach(System.out::println);
- }
- }
- assertEquals(0, expectedResultFileNameSet.size());
- }
-
- private File translateZipFile() throws IOException {
- URL inputFilesUrl = this.getClass().getResource(inputFilesPath);
- String path = inputFilesUrl.getPath();
- addFilesToTranslator(translationContext, path);
- TranslatorOutput translatorOutput = translationService.translateHeatFiles(translationContext);
- Assert.assertNotNull(translatorOutput);
- if (MapUtils.isNotEmpty(translatorOutput.getErrorMessages()) && MapUtils.isNotEmpty(
- MessageContainerUtil
- .getMessageByLevel(ErrorLevel.ERROR, translatorOutput.getErrorMessages()))) {
- MdcDataErrorMessage.createErrorMessageAndUpdateMdc(LoggerConstants.TARGET_ENTITY_DB,
- LoggerTragetServiceName.VALIDATE_HEAT_BEFORE_TRANSLATE, ErrorLevel.ERROR.name(),
- LoggerErrorCode.DATA_ERROR.getErrorCode(), "Can't translate HEAT file");
- throw new CoreException((new ErrorCode.ErrorCodeBuilder()).withMessage(
- "Error in validation " + getErrorAsString(translatorOutput.getErrorMessages()))
- .withId("Validation Error").withCategory(ErrorCategory.APPLICATION).build());
- }
- File file = new File(path + "/" + zipFilename);
- file.createNewFile();
-
- try (FileOutputStream fos = new FileOutputStream(file)) {
- ToscaFileOutputService toscaFileOutputService = new ToscaFileOutputServiceCsarImpl();
- fos.write(
- toscaFileOutputService.createOutputFile(translatorOutput.getToscaServiceModel(), null));
- }
-
- return file;
- }
-
- private String getErrorAsString(Map<String, List<ErrorMessage>> errorMessages) {
- StringBuilder sb = new StringBuilder();
- errorMessages.entrySet().forEach(
- entry -> sb.append("File:").append(entry.getKey()).append(System.lineSeparator())
- .append(getErrorList(entry.getValue())));
-
- return sb.toString();
- }
-
- private String getErrorList(List<ErrorMessage> errors) {
- StringBuilder sb = new StringBuilder();
- errors.forEach(
- error -> sb.append(error.getMessage()).append("[").append(error.getLevel()).append("]")
- .append(System.lineSeparator()));
- return sb.toString();
- }
-
- public void addFilesToTranslator(TranslationContext translationContext, String path)
- throws IOException {
- File manifestFile = new File(path);
- File[] files = manifestFile.listFiles();
- byte[] fileContent;
-
- Assert.assertNotNull("manifest files is empty", files);
-
- for (File file : files) {
-
- try (FileInputStream fis = new FileInputStream(file)) {
-
- fileContent = FileUtils.toByteArray(fis);
-
- if (file.getName().equals(MANIFEST_NAME)) {
- addManifest(translationContext, MANIFEST_NAME, fileContent);
- } else {
- if (!file.getName().equals(zipFilename) && (!file.getName().equals(validationFilename))) {
- addFile(translationContext, file.getName(), fileContent);
- }
- }
- }
- }
- }
-
- public static void addManifest(TranslationContext translationContext,
- String name, byte[] content) {
- ManifestContent manifestData = JsonUtil.json2Object(new String(content), ManifestContent.class);
- ManifestFile manifest = new ManifestFile();
- manifest.setName(name);
- manifest.setContent(manifestData);
- translationContext.setManifest(manifest);
- translationContext.addFile(name, content);
- addFilesFromManifestToTranslationContextManifestFilesMap(translationContext, manifestData
- .getData());
- }
-
- public static void addFile(TranslationContext translationContext,
- String name, byte[] content) {
- translationContext.addFile(name, content);
- }
-
-
- public void validateComputeTemplateConsolidationData() {
- ConsolidationData consolidationData = translationContext.getConsolidationData();
- Map<String, ServiceTemplate> expectedServiceTemplateModels = getServiceTemplates
- (outputFilesPath);
- Assert.assertNotNull(consolidationData);
- Assert.assertNotNull(consolidationData.getComputeConsolidationData());
- Set<String> serviceTemplateFileNames = consolidationData.getComputeConsolidationData()
- .getAllServiceTemplateFileNames();
- Assert.assertNotNull(serviceTemplateFileNames);
- for(String serviceTemplateName : serviceTemplateFileNames){
- Assert.assertTrue(expectedServiceTemplateModels.containsKey(serviceTemplateName));
- ServiceTemplate expectedServiceTemplate = expectedServiceTemplateModels.get
- (serviceTemplateName);
- FileComputeConsolidationData fileComputeConsolidationData = consolidationData
- .getComputeConsolidationData().getFileComputeConsolidationData(serviceTemplateName);
- Assert.assertNotNull(fileComputeConsolidationData);
- Set<String> computeTypes = fileComputeConsolidationData.getAllComputeTypes();
- Assert.assertNotNull(computeTypes);
- for(String computeType : computeTypes) {
- TypeComputeConsolidationData typeComputeConsolidationData = fileComputeConsolidationData
- .getTypeComputeConsolidationData(computeType);
- Assert.assertNotNull(typeComputeConsolidationData);
-
- Set<String> computeNodeTemplateIds = typeComputeConsolidationData
- .getAllComputeNodeTemplateIds();
- Assert.assertNotNull(computeNodeTemplateIds);
- Assert.assertNotEquals(computeNodeTemplateIds.size(), 0);
-
- for(String computeNodeTemplateId : computeNodeTemplateIds) {
- ComputeTemplateConsolidationData computeTemplateConsolidationData =
- typeComputeConsolidationData.getComputeTemplateConsolidationData
- (computeNodeTemplateId);
- validateGroupsInConsolidationData(computeNodeTemplateId,
- computeTemplateConsolidationData, expectedServiceTemplate);
- }
- }
- }
- }
-
- public Map<String, ServiceTemplate> getServiceTemplates(String baseDirPath){
- Map<String, ServiceTemplate> serviceTemplateMap = new HashMap<>();
- ToscaExtensionYamlUtil toscaExtensionYamlUtil = new ToscaExtensionYamlUtil();
- baseDirPath = "."+baseDirPath+"/";
- try {
- String[] fileList = {};
- URL filesDirUrl = BaseResourceTranslationTest.class.getClassLoader().getResource(baseDirPath);
- if (filesDirUrl != null && filesDirUrl.getProtocol().equals("file")) {
- fileList = new File(filesDirUrl.toURI()).list();
- } else {
- Assert.fail("Invalid expected output files directory");
- }
-
- for (int i = 0; i < fileList.length; i++) {
- URL resource = BaseResourceTranslationTest.class.getClassLoader().getResource(baseDirPath + fileList[i]);
- ServiceTemplate serviceTemplate = FileUtils.readViaInputStream(resource,
- stream -> toscaExtensionYamlUtil.yamlToObject(stream, ServiceTemplate.class));
- serviceTemplateMap.put(fileList[i], serviceTemplate);
- }
-
- } catch (Exception e) {
- //log.debug("",e);
- Assert.fail(e.getMessage());
- }
- return serviceTemplateMap;
- }
- private void validateGroupsInConsolidationData(String computeNodeTemplateId,
- ComputeTemplateConsolidationData
- computeTemplateConsolidationData,
- ServiceTemplate expectedServiceTemplate) {
- Assert.assertNotNull(computeTemplateConsolidationData);
- List<String> groupIds = computeTemplateConsolidationData.getGroupIds();
- if(groupIds != null) {
- for(String groupId : groupIds) {
- isComputeGroupMember(expectedServiceTemplate, computeNodeTemplateId, groupId);
- }
- }
- }
-
- private void isComputeGroupMember(ServiceTemplate expectedServiceTemplate, String
- computeNodeTemplateId, String groupId) {
- GroupDefinition group = expectedServiceTemplate.getTopology_template().getGroups().get(groupId);
- List<String> groupMembers = group.getMembers();
- Assert.assertNotNull(groupMembers);
- Assert.assertTrue(groupMembers.contains(computeNodeTemplateId));
- }
-
-
- private static void addFilesFromManifestToTranslationContextManifestFilesMap(TranslationContext
- translationContext, List<FileData> fileDataListFromManifest) {
- for (FileData fileFromManfiest : fileDataListFromManifest) {
- translationContext.addManifestFile(fileFromManfiest.getFile(), fileFromManfiest.getType());
- }
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImplTest.java b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImplTest.java
deleted file mode 100644
index 9c9998fbea..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/java/com/att/sdc/translator/services/heattotosca/impl/resourcetranslation/ResourceTranslationValetGroupAssignmentImplTest.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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 com.att.sdc.translator.services.heattotosca.impl.resourcetranslation;
-
-import org.junit.Before;
-import org.junit.Test;
-
-import java.io.IOException;
-//import org.apache.log4j.Logger;
-
-public class ResourceTranslationValetGroupAssignmentImplTest
- extends BaseResourceTranslationTest {
-
- @Override
- @Before
- public void setUp() throws IOException {
- // do not delete this function. it prevents the superclass setup from running
- }
-
- @Test
- public void testTranslateSimpleOnlyNova() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testTranslateGroupNameParameter() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testTranslateComplexNovaAndGroup() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testTranslateComplexOnlyGroup() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/expectedoutputfiles";
-
-/* String[] loggers = { "org.apache.commons.dbcp2"};
- for (String logger : loggers) {
- org.apache.log4j.Logger logSuppress = org.apache.log4j.Logger.getLogger(logger);
- logSuppress.setLevel(org.apache.log4j.Level.OFF);
- }*/
-
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testTranslateComplexTwoGroups() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testInvalidGroupIsNotTranslatedAndNotAddedAsMemberOfGroup() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testSimpleNovaAndNotSupportedResource() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testSimpleOnlyNotSupportedResources() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testSimpleOnlySingleNova() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testConfigNoConnection() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/notconnected/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
- @Test
- public void testDynamicGroup() throws Exception {
- inputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles";
- outputFilesPath =
- "/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/expectedoutputfiles";
- initTranslatorAndTranslate();
- testTranslation();
- validateComputeTemplateConsolidationData();
- }
-
-
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/logback.xml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/logback.xml
deleted file mode 100644
index 03ce9d1243..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/logback.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<!-- only one line, shut up logback ! -->
-<configuration>
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <Pattern>
- %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
- </Pattern>
- </encoder>
- </appender>
- <root level="off">
- <appender-ref ref="STDOUT" />
- </root>
-</configuration> \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 8bc4c3d028..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,304 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer3:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myPort6:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myPort5:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myNovaServer3:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer3
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- SVCgroup2_mixGroup_group:
- type: tosca.groups.Root
- members:
- - SVCgroup1_simpleGroup_group
- - myNovaServer3
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myPort6
- - myPort5
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myNovaServer3
- - myPort1
- - myPort4
- - myPort3
- SVCgroup3_groupsMembers_group:
- type: tosca.groups.Root
- members:
- - SVCgroup1_simpleGroup_group
- - SVCgroup2_mixGroup_group
- SVCgroup1_simpleGroup_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- - myNovaServer2
- policies:
- SVCgroup2_policy:
- type: org.openecomp.policies.placement.valet.Diversity
- properties:
- level: host
- targets:
- - SVCgroup2_mixGroup_group
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup_group
- SVCgroup3_policy:
- type: org.openecomp.policies.placement.valet.Exclusivity
- properties:
- level: rack
- targets:
- - SVCgroup3_groupsMembers_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/main.yml
deleted file mode 100644
index 57e9f04c36..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexNovaAndGroup/inputfiles/main.yml
+++ /dev/null
@@ -1,144 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myNovaServer3:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort5 }
- - port: { get_resource: myPort6 }
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- myPort5:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort6:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
- SVCgroup2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: diversity
- group_name: mixGroup
- level: host
- resources:
- - { get_resource: SVCgroup1}
- - { get_resource: myNovaServer3}
- SVCgroup3:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: exclusivity
- group_name: groupsMembers
- level: rack
- resources:
- - { get_resource: SVCgroup1}
- - { get_resource: SVCgroup2}
- - { get_resource: SVCgroup4}
- SVCgroup4:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: koko
- group_name: invalid
- level: host
- resources:
- - { get_resource: SVCgroup1}
- - { get_resource: SVCgroup2}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 71b6038eb3..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,292 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer3:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myPort6:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myPort5:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myNovaServer3:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer3
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myPort6
- - myPort5
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myNovaServer3
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- - myNovaServer2
- SVCgroup2_complexGroup_group:
- type: tosca.groups.Root
- members:
- - SVCgroup1_simpleGroup_group
- policies:
- SVCgroup2_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup2_complexGroup_group
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/MANIFEST.json
deleted file mode 100644
index 7f1ddfbc90..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/main.yml
deleted file mode 100644
index 2317813e66..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexOnlyGroup/inputfiles/main.yml
+++ /dev/null
@@ -1,124 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myNovaServer3:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort5 }
- - port: { get_resource: myPort6 }
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- myPort5:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort6:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
- SVCgroup2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: complexGroup
- level: host
- resources:
- - { get_resource: SVCgroup1} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 072f382fbb..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,303 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer3:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myPort6:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myPort5:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myNovaServer3:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer3
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myPort6
- - myPort5
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myNovaServer3
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup1_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- - myNovaServer2
- SVCgroup3_complexTwoGroups_group:
- type: tosca.groups.Root
- members:
- - SVCgroup1_simpleGroup1_group
- - SVCgroup2_group
- SVCgroup2_group:
- type: tosca.groups.Root
- members:
- - myNovaServer3
- policies:
- SVCgroup2_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup2_group
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup1_group
- SVCgroup3_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup3_complexTwoGroups_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/main.yml
deleted file mode 100644
index 14f2659d40..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/complexTwoGroups/inputfiles/main.yml
+++ /dev/null
@@ -1,132 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myNovaServer3:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort5 }
- - port: { get_resource: myPort6 }
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- myPort5:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort6:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: simpleGroup1
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
- SVCgroup2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- level: host
- resources:
- - { get_resource: myNovaServer3}
- SVCgroup3:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: complexTwoGroups
- level: host
- resources:
- - { get_resource: SVCgroup1}
- - { get_resource: SVCgroup2} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 9ceb3f0ab7..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,202 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- group_name:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myPort1
- - myPort4
- - myPort3 \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/main.yml
deleted file mode 100644
index 0117d4b87c..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/dynamicGroup/inputfiles/main.yml
+++ /dev/null
@@ -1,111 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
- group_name:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: { get_param: group_name}
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
- SVCgroup2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: 2
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
- SVCgroup3:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: { get_attr: [myPort4, show ]}
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index ced6638077..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,610 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.vipr_atm:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- vf_module_id:
- hidden: false
- immutable: false
- type: string
- description: Unique ID for the VF Module instance
- default: '5678'
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_ha_two_id:
- hidden: false
- immutable: false
- type: string
- description: Neutron UUID of the second high availability network for the vIPR-ATM firewal
- default: b75e27cf-452f-48ef-b107-8777e645c22d
- constraints: [
- ]
- vipr_atm_oam_net_security_groups:
- hidden: false
- immutable: false
- type: list
- description: List of the security group to apply to the vIPR-ATM firewall management port
- default:
- - c2369210-d154-4e4a-984d-047674beb5da
- entry_schema:
- type: string
- vipr_atm_valet_eg_0:
- hidden: false
- immutable: false
- type: string
- description: The Valet 1.0 Exclusivity Group for the vIPR-ATM firewall virtual machine
- default: CORE_INFRASTRUCTURE_VNFs
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_name_0:
- hidden: false
- immutable: false
- type: string
- description: Name of the vIPR-ATM firewall virtual machine
- default: zrcs1cctvpr001
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_image_name:
- hidden: false
- immutable: false
- type: string
- description: Image name of the vIPR-ATM firewall virtual machine
- default: vipr-atm-pan7.1
- constraints: [
- ]
- vnf_name:
- hidden: false
- immutable: false
- type: string
- description: Unique Name for this VF instance
- default: RD3TX100vfw
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_service_left_fqdn:
- hidden: false
- immutable: false
- type: string
- description: FQDN of the Left service network for the vIPR-ATM firewall
- default: default-domain:vIPR-ATM:vIPR-ATM-service-left
- constraints:
- - pattern: ^(?:[^:]{1,64}:){2}(?:[^:]{1,255})$
- vipr_atm_ha_one_ip_0:
- hidden: false
- immutable: false
- type: string
- description: Fixed IP to apply to the vIPR-ATM firewall ha0 port
- default: 192.168.35.1
- constraints:
- - pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- vipr_atm_ha_one_id:
- hidden: false
- immutable: false
- type: string
- description: Neutron UUID of the first high availability network for the vIPR-ATM firewall
- default: 4abaafc8-b8af-40b9-b0d0-32bd91f958ee
- constraints: [
- ]
- vnf_id:
- hidden: false
- immutable: false
- type: string
- description: Unique ID for this VF instance
- default: '1234'
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_flavor_name:
- hidden: false
- immutable: false
- type: string
- description: Flavor for the vIPR-ATM firewall virtual machine
- default: m1.vipr-atm-pan
- constraints: [
- ]
- availability_zone_0:
- hidden: false
- immutable: false
- type: string
- description: Availability Zone for the vIPR-ATM firewall virtual machine
- default: nova
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_server_group:
- hidden: false
- immutable: false
- type: string
- description: Server Group with anti-affinity policy for the vIPR-ATM firewall virtual machine
- default: 885dbf7f-fcb2-42d2-a694-a5930ce35b71
- constraints:
- - max_length: 255
- - min_length: 1
- vipr_atm_service_left_ip_prefix:
- hidden: false
- immutable: false
- type: string
- description: Left vIPR-ATM service network IP address prefix
- default: 10.254.3.0
- constraints:
- - pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- vipr_atm_ha_one_cidr:
- hidden: false
- immutable: false
- type: string
- description: vIPR-ATM private High Availability Network One IP address CIDR
- default: 192.168.35.0/29
- constraints:
- - pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(?:3[0-2]|[12]?[0-9])$
- vipr_atm_service_right_fqdn:
- hidden: false
- immutable: false
- type: string
- description: FQDN of the Right service network for the vIPR-ATM firewall
- default: default-domain:vIPR-ATM:vIPR-ATM-service-right
- constraints:
- - pattern: ^(?:[^:]{1,64}:){2}(?:[^:]{1,255})$
- vipr_atm_service_right_ip_prefix_len:
- hidden: false
- immutable: false
- type: float
- description: Right vIPR-ATM service network IP address prefix length
- default: 24
- constraints:
- - in_range:
- - 0
- - 32
- vipr_atm_ha_two_ip_0:
- hidden: false
- immutable: false
- type: string
- description: Fixed IP to apply to the vIPR-ATM firewall ha1 port
- default: 192.168.35.9
- constraints:
- - pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- vipr_atm_ha_two_cidr:
- hidden: false
- immutable: false
- type: string
- description: vIPR-ATM private High Availability Network Two IP address CIDR
- default: 192.168.35.8/29
- constraints:
- - pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(?:3[0-2]|[12]?[0-9])$
- oam_net_id:
- hidden: false
- immutable: false
- type: string
- description: Neutron UUID for the managemnet network name of the vIPR-ATM firewall
- default: 1ac9d738-f545-413a-a9a2-b44309edc511
- constraints: [
- ]
- vipr_atm_service_right_ip_prefix:
- hidden: false
- immutable: false
- type: string
- description: Right vIPR-ATM service network IP address prefix
- default: 10.254.4.0
- constraints:
- - pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- vipr_atm_service_left_ip_prefix_len:
- hidden: false
- immutable: false
- type: float
- description: Left vIPR-ATM service network IP address prefix length
- default: 24
- constraints:
- - in_range:
- - 0
- - 32
- vipr_atm_contrail_service_instance_fqdn:
- hidden: false
- immutable: false
- type: string
- description: FQDN of the vIPR-ATM firewall Contrail service instance for the port tuple
- default: default-domain:vIPR-ATM:vIPR-ATM-service-instance
- constraints:
- - pattern: ^(?:[^:]{1,64}:){2}(?:[^:]{1,255})$
- vipr_atm_ha_two_security_groups:
- hidden: false
- immutable: false
- type: list
- description: List of the security group to apply to the vIPR-ATM firewall ha1 port
- default:
- - 29e29a4a-b45d-42c2-ac14-b12a70036ae6
- entry_schema:
- type: string
- vipr_atm_ha_one_security_groups:
- hidden: false
- immutable: false
- type: list
- description: List of the security group to apply to the vIPR-ATM firewall ha0 port
- default:
- - cbf8049e-69e8-48c3-a06f-255634391403
- entry_schema:
- type: string
- node_templates:
- vIPR_ATM_OAM_SG:
- type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_OAM_SG
- params:
- VNF_NAME:
- get_input: vnf_name
- rules:
- - protocol: tcp
- remote_ip_prefix: 0.0.0.0/0
- port_range_max: 22
- port_range_min: 22
- - protocol: tcp
- remote_ip_prefix: 0.0.0.0/0
- port_range_max: 443
- port_range_min: 443
- - protocol: tcp
- remote_ip_prefix: 0.0.0.0/0
- port_range_max: 3978
- port_range_min: 3978
- - protocol: icmp
- remote_ip_prefix: 0.0.0.0/0
- vIPR_ATM_Left_RVMI:
- type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_3
- params:
- VM_NAME:
- get_input: vipr_atm_name_0
- virtual_network_refs:
- - get_input: vipr_atm_service_left_fqdn
- virtual_machine_interface_properties:
- service_interface_type: left
- port_tuple_refs:
- - UNSUPPORTED_RESOURCE_vIPR_ATM_RPT
- requirements:
- - link:
- capability: tosca.capabilities.network.Linkable
- node: vIPR_ATM_Service_Left
- relationship: tosca.relationships.network.LinksTo
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: vIPR_ATM_Firewall
- relationship: tosca.relationships.network.BindsTo
- vIPR_ATM_Service_Right:
- type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
- properties:
- network_ipam_refs_data:
- - network_ipam_refs_data_ipam_subnets:
- - network_ipam_refs_data_ipam_subnets_subnet:
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
- get_input: vipr_atm_service_right_ip_prefix_len
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
- get_input: vipr_atm_service_right_ip_prefix
- network_name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVICE_RIGHT_NETWORK
- params:
- VNF_NAME:
- get_input: vnf_name
- network_ipam_refs:
- - default-domain:default-project:default-network-ipam
- vIPR_ATM_Ha_Two:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- dhcp_enabled: false
- network_name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_TWO_NETWORK
- params:
- VNF_NAME:
- get_input: vnf_name
- subnets:
- vIPR_ATM_Ha_Two_Subnet:
- enable_dhcp: false
- name:
- str_replace:
- template: NET_NAME_SUBNET
- params:
- NET_NAME:
- get_attribute:
- - vIPR_ATM_Ha_Two
- - network_name
- cidr:
- get_input: vipr_atm_ha_two_cidr
- requirements:
- - dependency:
- capability: tosca.capabilities.Node
- node: vIPR_ATM_Ha_Two
- relationship: tosca.relationships.DependsOn
- vIPR_ATM_HA_TWO_SG:
- type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_TWO_SG
- params:
- VNF_NAME:
- get_input: vnf_name
- rules:
- - remote_mode: remote_group_id
- vIPR_ATM_HA_ONE_SG:
- type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_ONE_SG
- params:
- VNF_NAME:
- get_input: vnf_name
- rules:
- - remote_mode: remote_group_id
- vIPR_ATM_Ha_One:
- type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
- properties:
- dhcp_enabled: false
- network_name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_ONE_NETWORK
- params:
- VNF_NAME:
- get_input: vnf_name
- subnets:
- vIPR_ATM_Ha_One_Subnet:
- enable_dhcp: false
- name:
- str_replace:
- template: NET_NAME_SUBNET
- params:
- NET_NAME:
- get_attribute:
- - vIPR_ATM_Ha_One
- - network_name
- cidr:
- get_input: vipr_atm_ha_one_cidr
- requirements:
- - dependency:
- capability: tosca.capabilities.Node
- node: vIPR_ATM_Ha_One
- relationship: tosca.relationships.DependsOn
- vIPR_ATM_OAM_0_Port:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: false
- floating_ip_count_required:
- is_required: false
- security_groups:
- get_input: vipr_atm_oam_net_security_groups
- mac_requirements:
- mac_count_required:
- is_required: false
- name:
- str_replace:
- template: VM_NAME_PORT_0
- params:
- VM_NAME:
- get_input: vipr_atm_name_0
- network_role_tag: oam
- network:
- get_input: oam_net_id
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: vIPR_ATM_Firewall
- relationship: tosca.relationships.network.BindsTo
- vIPR_ATM_Service_Left:
- type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
- properties:
- network_ipam_refs_data:
- - network_ipam_refs_data_ipam_subnets:
- - network_ipam_refs_data_ipam_subnets_subnet:
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
- get_input: vipr_atm_service_left_ip_prefix_len
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
- get_input: vipr_atm_service_left_ip_prefix
- network_name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVICE_LEFT_NETWORK
- params:
- VNF_NAME:
- get_input: vnf_name
- network_ipam_refs:
- - default-domain:default-project:default-network-ipam
- vIPR_ATM_Right_RVMI:
- type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_4
- params:
- VM_NAME:
- get_input: vipr_atm_name_0
- virtual_network_refs:
- - get_input: vipr_atm_service_right_fqdn
- virtual_machine_interface_properties:
- service_interface_type: right
- port_tuple_refs:
- - UNSUPPORTED_RESOURCE_vIPR_ATM_RPT
- requirements:
- - link:
- capability: tosca.capabilities.network.Linkable
- node: vIPR_ATM_Service_Right
- relationship: tosca.relationships.network.LinksTo
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: vIPR_ATM_Firewall
- relationship: tosca.relationships.network.BindsTo
- vIPR_ATM_Ha_Two_0_Port:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- get_input: vipr_atm_ha_two_security_groups
- fixed_ips:
- - ip_address:
- get_input: vipr_atm_ha_two_ip_0
- mac_requirements:
- mac_count_required:
- is_required: false
- name:
- str_replace:
- template: VM_NAME_PORT_2
- params:
- VM_NAME:
- get_input: vipr_atm_name_0
- network:
- get_input: vipr_atm_ha_two_id
- requirements:
- - link:
- capability: tosca.capabilities.network.Linkable
- node: vIPR_ATM_Ha_Two
- relationship: tosca.relationships.network.LinksTo
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: vIPR_ATM_Firewall
- relationship: tosca.relationships.network.BindsTo
- vIPR_ATM_Firewall:
- type: org.openecomp.resource.vfc.nodes.heat.vipr_atm
- properties:
- flavor:
- get_input: vipr_atm_flavor_name
- availability_zone:
- get_input: availability_zone_0
- image:
- get_input: vipr_atm_image_name
- metadata:
- vf_module_id:
- get_input: vf_module_id
- vnf_id:
- get_input: vnf_id
- vnf_name:
- get_input: vnf_name
- contrail_service_instance_ind: true
- name:
- get_input: vipr_atm_name_0
- scheduler_hints:
- group:
- get_input: vipr_atm_server_group
- vIPR_ATM_Ha_One_0_Port:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- get_input: vipr_atm_ha_one_security_groups
- fixed_ips:
- - ip_address:
- get_input: vipr_atm_ha_one_ip_0
- mac_requirements:
- mac_count_required:
- is_required: false
- name:
- str_replace:
- template: VM_NAME_PORT_1
- params:
- VM_NAME:
- get_input: vipr_atm_name_0
- network:
- get_input: vipr_atm_ha_one_id
- requirements:
- - link:
- capability: tosca.capabilities.network.Linkable
- node: vIPR_ATM_Ha_One
- relationship: tosca.relationships.network.LinksTo
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: vIPR_ATM_Firewall
- relationship: tosca.relationships.network.BindsTo
- groups:
- vIPR_ATM_Server_Group_group:
- type: tosca.groups.Root
- members:
- - vIPR_ATM_Firewall
- vIPR-ATM-Base_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/vIPR-ATM-Base.yaml
- description: "HOT template to create the vIPR-ATM firwall service template\
- \ and instance. This template creates the following - Two service virtual\
- \ networks for each side (left and right) of the vIPR-ATM firewalls - Two\
- \ virtual networks for high availability between the vIPR-ATM firewalls\
- \ - A Contrail Service Template for the vIPR-ATM service - A Contrail Service\
- \ Instance for the vIPR-ATM service\nThe firewall virtual machines connected\
- \ to these created networks and managed by the vIPR-ATM service instance\
- \ will be created by the vIPR-ATM-Instance.yaml HOT template.\nNetwork Policy\
- \ that includes the vIPR-ATM service instance will be created by client\
- \ specific HOT templates or Contrail APIs. \n"
- members:
- - vIPR_ATM_Ha_One
- - vIPR_ATM_OAM_SG
- - vIPR_ATM_Service_Left
- - vIPR_ATM_Service_Right
- - vIPR_ATM_Ha_Two
- - vIPR_ATM_HA_TWO_SG
- - vIPR_ATM_HA_ONE_SG
- vIPR_ATM_Valet_EG_0_group:
- type: tosca.groups.Root
- members:
- - vIPR_ATM_Firewall
- vIPR-ATM-Instance_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/vIPR-ATM-Instance.yaml
- description: |
- HOT template to create a vIPR-ATM firwall service instance. This template creates the following - Contrail Port Tuple for this firwall service instance - Virtual machine interfaces and IP addresses attached to the two service virtual networks. These virtual machine interfaces will be used by the vIPR firewall service instance - Neutron ports for OAM, HA0, and HA1 networks - OS::Nova::Server with the created virtual machine interface and ports. This is the firewall service instance virtual machine.
- members:
- - vIPR_ATM_Left_RVMI
- - vIPR_ATM_OAM_0_Port
- - vIPR_ATM_Right_RVMI
- - vIPR_ATM_Ha_Two_0_Port
- - vIPR_ATM_Firewall
- - vIPR_ATM_Ha_One_0_Port
- outputs:
- vipr_atm_contrail_service_instance_fqdn:
- description: The FQDN for the Contrail Service Instance that is needed to create tenant OAM network policy to service change through the vIPR-ATM firewall.
- value:
- list_join:
- - ':'
- - get_attr:
- - vIPR_ATM_Service_Instance
- - fq_name
- policies:
- vIPR_ATM_Valet_EG_0_policy:
- type: org.openecomp.policies.placement.valet.Exclusivity
- properties:
- level: host
- targets:
- - vIPR_ATM_Valet_EG_0_group
- vIPR_ATM_Server_Group_policy:
- type: org.openecomp.policies.placement.Antilocate
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVER_GROUP
- params:
- VNF_NAME:
- get_input: vnf_name
- container_type: host
- targets:
- - vIPR_ATM_Server_Group_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/MANIFEST.json
deleted file mode 100644
index 96b8ed1d27..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "name": "vIPR",
- "description": "HOT template to create vIPR",
- "data": [
- {
- "file": "vIPR-ATM-Base.yaml",
- "type": "HEAT",
- "isBase": "true",
- "data": [
- {
- "file": "vIPR-ATM-Base.env",
- "type": "HEAT_ENV"
- }
- ]
- },
- {
- "file": "vIPR-ATM-Instance.yaml",
- "type": "HEAT",
- "isBase": "false",
- "data": [
- {
- "file": "vIPR-ATM-Instance.env",
- "type": "HEAT_ENV"
- }
- ]
- }
- ]
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.env b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.env
deleted file mode 100644
index acf1ac5d03..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.env
+++ /dev/null
@@ -1,14 +0,0 @@
-parameters:
- vipr_atm_service_left_ip_prefix: 10.254.3.0
- vipr_atm_service_left_ip_prefix_len: 24
-
- vipr_atm_service_right_ip_prefix: 10.254.4.0
- vipr_atm_service_right_ip_prefix_len: 24
-
- vipr_atm_ha_one_cidr: 192.168.35.0/29
- vipr_atm_ha_two_cidr: 192.168.35.8/29
-
- vnf_id: '1234'
- vnf_name: 'RD3TX100vfw'
- vf_module_id: '5678'
-
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.yaml
deleted file mode 100644
index fd70465878..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Base.yaml
+++ /dev/null
@@ -1,318 +0,0 @@
-heat_template_version: 2015-04-30
-
-description: >
- HOT template to create the vIPR-ATM firwall service template and instance.
- This template creates the following
- - Two service virtual networks for each side (left and right) of the vIPR-ATM firewalls
- - Two virtual networks for high availability between the vIPR-ATM firewalls
- - A Contrail Service Template for the vIPR-ATM service
- - A Contrail Service Instance for the vIPR-ATM service
-
- The firewall virtual machines connected to these created networks and managed by the
- vIPR-ATM service instance will be created by the vIPR-ATM-Instance.yaml HOT template.
-
- Network Policy that includes the vIPR-ATM service instance will be created by client
- specific HOT templates or Contrail APIs.
-
-parameters:
- vipr_atm_service_left_ip_prefix:
- type: string
- constraints:
- - allowed_pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- description: A valid IPv4 dot quad IP address.
- description: Left vIPR-ATM service network IP address prefix
- vipr_atm_service_left_ip_prefix_len:
- type: number
- constraints:
- - range: { min: 0, max: 32 }
- description: a valid IPv4 prefix value from 0 to 32.
- description: Left vIPR-ATM service network IP address prefix length
-
- vipr_atm_service_right_ip_prefix:
- type: string
- constraints:
- - allowed_pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- description: A valid IPv4 dot quad IP address.
- description: Right vIPR-ATM service network IP address prefix
- vipr_atm_service_right_ip_prefix_len:
- type: number
- constraints:
- - range: { min: 0, max: 32 }
- description: a valid IPv4 prefix value from 0 to 32.
- description: Right vIPR-ATM service network IP address prefix length
-
- vipr_atm_ha_one_cidr:
- type: string
- constraints:
- - allowed_pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(?:3[0-2]|[12]?[0-9])$
- description: A valid IPv4 CIDR (dot quad IP address / previx value 0 to 32).
- description: vIPR-ATM private High Availability Network One IP address CIDR
-
- vipr_atm_ha_two_cidr:
- type: string
- constraints:
- - allowed_pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(?:3[0-2]|[12]?[0-9])$
- description: A valid IPv4 CIDR (dot quad IP address / previx value 0 to 32).
- description: vIPR-ATM private High Availability Network Two IP address CIDR
-
- vnf_id:
- type: string
- description: Unique ID for this VNF instance
- vnf_name:
- type: string
- description: Unique name for this VNF instance
- vf_module_id:
- type: string
- description: Unique ID for the VF Module instance
-
-resources:
- vIPR_ATM_Service_Left:
- type: OS::ContrailV2::VirtualNetwork
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVICE_LEFT_NETWORK
- params:
- VNF_NAME: { get_param: vnf_name }
- network_ipam_refs: ["default-domain:default-project:default-network-ipam"]
- network_ipam_refs_data:
- [{
- network_ipam_refs_data_ipam_subnets:
- [{
- network_ipam_refs_data_ipam_subnets_subnet:
- {
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
- {
- get_param: vipr_atm_service_left_ip_prefix
- },
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
- {
- get_param: vipr_atm_service_left_ip_prefix_len
- },
- },
- }]
- }]
-
- vIPR_ATM_Service_Right:
- type: OS::ContrailV2::VirtualNetwork
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVICE_RIGHT_NETWORK
- params:
- VNF_NAME: { get_param: vnf_name }
- network_ipam_refs: ["default-domain:default-project:default-network-ipam"]
- network_ipam_refs_data:
- [{
- network_ipam_refs_data_ipam_subnets:
- [{
- network_ipam_refs_data_ipam_subnets_subnet:
- {
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
- {
- get_param: vipr_atm_service_right_ip_prefix
- },
- network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
- {
- get_param: vipr_atm_service_right_ip_prefix_len
- },
- },
- }]
- }]
-
- vIPR_ATM_Ha_One:
- type: OS::Neutron::Net
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_ONE_NETWORK
- params:
- VNF_NAME: { get_param: vnf_name }
-
- vIPR_ATM_Ha_One_Subnet:
- type: OS::Neutron::Subnet
- depends_on:
- - vIPR_ATM_Ha_One
- properties:
- name:
- str_replace:
- template: NET_NAME_SUBNET
- params:
- NET_NAME: { get_attr: [ vIPR_ATM_Ha_One, name ] }
- network: { get_resource: vIPR_ATM_Ha_One }
- cidr: { get_param: vipr_atm_ha_one_cidr }
- enable_dhcp: False
- gateway_ip: null
-
- vIPR_ATM_Ha_Two:
- type: OS::Neutron::Net
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_TWO_NETWORK
- params:
- VNF_NAME: { get_param: vnf_name }
-
- vIPR_ATM_Ha_Two_Subnet:
- type: OS::Neutron::Subnet
- depends_on:
- - vIPR_ATM_Ha_Two
- properties:
- name:
- str_replace:
- template: NET_NAME_SUBNET
- params:
- NET_NAME: { get_attr: [ vIPR_ATM_Ha_Two, name ] }
- network: { get_resource: vIPR_ATM_Ha_Two }
- cidr: { get_param: vipr_atm_ha_two_cidr }
- enable_dhcp: False
- gateway_ip: null
-
- vIPR_ATM_Service_Template:
- type: OS::ContrailV2::ServiceTemplate
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVICE_TEMPLATE
- params:
- VNF_NAME: { get_param: vnf_name }
- service_template_properties:
- {
- service_template_properties_version: 2,
- service_template_properties_service_mode: transparent,
- service_template_properties_service_type: firewall,
- service_template_properties_service_virtualization_type: virtual-machine,
- service_template_properties_interface_type:
- [
- {
- service_template_properties_interface_type_service_interface_type: Left,
- service_template_properties_interface_type_shared_ip: True,
- },
- {
- service_template_properties_interface_type_service_interface_type: Right,
- service_template_properties_interface_type_shared_ip: True,
- }
- ],
- }
- domain: default-domain
-
- vIPR_ATM_Service_Instance:
- type: OS::ContrailV2::ServiceInstance
- depends_on:
- - vIPR_ATM_Service_Left
- - vIPR_ATM_Service_Right
- - vIPR_ATM_Service_Template
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVICE_INSTANCE
- params:
- VNF_NAME: { get_param: vnf_name }
- service_template_refs: [{ get_resource: vIPR_ATM_Service_Template }]
- service_instance_properties:
- {
- service_instance_properties_ha_mode: active-active,
- service_instance_properties_left_virtual_network:
- {
- list_join: [':', { get_attr: [ vIPR_ATM_Service_Left, fq_name ] } ]
- },
- service_instance_properties_right_virtual_network:
- {
- list_join: [':', { get_attr: [ vIPR_ATM_Service_Right, fq_name ] } ]
- },
- }
-
- # Management (OAM) Port Security Group to allow ingress SSH
- vIPR_ATM_OAM_SG:
- type: OS::Neutron::SecurityGroup
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_OAM_SG
- params:
- VNF_NAME: { get_param: vnf_name }
- rules:
- - remote_ip_prefix: 0.0.0.0/0
- protocol: tcp
- port_range_min: 22
- port_range_max: 22
- - remote_ip_prefix: 0.0.0.0/0
- protocol: tcp
- port_range_min: 443
- port_range_max: 443
- - remote_ip_prefix: 0.0.0.0/0
- protocol: tcp
- port_range_min: 3978
- port_range_max: 3978
- - remote_ip_prefix: 0.0.0.0/0
- protocol: icmp
-
- vIPR_ATM_HA_ONE_SG:
- type: OS::Neutron::SecurityGroup
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_ONE_SG
- params:
- VNF_NAME: { get_param: vnf_name }
- rules:
- - remote_mode: remote_group_id
-
- vIPR_ATM_HA_TWO_SG:
- type: OS::Neutron::SecurityGroup
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_HA_TWO_SG
- params:
- VNF_NAME: { get_param: vnf_name }
- rules:
- - remote_mode: remote_group_id
-
- vIPR_ATM_Server_Group:
- type: OS::Nova::ServerGroup
- properties:
- name:
- str_replace:
- template: VNF_NAME_VIPR_ATM_SERVER_GROUP
- params:
- VNF_NAME: { get_param: vnf_name }
- policies:
- - anti-affinity
-
-outputs:
- vipr_atm_contrail_service_instance_fqdn:
- description: The FQDN for the Contrail Service Instance that is needed to create tenant OAM network policy to service change through the vIPR-ATM firewall.
- value: { list_join: [':', { get_attr: [ vIPR_ATM_Service_Instance, fq_name ] } ] }
-
- vipr_atm_service_left_fqdn:
- description: The FQDN for the vIPR-ATM Service Left network.
- value: { list_join: [':', { get_attr: [ vIPR_ATM_Service_Left, fq_name ] } ] }
-
- vipr_atm_service_right_fqdn:
- description: The FQDN for the vIPR-ATM Service Right network.
- value: { list_join: [':', { get_attr: [ vIPR_ATM_Service_Right, fq_name ] } ] }
-
- vipr_atm_ha_one_id:
- description: The UUID for the vIPR-ATM HA One network.
- value: { get_resource: vIPR_ATM_Ha_One }
-
- vipr_atm_ha_two_id:
- description: The UUID for the vIPR-ATM HA Two network.
- value: { get_resource: vIPR_ATM_Ha_Two }
-
- vipr_atm_oam_net_security_groups:
- description: The list of OpenStack Security Groups to appliy to the vIPR-ATM-Instance\'s OAM network.
- value: [ { get_resource: vIPR_ATM_OAM_SG } ]
-
- vipr_atm_ha_one_security_groups:
- description: The list of OpenStack Security Groups to appliy to the vIPR-ATM-Instance\'s HA One network.
- value: [ { get_resource: vIPR_ATM_HA_ONE_SG } ]
-
- vipr_atm_ha_two_security_groups:
- description: The list of OpenStack Security Groups to appliy to the vIPR-ATM-Instance\'s HA Two network.
- value: [ { get_resource: vIPR_ATM_HA_TWO_SG } ]
-
- vipr_atm_server_group:
- description: The UUID for the vIPR-ATM OpenStack Server Group
- value: { get_resource: vIPR_ATM_Server_Group }
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.env b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.env
deleted file mode 100644
index 77e8b8630a..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.env
+++ /dev/null
@@ -1,28 +0,0 @@
-parameters:
- oam_net_id: 1ac9d738-f545-413a-a9a2-b44309edc511
- vipr_atm_oam_net_security_groups: [ "c2369210-d154-4e4a-984d-047674beb5da" ]
-
- vipr_atm_contrail_service_instance_fqdn: default-domain:vIPR-ATM:vIPR-ATM-service-instance
-
- vipr_atm_service_left_fqdn: default-domain:vIPR-ATM:vIPR-ATM-service-left
- vipr_atm_service_right_fqdn: default-domain:vIPR-ATM:vIPR-ATM-service-right
-
- vipr_atm_ha_one_id: 4abaafc8-b8af-40b9-b0d0-32bd91f958ee
- vipr_atm_ha_one_ip_0: 192.168.35.1
- vipr_atm_ha_one_security_groups: [ "cbf8049e-69e8-48c3-a06f-255634391403" ]
-
- vipr_atm_ha_two_id: b75e27cf-452f-48ef-b107-8777e645c22d
- vipr_atm_ha_two_ip_0: 192.168.35.9
- vipr_atm_ha_two_security_groups: [ "29e29a4a-b45d-42c2-ac14-b12a70036ae6" ]
-
- vipr_atm_server_group: 885dbf7f-fcb2-42d2-a694-a5930ce35b71
-
- vipr_atm_name_0: zrcs1cctvpr001
- vipr_atm_image_name: vipr-atm-pan7.1
- vipr_atm_flavor_name: m1.vipr-atm-pan
- vipr_atm_valet_eg_0: CORE_INFRASTRUCTURE_VNFs
- availability_zone_0: 'nova'
-
- vnf_id: '1234'
- vnf_name: 'RD3TX100vfw'
- vf_module_id: '5678'
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.yaml
deleted file mode 100644
index ea3b8ab659..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/groupNameParameter/inputfiles/vIPR-ATM-Instance.yaml
+++ /dev/null
@@ -1,299 +0,0 @@
-heat_template_version: 2015-04-30
-
-description: >
- HOT template to create a vIPR-ATM firwall service instance.
- This template creates the following
- - Contrail Port Tuple for this firwall service instance
- - Virtual machine interfaces and IP addresses attached to the two
- service virtual networks. These virtual machine interfaces will be used
- by the vIPR firewall service instance
- - Neutron ports for OAM, HA0, and HA1 networks
- - OS::Nova::Server with the created virtual machine interface and ports. This
- is the firewall service instance virtual machine.
-
-parameters:
- oam_net_id:
- type: string
- constraints:
- - custom_constraint: neutron.network
- description: This network must currently exist.
- description: Neutron UUID for the managemnet network name of the vIPR-ATM firewall
- vipr_atm_oam_net_security_groups:
- type: comma_delimited_list
- description: List of the security group to apply to the vIPR-ATM firewall management port
-
- vipr_atm_service_left_fqdn:
- type: string
- constraints:
- - allowed_pattern: ^(?:[^:]{1,64}:){2}(?:[^:]{1,255})$
- description: |
- A valid Contrail FQDN that contains three parts seperated by ':'.
- The first two part are 1 to 64 characters long and must not contain ':'.
- The third part is 1 to 255 characters long and must not contain ':'.
- description: FQDN of the Left service network for the vIPR-ATM firewall
-
- vipr_atm_service_right_fqdn:
- type: string
- constraints:
- - allowed_pattern: ^(?:[^:]{1,64}:){2}(?:[^:]{1,255})$
- description: |
- A valid Contrail FQDN that contains three parts seperated by ':'.
- The first two part are 1 to 64 characters long and must not contain ':'.
- The third part is 1 to 255 characters long and must not contain ':'.
- description: FQDN of the Right service network for the vIPR-ATM firewall
-
- vipr_atm_ha_one_id:
- type: string
- constraints:
- - custom_constraint: neutron.network
- description: This network must currently exist.
- description: Neutron UUID of the first high availability network for the vIPR-ATM firewall
- vipr_atm_ha_one_ip_0:
- type: string
- constraints:
- - allowed_pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- description: A valid IPv4 dot quad IP address.
- description: Fixed IP to apply to the vIPR-ATM firewall ha0 port
- vipr_atm_ha_one_security_groups:
- type: comma_delimited_list
- description: List of the security group to apply to the vIPR-ATM firewall ha0 port
-
- vipr_atm_ha_two_id:
- type: string
- constraints:
- - custom_constraint: neutron.network
- description: This network must currently exist.
- description: Neutron UUID of the second high availability network for the vIPR-ATM firewal
- vipr_atm_ha_two_ip_0:
- type: string
- constraints:
- - allowed_pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
- description: A valid IPv4 dot quad IP address.
- description: Fixed IP to apply to the vIPR-ATM firewall ha1 port
- vipr_atm_ha_two_security_groups:
- type: comma_delimited_list
- description: List of the security group to apply to the vIPR-ATM firewall ha1 port
-
- vipr_atm_contrail_service_instance_fqdn:
- type: string
- constraints:
- - allowed_pattern: ^(?:[^:]{1,64}:){2}(?:[^:]{1,255})$
- description: |
- A valid Contrail FQDN that contains three parts seperated by ':'.
- The first two part are 1 to 64 characters long and must not contain ':'.
- The third part is 1 to 255 characters long and must not contain ':'.
- description: FQDN of the vIPR-ATM firewall Contrail service instance for the port tuple
-
- vipr_atm_name_0:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: Name of the vIPR-ATM firewall virtual machine
- vipr_atm_image_name:
- type: string
- constraints:
- - custom_constraint: glance.image
- description: This image must currently exist.
- description: Image name of the vIPR-ATM firewall virtual machine
- vipr_atm_flavor_name:
- type: string
- constraints:
- - custom_constraint: nova.flavor
- description: This flavor must currently exist.
- description: Flavor for the vIPR-ATM firewall virtual machine
- vipr_atm_server_group:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: Server Group with anti-affinity policy for the vIPR-ATM firewall virtual machine
- vipr_atm_valet_eg_0:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: The Valet 1.0 Exclusivity Group for the vIPR-ATM firewall virtual machine
- availability_zone_0:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: Availability Zone for the vIPR-ATM firewall virtual machine
-
- vnf_id:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: Unique ID for this VF instance
- vnf_name:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: Unique Name for this VF instance
- vf_module_id:
- type: string
- constraints:
- - length: { min: 1, max: 255 }
- description: A string with length of at least 1 and less than 255.
- description: Unique ID for the VF Module instance
-
-resources:
- # Create the Port Tuple
- vIPR_ATM_RPT:
- type: OS::ContrailV2::PortTuple
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_TUPLE
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- service_instance: { get_param: vipr_atm_contrail_service_instance_fqdn }
-
- # Left Port (Virtual Machine Interface)
- vIPR_ATM_Left_RVMI:
- type: OS::ContrailV2::VirtualMachineInterface
- depends_on: [ vIPR_ATM_RPT ]
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_3
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: 'left'
- }
- port_tuple_refs: [{ get_resource: vIPR_ATM_RPT }]
- virtual_network_refs: [{ get_param: vipr_atm_service_left_fqdn }]
-
- # Right Port (Virtual Machine Interface)
- vIPR_ATM_Right_RVMI:
- type: OS::ContrailV2::VirtualMachineInterface
- depends_on: [ vIPR_ATM_RPT ]
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_4
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: 'right'
- }
- port_tuple_refs: [{ get_resource: vIPR_ATM_RPT }]
- virtual_network_refs: [{ get_param: vipr_atm_service_right_fqdn }]
-
- # Left Instance IP
- vIPR_ATM_Left_RII:
- type: OS::ContrailV2::InstanceIp
- depends_on: [ vIPR_ATM_Left_RVMI ]
- properties:
- name:
- str_replace:
- template: VM_NAME_INSTANCE_IP_LEFT
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- virtual_machine_interface_refs: [{ get_resource: vIPR_ATM_Left_RVMI }]
- virtual_network_refs: [{ get_param: vipr_atm_service_left_fqdn }]
-
- # Right Instance IP
- vIPR_ATM_Right_RII:
- type: OS::ContrailV2::InstanceIp
- depends_on: [ vIPR_ATM_Right_RVMI ]
- properties:
- name:
- str_replace:
- template: VM_NAME_INSTANCE_IP_RIGHT
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- virtual_machine_interface_refs: [{ get_resource: vIPR_ATM_Right_RVMI }]
- virtual_network_refs: [{ get_param: vipr_atm_service_right_fqdn }]
-
- # OAM Network Port (not part of Port Tuple)
- vIPR_ATM_OAM_0_Port:
- type: OS::Neutron::Port
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_0
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- network: { get_param: oam_net_id }
- security_groups: { get_param: vipr_atm_oam_net_security_groups }
-
- # HA One Port (not part of Port Tuple)
- vIPR_ATM_Ha_One_0_Port:
- type: OS::Neutron::Port
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_1
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- network: { get_param: vipr_atm_ha_one_id }
- fixed_ips: [ { "ip_address": { get_param: vipr_atm_ha_one_ip_0 } } ]
- security_groups: { get_param: vipr_atm_ha_one_security_groups }
-
- # HA Two Port (not part of Port Tuple)
- vIPR_ATM_Ha_Two_0_Port:
- type: OS::Neutron::Port
- properties:
- name:
- str_replace:
- template: VM_NAME_PORT_2
- params:
- VM_NAME: { get_param: vipr_atm_name_0 }
- network: { get_param: vipr_atm_ha_two_id }
- fixed_ips: [ { "ip_address": { get_param: vipr_atm_ha_two_ip_0 } } ]
- security_groups: { get_param: vipr_atm_ha_two_security_groups }
-
- # Valet Exclusivity Group
- vIPR_ATM_Valet_EG_0:
- type: ATT::Valet::GroupAssignment
- properties:
- group_name: { get_param: vipr_atm_valet_eg_0 }
- group_type: exclusivity
- level: host
- resources:
- - { get_resource: vIPR_ATM_Firewall }
-
- # Create the VM and bind the five ports to it
- # vIPR_ATM_Firewall_Cloud_Config:
- # type: OS::Heat::CloudConfig
- # properties:
- # cloud_config:
- # password: ubuntu
- # chpasswd: { expire: False }
- # ssh_pwauth: True
- # manage_etc_hosts: true
-
- vIPR_ATM_Firewall:
- type: OS::Nova::Server
- depends_on:
- - vIPR_ATM_Left_RII
- - vIPR_ATM_Right_RII
- - vIPR_ATM_OAM_0_Port
- - vIPR_ATM_Ha_One_0_Port
- - vIPR_ATM_Ha_Two_0_Port
- properties:
- name: { get_param: vipr_atm_name_0 }
- image: { get_param: vipr_atm_image_name }
- flavor: { get_param: vipr_atm_flavor_name }
- availability_zone: { get_param: availability_zone_0 }
- scheduler_hints:
- group: { get_param: vipr_atm_server_group }
- networks:
- - port: { get_resource: vIPR_ATM_OAM_0_Port }
- - port: { get_resource: vIPR_ATM_Ha_One_0_Port }
- - port: { get_resource: vIPR_ATM_Ha_Two_0_Port }
- - port: { get_resource: vIPR_ATM_Left_RVMI }
- - port: { get_resource: vIPR_ATM_Right_RVMI }
- metadata:
- vnf_id: { get_param: vnf_id }
- vnf_name: { get_param: vnf_name }
- vf_module_id: { get_param: vf_module_id }
-# user_data_format: RAW
-# user_data: { get_resource: vIPR_ATM_Firewall_Cloud_Config }
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 5609b76193..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,292 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer3:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myPort6:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myPort5:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer3
- relationship: tosca.relationships.network.BindsTo
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myNovaServer3:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer3
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myPort6
- - myPort5
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myNovaServer3
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup1_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- - myNovaServer2
- SVCgroup3_complexTwoGroups_group:
- type: tosca.groups.Root
- members:
- - SVCgroup1_simpleGroup1_group
- policies:
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup1_group
- SVCgroup3_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup3_complexTwoGroups_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/main.yml
deleted file mode 100644
index 7dc385e7c8..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/invalidGroupAssignment/inputfiles/main.yml
+++ /dev/null
@@ -1,132 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myNovaServer3:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort5 }
- - port: { get_resource: myPort6 }
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- myPort5:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort6:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: simpleGroup1
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
- SVCgroup2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: invalid
- level: host
- resources:
- - { get_resource: myNovaServer3}
- SVCgroup3:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: complexTwoGroups
- level: host
- resources:
- - { get_resource: SVCgroup1}
- - { get_resource: SVCgroup2} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index d0f744c3a5..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,209 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup_group:
- type: tosca.groups.Root
- members: [
- ]
- policies:
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Diversity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/main.yml
deleted file mode 100644
index ce061c122a..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/notconnected/inputfiles/main.yml
+++ /dev/null
@@ -1,88 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: diversity
- group_name: simpleGroup
- level: host
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index b16c6c0247..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,209 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- policies:
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Exclusivity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/main.yml
deleted file mode 100644
index caa95edfa9..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleNovaAndNotSupportedResource/inputfiles/main.yml
+++ /dev/null
@@ -1,96 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- myDummyResource:
- type: myDummyResource::type
- properties:
- prop: propertyValue
-
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: exclusivity
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myDummyResource}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index a43a1d1f5d..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,209 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_emptyGroup_group:
- type: tosca.groups.Root
- members: [
- ]
- policies:
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup1_emptyGroup_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/main.yml
deleted file mode 100644
index e5842434e1..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNotSupportedResources/inputfiles/main.yml
+++ /dev/null
@@ -1,103 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myDummyResource1:
- type: myDummyResource1
- properties:
- prop1: aaaa
-
- myDummyResource2:
- type: myDummyResource2
- properties:
- prop1: bbb
-
-
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: emptyGroup
- level: host
- resources:
- - { get_resource: myDummyResource1}
- - { get_resource: myDummyResource2}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 3ec1bd245e..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,210 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- - myNovaServer2
- policies:
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Affinity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/main.yml
deleted file mode 100644
index 586a7343e4..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlyNova/inputfiles/main.yml
+++ /dev/null
@@ -1,91 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
- - { get_resource: myNovaServer2}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml
deleted file mode 100644
index 56b552b348..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/expectedoutputfiles/MainServiceTemplate.yaml
+++ /dev/null
@@ -1,209 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-metadata:
- template_name: Main
-imports:
-- openecomp_heat_index:
- file: openecomp-heat/_index.yml
-node_types:
- org.openecomp.resource.vfc.nodes.heat.myNovaServer2:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
- org.openecomp.resource.vfc.nodes.heat.myNovaServer1:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
-topology_template:
- inputs:
- flavor:
- hidden: false
- immutable: false
- type: string
- p1:
- hidden: false
- immutable: false
- type: string
- description: p1
- image:
- hidden: false
- immutable: false
- type: string
- p2:
- hidden: false
- immutable: false
- type: string
- description: p2
- names:
- hidden: false
- immutable: false
- type: string
- myIPs:
- hidden: false
- immutable: false
- type: string
- description: ip1
- availability_zone_1:
- hidden: false
- immutable: false
- type: string
- description: myAvailability_zone_1
- net:
- hidden: false
- immutable: false
- type: string
- description: UID of network
- node_templates:
- myNovaServer1:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer1
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myNovaServer2:
- type: org.openecomp.resource.vfc.nodes.heat.myNovaServer2
- properties:
- flavor:
- get_input: flavor
- availability_zone:
- get_input: availability_zone_1
- image:
- get_input: image
- name:
- get_input:
- - names
- - 0
- myPort2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort1:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer1
- relationship: tosca.relationships.network.BindsTo
- myPort4:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p2
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- myPort3:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- ip_requirements:
- - ip_version: 4
- ip_count_required:
- is_required: true
- floating_ip_count_required:
- is_required: false
- security_groups:
- - get_input: p1
- fixed_ips:
- - ip_address:
- get_input:
- - myIPs
- - 0
- mac_requirements:
- mac_count_required:
- is_required: false
- network:
- get_input: net
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: myNovaServer2
- relationship: tosca.relationships.network.BindsTo
- groups:
- main_group:
- type: org.openecomp.groups.heat.HeatStack
- properties:
- heat_file: ../Artifacts/main.yml
- description: cmaui server template for vMMSC
- members:
- - myNovaServer1
- - myNovaServer2
- - myPort2
- - myPort1
- - myPort4
- - myPort3
- SVCgroup1_simpleGroup_group:
- type: tosca.groups.Root
- members:
- - myNovaServer1
- policies:
- SVCgroup1_policy:
- type: org.openecomp.policies.placement.valet.Diversity
- properties:
- level: host
- targets:
- - SVCgroup1_simpleGroup_group \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/MANIFEST.json
deleted file mode 100644
index 539e26b7ab..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "true"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml
deleted file mode 100644
index f7079ce7ce..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/att-sdc-translator-impl/src/test/resources/mock/services/heattotosca/attValetGroupAssignment/simpleOnlySingleNova/inputfiles/main.yml
+++ /dev/null
@@ -1,90 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- net:
- type: string
- description: UID of network
- p1:
- type: string
- description: p1
- p2:
- type: string
- description: p2
- myIPs:
- type: string
- description: ip1
- availability_zone_1:
- type: string
- description: myAvailability_zone_1
- names:
- type: string
- image:
- type: string
- flavor:
- type: string
-resources:
-
- myNovaServer1:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort1 }
- - port: { get_resource: myPort2 }
-
-
- myNovaServer2:
- type: OS::Nova::Server
- properties:
- name: { get_param: [names, 0]}
- image: { get_param: image }
- availability_zone: { get_param: availability_zone_1 }
- flavor: { get_param: flavor }
- networks:
- - port: { get_resource: myPort3 }
- - port: { get_resource: myPort4 }
-
- myPort1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort2:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
-
- myPort3:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p1}]
- replacement_policy: AUTO
-
- myPort4:
- type: OS::Neutron::Port
- properties:
- network: { get_param: net }
- fixed_ips: [{"ip_address": {get_param: [myIPs, 0]}}]
- security_groups: [{get_param: p2}]
- replacement_policy: AUTO
- SVCgroup1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: diversity
- group_name: simpleGroup
- level: host
- resources:
- - { get_resource: myNovaServer1}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/pom.xml b/openecomp-be/lib/openecomp-sdc-translator-lib/pom.xml
index b5ffede881..bf7f5aa957 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/pom.xml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/pom.xml
@@ -19,7 +19,6 @@
<module>openecomp-sdc-translator-sdk</module>
<module>openecomp-sdc-translator-core</module>
<module>openecomp-sdc-translator-impl</module>
- <module>att-sdc-translator-impl</module>
</modules>
<dependencies>
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/pom.xml b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/pom.xml
deleted file mode 100644
index 8208d8bfca..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/pom.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <name>att-sdc-validation-impl</name>
- <artifactId>att-sdc-validation-impl</artifactId>
-
-
- <parent>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-lib</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../..</relativePath>
- </parent>
-
- <dependencies>
- <dependency>
- <groupId>org.openecomp.sdc.core</groupId>
- <artifactId>openecomp-facade-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-datatypes-lib</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-logging-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-logging-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-validation-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-validation-core</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-validation-impl</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc.core</groupId>
- <artifactId>openecomp-heat-lib</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>${testng.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openecomp.sdc</groupId>
- <artifactId>openecomp-sdc-validation-sdk</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${mvn.surefire.version}</version>
- <configuration>
- <useSystemClassLoader>false</useSystemClassLoader>
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttHeatResourceTypes.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttHeatResourceTypes.java
deleted file mode 100644
index 427fc9c84a..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttHeatResourceTypes.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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 com.att.sdc.validation.datatypes;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public enum AttHeatResourceTypes {
- ATT_VALET_GROUP_ASSIGNMENT("ATT::Valet::GroupAssignment");
-
- private static Map<String, AttHeatResourceTypes> stringToAttRsourceMap;
-
- static {
- stringToAttRsourceMap = new HashMap<>();
-
- for (AttHeatResourceTypes attHeatResourceType : AttHeatResourceTypes.values()) {
- stringToAttRsourceMap.put(attHeatResourceType.type, attHeatResourceType);
- }
- }
-
- private String type;
-
-
- AttHeatResourceTypes(String type) {
- this.type = type;
- }
-
- public String getType() {
- return type;
- }
-
- public static AttHeatResourceTypes findByResourceType(String type) {
- return stringToAttRsourceMap.get(type);
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerErrorDescription.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerErrorDescription.java
deleted file mode 100644
index c4f1d0a4b4..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerErrorDescription.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package com.att.sdc.validation.datatypes;
-
-/**
- * Created by TALIO on 5/21/2017.
- */
-public class AttLoggerErrorDescription {
-
- public static final String ATT_VALET_IN_USE = "ATT Valet group type is in use";
-}
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerTargetServiceName.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerTargetServiceName.java
deleted file mode 100644
index 111a9873fc..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttLoggerTargetServiceName.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package com.att.sdc.validation.datatypes;
-
-/**
- * Created by TALIO on 5/21/2017.
- */
-public class AttLoggerTargetServiceName {
-
- public static final String VALIDATE_ATT_VALET_TYPE = "Validate OPENECOMP Valet Group Resosurce Type";
-}
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttValetGroupTypeValues.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttValetGroupTypeValues.java
deleted file mode 100644
index 08647b18af..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/datatypes/AttValetGroupTypeValues.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 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 com.att.sdc.validation.datatypes;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
-
-public enum AttValetGroupTypeValues {
- EXCLUSIVITY("exclusivity"),
- AFFINITY("affinity"),
- DIVERSITY("diversity");
-
- private static List<String> groupTypeAsStrings;
-
- static {
- groupTypeAsStrings = new ArrayList<>();
- for (AttValetGroupTypeValues attGroupTypeValue : AttValetGroupTypeValues.values()) {
- groupTypeAsStrings.add(attGroupTypeValue.groupTypeValue);
- }
- }
-
- private String groupTypeValue;
-
- AttValetGroupTypeValues(String groupTypeValue) {
- this.groupTypeValue = groupTypeValue;
- }
-
- public static boolean isGroupTypeValid(Object groupType) {
- if (groupType instanceof Map) {
- return true;
- }
- return groupTypeAsStrings.contains(groupType);
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidator.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidator.java
deleted file mode 100644
index 30b65f4b3e..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidator.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package com.att.sdc.validation.impl.validators;
-
-import com.att.sdc.validation.datatypes.AttLoggerErrorDescription;
-import com.att.sdc.validation.datatypes.AttLoggerTargetServiceName;
-import com.att.sdc.validation.datatypes.AttValetGroupTypeValues;
-import com.att.sdc.validation.messages.Messages;
-import org.apache.commons.collections4.MapUtils;
-import org.openecomp.core.validation.errors.ErrorMessagesFormatBuilder;
-import org.openecomp.core.validation.types.GlobalValidationContext;
-import org.openecomp.sdc.datatypes.error.ErrorLevel;
-import org.openecomp.sdc.heat.datatypes.model.Resource;
-import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage;
-import org.openecomp.sdc.validation.ResourceValidator;
-import org.openecomp.sdc.validation.ValidationContext;
-
-import java.util.Map;
-import java.util.Objects;
-
-/**
- * Created by TALIO on 2/26/2017.
- */
-public class AttValetGroupAssignmentResourceValidator implements ResourceValidator {
- private static MdcDataDebugMessage mdcDataDebugMessage = new MdcDataDebugMessage();
-
- @Override
- public void validate(String fileName, Map.Entry<String, Resource> resourceEntry,
- GlobalValidationContext globalContext, ValidationContext validationContext) {
- mdcDataDebugMessage.debugEntryMessage("file", fileName);
-
- Resource resource = resourceEntry.getValue();
-
- Map<String, Object> propertiesMap = resource.getProperties();
- if (MapUtils.isEmpty(propertiesMap)) {
- return;
- }
-
- Object groupTypeValue = propertiesMap.get("group_type");
- if (Objects.isNull(groupTypeValue)) {
- return;
- }
-
- validateGroupTypeValue(fileName, resourceEntry.getKey(), groupTypeValue, globalContext);
- mdcDataDebugMessage.debugExitMessage("file", fileName);
- }
-
- private static void validateGroupTypeValue(String fileName, String resourceId,
- Object groupTypeValue,
- GlobalValidationContext globalContext) {
- mdcDataDebugMessage.debugEntryMessage("file", fileName);
-
- if (!AttValetGroupTypeValues.isGroupTypeValid(groupTypeValue)) {
- globalContext.addMessage(fileName, ErrorLevel.WARNING, ErrorMessagesFormatBuilder
- .getErrorWithParameters(Messages.UNEXPECTED_GROUP_TYPE_ATT_VALET.getErrorMessage(),
- resourceId), AttLoggerTargetServiceName.VALIDATE_ATT_VALET_TYPE,
- AttLoggerErrorDescription.ATT_VALET_IN_USE);
- }
-
- mdcDataDebugMessage.debugExitMessage("file", fileName);
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/messages/Messages.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/messages/Messages.java
deleted file mode 100644
index 0b3274edf0..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/java/com/att/sdc/validation/messages/Messages.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package com.att.sdc.validation.messages;
-
-/**
- * Created by TALIO on 5/17/2017.
- */
-public enum Messages {
-
- UNEXPECTED_GROUP_TYPE_ATT_VALET(
- "Unexpected group_type for ATT::Valet::GroupAssignment, Resource ID [%s]");
-
- private String errorMessage;
-
- Messages(String errorMessage) {
- this.errorMessage = errorMessage;
- }
-
- public String getErrorMessage() {
- return errorMessage;
- }
-}
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/resources/config-merge-validaton.json b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/resources/config-merge-validaton.json
deleted file mode 100644
index 179f13c344..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/main/resources/config-merge-validaton.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "validatorImplementations": {
- "resourceHeatValidator": {
- "properties": {
- "resourceBaseValidator": {
- "ATT::Valet::GroupAssignment": {
- "enable": true,
- "implementationClass": "com.att.sdc.validation.impl.validators.AttValetGroupAssignmentResourceValidator"
- }
- }
- }
- }
- },
- "_config": {
- "namespace": "validation",
- "mergeStrategy": "merge"
- }
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidatorTest.java b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidatorTest.java
deleted file mode 100644
index acb54f4140..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/java/com/att/sdc/validation/impl/validators/AttValetGroupAssignmentResourceValidatorTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package com.att.sdc.validation.impl.validators;
-
-import com.att.sdc.validation.datatypes.AttHeatResourceTypes;
-import org.openecomp.core.validation.api.ValidationManager;
-import org.openecomp.core.validation.factory.ValidationManagerFactory;
-import org.openecomp.core.validation.types.GlobalValidationContext;
-import org.openecomp.core.validation.types.MessageContainer;
-import org.openecomp.sdc.datatypes.error.ErrorLevel;
-import org.openecomp.sdc.datatypes.error.ErrorMessage;
-import org.openecomp.sdc.validation.impl.validators.HeatResourceValidator;
-import org.openecomp.sdc.validation.util.ValidationTestUtil;
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-import java.io.IOException;
-import java.util.List;
-import java.util.Map;
-
-
-public class AttValetGroupAssignmentResourceValidatorTest {
-
- HeatResourceValidator baseValidator = new HeatResourceValidator();
- AttValetGroupAssignmentResourceValidator resourceValidator = new
- AttValetGroupAssignmentResourceValidator();
-
- @Test
- public void testATTValetGroupType() {
- Map<String, MessageContainer> messages = ValidationTestUtil.testValidator(baseValidator,
- resourceValidator, AttHeatResourceTypes.ATT_VALET_GROUP_ASSIGNMENT.getType(),
- "/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive");
- Assert.assertNotNull(messages);
- Assert.assertEquals(messages.size(), 0);
-
- messages = ValidationTestUtil.testValidator(baseValidator,
- resourceValidator, AttHeatResourceTypes.ATT_VALET_GROUP_ASSIGNMENT.getType(),
- "/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative");
- Assert.assertNotNull(messages);
- Assert.assertEquals(messages.size(), 1);
- Assert.assertEquals(messages.get("first.yaml").getErrorMessageList().size(), 2);
- Assert.assertEquals(messages.get("first.yaml").getErrorMessageList().get(0).getMessage(),
- "WARNING: Unexpected group_type for ATT::Valet::GroupAssignment, Resource ID [valet_group_assignment_illegal_1]");
- Assert.assertEquals(messages.get("first.yaml").getErrorMessageList().get(1).getMessage(),
- "WARNING: Unexpected group_type for ATT::Valet::GroupAssignment, Resource ID [valet_group_assignment_illegal_2]");
- }
-
- @Test
- public void testValidationWithFullFlowFromValidationFactory() throws IOException {
- GlobalValidationContext globalContext = ValidationTestUtil.createGlobalContextFromPath(
- "/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative");
- ValidationManager validationManager = ValidationManagerFactory.getInstance().createInterface();
- validationManager.updateGlobalContext(globalContext);
- Map<String, List<ErrorMessage>> messages = validationManager.validate();
-
- Assert.assertNotNull(messages);
- ErrorMessage excpectedMessage = new ErrorMessage(ErrorLevel.WARNING,
- "WARNING: Unexpected group_type for ATT::Valet::GroupAssignment, Resource ID [valet_group_assignment_illegal_1]");
- Assert.assertTrue(messages.get("first.yaml").contains(excpectedMessage));
- }
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/MANIFEST.json
deleted file mode 100644
index 76ce6de6e6..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/MANIFEST.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "validTest",
- "description": "Valid Test",
- "version": "1610",
- "data": [
- {
- "file": "first.yaml",
- "type": "HEAT",
- "isBase": true,
- "data": [
- {
- "file": "first.env",
- "type": "HEAT_ENV"
- },
- {
- "file": "firstVol.yaml",
- "type": "HEAT_VOL"
- }
- ]
- },
- {
- "file": "second.yaml",
- "type": "HEAT",
- "isBase": false
- }
- ]
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.env b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.env
deleted file mode 100644
index e69de29bb2..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.env
+++ /dev/null
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.yaml b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.yaml
deleted file mode 100644
index 99e707e91d..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/first.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: heat expose volume resource
-
-resources:
- valet_group_assignment_illegal_1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: blabla
-
- valet_group_assignment_illegal_2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: blabla
-
- valet_group_assignment_legal:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: diversity
-
-
-
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/second.yaml b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/second.yaml
deleted file mode 100644
index bb06b9d60a..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/negative/second.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: heat second
-
-resources:
- network_expose:
- type: OS::Neutron::Net
-
-outputs:
- expose_resource_network_output:
- description: the pcrf_server
- value: { get_resource: network_expose }
-
-
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/MANIFEST.json
deleted file mode 100644
index 76ce6de6e6..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/MANIFEST.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "validTest",
- "description": "Valid Test",
- "version": "1610",
- "data": [
- {
- "file": "first.yaml",
- "type": "HEAT",
- "isBase": true,
- "data": [
- {
- "file": "first.env",
- "type": "HEAT_ENV"
- },
- {
- "file": "firstVol.yaml",
- "type": "HEAT_VOL"
- }
- ]
- },
- {
- "file": "second.yaml",
- "type": "HEAT",
- "isBase": false
- }
- ]
-} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.env b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.env
deleted file mode 100644
index e69de29bb2..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.env
+++ /dev/null
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.yaml b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.yaml
deleted file mode 100644
index 14f8e7e550..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/first.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: heat expose volume resource
-
-resources:
- valet_group_assigment_legal_1:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: affinity
-
- valet_group_assigment_legal_2:
- type: ATT::Valet::GroupAssignment
- properties:
- group_type: diversity
-
-
-
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/second.yaml b/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/second.yaml
deleted file mode 100644
index bb06b9d60a..0000000000
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/att-sdc-validation-impl/src/test/resources/com/att/sdc/validation/impl/validators/att_heat_validator/att_valet_group_type/positive/second.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: heat second
-
-resources:
- network_expose:
- type: OS::Neutron::Net
-
-outputs:
- expose_resource_network_output:
- description: the pcrf_server
- value: { get_resource: network_expose }
-
-
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/pom.xml b/openecomp-be/lib/openecomp-sdc-validation-lib/pom.xml
index 572055b13a..717afb6c33 100644
--- a/openecomp-be/lib/openecomp-sdc-validation-lib/pom.xml
+++ b/openecomp-be/lib/openecomp-sdc-validation-lib/pom.xml
@@ -19,7 +19,6 @@
<module>openecomp-sdc-validation-core</module>
<module>openecomp-sdc-validation-impl</module>
<module>openecomp-sdc-validation-sdk</module>
- <module>att-sdc-validation-impl</module>
</modules>
</project>
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/CandidateServiceImpl.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/CandidateServiceImpl.java
index 4c38bd94a7..640777e993 100644
--- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/CandidateServiceImpl.java
+++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/CandidateServiceImpl.java
@@ -340,7 +340,8 @@ public class CandidateServiceImpl implements CandidateService {
Optional<String> jsonFileDataStructure =
orchestrationTemplateCandidateDataDao.getStructure(vspId, version);
- if (jsonFileDataStructure.isPresent()) {
+ if (jsonFileDataStructure.isPresent()
+ && JsonUtil.isValidJson(jsonFileDataStructure.get())) {
mdcDataDebugMessage.debugExitMessage("VSP Id", vspId);
return Optional
.of(JsonUtil.json2Object(jsonFileDataStructure.get(), FilesDataStructure.class));
diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml
index e09fe8cbed..442b7dec15 100644
--- a/openecomp-be/pom.xml
+++ b/openecomp-be/pom.xml
@@ -148,7 +148,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
+ <version>${mvn.antrun.version}</version>
<executions>
<execution>
<phase>post-integration-test</phase>
diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml
index 206c1854d5..a5eaeef39a 100644
--- a/openecomp-ui/pom.xml
+++ b/openecomp-ui/pom.xml
@@ -36,17 +36,17 @@
<fileset>
<directory>${basedir}/dist</directory>
</fileset>
- <fileset>
- <directory>${basedir}/node_modules</directory>
- </fileset>
+ <!--<fileset>-->
+ <!--<directory>${basedir}/node_modules</directory>-->
+ <!--</fileset>-->
<fileset>
<directory>${basedir}/../dox-sequence-diagram-ui/dist
</directory>
</fileset>
- <fileset>
- <directory>${basedir}/../dox-sequence-diagram-ui/node_modules
- </directory>
- </fileset>
+ <!--<fileset>-->
+ <!--<directory>${basedir}/../dox-sequence-diagram-ui/node_modules-->
+ <!--</directory>-->
+ <!--</fileset>-->
</filesets>
</configuration>
</execution>
diff --git a/openecomp-ui/resources/scss/modules/_licenseModelLimits.scss b/openecomp-ui/resources/scss/modules/_licenseModelLimits.scss
index 32fd128f2e..16b6af7cf9 100644
--- a/openecomp-ui/resources/scss/modules/_licenseModelLimits.scss
+++ b/openecomp-ui/resources/scss/modules/_licenseModelLimits.scss
@@ -38,23 +38,30 @@
.list-editor-item-view-content {
padding-left: 0;
}
- .svg-icon-wrapper.trashO {
- margin-bottom: 0;
+
+ .svg-icon {
+ margin-top: 10px;
margin-right: 50px;
- .svg-icon {
- fill: $gray;
- height: 16px;
- width: 16px;
- &:hover {
- fill: $dark-gray;
- }
- }
+ fill: $gray;
+ &:hover {
+ fill: $dark-gray;
+ }
}
+
&.selectable {
&:hover {
+ .list-editor-item-view-field {
+ .text.description, .text-name {
+ &:after {
+ background-color: darken($tlv-light-gray, 4%);
+ }
+ }
+
+ }
background-color: darken($tlv-light-gray, 4%);
cursor: pointer;
}
+
}
&:hover {
border-color: transparent;
@@ -65,20 +72,20 @@
display: flex;
align-items: center;
white-space: nowrap;
-
+
&.limit-name {
.text.name {
@extend .body-1-semibold;
color: $blue;
text-transform: uppercase;
- padding: 0px 10px;
+ margin-left : 45px;
}
border-right: 1px solid $light-gray;
margin-right: 22px;
flex: 0.4;
display: flex;
- justify-content: center;
+ justify-content: left;
}
&.limit-description {
@@ -90,10 +97,15 @@
max-width: 300px;
}
+
.text.description, .text.name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+ &:after {
+ background: $tlv-light-gray;
+ }
+
}
}
diff --git a/openecomp-ui/src/nfvo-components/modal/GlobalModal.js b/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
index e05c2ac616..f282046125 100644
--- a/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
+++ b/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
@@ -112,7 +112,10 @@ export class GlobalModalView extends React.Component {
<Modal.Title>{title}</Modal.Title>
</Modal.Header>
<Modal.Body>
- {ComponentToRender ? <ComponentToRender {...modalComponentProps}/> : msg}
+ {ComponentToRender ?
+ <ComponentToRender {...modalComponentProps}/> :
+ <div> {msg && msg.split('\n').map(txt => <span> {txt} <br/> </span>)} </div>
+ }
</Modal.Body>
{(onConfirmed || onDeclined || type !== typeEnum.DEFAULT) &&
<ModalFooter
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
index 6426847cfc..ae3d3932ed 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProduct.js
@@ -274,8 +274,9 @@ const mapActionsToProps = (dispatch, {currentScreen: {screen, props: {softwarePr
const props = {
onVersionSwitching: (version, meta) => {
+ const screenToLoad = !currentComponentId ? screen : enums.SCREEN.SOFTWARE_PRODUCT_COMPONENTS;
SoftwareProductActionHelper.fetchSoftwareProduct(dispatch, {softwareProductId, version});
- props.onNavigate({id: getActiveNavigationId(screen, currentComponentId), meta, version});
+ props.onNavigate({id: getActiveNavigationId(screenToLoad), meta, version});
},
onToggle: (groups, itemIdToExpand) => groups.map(({items}) => SoftwareProductActionHelper.toggleNavigationItems(dispatch, {items, itemIdToExpand})),
onNavigate: ({id, meta, version}) => {
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js
index 41306a1c1a..db7afd27d9 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js
@@ -114,7 +114,7 @@ function objToString(obj) {
}
}
}
- return str;
+ return str.replace(/\n$/, '');
}
function parseUploadErrorMsg(error) {
@@ -124,7 +124,7 @@ function parseUploadErrorMsg(error) {
message += objToString(error[key]) + '\n';
}
}
- return message;
+ return message.replace(/\n$/, '');
}
function fetchSoftwareProductCategories(dispatch) {
diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml
index a4c8036214..009c86ec44 100644
--- a/sdc-os-chef/pom.xml
+++ b/sdc-os-chef/pom.xml
@@ -74,7 +74,19 @@
<include>normatives.tar.gz</include>
</includes>
</fileset>
-
+ <!-- Sanity jar -->
+ <fileset>
+ <directory>${project.basedir}/sdc-sanity</directory>
+ <followSymlinks>false</followSymlinks>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileset>
+ <!-- Sanity test suites -->
+ <fileset>
+ <directory>${project.basedir}/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/testSuites</directory>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
</filesets>
</configuration>
</execution>
@@ -380,7 +392,7 @@
<tags>
<tag>${docker.tag}</tag>
<tag>${docker.latest.tag}</tag>
- <tag>1.1-STAGING-latest</tag>
+ <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
</tags>
</build>
</image>
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 63f89d1f96..20cde17f57 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -212,5 +212,5 @@ echo "Triger sanity docker, please wait..."
if [ ${LOCAL} = false ]; then
docker pull ${PREFIX}/sdc-sanity:${RELEASE}
fi
- docker run --detach --name sdc-sanity --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}" --env http_proxy=${http_proxy} --env https_proxy=${https_proxy} --env no_proxy=${no_proxy} --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 512m --memory-swap=512m --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume /data/logs/sdc-sanity/target:/var/lib/tests/target --volume /data/logs/sdc-sanity/ExtentReport:/var/lib/tests/ExtentReport --volume /data/environments:/root/chef-solo/environments --publish 9560:9560 ${PREFIX}/sdc-sanity:${RELEASE}
+ docker run --detach --name sdc-sanity --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}" --env http_proxy=${http_proxy} --env https_proxy=${https_proxy} --env no_proxy=${no_proxy} --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --memory 1g --memory-swap=1g --ulimit nofile=4096:100000 --volume /etc/localtime:/etc/localtime:ro --volume /data/logs/sdc-sanity/target:/var/lib/tests/target --volume /data/logs/sdc-sanity/ExtentReport:/var/lib/tests/ExtentReport --volume /data/environments:/root/chef-solo/environments --publish 9560:9560 ${PREFIX}/sdc-sanity:${RELEASE}
fi \ No newline at end of file
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_clearwater.zip b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_clearwater.zip
deleted file mode 100644
index bb91a948a6..0000000000
--- a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_clearwater.zip
+++ /dev/null
Binary files differ
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_vlb.zip b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_vlb.zip
deleted file mode 100644
index 19c8a7d599..0000000000
--- a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/base_vlb.zip
+++ /dev/null
Binary files differ
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vCSCF_aligned.csar b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vCSCF_aligned.csar
new file mode 100644
index 0000000000..ea977bea80
--- /dev/null
+++ b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vCSCF_aligned.csar
Binary files differ
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vLB.zip b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vLB.zip
new file mode 100644
index 0000000000..b61ca1b83b
--- /dev/null
+++ b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/Files/VNFs/vLB.zip
Binary files differ
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_3_logback.rb b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_3_logback.rb
deleted file mode 100644
index 0d9282b28a..0000000000
--- a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_3_logback.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-jetty_base="/var/lib/jetty"
-
-
-cookbook_file "logback.xml" do
- path "#{jetty_base}/config/sdc-simulator/logback.xml"
- source "logback.xml"
- owner "jetty"
- group "jetty"
- mode "0755"
-end \ No newline at end of file
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_4_locate_keystore.rb b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_4_locate_keystore.rb
deleted file mode 100644
index 3bb482d89a..0000000000
--- a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_4_locate_keystore.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-jetty_base="/var/lib/jetty"
-
-directory "Jetty_etcdir_creation" do
- path "/#{jetty_base}/etc"
- owner 'jetty'
- group 'jetty'
- mode '0755'
- action :create
-end
-
-cookbook_file "/#{jetty_base}/etc/keystore" do
- source "keystore"
- owner "jetty"
- group "jetty"
- mode 0755
-end \ No newline at end of file
diff --git a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_5_create_jetty_modules.rb b/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_5_create_jetty_modules.rb
deleted file mode 100644
index 38b87fa65d..0000000000
--- a/sdc-os-chef/sdc-sanity/chef-repo/cookbooks/sdc-sanity/recipes/SDC_Simulator_5_create_jetty_modules.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-jetty_base="/var/lib/jetty"
-jetty_home="/usr/local/jetty"
-
-###### create Jetty modules
-bash "create-jetty-modules" do
-cwd "#{jetty_base}"
-code <<-EOH
- cd "#{jetty_base}"
- java -jar "/#{jetty_home}"/start.jar --add-to-start=deploy
- java -jar "/#{jetty_home}"/start.jar --add-to-startd=http,https,logging,setuid
-EOH
-not_if "ls /#{jetty_base}/start.d/https.ini"
-end
-
diff --git a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnboardingDataProviders.java
index 8b58ca9993..cf94c79462 100644
--- a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnbordingDataProviders.java
+++ b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/dataProviders/OnboardingDataProviders.java
@@ -9,7 +9,7 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-public class OnbordingDataProviders {
+public class OnboardingDataProviders {
protected static String filepath = FileHandling.getVnfRepositoryPath();
diff --git a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/sanity/Onboard.java b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/sanity/Onboard.java
index ec83b05be9..44e386ada6 100644
--- a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/sanity/Onboard.java
+++ b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/sanity/Onboard.java
@@ -32,7 +32,7 @@ import org.openecomp.sdc.be.model.Service;
import org.openecomp.sdc.be.model.User;
import org.openecomp.sdc.ci.tests.api.ComponentBaseTest;
import org.openecomp.sdc.ci.tests.api.ExtentTestActions;
-import org.openecomp.sdc.ci.tests.dataProviders.OnbordingDataProviders;
+import org.openecomp.sdc.ci.tests.dataProviders.OnboardingDataProviders;
import org.openecomp.sdc.ci.tests.datatypes.ResourceReqDetails;
import org.openecomp.sdc.ci.tests.datatypes.ServiceReqDetails;
import org.openecomp.sdc.ci.tests.datatypes.VendorSoftwareProductObject;
@@ -78,7 +78,7 @@ public class Onboard extends ComponentBaseTest {
}
- @Test(dataProviderClass = OnbordingDataProviders.class, dataProvider = "VNF_List")
+ @Test(dataProviderClass = OnboardingDataProviders.class, dataProvider = "VNF_List")
public void onboardVNFShotFlow(String filepath, String vnfFile) throws Exception, Throwable {
setLog(vnfFile);
System.out.println("print - >" + makeDistributionValue);
diff --git a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/utils/general/FileHandling.java b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/utils/general/FileHandling.java
index b82e6a0f52..c8f9ee4139 100644
--- a/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/utils/general/FileHandling.java
+++ b/test-apis-ci/src/main/java/org/openecomp/sdc/ci/tests/utils/general/FileHandling.java
@@ -20,25 +20,37 @@
package org.openecomp.sdc.ci.tests.utils.general;
-import com.aventstack.extentreports.Status;
-import com.clearspring.analytics.util.Pair;
-import org.apache.commons.io.FileUtils;
-import org.openecomp.sdc.be.model.DataTypeDefinition;
-import org.openecomp.sdc.ci.tests.api.ComponentBaseTest;
-import org.openecomp.sdc.ci.tests.config.Config;
-
-import org.openecomp.sdc.common.util.GeneralUtility;
-import org.yaml.snakeyaml.Yaml;
+import static org.testng.AssertJUnit.assertTrue;
-import java.io.*;
+import java.io.BufferedOutputStream;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.FileWriter;
+import java.io.FilenameFilter;
+import java.io.IOException;
+import java.io.InputStream;
import java.nio.file.Paths;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
import java.util.zip.ZipEntry;
import java.util.zip.ZipException;
import java.util.zip.ZipFile;
import java.util.zip.ZipInputStream;
-import static org.testng.AssertJUnit.assertTrue;
+import org.apache.commons.io.FileUtils;
+import org.openecomp.sdc.be.model.DataTypeDefinition;
+import org.openecomp.sdc.ci.tests.api.ComponentBaseTest;
+import org.openecomp.sdc.ci.tests.config.Config;
+import org.openecomp.sdc.common.util.GeneralUtility;
+import org.yaml.snakeyaml.Yaml;
+
+import com.aventstack.extentreports.Status;
public class FileHandling {
@@ -173,9 +185,9 @@ public class FileHandling {
}
public static List<String> filterFileNamesListFromFolder(String filepath, String extension) {
+ List<String> filenames = new ArrayList<String>();
try {
File dir = new File(filepath);
- List<String> filenames = new ArrayList<String>();
FilenameFilter extensionFilter = new FilenameFilter() {
public boolean accept(File dir, String name) {
@@ -193,7 +205,7 @@ public class FileHandling {
} catch (Exception e) {
e.printStackTrace();
}
- return null;
+ return filenames;
}
public static String[] getArtifactsFromZip(String filepath, String zipFilename){
@@ -233,7 +245,9 @@ public class FileHandling {
// }
public static List<String> getZipFileNamesFromFolder(String filepath) {
- return filterFileNamesListFromFolder(filepath, ".zip");
+ List<String> fileNamesListFromFolder = filterFileNamesListFromFolder(filepath, ".zip");
+ fileNamesListFromFolder.addAll(filterFileNamesListFromFolder(filepath, ".csar"));
+ return fileNamesListFromFolder;
}
public static int countFilesInZipFile(String[] artifactsArr, String reqExtension){