Commit d6854068 authored by moscatelli's avatar moscatelli
Browse files

SOL003_162/SOL003_163: Notification interface methods updated

parent be689414
Loading
Loading
Loading
Loading
Loading
+41 −30
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ info:
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt

externalDocs:
  description: ETSI GS NFV-SOL 003 V2.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.05.01_60/gs_nfv-sol003v020501p.pdf
  description: ETSI GS NFV-SOL 003 V2.6.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.06.01_60/gs_NFV-SOL003v020601p.pdf

basePath: "/callback/v1"

@@ -46,11 +46,11 @@ paths:
    #SOL003 location: 7.4.6
    post:
      description: >
        Notify


        The POST method notifies a VNF alarm or that the alarm list has been
        rebuilt.
        Notify.
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt.
        The API consumer shall have previously created an "Individual subscription resource" with a matching filter.
        This method shall follow the provisions specified in the tables 7.4.6.3.1-1 and 7.4.6.3.1-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: AlarmNotification
          description: >
@@ -85,7 +85,7 @@ paths:
          description: >
            204 NO CONTENT

            The notification was delivered successfully.
            Shall be returned when the notification has been delivered successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate:
@@ -116,10 +116,13 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"

    get:
      description: >
        The GET method allows the server to test the notification endpoint
        that is provided by the client, e.g. during subscription.
        The GET method allows the server to test the notification endpoint that is provided by the client,
        e.g. during subscription.
        This method shall follow the provisions specified in the tables 7.4.6.3.2-1 and 7.4.6.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: Authorization
          description: >
@@ -139,7 +142,7 @@ paths:
          description: >
            204 NO CONTENT

            The notification endpoint was tested successfully.
            Shall be returned to indicate that the notification endpoint has been tested successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate:
@@ -170,6 +173,7 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"

  ###############################################################################
  # Notification endpoint AlarmClearedNotification                              #
  ###############################################################################
@@ -177,11 +181,11 @@ paths:
    #SOL003 location: 7.4.6
    post:
      description: >
        Notify


        The POST method notifies a VNF alarm or that the alarm list has been
        rebuilt.
        Notify.
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt.
        The API consumer shall have previously created an "Individual subscription resource" with a matching filter.
        This method shall follow the provisions specified in the tables 7.4.6.3.1-1 and 7.4.6.3.1-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: AlarmClearedNotification
          description: >
@@ -216,7 +220,7 @@ paths:
          description: >
            204 NO CONTENT

            The notification was delivered successfully.
            Shall be returned when the notification has been delivered successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate:
@@ -247,10 +251,13 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"

    get:
      description: >
        The GET method allows the server to test the notification endpoint
        that is provided by the client, e.g. during subscription.
        The GET method allows the server to test the notification endpoint that is provided by the client,
        e.g. during subscription.
        This method shall follow the provisions specified in the tables 7.4.6.3.2-1 and 7.4.6.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: Authorization
          description: >
@@ -270,7 +277,7 @@ paths:
          description: >
            204 NO CONTENT

            The notification endpoint was tested successfully.
            Shall be returned to indicate that the notification endpoint has been tested successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate:
@@ -301,6 +308,7 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"

  ###############################################################################
  # Notification endpoint AlarmListRebuiltNotification                          #
  ###############################################################################
@@ -308,11 +316,11 @@ paths:
    #SOL003 location: 7.4.6
    post:
      description: >
        Notify


        The POST method notifies a VNF alarm or that the alarm list has been
        rebuilt.
        Notify.
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt.
        The API consumer shall have previously created an "Individual subscription resource" with a matching filter.
        This method shall follow the provisions specified in the tables 7.4.6.3.1-1 and 7.4.6.3.1-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: AlarmListRebuiltNotification
          description: >
@@ -347,7 +355,7 @@ paths:
          description: >
            204 NO CONTENT

            The notification was delivered successfully.
            Shall be returned when the notification has been delivered successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate:
@@ -378,10 +386,13 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"

    get:
      description: >
        The GET method allows the server to test the notification endpoint
        that is provided by the client, e.g. during subscription.
        The GET method allows the server to test the notification endpoint that is provided by the client,
        e.g. during subscription.
        This method shall follow the provisions specified in the tables 7.4.6.3.2-1 and 7.4.6.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
        - name: Authorization
          description: >
@@ -401,7 +412,7 @@ paths:
          description: >
            204 NO CONTENT

            The notification endpoint was tested successfully.
            Shall be returned to indicate that the notification endpoint has been tested successfully.
            The response body shall be empty.
          headers:
            WWW-Authenticate: