Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-1794

Data Dictionary has erroneous resolution sources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Frankfurt Release
    • El Alto Release, Frankfurt Release
    • None
    • None

      Data Dictionary has at least 2 faulty sources.

       vnf-name

      {
        "tags": "vnf-name",
        "name": "vnf-name",
        "property": {
          "description": "vnf-name",
          "type": "string"
        },
        "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
        "sources": {
          "input": {
            "type": "source-input"
          },
          "default": {
            "type": "source-default",
            "properties": {}
          },
          "sdnc": {
            "type": "source-rest",
            "properties": {
              "type": "JSON",
              "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-name/vnf-data/vnf-topology/vnf-parameters-data/param/vnf-name",
              "path": "/param/0/value",
              "input-key-mapping": {
                "service-instance-id": "service-instance-id",
                "vnf-name": "vnf-name"
              },
              "output-key-mapping": {
                "vnf-name": "value"
              },
              "key-dependencies": [
                "service-instance-id",
                "vnf-name"
              ]
            }
          },
          "aai-data": {
            "type": "source-rest",
            "properties": {
              "type": "JSON",
              "verb": "GET",
              "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
              "path": "",
              "input-key-mapping": {
                "vnf-id": "vnf-id"
              },
              "output-key-mapping": {
                "vnf-name": "vnf-name"
              },
              "key-dependencies": [
                "vnf-id"
              ]
            }
          }
        }
      }
      

      sdnc source requires vnf-name to resolve vnf-name. This should be changed to vnf-id.

       

      vnf-id:

        {
            "tags": "vnf-id",
            "name": "vnf-id",
            "property": {
              "description": "vnf-id",
              "type": "string"
            },
            "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
            "sources": {
              "input": {
                "type": "source-input"
              },
              "default": {
                "type": "source-default",
                "properties": {}
              },
              "sdnc": {
                "type": "source-rest",
                "properties": {
                  "type": "JSON",
                  "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf-id",
                  "path": "/param/0/value",
                  "input-key-mapping": {
                    "service-instance-id": "service-instance-id",
                    "vnf-id": "vnf-id"
                  },
                  "output-key-mapping": {
                    "vnf-id": "value"
                  },
                  "key-dependencies": [
                    "service-instance-id",
                    "vnf-id"
                  ]
                }
              }
            }
          }
      

      sdnc source requires vnf-id to resolve vnf-id. This source must be removed.

       

            silvius silvius
            silvius silvius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: