Controller Blueprints Microservice 53/66253/1
authorMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Thu, 13 Sep 2018 00:20:34 +0000 (00:20 +0000)
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Thu, 13 Sep 2018 00:47:05 +0000 (00:47 +0000)
commit5eebfaa6ac0d4cb4fdf20d19ead7cd0303fc6f29
treeb6d19d00518737a74ca27689ac818b33eb1c915e
parent04d5531c0e299b8ea99cb22a8058b88cb3385cb2
Controller Blueprints Microservice

Add resource assignment enhancement and validation to blueprint validation and enhancement.

Change-Id: I547760012e7014cfbb7a1e3a1d8ffb77edc9b6a2
Issue-ID: CCSDK-562
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
29 files changed:
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/BluePrintTypes.kt
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/factory/BluePrintEnhancerFactory.kt [deleted file]
components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintRepoService.kt
components/core/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintEnhancerServiceTest.kt [deleted file]
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceAssignmentValidationService.kt
components/resource-dict/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/resource/dict/service/ResourceDefinitionRepoService.kt
ms/controllerblueprints/application/load/resource_dictionary/sample-db-source.json [moved from ms/controllerblueprints/application/load/resource_dictionary/db-source.json with 91% similarity]
ms/controllerblueprints/application/load/resource_dictionary/sample-default-source.json [moved from ms/controllerblueprints/application/load/resource_dictionary/default-source.json with 64% similarity]
ms/controllerblueprints/application/load/resource_dictionary/sample-input-source.json [moved from ms/controllerblueprints/application/load/resource_dictionary/input-source.json with 64% similarity]
ms/controllerblueprints/application/load/resource_dictionary/sample-licenses.json [new file with mode: 0644]
ms/controllerblueprints/application/load/resource_dictionary/sample-mdsal-source.json [new file with mode: 0644]
ms/controllerblueprints/application/load/resource_dictionary/sample-v4-ip-type.json [moved from ms/controllerblueprints/application/load/resource_dictionary/v4-ip-type.json with 54% similarity]
ms/controllerblueprints/application/src/test/resources/application.properties
ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/BluePrintEnhancerService.java
ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ResourceDefinitionRepoDBService.java [moved from ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/BluePrintRepoDBService.java with 71% similarity]
ms/controllerblueprints/modules/service/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/service/enhancer/BluePrintEnhancerService.kt [moved from components/core/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/core/service/BluePrintEnhancerService.kt with 96% similarity]
ms/controllerblueprints/modules/service/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/service/enhancer/ResourceAssignmentEnhancerService.kt
ms/controllerblueprints/modules/service/src/test/java/org/onap/ccsdk/apps/controllerblueprints/service/enhancer/ResourceAssignmentEnhancerServiceTest.java
ms/controllerblueprints/modules/service/src/test/java/org/onap/ccsdk/apps/controllerblueprints/service/repository/ResourceDictionaryReactRepositoryTest.java
ms/controllerblueprints/modules/service/src/test/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ResourceDictionaryRestTest.java
ms/controllerblueprints/modules/service/src/test/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ServiceTemplateRestTest.java
ms/controllerblueprints/modules/service/src/test/java/org/onap/ccsdk/apps/controllerblueprints/service/validator/ServiceTemplateValidationTest.java
ms/controllerblueprints/modules/service/src/test/resources/application.properties
ms/controllerblueprints/modules/service/src/test/resources/enhance/enhance-resource-assignment.json [new file with mode: 0644]
ms/controllerblueprints/modules/service/src/test/resources/enhance/enhance-template.json
ms/controllerblueprints/modules/service/src/test/resources/enhance/enhanced-template.json
ms/controllerblueprints/modules/service/src/test/resources/enhance/simple-enrich.json [deleted file]
ms/controllerblueprints/modules/service/src/test/resources/logback.xml
ms/controllerblueprints/modules/service/src/test/resources/resourcedictionary/automap.json