swagger: '2.0'
info:
  version: 3.1.2
  title: SO Guilin APIs
tags:
  - name: e2eServiceInstances
  - name: 3gppservices
  - name: globalhealthcheck
  - name: nodehealthcheck
  - name: onapsoinfraorchestrationRequests
  - name: onapsoinfraserviceInstantiation
  - name: onapsoinfratasks
  - name: onapsoinfracloudResources
  - name: onapsoinfracloudResourcesRequests
  - name: onapsoinframodelDistributions
schemes:
  - http
paths:
  '/onap/so/infra/e2eServiceInstances/{version}':
    post:
      tags:
        - e2eServiceInstances
      summary: Create an E2E Service Instance on a version provided
      description: ''
      operationId: createE2EServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][3-5]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/e2eServiceInstances/{version}/{serviceId}':
    put:
      tags:
        - e2eServiceInstances
      summary: Update an E2E Service Instance on a version provided and serviceId
      description: ''
      operationId: updateE2EServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][3-5]'
        - name: serviceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
    delete:
      tags:
        - e2eServiceInstances
      summary: Delete E2E Service Instance on a specified version and serviceId
      description: ''
      operationId: deleteE2EServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][3-5]'
        - name: serviceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}':
    get:
      tags:
        - e2eServiceInstances
      summary: Find e2eServiceInstances Requests for a given serviceId and operationId
      description: ''
      operationId: getE2EServiceInstances
      produces:
        - application/json
      parameters:
        - name: serviceId
          in: path
          required: true
          type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][3-5]'
        - name: operationId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale':
    post:
      tags:
        - e2eServiceInstances
      summary: Scale E2E Service Instance on a specified version
      description: ''
      operationId: scaleE2EServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][3-5]'
        - name: serviceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences':
    post:
      tags:
        - e2eServiceInstances
      summary: >-
        Find added and deleted resources of target model for the
        e2eserviceInstance on a given serviceId 
      description: ''
      operationId: compareModelwithTargetVersion
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: serviceId
          in: path
          required: true
          type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][3-5]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/3gppservices/{version}/allocate':
    post:
      tags:
        - 3gppservices
      summary: Create a 3GPP Service Instance on a version provided
      description: ''
      operationId: allocate3gppService
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/Allocate3gppService'
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
          schema:
            $ref: '#/definitions/3gppServiceResponse'
  '/onap/so/infra/3gppservices/{version}/deAllocate':
    delete:
      tags:
        - 3gppservices
      summary: Terminate/Deallocate a 3GPP Service Instance on a version provided
      description: ''
      operationId: deallocate3gppService
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/DeAllocate3gppService'
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
          schema:
            $ref: '#/definitions/3gppServiceResponse'
  '/onap/so/infra/3gppservices/{version}/modify':
    put:
      tags:
        - 3gppservices
      summary: Modify a 3GPP Service Instance on a version provided
      description: ''
      operationId: modify3gppService
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/Modify3gppService'
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
          schema:
            $ref: '#/definitions/3gppServiceResponse'
  '/onap/so/infra/3gppservices/{version}/activate':
    post:
      tags:
        - 3gppservices
      summary: Activate a 3GPP Service Instance on a version provided
      description: ''
      operationId: activate3gppService
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/3gppServiceActivation'
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
          schema:
            $ref: '#/definitions/3gppServiceResponse'
  '/onap/so/infra/3gppservices/{version}/deActivate':
    post:
      tags:
        - 3gppservices
      summary: Deactivate a 3GPP Service Instance on a version provided
      description: ''
      operationId: deactivate3gppService
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/3gppServiceActivation'
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
          schema:
            $ref: '#/definitions/3gppServiceResponse'
  '/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery':
    get:
      tags:
        - 3gppservices
      summary: Provides subnet capability based on subnet types
      description: ''
      operationId: querySubnetCapability
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/QuerySubnetCapability'
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation with capabilities for the queried subnetTypes
          schema:
            type: object
  /globalhealthcheck:
    get:
      tags:
        - globalhealthcheck
      summary: Performing global health check
      description: ''
      operationId: globalHealthcheck
      produces:
        - text/html
      parameters:
        - name: enableBpmn
          in: query
          required: false
          type: boolean
          default: true
      responses:
        default:
          description: successful operation
  /nodehealthcheck:
    get:
      tags:
        - nodehealthcheck
      summary: Performing node health check
      description: ''
      operationId: nodeHealthcheck
      produces:
        - text/html
      parameters: []
      responses:
        default:
          description: successful operation
  '/onap/so/infra/orchestrationRequests/{version}':
    get:
      tags:
        - onapsoinfraorchestrationRequests
      summary: Find Orchestrated Requests for a URI Information
      description: ''
      operationId: getOrchestrationRequest
      produces:
        - application/json
      parameters:
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][4-7]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/orchestrationRequests/{version}/{requestId}':
    get:
      tags:
        - onapsoinfraorchestrationRequests
      summary: Find Orchestrated Requests for a given requestId
      description: ''
      operationId: getOrchestrationRequestForReqId
      produces:
        - application/json
      parameters:
        - name: requestId
          in: path
          required: true
          type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][4-7]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock':
    post:
      tags:
        - onapsoinfraorchestrationRequests
      summary: Unlock Orchestrated Requests for a given requestId
      description: ''
      operationId: unlockOrchestrationRequest
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: requestId
          in: path
          required: true
          type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][4-7]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Deactivate and Cloud Delete VfModule instance
      description: ''
      operationId: deactivateAndCloudDeleteVfModuleInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
        - name: vfmoduleInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Enable Port Mirroring
      description: ''
      operationId: enablePort
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: configurationInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Disable Port Mirroring
      description: ''
      operationId: disablePort
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: configurationInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Activate Port Mirroring
      description: ''
      operationId: activatePort
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: configurationInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Deactivate Port Mirroring
      description: ''
      operationId: deactivatePort
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: configurationInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Add Relationships to a Service Instance
      description: ''
      operationId: addRelationships
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][6-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: VF Auto Scale Out
      description: ''
      operationId: scaleOutVfModule
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Perform VNF software update
      description: ''
      operationId: inPlaceSoftwareUpdate
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][6-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Apply updated configuration
      description: ''
      operationId: applyUpdatedConfig
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][6-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Create a Service Instance on a version provided
      description: ''
      operationId: createServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Activate provided Service Instance
      description: ''
      operationId: activateServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Deactivate provided Service Instance
      description: ''
      operationId: deactivateServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}':
    delete:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Delete provided Service Instance
      description: ''
      operationId: deleteServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Assign Service Instance
      description: ''
      operationId: assignServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][7]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Unassign Service Instance
      description: ''
      operationId: unassignServiceInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Create Port Mirroring Configuration
      description: ''
      operationId: createPortConfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}':
    delete:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Delete provided Port
      description: ''
      operationId: deletePortConfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: configurationInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Remove Relationships from Service Instance
      description: ''
      operationId: removeRelationships
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][6-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Create VNF on a specified version and serviceInstance
      description: ''
      operationId: createVnfInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Replace provided VNF instance
      description: ''
      operationId: replaceVnfInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}':
    put:
      tags:
        - onapsoinfraserviceInstantiation
      summary: 'Update VNF on a specified version, serviceInstance and vnfInstance'
      description: ''
      operationId: updateVnfInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
    delete:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Delete provided VNF instance
      description: ''
      operationId: deleteVnfInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: 'Create VfModule on a specified version, serviceInstance and vnfInstance'
      description: ''
      operationId: createVfModuleInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: 'Create VfModule on a specified version, serviceInstance and vnfInstance'
      description: ''
      operationId: replaceVfModuleInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
        - name: vfmoduleInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}':
    put:
      tags:
        - onapsoinfraserviceInstantiation
      summary: >-
        Update VfModule on a specified version, serviceInstance, vnfInstance and
        vfModule
      description: ''
      operationId: updateVfModuleInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
        - name: vfmoduleInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
    delete:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Delete provided VfModule instance
      description: ''
      operationId: deleteVfModuleInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
        - name: vfmoduleInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: 'Create VolumeGroup on a specified version, serviceInstance, vnfInstance'
      description: ''
      operationId: createVolumeGroupInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}':
    put:
      tags:
        - onapsoinfraserviceInstantiation
      summary: >-
        Update VolumeGroup on a specified version, serviceInstance, vnfInstance
        and volumeGroup
      description: ''
      operationId: updateVolumeGroupInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
        - name: volumeGroupInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
    delete:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Delete provided VolumeGroup instance
      description: ''
      operationId: deleteVolumeGroupInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: vnfInstanceId
          in: path
          required: true
          type: string
        - name: volumeGroupInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks':
    post:
      tags:
        - onapsoinfraserviceInstantiation
      summary: 'Create NetworkInstance on a specified version and serviceInstance '
      description: ''
      operationId: createNetworkInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}':
    put:
      tags:
        - onapsoinfraserviceInstantiation
      summary: >-
        Update VolumeGroup on a specified version, serviceInstance,
        networkInstance
      description: ''
      operationId: updateNetworkInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: networkInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
    delete:
      tags:
        - onapsoinfraserviceInstantiation
      summary: Delete provided Network instance
      description: ''
      operationId: deleteNetworkInstance
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][5-7]'
        - name: serviceInstanceId
          in: path
          required: true
          type: string
        - name: networkInstanceId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/tasks/{version}':
    get:
      tags:
        - onapsoinfratasks
      summary: Finds Manual Tasks
      description: ''
      operationId: queryFilters
      parameters:
        - name: taskId
          in: query
          required: false
          type: string
        - name: originalRequestId
          in: query
          required: false
          type: string
        - name: subscriptionServiceType
          in: query
          required: false
          type: string
        - name: nfRole
          in: query
          required: false
          type: string
        - name: buildingBlockName
          in: query
          required: false
          type: string
        - name: originalRequestDate
          in: query
          required: false
          type: string
        - name: originalRequestorId
          in: query
          required: false
          type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV]1'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/cloudResources/{version}/operationalEnvironments':
    post:
      tags:
        - onapsoinfracloudResources
      summary: Create an Operational Environment
      description: ''
      operationId: createOperationEnvironment
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate':
    post:
      tags:
        - onapsoinfracloudResources
      summary: Activate an Operational Environment
      description: ''
      operationId: activateOperationEnvironment
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
        - name: operationalEnvironmentId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate':
    post:
      tags:
        - onapsoinfracloudResources
      summary: Deactivate an Operational Environment
      description: ''
      operationId: deactivateOperationEnvironment
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
        - name: operationalEnvironmentId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
  '/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock':
    post:
      tags:
        - onapsoinfracloudResourcesRequests
      summary: Unlock CloudOrchestration requests for a specified requestId
      description: ''
      operationId: unlockOrchestrationRequestForReqId
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: requestId
          in: path
          required: true
          type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/cloudResourcesRequests/{version}':
    get:
      tags:
        - onapsoinfracloudResourcesRequests
      summary: Get status of an Operational Environment based on filter criteria
      description: ''
      operationId: getOperationEnvironmentStatusFilter
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
      responses:
        default:
          description: successful operation
  '/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}':
    post:
      tags:
        - onapsoinframodelDistributions
      summary: Update model distribution status
      description: ''
      operationId: updateModelDistributionStatus
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          required: false
          schema:
            type: string
        - name: version
          in: path
          required: true
          type: string
          pattern: '[vV][1]'
        - name: distributionId
          in: path
          required: true
          type: string
      responses:
        default:
          description: successful operation
