...
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 | ||||
---|---|---|---|---|
|
JIRA
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|