Controller Blueprints Microservice 19/64519/1
authorMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Tue, 4 Sep 2018 20:24:35 +0000 (20:24 +0000)
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Tue, 4 Sep 2018 20:47:03 +0000 (20:47 +0000)
Refactor controller blueprint core and resource dictionary modules to components module.

Change-Id: If5ba5e35e9c95bc19bc78fb10bd62d6551ba7aca
Issue-ID: CCSDK-514
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
121 files changed:
components/core/load/blueprints/baseconfiguration/Definitions/activation-blueprint.json [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/Definitions/activation-blueprint.json with 100% similarity]
components/core/load/blueprints/baseconfiguration/Mappings/baseconfig-mapping.json [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/Mappings/baseconfig-mapping.json with 100% similarity]
components/core/load/blueprints/baseconfiguration/Plans/ActivateProcess.bpmn [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/Plans/ActivateProcess.bpmn with 100% similarity]
components/core/load/blueprints/baseconfiguration/Scripts/SamplePythonComponentNode.py [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/Scripts/SamplePythonComponentNode.py with 100% similarity]
components/core/load/blueprints/baseconfiguration/Scripts/__init__.py [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/Scripts/__init__.py with 100% similarity]
components/core/load/blueprints/baseconfiguration/TOSCA-Metadata/TOSCA.meta [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/TOSCA-Metadata/TOSCA.meta with 100% similarity]
components/core/load/blueprints/baseconfiguration/Templates/baseconfig-template.vtl [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/Templates/baseconfig-template.vtl with 100% similarity]
components/core/load/blueprints/baseconfiguration/__init__.py [moved from ms/controllerblueprints/modules/core/load/blueprints/baseconfiguration/__init__.py with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Definitions/sample-nodetype.json [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Definitions/sample-nodetype.json with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Definitions/simple-baseconfig.json [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Definitions/simple-baseconfig.json with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Mappings/baseconfig-mapping.json [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Mappings/baseconfig-mapping.json with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Plans/ActivateProcess.bpmn [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Plans/ActivateProcess.bpmn with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Scripts/SamplePythonComponentNode.py [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Scripts/SamplePythonComponentNode.py with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Scripts/__init__.py [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Scripts/__init__.py with 100% similarity]
components/core/load/blueprints/simple-baseconfig/TOSCA-Metadata/TOSCA.meta [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/TOSCA-Metadata/TOSCA.meta with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Templates/base-config-template.vtl [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Templates/base-config-template.vtl with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Templates/baseconfig-template.vtl [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Templates/baseconfig-template.vtl with 100% similarity]
components/core/load/blueprints/simple-baseconfig/Templates/licence-template.vtl [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/Templates/licence-template.vtl with 100% similarity]
components/core/load/blueprints/simple-baseconfig/__init__.py [moved from ms/controllerblueprints/modules/core/load/blueprints/simple-baseconfig/__init__.py with 100% similarity]
components/core/load/model_type/artifact_type/artifact-bpmn-camunda.json [moved from ms/controllerblueprints/modules/core/load/model_type/artifact_type/artifact-bpmn-camunda.json with 100% similarity]
components/core/load/model_type/artifact_type/artifact-directed-graph.json [moved from ms/controllerblueprints/modules/core/load/model_type/artifact_type/artifact-directed-graph.json with 100% similarity]
components/core/load/model_type/artifact_type/artifact-mapping-resource.json [moved from ms/controllerblueprints/modules/core/load/model_type/artifact_type/artifact-mapping-resource.json with 100% similarity]
components/core/load/model_type/artifact_type/artifact-script-python.json [moved from ms/controllerblueprints/modules/core/load/model_type/artifact_type/artifact-script-python.json with 100% similarity]
components/core/load/model_type/artifact_type/artifact-template-velocity.json [moved from ms/controllerblueprints/modules/core/load/model_type/artifact_type/artifact-template-velocity.json with 100% similarity]
components/core/load/model_type/artifact_type/tosca.artifacts.Implementation.json [moved from ms/controllerblueprints/modules/core/load/model_type/artifact_type/tosca.artifacts.Implementation.json with 100% similarity]
components/core/load/model_type/data_type/datatype-property.json [moved from ms/controllerblueprints/modules/core/load/model_type/data_type/datatype-property.json with 100% similarity]
components/core/load/model_type/data_type/datatype-resource-assignment.json [moved from ms/controllerblueprints/modules/core/load/model_type/data_type/datatype-resource-assignment.json with 100% similarity]
components/core/load/model_type/data_type/dt-license-key.json [moved from ms/controllerblueprints/modules/core/load/model_type/data_type/dt-license-key.json with 100% similarity]
components/core/load/model_type/data_type/dt-v4-aggregate.json [moved from ms/controllerblueprints/modules/core/load/model_type/data_type/dt-v4-aggregate.json with 100% similarity]
components/core/load/model_type/data_type/tosca.datatypes.Credential.json [moved from ms/controllerblueprints/modules/core/load/model_type/data_type/tosca.datatypes.Credential.json with 100% similarity]
components/core/load/model_type/node_type/artifact-config-template.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/artifact-config-template.json with 100% similarity]
components/core/load/model_type/node_type/component-config-generator.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/component-config-generator.json with 100% similarity]
components/core/load/model_type/node_type/component-netconf-executor.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/component-netconf-executor.json with 100% similarity]
components/core/load/model_type/node_type/component-resource-assignment.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/component-resource-assignment.json with 100% similarity]
components/core/load/model_type/node_type/dg-activate-netconf.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/dg-activate-netconf.json with 100% similarity]
components/core/load/model_type/node_type/dg-config-generator.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/dg-config-generator.json with 100% similarity]
components/core/load/model_type/node_type/dg-resource-assign-activate.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/dg-resource-assign-activate.json with 100% similarity]
components/core/load/model_type/node_type/dg-resource-assignment.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/dg-resource-assignment.json with 100% similarity]
components/core/load/model_type/node_type/vnf-netconf-device.json [moved from ms/controllerblueprints/modules/core/load/model_type/node_type/vnf-netconf-device.json with 100% similarity]
components/core/pom.xml [moved from ms/controllerblueprints/modules/core/pom.xml with 89% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintConstants.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintConstants.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintException.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintException.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintProcessorException.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintProcessorException.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintTypes.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintTypes.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/ConfigModelConstant.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/ConfigModelConstant.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/CustomFunctions.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/CustomFunctions.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/data/BluePrintExpressionData.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/data/BluePrintExpressionData.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/data/BluePrintModel.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/data/BluePrintModel.kt with 95% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintEnhancerFactory.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintEnhancerFactory.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintParserFactory.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintParserFactory.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintValidatorFactory.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintValidatorFactory.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintChainedService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintChainedService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintContext.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintContext.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintEnhancerService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintEnhancerService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintExpressionService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintExpressionService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintParserService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintParserService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRepoService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRepoService.kt with 96% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRuntimeService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRuntimeService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintValidatorService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintValidatorService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/PropertyAssignmentService.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/PropertyAssignmentService.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/BluePrintMetadataUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/BluePrintMetadataUtils.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/BluePrintRuntimeUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/BluePrintRuntimeUtils.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonReactorUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonReactorUtils.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonUtils.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/ResourceResolverUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/ResourceResolverUtils.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/ServiceTemplateUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/ServiceTemplateUtils.kt with 100% similarity]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/TopologicalSortingUtils.kt [moved from ms/controllerblueprints/modules/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/TopologicalSortingUtils.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/CustomFunctionsTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/CustomFunctionsTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintContextTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintContextTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintEnhancerServiceTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintEnhancerServiceTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintExpressionServiceTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintExpressionServiceTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintParserFactoryTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintParserFactoryTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRepoFileServiceTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRepoFileServiceTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRuntimeServiceTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRuntimeServiceTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintValidatorDefaultServiceTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintValidatorDefaultServiceTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/BluePrintMetadataUtilsTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/BluePrintMetadataUtilsTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonReactorUtilsTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonReactorUtilsTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonUtilsTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/JacksonUtilsTest.kt with 100% similarity]
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/TopologicalSortingUtilsTest.kt [moved from ms/controllerblueprints/modules/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/utils/TopologicalSortingUtilsTest.kt with 100% similarity]
components/core/src/test/resources/componentnode/default.json [moved from ms/controllerblueprints/modules/core/src/test/resources/componentnode/default.json with 100% similarity]
components/core/src/test/resources/data/alltype-data.json [moved from ms/controllerblueprints/modules/core/src/test/resources/data/alltype-data.json with 100% similarity]
components/core/src/test/resources/data/default-context.json [moved from ms/controllerblueprints/modules/core/src/test/resources/data/default-context.json with 100% similarity]
components/core/src/test/resources/dictionary/dictionary_schema.json [moved from ms/controllerblueprints/modules/core/src/test/resources/dictionary/dictionary_schema.json with 100% similarity]
components/core/src/test/resources/properties/convert.json [moved from ms/controllerblueprints/modules/core/src/test/resources/properties/convert.json with 100% similarity]
components/core/src/test/resources/properties/default.json [moved from ms/controllerblueprints/modules/core/src/test/resources/properties/default.json with 100% similarity]
components/parent/pom.xml [new file with mode: 0644]
components/pom.xml [new file with mode: 0644]
components/resource-dict/load/model_type/node_type/source-component-java.json [moved from ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-component-java.json with 100% similarity]
components/resource-dict/load/model_type/node_type/source-db.json [moved from ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-db.json with 100% similarity]
components/resource-dict/load/model_type/node_type/source-default.json [moved from ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-default.json with 100% similarity]
components/resource-dict/load/model_type/node_type/source-input.json [moved from ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-input.json with 100% similarity]
components/resource-dict/load/model_type/node_type/source-rest.json [moved from ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-rest.json with 100% similarity]
components/resource-dict/load/model_type/node_type/tosca.nodes.ResourceSource.json [moved from ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/tosca.nodes.ResourceSource.json with 100% similarity]
components/resource-dict/load/resource_dictionary/db-source.json [moved from ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/db-source.json with 100% similarity]
components/resource-dict/load/resource_dictionary/default-source.json [moved from ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/default-source.json with 100% similarity]
components/resource-dict/load/resource_dictionary/input-source.json [moved from ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/input-source.json with 100% similarity]
components/resource-dict/load/resource_dictionary/mdsal-source.json [moved from ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/mdsal-source.json with 100% similarity]
components/resource-dict/pom.xml [moved from ms/controllerblueprints/modules/resource-dict/pom.xml with 85% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceAssignmentProcessor.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceAssignmentProcessor.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceDefinition.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceDefinition.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceDictionaryConstants.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceDictionaryConstants.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentEnhancerService.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentEnhancerService.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentValidationService.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentValidationService.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionRepoService.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionRepoService.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionValidationService.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionValidationService.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/BulkResourceSequencingUtils.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/BulkResourceSequencingUtils.kt with 100% similarity]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/ResourceDictionaryUtils.kt [moved from ms/controllerblueprints/modules/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/ResourceDictionaryUtils.kt with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceDefinitionTest.java [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/ResourceDefinitionTest.java with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentEnhancerServiceTest.java [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentEnhancerServiceTest.java with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentValidationServiceTest.kt [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentValidationServiceTest.kt with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionRepoServiceTest.java [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionRepoServiceTest.java with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionValidationServiceTest.java [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionValidationServiceTest.java with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/BulkResourceSequencingUtilsTest.java [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/BulkResourceSequencingUtilsTest.java with 100% similarity]
components/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/ResourceDictionaryUtilsTest.java [moved from ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/apps/controllerblueprints/resource/dict/utils/ResourceDictionaryUtilsTest.java with 100% similarity]
components/resource-dict/src/test/resources/data/resource-assignment-input.json [moved from ms/controllerblueprints/modules/resource-dict/src/test/resources/data/resource-assignment-input.json with 100% similarity]
components/resource-dict/src/test/resources/enrich/simple-enrich.json [moved from ms/controllerblueprints/modules/resource-dict/src/test/resources/enrich/simple-enrich.json with 100% similarity]
components/resource-dict/src/test/resources/validation/cyclic.json [moved from ms/controllerblueprints/modules/resource-dict/src/test/resources/validation/cyclic.json with 100% similarity]
components/resource-dict/src/test/resources/validation/duplicate.json [moved from ms/controllerblueprints/modules/resource-dict/src/test/resources/validation/duplicate.json with 100% similarity]
components/resource-dict/src/test/resources/validation/success.json [moved from ms/controllerblueprints/modules/resource-dict/src/test/resources/validation/success.json with 100% similarity]
ms/controllerblueprints/modules/pom.xml
pom.xml

similarity index 89%
rename from ms/controllerblueprints/modules/core/pom.xml
rename to components/core/pom.xml
index ba38de6..fc6624e 100644 (file)
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
     <modelVersion>4.0.0</modelVersion>\r
     <parent>\r
-        <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>\r
-        <artifactId>modules</artifactId>\r
+        <groupId>org.onap.ccsdk.apps.components</groupId>\r
+        <artifactId>parent</artifactId>\r
         <version>0.3.0-SNAPSHOT</version>\r
+        <relativePath>../parent</relativePath>\r
     </parent>\r
+    <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>\r
     <artifactId>core</artifactId>\r
     <name>Controller Blueprints Core</name>\r
 \r
@@ -40,8 +40,8 @@ open class EntityType {
 }\r
 \r
 /*\r
- 5.3.2 tosca.datatypes.org.onap.ccsdk.apps.controllerblueprints.core.data.Credential\r
- The org.onap.ccsdk.apps.controllerblueprints.core.data.Credential type is a complex TOSCA data Type used when describing\r
+ 5.3.2 tosca.datatypes.Credential\r
+ The Credential type is a complex TOSCA data Type used when describing\r
  authorization credentials used to access network accessible resources.\r
  */\r
 class Credential {\r
@@ -252,7 +252,7 @@ class TriggerDefinition {
 }\r
 \r
 /*\r
-    3.5.17 org.onap.ccsdk.apps.controllerblueprints.core.data.Workflow activity definition\r
+    3.5.17 Workflow activity definition\r
     A workflow activity defines an operation to be performed in a TOSCA workflow. Activities allows to:\r
     · Delegate the workflow for a node expected to be provided        by the orchestrator\r
     · Set the state of a node\r
@@ -269,7 +269,7 @@ class Activity {
 }\r
 \r
 /*\r
-3.5.20 org.onap.ccsdk.apps.controllerblueprints.core.data.Workflow precondition definition\r
+3.5.20 Workflow precondition definition\r
 A workflow condition can be used as a filter or precondition to check if a workflow can be processed or not based on the state of the instances of a TOSCA topology deployment. When not met, the workflow will not be triggered.\r
  */\r
 class PreConditionDefinition {\r
@@ -282,7 +282,7 @@ class PreConditionDefinition {
 }\r
 \r
 /*\r
-3.5.21 org.onap.ccsdk.apps.controllerblueprints.core.data.Workflow step definition\r
+3.5.21 Workflow step definition\r
 A workflow step allows to define one or multiple sequenced activities in a workflow and how they are connected to other steps in the workflow. They are the building blocks of a declarative workflow.\r
  */\r
 class Step {\r
diff --git a/components/parent/pom.xml b/components/parent/pom.xml
new file mode 100644 (file)
index 0000000..cbbeeff
--- /dev/null
@@ -0,0 +1,299 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2017-2018 AT&T Intellectual Property.
+  ~
+  ~ Modifications Copyright © 2018 IBM.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in 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.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
+    <parent>
+        <groupId>org.onap.ccsdk.apps</groupId>
+        <artifactId>components</artifactId>
+        <version>0.3.0-SNAPSHOT</version>
+    </parent>
+    <groupId>org.onap.ccsdk.apps.components</groupId>
+    <artifactId>parent</artifactId>
+    <name>App Components Parent</name>
+    <packaging>pom</packaging>
+    <properties>
+        <spring.boot.version>2.0.4.RELEASE</spring.boot.version>
+        <spring.version>5.0.8.RELEASE</spring.version>
+        <kotlin.version>1.2.60</kotlin.version>
+        <eelf.version>1.0.0</eelf.version>
+        <guava.version>26.0-jre</guava.version>
+        <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
+        <h2database.version>1.4.197</h2database.version>
+        <onap.logger.slf4j>1.2.2-SNAPSHOT</onap.logger.slf4j>
+    </properties>
+    <dependencyManagement>
+        <dependencies>
+            <!-- Spring boot -->
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-dependencies</artifactId>
+                <version>${spring.boot.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+
+            <dependency>
+                <groupId>com.att.eelf</groupId>
+                <artifactId>eelf-core</artifactId>
+                <version>${eelf.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.logging-analytics</groupId>
+                <artifactId>logging-slf4j</artifactId>
+                <version>${onap.logger.slf4j}</version>
+            </dependency>
+
+            <!--Swagger Dependencies -->
+            <dependency>
+                <groupId>io.springfox</groupId>
+                <artifactId>springfox-swagger2</artifactId>
+                <version>${springfox.swagger2.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.springfox</groupId>
+                <artifactId>springfox-swagger-ui</artifactId>
+                <version>${springfox.swagger2.version}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-lang3</artifactId>
+                <version>3.2.1</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+                <version>3.2.2</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-io</groupId>
+                <artifactId>commons-io</artifactId>
+                <version>2.6</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.velocity</groupId>
+                <artifactId>velocity</artifactId>
+                <version>1.7</version>
+            </dependency>
+            <dependency>
+                <groupId>com.google.guava</groupId>
+                <artifactId>guava</artifactId>
+                <version>${guava.version}</version>
+            </dependency>
+
+            <!-- Kotlin Dependencies -->
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-stdlib</artifactId>
+                <version>${kotlin.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-reflect</artifactId>
+                <version>${kotlin.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-stdlib-jdk8</artifactId>
+                <version>${kotlin.version}</version>
+            </dependency>
+
+
+            <!-- Database -->
+            <dependency>
+                <groupId>com.h2database</groupId>
+                <artifactId>h2</artifactId>
+                <version>${h2database.version}</version>
+            </dependency>
+
+
+            <!-- Application Components -->
+            <dependency>
+                <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
+                <artifactId>core</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
+                <artifactId>service</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
+                <artifactId>application</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
+                <artifactId>resource-dict</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+
+            <!-- Testing Dependencies -->
+            <dependency>
+                <groupId>org.powermock</groupId>
+                <artifactId>powermock-api-mockito2</artifactId>
+                <version>1.7.4</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <artifactId>kotlin-test</artifactId>
+                <version>${kotlin.version}</version>
+                <scope>test</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <dependencies>
+        <dependency>
+            <groupId>com.att.eelf</groupId>
+            <artifactId>eelf-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.onap.logging-analytics</groupId>
+            <artifactId>logging-slf4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+         </dependency>
+        <dependency>
+            <groupId>commons-collections</groupId>
+            <artifactId>commons-collections</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.jayway.jsonpath</groupId>
+            <artifactId>json-path</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger-ui</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jetbrains.kotlin</groupId>
+            <artifactId>kotlin-stdlib</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jetbrains.kotlin</groupId>
+            <artifactId>kotlin-stdlib-jdk8</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.module</groupId>
+            <artifactId>jackson-module-kotlin</artifactId>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>3.0.1</version>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>kotlin-maven-plugin</artifactId>
+                <groupId>org.jetbrains.kotlin</groupId>
+                <version>${kotlin.version}</version>
+                <executions>
+                    <execution>
+                        <id>compile</id>
+                        <goals>
+                            <goal>compile</goal>
+                        </goals>
+                        <configuration>
+                            <sourceDirs>
+                                <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
+                                <sourceDir>${project.basedir}/src/main/java</sourceDir>
+                            </sourceDirs>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>test-compile</id>
+                        <goals>
+                            <goal>test-compile</goal>
+                        </goals>
+                        <configuration>
+                            <sourceDirs>
+                                <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
+                                <sourceDir>${project.basedir}/src/test/java</sourceDir>
+                            </sourceDirs>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.5.1</version>
+                <configuration>
+                    <source>${maven.compiler.source}</source>
+                    <target>${maven.compiler.target}</target>
+                </configuration>
+                <executions>
+                    <!-- Replacing default-compile as it is treated specially by maven -->
+                    <execution>
+                        <id>default-compile</id>
+                        <phase>none</phase>
+                    </execution>
+                    <!-- Replacing default-testCompile as it is treated specially by maven -->
+                    <execution>
+                        <id>default-testCompile</id>
+                        <phase>none</phase>
+                    </execution>
+                    <execution>
+                        <id>java-compile</id>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>compile</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>java-test-compile</id>
+                        <phase>test-compile</phase>
+                        <goals>
+                            <goal>testCompile</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/components/pom.xml b/components/pom.xml
new file mode 100644 (file)
index 0000000..aada3eb
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright © 2017-2018 AT&T Intellectual Property.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in 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.
+  -->
+
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <parent>
+        <groupId>org.onap.ccsdk.apps</groupId>
+        <artifactId>ccsdk-apps</artifactId>
+        <version>0.3.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.onap.ccsdk.apps</groupId>
+    <artifactId>components</artifactId>
+    <name>App Components Root</name>
+    <packaging>pom</packaging>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
+        <build.number>${maven.build.timestamp}</build.number>
+        <java.version>1.8</java.version>
+        <maven.compiler.target>1.8</maven.compiler.target>
+        <maven.compiler.source>1.8</maven.compiler.source>
+    </properties>
+    <modules>
+        <module>parent</module>
+        <module>core</module>
+        <module>resource-dict</module>
+    </modules>
+</project>
+
similarity index 85%
rename from ms/controllerblueprints/modules/resource-dict/pom.xml
rename to components/resource-dict/pom.xml
index dbc920f..7eecb5e 100644 (file)
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
     <modelVersion>4.0.0</modelVersion>\r
     <parent>\r
-        <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>\r
-        <artifactId>modules</artifactId>\r
+        <groupId>org.onap.ccsdk.apps.components</groupId>\r
+        <artifactId>parent</artifactId>\r
         <version>0.3.0-SNAPSHOT</version>\r
+        <relativePath>../parent</relativePath>\r
     </parent>\r
+    <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>\r
     <artifactId>resource-dict</artifactId>\r
     <name>Controller Blueprints Resource Dictionary</name>\r
 \r
index 5ab4e44..887d023 100644 (file)
@@ -31,8 +31,6 @@
     <packaging>pom</packaging>\r
 \r
     <modules>\r
-        <module>core</module>\r
-        <module>resource-dict</module>\r
         <module>service</module>\r
     </modules>\r
 \r
diff --git a/pom.xml b/pom.xml
index 38ad3a0..ebe1de9 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,7 @@
        </organization>
 
        <modules>
+               <module>components</module>
                <module>ms</module>
        </modules>