CCSDK-1603:Changes in 'Config via netconf' BP to pull data from AAI 43/98043/5
authortragait <rahul.tyagi@est.tech>
Wed, 6 Nov 2019 11:44:11 +0000 (11:44 +0000)
committertragait <rahul.tyagi@est.tech>
Wed, 13 Nov 2019 14:51:40 +0000 (14:51 +0000)
commit6f7a427e53f4e129d84198f4c94036b4fe6b3898
tree87238feaa6262bd4c96a910cc0b3df38f0a7905d
parent54eb2f2680d4f2447a4d48b612b2b83e37d90754
CCSDK-1603:Changes in 'Config via netconf' BP to pull data from AAI

This commit includes changes in blueprint for "Configuration over
netconf", So that CDS can fetch data from AAI.

It has enhancement in UAT test yaml file, so this blueprint
can be tested.

An enhancement is also included to introduce request headers
in the source-rest.
Change-Id: I4ff973538249925239b89da4c5720ec63ffe8037
Issue-ID: CCSDK-1603
Signed-off-by: tragait <rahul.tyagi@est.tech>
29 files changed:
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/activation-blueprint.json
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Environments/source-db.properties [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Environments/source-rest.properties [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Scripts/python/RestconfConfigDeploy.py
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Tests/uat.yaml
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/activation-blueprint.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/artifact_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/config-assign-pnf-mapping.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/config-deploy-pnf-mapping.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/data_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/node_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/policy_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/relationship_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Definitions/resources_definition_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Environments/source-db.properties [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Environments/source-rest.properties [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Plans/CONFIG_configAssign.xml [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Plans/CONFIG_configDeploy.xml [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Scripts/python/RestconfConfigDeploy.py [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/TOSCA-Metadata/TOSCA.meta [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Templates/config-assign-restconf-configlet-template.vtl [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Templates/config-deploy-restconf-mount-template.vtl [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config_aai/Tests/uat.yaml [new file with mode: 0644]
components/model-catalog/definition-type/starter-type/node_type/source-rest.json
components/model-catalog/resource-dictionary/starter-dictionary/pnf-ipaddress-aai.json [new file with mode: 0755]
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/ResourceSourceProperties.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/processor/RestResourceResolutionProcessor.kt