Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add a new rest api endpoint in API Handler to handle the new scale out operation.  This will be dual hosted on dmaap topic was as well.


Sample payload is attached, the rest uri should simply beuri 
 

API:
onap/so/infra/serviceInstantiation/v7/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut


Sample

...

Reuqest

...

Json

...

{

  "SOCMRequest": {//name tbd
      "requestInfo": {
          "source": "VID",
          "requestorId": "az2016",
          "requestId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",//persist cross all transactions
          "subRequestId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",//unique per message
          "action": "scaleOut" //action we wish to take
      },
      “vf-module”: {
			“vf-module-instance-name”,//optional input if name should be provided
            "modelType": "vfModule",
            "modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff"
            requestParams{
            	userParams[]
            }
      },
      "relatedEntities": [ //list of related A&AI resource instances
         {
            "generic-vnf": {
               "vnf-id": "vnf-id"
            }
         }
      ]
  }
}
 


Swagger Json File

View file
nameswagger.json
height250

JIRA 

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keySO-676