Remove endpoint-selector from Data Dictionary 96/107196/2
authorSamuli Silvius <s.silvius@partner.samsung.com>
Wed, 6 May 2020 05:08:51 +0000 (08:08 +0300)
committerKonrad Bańka <k.banka@samsung.com>
Fri, 29 May 2020 05:32:44 +0000 (07:32 +0200)
According to cds bug fixed by https://gerrit.onap.org/r/c/ccsdk/cds/+/106128

Issue-ID: INT-1581

Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Change-Id: I58727f7ac114e26c38f44cc33f35e9a54b0f0017

heat/vFW_CNF_CDS/templates/cba-dd.json
heat/vFW_CNF_CDS/templates/cba/Definitions/resources_definition_types.json
heat/vFW_CNF_CDS/templates/cba/Definitions/vFW_CNF_CDS.json

index 4afa6a4..f4ba082 100644 (file)
                     "type": "source-db",
                     "properties": {
                         "type": "SQL",
-                        "endpoint-selector": "dynamic-db-source",
                         "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
                         "input-key-mapping": {},
                         "output-key-mapping": {
                     "type": "source-db",
                     "properties": {
                         "type": "SQL",
-                        "endpoint-selector": "dynamic-db-source",
                         "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
                         "output-key-mapping": {
                             "int_private2_net_cidr": "prefix"
                     "type": "source-db",
                     "properties": {
                         "type": "SQL",
-                        "endpoint-selector": "dynamic-db-source",
                         "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
                         "input-key-mapping": {},
                         "output-key-mapping": {
                     "type": "source-db",
                     "properties": {
                         "type": "SQL",
-                        "endpoint-selector": "dynamic-db-source",
                         "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"",
                         "input-key-mapping": {},
                         "output-key-mapping": {
                     "type": "source-db",
                     "properties": {
                         "type": "SQL",
-                        "endpoint-selector": "dynamic-db-source",
                         "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"",
                         "input-key-mapping": {},
                         "output-key-mapping": {
                     "type": "source-db",
                     "properties": {
                         "type": "SQL",
-                        "endpoint-selector": "dynamic-db-source",
                         "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
                         "input-key-mapping": {},
                         "output-key-mapping": {
                         },
                         "key-dependencies": [
                             "vf-module-model-customization-uuid"
-                        ],
-                        "endpoint-selector": "dynamic-db-source"
+                        ]
                     }
                 }
             }
                         },
                         "key-dependencies": [
                             "vf-module-model-customization-uuid"
-                        ],
-                        "endpoint-selector": "dynamic-db-source"
+                        ]
                     }
                 }
             }
                         },
                         "key-dependencies": [
                             "vf-module-model-customization-uuid"
-                        ],
-                        "endpoint-selector": "dynamic-db-source"
+                        ]
                     }
                 }
             }
index cb5aaeb..4c7aa47 100644 (file)
                 "type": "source-db",
                 "properties": {
                     "type": "SQL",
-                    "endpoint-selector": "dynamic-db-source",
                     "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
                     "input-key-mapping": {},
                     "output-key-mapping": {
                 "type": "source-db",
                 "properties": {
                     "type": "SQL",
-                    "endpoint-selector": "dynamic-db-source",
                     "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
                     "output-key-mapping": {
                         "int_private2_net_cidr": "prefix"
                 "type": "source-db",
                 "properties": {
                     "type": "SQL",
-                    "endpoint-selector": "dynamic-db-source",
                     "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
                     "input-key-mapping": {},
                     "output-key-mapping": {
                 "type": "source-db",
                 "properties": {
                     "type": "SQL",
-                    "endpoint-selector": "dynamic-db-source",
                     "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"",
                     "input-key-mapping": {},
                     "output-key-mapping": {
                 "type": "source-db",
                 "properties": {
                     "type": "SQL",
-                    "endpoint-selector": "dynamic-db-source",
                     "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"",
                     "input-key-mapping": {},
                     "output-key-mapping": {
                 "type": "source-db",
                 "properties": {
                     "type": "SQL",
-                    "endpoint-selector": "dynamic-db-source",
                     "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
                     "input-key-mapping": {},
                     "output-key-mapping": {
                     },
                     "key-dependencies": [
                         "vf-module-model-customization-uuid"
-                    ],
-                    "endpoint-selector": "dynamic-db-source"
+                    ]
                 }
             }
         }
                     },
                     "key-dependencies": [
                         "vf-module-model-customization-uuid"
-                    ],
-                    "endpoint-selector": "dynamic-db-source"
+                    ]
                 }
             }
         }
                     },
                     "key-dependencies": [
                         "vf-module-model-customization-uuid"
-                    ],
-                    "endpoint-selector": "dynamic-db-source"
+                    ]
                 }
             }
         }
index 01e14b5..077bbc8 100644 (file)
             "resolution-key": {
                 "get_input": "resolution-key"
             }
-        },
-        "dynamic-db-source": {
-            "type": "maria-db",
-            "url": "jdbc:mysql://mariadb-galera:3306/sdnctl",
-            "username": "root",
-            "password": "TepsMavaFota9+"
         }
     },
     "topology_template": {