definitions:
  Allocate3gppService:
    description: This describes the request body for 3gpp service allocation
    type: object
    properties:
      name:
        description: Name of the service to allocate
        type: string
      modelInvariantUuid:
        description: >-
          Model Invariant UUID corresponding to the service. For E.g :  NSST
          Model invariant uuid in case of NSSI creation
        type: string
      modelUuid:
        description: >-
          Model UUID corresponding to the service. For E.g :  NSST Model uuid in
          case of NSSI creation
        type: string
      globalSubscriberId:
        type: string
      subscriptionServiceType:
        description: 'Service type for the subscription. For E.G :5G'
        type: string
      networkType:
        description: 'Network type. For E.G :AN/CN/TN'
        type: string
      additionalProperties:
        description: Map of additional properties required for service allocation
        type: object
  DeAllocate3gppService:
    description: This describes the request body for 3gpp service Termination/Deallocation
    type: object
    properties:
      serviceInstanceID:
        description: ID of the service to terminate
        type: string
      globalSubscriberId:
        type: string
      subscriptionServiceType:
        description: 'Service type for the subscription. For E.G :5G'
        type: string
      networkType:
        description: 'Network type. For E.G :AN/CN/TN'
        type: string
      additionalProperties:
        description: Map of additional properties required for service deallocation
        type: object
  Modify3gppService:
    description: This describes the request body for 3gpp service modification
    type: object
    properties:
      name:
        description: Name of the service to modify
        type: string
      serviceInstanceID:
        description: ID of the service to modify
        type: string
      globalSubscriberId:
        type: string
      subscriptionServiceType:
        description: 'Service type for the subscription. For E.G :5G'
        type: string
      networkType:
        description: 'Network type. For E.G :AN/CN/TN'
        type: string
      additionalProperties:
        description: Map of additional properties required for service modification
        type: object
  3gppServiceActivation:
    description: This describes the request body for 3gpp service activation/deactivation
    type: object
    properties:
      serviceInstanceID:
        description: ID of the service to be activated/deactivated
        type: string
      globalSubscriberId:
        type: string
      subscriptionServiceType:
        description: 'Service type for the subscription. For E.G :5G'
        type: string
      networkType:
        description: 'Network type. For E.G :AN/CN/TN'
        type: string
      additionalProperties:
        description: >-
          Map of additional properties required for service
          activation/deactivation
        type: object
  QuerySubnetCapability:
    description: This describes the subnet capabilities that can be queried
    type: object
    properties:
      subnetTypes:
        type: array
        items:
          $ref: '#/definitions/SubnetTypes'
  SubnetTypes:
    description: This describes allowed subnet types
    type: string
    enum:
      - AN
      - AN-NF
      - CN
      - TN-FH
      - TN-MH
      - TN-BH
  3gppServiceResponse:
    description: This describes the response for 3gpp services
    type: object
    properties:
      jobId:
        description: Job ID to be used to identify the status of the job
        type: string
      status:
        description: status of the job
        type: string
      statusDescription:
        description: Description on status in case of erroneous response
        type: string