Loading src/SOL005/NSFaultManagement/NSFaultManagement.yaml +225 −95 Original line number Original line Diff line number Diff line swagger: "2.0" swagger: "2.0" info: info: version: "2.4.1" version: "1.0.0" title: SOL005 - NS Fault Management Interface title: SOL005 - NS Fault Management Interface description: > description: > SOL005 - NS Fault Management Interface SOL005 - NS Fault Management Interface Loading @@ -18,24 +19,20 @@ externalDocs: description: ETSI GS NFV-SOL 005 V2.4.1 description: ETSI GS NFV-SOL 005 V2.4.1 url: http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf url: http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf basePath: "/nsfm/v1" basePath: "/nsfm/v1" schemes: schemes: - https - https consumes: consumes: - "application/json" - "application/json" produces: produces: - "application/json" - "application/json" paths: paths: ############################################################################### ############################################################################### # Alarms # # Alarms # ############################################################################### ############################################################################### '/alarms': '/alarms': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.2 get: get: summary: > summary: Query alarms related to NS instances. Query alarms related to NS instances. description: > description: > Get Alarm List. Get Alarm List. Loading @@ -59,6 +56,7 @@ paths: - rootCauseFaultyResource.faultyResourceType - rootCauseFaultyResource.faultyResourceType - eventType - eventType - perceivedSeverity - perceivedSeverity - probableCause - name: Accept - name: Accept description: > description: > Content-Types that are acceptable for the response. Content-Types that are acceptable for the response. Loading @@ -76,7 +74,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK The request has succeeded. The request has succeeded. The response body shall contain the list of related alarms. The response body shall contain the list of related alarms. Loading @@ -87,11 +85,13 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 schema: schema: type: array type: array items: items: Loading @@ -117,7 +117,7 @@ paths: # Individual alarm # # Individual alarm # ############################################################################### ############################################################################### '/alarms/{alarmId}': '/alarms/{alarmId}': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.3 parameters: parameters: - name: alarmId - name: alarmId description: > description: > Loading @@ -130,8 +130,7 @@ paths: type: string type: string required: true required: true get: get: summary: > summary: Read individual alarm. Read individual alarm. description: > description: > The client can use this method to read an individual alarm. The client can use this method to read an individual alarm. parameters: parameters: Loading Loading @@ -159,7 +158,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK Information about an individual alarm was read successfully. Information about an individual alarm was read successfully. The response body shall contain a representation of the The response body shall contain a representation of the Loading @@ -171,11 +170,13 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 schema: schema: properties: properties: Alarm: Alarm: Loading @@ -195,8 +196,7 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" patch: patch: summary: > summary: Acknowledge individual alarm. Acknowledge individual alarm. description: > description: > Acknowledge Alarm Acknowledge Alarm Loading Loading @@ -240,7 +240,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK The request was accepted and completed. The request was accepted and completed. The response body shall contain attribute modifications The response body shall contain attribute modifications Loading @@ -252,11 +252,11 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 maximum: 1 minimum: 0 minimum: 0 schema: schema: Loading Loading @@ -285,10 +285,9 @@ paths: #Subscriptions # #Subscriptions # ############################################################################## ############################################################################## '/subscriptions': '/subscriptions': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.4 post: post: summary: > summary: Subscribe to alarms related to NSs. Subscribe to alarms related to NSs. description: > description: > The POST method creates a new subscription. The POST method creates a new subscription. This method shall follow the provisions specified in the Tables 8.4.4.3.1-1 and 8.4.4.3.1-2 for URI query parameters, This method shall follow the provisions specified in the Tables 8.4.4.3.1-1 and 8.4.4.3.1-2 for URI query parameters, Loading Loading @@ -336,24 +335,20 @@ paths: responses: responses: 201: 201: description: 201 Created schema: type: "object" description: > description: > 201 Created The subscription was created successfully. The subscription was created successfully. The response body shall contain a representation of the The response body shall contain a representation of the created subscription resource. created subscription resource. The HTTP response shall include a "Location:" HTTP The HTTP response shall include a "Location:" HTTP header that points to the created subscription resource. header that points to the created subscription resource. schema: type: "object" properties: properties: FmSubscription: FmSubscription: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" headers: headers: Location: type: "string" description: > The HTTP response shall include a Location HTTP header that contains the resource URI of the new NS descriptor resource. Content-Type: Content-Type: type: "string" type: "string" description: > description: > Loading @@ -366,6 +361,8 @@ paths: Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 303: 303: $ref: "responses/SOL005_resp.yaml#/responses/303" $ref: "responses/SOL005_resp.yaml#/responses/303" 400: 400: Loading @@ -383,8 +380,7 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" get: get: summary: > summary: Query multiple subscriptions. Query multiple subscriptions. description: > description: > Query Subscription Information Query Subscription Information Loading Loading @@ -431,7 +427,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK The list of subscriptions was queried successfully. The list of subscriptions was queried successfully. The response body shall contain the representations of The response body shall contain the representations of Loading @@ -444,11 +440,13 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 schema: schema: type: array type: array items: items: Loading Loading @@ -476,7 +474,7 @@ paths: # Individual subscription # # Individual subscription # ############################################################################### ############################################################################### '/subscriptions/{subscriptionId}': '/subscriptions/{subscriptionId}': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.5 parameters: parameters: - name: subscriptionId - name: subscriptionId description: > description: > Loading @@ -489,8 +487,7 @@ paths: type: string type: string required: true required: true get: get: summary: > summary: Read an individual subscription. Read an individual subscription. description: > description: > Query Subscription Information Query Subscription Information Loading Loading @@ -522,6 +519,8 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK The operation has completed successfully. The operation has completed successfully. The response body shall contain a representation of the The response body shall contain a representation of the subscription resource. subscription resource. Loading @@ -534,14 +533,16 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. type: string maximum: 1 maximum: 1 minimum: 0 minimum: 0 schema: schema: properties: FmSubscription: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" 400: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400" Loading @@ -558,8 +559,7 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" delete: delete: summary: > summary: Terminate a subscription. Terminate a subscription. description: > description: > Terminate Subscription Terminate Subscription Loading @@ -575,17 +575,17 @@ paths: responses: responses: 204: 204: description: > description: > 204 - No Content. 204 - No Content The subscription resource was deleted successfully. The subscription resource was deleted successfully. The response body shall be empty. The response body shall be empty. headers: headers: WWW-Authenticate: WWW-Authenticate: type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. type: string maximum: 1 maximum: 1 minimum: 0 minimum: 0 400: 400: Loading @@ -603,21 +603,18 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" ############################################################################### ################################################################################## # Notification endpoint # # Notification endpoint # # "/notification_endpoint" is the # # Dummy URI is used for testing. # # is the dummy URI used for testing, in real case endpoint URI has to # # In real, resource URI is provided by the client when creating the subscription.# # provided by client. # ################################################################################## ############################################################################### '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification': '/notification_endpoint': #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.6 #SOL005 location: 8.2-1 post: post: summary: > summary: Notify about NS alarms Notify about NS alarms. description: > description: > The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. # Don't know how to pass multiple body parameters. # Jenkin build is failing if enable more than one body parameters, So commented body parameters. parameters: parameters: - name: alarmNotification - name: alarmNotification description: > description: > Loading @@ -628,24 +625,6 @@ paths: properties: properties: AlarmNotification: AlarmNotification: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmNotification" $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmNotification" #- name: alarmClearedNotification # description: > # Information of the clearance of a NS alarm. # in: body # required: true # schema: # properties: # AlarmClearedNotification: # $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmClearedNotification" #- name: alarmListRebuiltNotification # description: > # Information that the alarm list has been rebuilt by the NFVO. # in: body # required: true # schema: # properties: # AlarmListRebuiltNotification: # $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmListRebuiltNotification" - name: Accept - name: Accept description: > description: > Content-Types that are acceptable for the response. Content-Types that are acceptable for the response. Loading @@ -670,8 +649,83 @@ paths: responses: responses: 204: 204: description: > description: > 204 No Content The notification was delivered successfully. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: $ref: "responses/SOL005_resp.yaml#/responses/401" 403: $ref: "responses/SOL005_resp.yaml#/responses/403" 500: $ref: "responses/SOL005_resp.yaml#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification': #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.6 post: summary: Notify about NS alarms description: > The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. parameters: - name: alarmClearedNotification description: > Information of the clearance of a NS alarm. in: body required: true schema: properties: AlarmClearedNotification: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmClearedNotification" - name: Accept description: > Content-Types that are acceptable for the response. Reference: IETF RFC 7231 in: header required: true type: string - name: Authorization description: > The authorization token for the request. Reference: IETF RFC 7235 in: header required: false type: string - name: Content-Type description: > The MIME type of the body of the request. Reference: IETF RFC 7231 in: header required: true type: string responses: 204: description: > 204 No Content The notification was delivered successfully. The notification was delivered successfully. The response body shall be empty. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400" 401: 401: Loading @@ -682,8 +736,73 @@ paths: $ref: "responses/SOL005_resp.yaml#/responses/500" $ref: "responses/SOL005_resp.yaml#/responses/500" 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification': #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.6 post: summary: Notify about NS alarms description: > The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. parameters: - name: AlarmListRebuiltNotification description: > Information that the alarm list has been rebuilt by the NFVO. in: body required: true schema: properties: AlarmListRebuiltNotification: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmListRebuiltNotification" - name: Accept description: > Content-Types that are acceptable for the response. Reference: IETF RFC 7231 in: header required: true type: string - name: Authorization description: > The authorization token for the request. Reference: IETF RFC 7235 in: header required: false type: string - name: Content-Type description: > The MIME type of the body of the request. Reference: IETF RFC 7231 in: header required: true type: string responses: 204: description: > 204 No Content The notification was delivered successfully. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: $ref: "responses/SOL005_resp.yaml#/responses/401" 403: $ref: "responses/SOL005_resp.yaml#/responses/403" 500: $ref: "responses/SOL005_resp.yaml#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" get: get: summary: Test the notification endpoint. summary: Test the notification endpoint description: > description: > The GET method allows the server to test the notification endpoint that is provided by the client, e.g. during The GET method allows the server to test the notification endpoint that is provided by the client, e.g. during subscription. subscription. Loading @@ -705,8 +824,19 @@ paths: responses: responses: 204: 204: description: > description: > 204 No Content The notification endpoint was tested successfully. The notification endpoint was tested successfully. The response body shall be empty. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400" 401: 401: Loading Loading
src/SOL005/NSFaultManagement/NSFaultManagement.yaml +225 −95 Original line number Original line Diff line number Diff line swagger: "2.0" swagger: "2.0" info: info: version: "2.4.1" version: "1.0.0" title: SOL005 - NS Fault Management Interface title: SOL005 - NS Fault Management Interface description: > description: > SOL005 - NS Fault Management Interface SOL005 - NS Fault Management Interface Loading @@ -18,24 +19,20 @@ externalDocs: description: ETSI GS NFV-SOL 005 V2.4.1 description: ETSI GS NFV-SOL 005 V2.4.1 url: http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf url: http://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/005/02.04.01_60/gs_NFV-SOL005v020401p.pdf basePath: "/nsfm/v1" basePath: "/nsfm/v1" schemes: schemes: - https - https consumes: consumes: - "application/json" - "application/json" produces: produces: - "application/json" - "application/json" paths: paths: ############################################################################### ############################################################################### # Alarms # # Alarms # ############################################################################### ############################################################################### '/alarms': '/alarms': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.2 get: get: summary: > summary: Query alarms related to NS instances. Query alarms related to NS instances. description: > description: > Get Alarm List. Get Alarm List. Loading @@ -59,6 +56,7 @@ paths: - rootCauseFaultyResource.faultyResourceType - rootCauseFaultyResource.faultyResourceType - eventType - eventType - perceivedSeverity - perceivedSeverity - probableCause - name: Accept - name: Accept description: > description: > Content-Types that are acceptable for the response. Content-Types that are acceptable for the response. Loading @@ -76,7 +74,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK The request has succeeded. The request has succeeded. The response body shall contain the list of related alarms. The response body shall contain the list of related alarms. Loading @@ -87,11 +85,13 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 schema: schema: type: array type: array items: items: Loading @@ -117,7 +117,7 @@ paths: # Individual alarm # # Individual alarm # ############################################################################### ############################################################################### '/alarms/{alarmId}': '/alarms/{alarmId}': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.3 parameters: parameters: - name: alarmId - name: alarmId description: > description: > Loading @@ -130,8 +130,7 @@ paths: type: string type: string required: true required: true get: get: summary: > summary: Read individual alarm. Read individual alarm. description: > description: > The client can use this method to read an individual alarm. The client can use this method to read an individual alarm. parameters: parameters: Loading Loading @@ -159,7 +158,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK Information about an individual alarm was read successfully. Information about an individual alarm was read successfully. The response body shall contain a representation of the The response body shall contain a representation of the Loading @@ -171,11 +170,13 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 schema: schema: properties: properties: Alarm: Alarm: Loading @@ -195,8 +196,7 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" patch: patch: summary: > summary: Acknowledge individual alarm. Acknowledge individual alarm. description: > description: > Acknowledge Alarm Acknowledge Alarm Loading Loading @@ -240,7 +240,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK The request was accepted and completed. The request was accepted and completed. The response body shall contain attribute modifications The response body shall contain attribute modifications Loading @@ -252,11 +252,11 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 maximum: 1 minimum: 0 minimum: 0 schema: schema: Loading Loading @@ -285,10 +285,9 @@ paths: #Subscriptions # #Subscriptions # ############################################################################## ############################################################################## '/subscriptions': '/subscriptions': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.4 post: post: summary: > summary: Subscribe to alarms related to NSs. Subscribe to alarms related to NSs. description: > description: > The POST method creates a new subscription. The POST method creates a new subscription. This method shall follow the provisions specified in the Tables 8.4.4.3.1-1 and 8.4.4.3.1-2 for URI query parameters, This method shall follow the provisions specified in the Tables 8.4.4.3.1-1 and 8.4.4.3.1-2 for URI query parameters, Loading Loading @@ -336,24 +335,20 @@ paths: responses: responses: 201: 201: description: 201 Created schema: type: "object" description: > description: > 201 Created The subscription was created successfully. The subscription was created successfully. The response body shall contain a representation of the The response body shall contain a representation of the created subscription resource. created subscription resource. The HTTP response shall include a "Location:" HTTP The HTTP response shall include a "Location:" HTTP header that points to the created subscription resource. header that points to the created subscription resource. schema: type: "object" properties: properties: FmSubscription: FmSubscription: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" headers: headers: Location: type: "string" description: > The HTTP response shall include a Location HTTP header that contains the resource URI of the new NS descriptor resource. Content-Type: Content-Type: type: "string" type: "string" description: > description: > Loading @@ -366,6 +361,8 @@ paths: Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 303: 303: $ref: "responses/SOL005_resp.yaml#/responses/303" $ref: "responses/SOL005_resp.yaml#/responses/303" 400: 400: Loading @@ -383,8 +380,7 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" get: get: summary: > summary: Query multiple subscriptions. Query multiple subscriptions. description: > description: > Query Subscription Information Query Subscription Information Loading Loading @@ -431,7 +427,7 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK. 200 OK The list of subscriptions was queried successfully. The list of subscriptions was queried successfully. The response body shall contain the representations of The response body shall contain the representations of Loading @@ -444,11 +440,13 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: string type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. maximum: 1 minimum: 0 schema: schema: type: array type: array items: items: Loading Loading @@ -476,7 +474,7 @@ paths: # Individual subscription # # Individual subscription # ############################################################################### ############################################################################### '/subscriptions/{subscriptionId}': '/subscriptions/{subscriptionId}': #SOL005 location: 8.2-1 #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.5 parameters: parameters: - name: subscriptionId - name: subscriptionId description: > description: > Loading @@ -489,8 +487,7 @@ paths: type: string type: string required: true required: true get: get: summary: > summary: Read an individual subscription. Read an individual subscription. description: > description: > Query Subscription Information Query Subscription Information Loading Loading @@ -522,6 +519,8 @@ paths: responses: responses: 200: 200: description: > description: > 200 OK The operation has completed successfully. The operation has completed successfully. The response body shall contain a representation of the The response body shall contain a representation of the subscription resource. subscription resource. Loading @@ -534,14 +533,16 @@ paths: maximum: 1 maximum: 1 minimum: 1 minimum: 1 WWW-Authenticate: WWW-Authenticate: type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. type: string maximum: 1 maximum: 1 minimum: 0 minimum: 0 schema: schema: properties: FmSubscription: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/FmSubscription" 400: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400" Loading @@ -558,8 +559,7 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" delete: delete: summary: > summary: Terminate a subscription. Terminate a subscription. description: > description: > Terminate Subscription Terminate Subscription Loading @@ -575,17 +575,17 @@ paths: responses: responses: 204: 204: description: > description: > 204 - No Content. 204 - No Content The subscription resource was deleted successfully. The subscription resource was deleted successfully. The response body shall be empty. The response body shall be empty. headers: headers: WWW-Authenticate: WWW-Authenticate: type: "string" description: > description: > Challenge if the corresponding HTTP request has not provided Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP authorization, or error details if the corresponding HTTP request request has provided an invalid authorization token. has provided an invalid authorization token. type: string maximum: 1 maximum: 1 minimum: 0 minimum: 0 400: 400: Loading @@ -603,21 +603,18 @@ paths: 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" ############################################################################### ################################################################################## # Notification endpoint # # Notification endpoint # # "/notification_endpoint" is the # # Dummy URI is used for testing. # # is the dummy URI used for testing, in real case endpoint URI has to # # In real, resource URI is provided by the client when creating the subscription.# # provided by client. # ################################################################################## ############################################################################### '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification': '/notification_endpoint': #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.6 #SOL005 location: 8.2-1 post: post: summary: > summary: Notify about NS alarms Notify about NS alarms. description: > description: > The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. # Don't know how to pass multiple body parameters. # Jenkin build is failing if enable more than one body parameters, So commented body parameters. parameters: parameters: - name: alarmNotification - name: alarmNotification description: > description: > Loading @@ -628,24 +625,6 @@ paths: properties: properties: AlarmNotification: AlarmNotification: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmNotification" $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmNotification" #- name: alarmClearedNotification # description: > # Information of the clearance of a NS alarm. # in: body # required: true # schema: # properties: # AlarmClearedNotification: # $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmClearedNotification" #- name: alarmListRebuiltNotification # description: > # Information that the alarm list has been rebuilt by the NFVO. # in: body # required: true # schema: # properties: # AlarmListRebuiltNotification: # $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmListRebuiltNotification" - name: Accept - name: Accept description: > description: > Content-Types that are acceptable for the response. Content-Types that are acceptable for the response. Loading @@ -670,8 +649,83 @@ paths: responses: responses: 204: 204: description: > description: > 204 No Content The notification was delivered successfully. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: $ref: "responses/SOL005_resp.yaml#/responses/401" 403: $ref: "responses/SOL005_resp.yaml#/responses/403" 500: $ref: "responses/SOL005_resp.yaml#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification': #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.6 post: summary: Notify about NS alarms description: > The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. parameters: - name: alarmClearedNotification description: > Information of the clearance of a NS alarm. in: body required: true schema: properties: AlarmClearedNotification: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmClearedNotification" - name: Accept description: > Content-Types that are acceptable for the response. Reference: IETF RFC 7231 in: header required: true type: string - name: Authorization description: > The authorization token for the request. Reference: IETF RFC 7235 in: header required: false type: string - name: Content-Type description: > The MIME type of the body of the request. Reference: IETF RFC 7231 in: header required: true type: string responses: 204: description: > 204 No Content The notification was delivered successfully. The notification was delivered successfully. The response body shall be empty. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400" 401: 401: Loading @@ -682,8 +736,73 @@ paths: $ref: "responses/SOL005_resp.yaml#/responses/500" $ref: "responses/SOL005_resp.yaml#/responses/500" 503: 503: $ref: "responses/SOL005_resp.yaml#/responses/503" $ref: "responses/SOL005_resp.yaml#/responses/503" '/URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification': #ETSI GS NFV-SOL 005 V2.4.1 location: 8.4.6 post: summary: Notify about NS alarms description: > The POST method notifies an alarm related to a NS or that the alarm list has been rebuilt. parameters: - name: AlarmListRebuiltNotification description: > Information that the alarm list has been rebuilt by the NFVO. in: body required: true schema: properties: AlarmListRebuiltNotification: $ref: "definitions/SOL005NSFaultManagement_def.yaml#/definitions/AlarmListRebuiltNotification" - name: Accept description: > Content-Types that are acceptable for the response. Reference: IETF RFC 7231 in: header required: true type: string - name: Authorization description: > The authorization token for the request. Reference: IETF RFC 7235 in: header required: false type: string - name: Content-Type description: > The MIME type of the body of the request. Reference: IETF RFC 7231 in: header required: true type: string responses: 204: description: > 204 No Content The notification was delivered successfully. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: $ref: "responses/SOL005_resp.yaml#/responses/401" 403: $ref: "responses/SOL005_resp.yaml#/responses/403" 500: $ref: "responses/SOL005_resp.yaml#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" get: get: summary: Test the notification endpoint. summary: Test the notification endpoint description: > description: > The GET method allows the server to test the notification endpoint that is provided by the client, e.g. during The GET method allows the server to test the notification endpoint that is provided by the client, e.g. during subscription. subscription. Loading @@ -705,8 +824,19 @@ paths: responses: responses: 204: 204: description: > description: > 204 No Content The notification endpoint was tested successfully. The notification endpoint was tested successfully. The response body shall be empty. The response body shall be empty. headers: WWW-Authenticate: type: "string" description: > Challenge if the corresponding HTTP request has not provided authorization, or error details if the corresponding HTTP request has provided an invalid authorization token. maximum: 1 minimum: 0 400: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" $ref: "responses/SOL005_resp.yaml#/responses/400" 401: 401: Loading