Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-667

Align SO-OOF API to use ONAP wide instance invariant service identifier

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • None
    • None

      In the homing call to OOF, SO seems to be mapping the "instanceName" coming in from the input request to the "serviceName" field in the Homing Request. However, the serviceName should be a instance invariant identifier that identifies the service (like vCPE), but not a specific instance of the service.

      Instead, the subscriptionServiceType seems to be the right one to map to it.

      Here's a sample input request showing the two fields of interest:

      {
      "requestDetails": {
      "cloudConfiguration":

      { "lcpCloudRegionId": "CloudOwner_RegionOne", "tenantId": "1e097c6713e74fd7ac8e4295e605ee1e" }

      ,
      "modelInfo":

      { "modelInvariantId": "a3ebfaf2-3dea-43b0-bb8e-566f95735230", "modelName": "vcpesvc_rescust_0412a", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "dc316752-561f-48a3-8354-d873c813735d" }

      ,
      "owningEntity":

      { "owningEntityId": "520cc603-a3c4-4ec2-9ef4-ca70facd79c0", "owningEntityName": "OE-Demonstration" }

      ,
      "project":

      { "projectName": "Project-Demonstration" }

      ,
      "requestInfo": {
      "instanceName": "vcpe_svc_vcpesvc_rescust_0412a_201805310007",
      "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
      "requestorId": "vCPE-Robot",
      "source": "VID",
      "suppressRollback": "true"
      },
      "requestParameters": {
      "aLaCarte": "false",
      "subscriptionServiceType": "vCPE",
      "userParams": [

      { "name": "BRG_WAN_MAC_Address", "value": "fa:16:3e:ad:7d:f6" }

      ,
      {
      "name": "Customer_Location",
      "value":

      { "customerLatitude": "32.897480", "customerLongitude": "-97.040443", "customerName": "some_company" }

      },

      { "name": "Homing_Solution", "value": "sniro" }

      ]
      },
      "subscriberInfo":

      { "globalSubscriberId": "SDN-ETHERNET-INTERNET", "subscriberName": "KaneoheBDF9" }

      }
      }

            mgkwill mgkwill
            snarayanan snarayanan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: