Scale Out API



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



Sample payload is attached, the rest uri 
 

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

JIRA 

SO-676: As user of the ONAP I should be able to Auto Scale the VFs Closed