Commit 10e52e7f authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

updated endpoints descriptions

parent 90eb98f3
Loading
Loading
Loading
Loading
+11 −48
Original line number Original line Diff line number Diff line
@@ -18,8 +18,8 @@ info:
  version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"
  version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"


externalDocs:
externalDocs:
  description: ETSI GS NFV-SOL 003 V3.3.4
  description: ETSI GS NFV-SOL 003 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.03.01_60/gs_NFV-SOL003v030301p.pdf
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.05.01_60/gs_NFV-SOL003v030501p.pdf


servers:
servers:
  - url: http://127.0.0.1/vnffm/v1
  - url: http://127.0.0.1/vnffm/v1
@@ -39,10 +39,7 @@ paths:
    #SOL003 location: 7.4.2
    #SOL003 location: 7.4.2
    get:
    get:
      description: |
      description: |
        Get Alarm List.
        The API consumer can use this method to retrieve information about the alarm list. See clause 7.4.2.3.2.
        The API consumer can use this method to retrieve information about the alarm list.
        This method shall follow the provisions specified in the tables 7.4.2.3.2-1 and 7.4.2.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
@@ -85,9 +82,7 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    get:
    get:
      description: |
      description: |
        The API consumer can use this method to read an individual alarm.
        The API consumer can use this method to read an individual alarm. See clause 7.4.3.3.2.
        This method shall follow the provisions specified in the tables 7.4.3.3.2-1 and 7.4.3.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      responses:
      responses:
        200:
        200:
          $ref: '#/components/responses/IndividualAlarm.Get.200'
          $ref: '#/components/responses/IndividualAlarm.Get.200'
@@ -114,10 +109,7 @@ paths:


    patch:
    patch:
      description: |
      description: |
        Acknowledge Alarm.
        This method modifies an "Individual alarm" resource. See clause 7.4.3.3.4.
        This method modifies an "Individual alarm" resource.
        This method shall follow the provisions specified in the tables 7.4.3.3.4-1 and 7.4.3.3.4-2
        for URI query parameters, request and response data structures, and response codes.
      requestBody:
      requestBody:
        $ref: '#/components/requestBodies/IndividualAlarmRequest' 
        $ref: '#/components/requestBodies/IndividualAlarmRequest' 
      responses:
      responses:
@@ -167,20 +159,7 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    post:
    post:
      description: |
      description: |
        Subscribe.
        The POST method creates a new subscription. See clause 7.4.4.3.1.
        The POST method creates a new subscription.
        This method shall follow the provisions specified in the tables 7.4.4.3.1-1 and 7.4.4.3.1-2
        for URI query parameters, request and response data structures, and response codes.
        As the result of successfully executing this method, a new "Individual subscription" resource
        as defined in clause 7.4.5 shall have been created. This method shall not trigger any notification.
        Creation of two "Individual subscription" resources with the same callback URI and the same filter
        can result in performance degradation and will provide duplicates of notifications to the NFVO,
        and might make sense only in very rare use cases. Consequently, the VNFM may either allow creating
        a new "Individual subscription" resource if another "Individual subscription" resource with the
        same filter and callback URI already exists (in which case it shall return the "201 Created" response code),
        or may decide to not create a duplicate "Individual subscription" resource (in which case it shall return
        a "303 See Other" response code referencing the existing "Individual subscription" resource with the
        same filter and callback URI).
      requestBody:
      requestBody:
        $ref: '#/components/requestBodies/FmSubscriptionRequest'
        $ref: '#/components/requestBodies/FmSubscriptionRequest'
      responses:
      responses:
@@ -222,12 +201,8 @@ paths:


    get:
    get:
      description: |
      description: |
        Query Subscription Information
        The API consumer can use this method to retrieve the list of active subscriptions for VNF alarms subscribed

        by the API consumer. It can be used e.g. for resynchronization after error situations. See clause 7.4.4.3.2.

        The API consumer can use this method to retrieve the list of active
        subscriptions for VNF alarms subscribed by the API consumer. It can be used
        e.g. for resynchronization after error situations.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
@@ -266,11 +241,8 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
    get:
    get:
      description: |
      description: |
        Query Subscription Information.
        The API consumer can use this method for reading an individual subscription for VNF
        The API consumer can use this method for reading an individual subscription for VNF alarms
        alarms subscribed by the API consumer. See clause 7.4.5.3.2.
        subscribed by the API consumer.
        This method shall follow the provisions specified in the tables 7.4.5.3.2-1 and 7.4.5.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
@@ -300,16 +272,7 @@ paths:


    delete:
    delete:
      description: |
      description: |
        Terminate Subscription.
        This method terminates an individual subscription. See clause 7.4.5.3.5.
        This method terminates an individual subscription.
        This method shall follow the provisions specified in the tables 7.4.5.3.5-1 and 7.4.5.3.5-2
        for URI query parameters, request and response data structures, and response codes.
        As the result of successfully executing this method, the "Individual subscription" resource
        shall not exist any longer. This means that no notifications for that subscription shall be
        sent to the formerly-subscribed API consumer.

          NOTE: Due to race conditions, some notifications might still be received by the formerly-subscribed
                API consumer for a certain time period after the deletion.
      responses:
      responses:
        204:
        204:
          $ref: '#/components/responses/IndividualSubscription.Delete.204'
          $ref: '#/components/responses/IndividualSubscription.Delete.204'
+14 −29
Original line number Original line Diff line number Diff line
@@ -18,8 +18,8 @@ info:
  version: 1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
  version: 1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1


externalDocs:
externalDocs:
  description: ETSI GS NFV-SOL 003 V3.3.4
  description: ETSI GS NFV-SOL 003 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.03.01_60/gs_NFV-SOL003v030301p.pdf
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.05.01_60/gs_NFV-SOL003v030501p.pdf


servers:
servers:
  - url: http://127.0.0.1/callback/v1
  - url: http://127.0.0.1/callback/v1
@@ -36,11 +36,8 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    post:
    post:
      description: |
      description: |
        Notify.
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt. The API consumer shall have
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt.
        previously created an "Individual subscription" resource with a matching filter. See clause 7.4.6.3.1.
        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:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      requestBody:
      requestBody:
@@ -65,10 +62,8 @@ paths:


    get:
    get:
      description: |
      description: |
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
        The GET method allows the API producer to test the notification endpoint that is provided by the
        e.g. during subscription.
        API consumer, e.g. during subscription. See clause 7.4.6.3.2.
        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.
      responses:
      responses:
        204:
        204:
          $ref: '#/components/responses/AlarmNotification.Get.204'
          $ref: '#/components/responses/AlarmNotification.Get.204'
@@ -97,11 +92,8 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    post:
    post:
      description: |
      description: |
        Notify.
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt. The API consumer shall have
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt.
        previously created an "Individual subscription" resource with a matching filter. See clause 7.4.6.3.1.
        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:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      requestBody:
      requestBody:
@@ -126,10 +118,8 @@ paths:


    get:
    get:
      description: |
      description: |
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
        The GET method allows the API producer to test the notification endpoint that is provided by the
        e.g. during subscription.
        API consumer, e.g. during subscription. See clause 7.4.6.3.2.
        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.
      responses:
      responses:
        204:
        204:
          $ref: '#/components/responses/AlarmClearedNotification.Get.204'
          $ref: '#/components/responses/AlarmClearedNotification.Get.204'
@@ -158,11 +148,8 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    post:
    post:
      description: |
      description: |
        Notify.
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt. The API consumer shall have
        The POST method notifies a VNF alarm or that the alarm list has been rebuilt.
        previously created an "Individual subscription" resource with a matching filter. See clause 7.4.6.3.1.
        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:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      requestBody:
      requestBody:
@@ -187,10 +174,8 @@ paths:


    get:
    get:
      description: |
      description: |
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
        The GET method allows the API producer to test the notification endpoint that is provided by the
        e.g. during subscription.
        API consumer, e.g. during subscription. See clause 7.4.6.3.2.
        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.
      responses:
      responses:
        204:
        204:
          $ref: '#/components/responses/AlarmListRebuiltNotification.Get.204'
          $ref: '#/components/responses/AlarmListRebuiltNotification.Get.204'
+10 −47
Original line number Original line Diff line number Diff line
@@ -18,8 +18,8 @@ info:
  version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"
  version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"


externalDocs:
externalDocs:
  description: ETSI GS NFV-SOL 003 V3.3.4
  description: ETSI GS NFV-SOL 003 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.03.01_60/gs_NFV-SOL003v030301p.pdf
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.05.01_60/gs_NFV-SOL003v030501p.pdf


servers:
servers:
  - url: http://127.0.0.1/vnfind/v1
  - url: http://127.0.0.1/vnfind/v1
@@ -40,10 +40,7 @@ paths:
    #SOL003 location: 8.4.2
    #SOL003 location: 8.4.2
    get:
    get:
      description: |
      description: |
        Get Indicator Value.
        The GET method queries multiple VNF indicators. See clause 8.4.2.3.2.
        The GET method queries multiple VNF indicators.
        This method shall follow the provisions specified in the tables 8.4.2.3.2-1 and 8.4.2.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
@@ -83,10 +80,7 @@ paths:
      - $ref: '#/components/parameters/VnfInstanceId'
      - $ref: '#/components/parameters/VnfInstanceId'
    get:
    get:
      description: |
      description: |
        Get Indicator Value.
        The GET method queries multiple VNF indicators related to a VNF instance. See clause 8.4.3.3.2.
        The GET method queries multiple VNF indicators related to a VNF instance.
        This method shall follow the provisions specified in the tables 8.4.3.3.2-1 and 8.4.3.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
@@ -128,10 +122,7 @@ paths:
      - $ref: '#/components/parameters/VnfInstanceId'
      - $ref: '#/components/parameters/VnfInstanceId'
    get:
    get:
      description: |
      description: |
        Get Indicator Value.
        The GET method reads a VNF indicator. See clause 8.4.4.3.2.
        The GET method reads a VNF indicator.
        This method shall follow the provisions specified in the tables 8.4.4.3.2-1 and 8.4.4.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
@@ -172,20 +163,7 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    post:
    post:
      description: |
      description: |
        Subscribe.
        The POST method creates a new subscription. See clause 8.4.5.3.1.
        The POST method creates a new subscription.
        As the result of successfully executing this method, a new "Individual subscription" resource
        as defined in clause 8.4.6 shall have been created. This method shall not trigger any notification.
        Creation of two "Individual subscription" resources with the same callback URI and the same filter
        can result in performance degradation and will provide duplicates of notifications to the NFVO,
        and might make sense only in very rare use cases. Consequently, the VNFM may either allow creating
        a new "Individual subscription" resource if another "Individual subscription" resource with the
        same filter and callback URI already exists (in which case it shall return the "201 Created" response code),
        or may decide to not create a duplicate "Individual subscription" resource (in which case it shall return
        a "303 See Other" response code referencing the existing "Individual subscription" resource with the same
        filter and callback URI).
        This method shall follow the provisions specified in the tables 8.4.5.3.1-1 and 8.4.5.3.1-2
        for URI query parameters, request and response data structures, and response codes.
      requestBody:
      requestBody:
        $ref: '#/components/requestBodies/VnfIndicatorSubscriptionRequest'
        $ref: '#/components/requestBodies/VnfIndicatorSubscriptionRequest'
      responses:
      responses:
@@ -227,11 +205,8 @@ paths:


    get:
    get:
      description: |
      description: |
        Query Subscription Information.
        The GET method queries the list of active subscriptions of the functional block that invokes the method.
        The GET method queries the list of active subscriptions of the functional block that
        It can be used e.g. for resynchronization after error situations. See clause 8.4.5.3.2.
        invokes the method. It can be used e.g. for resynchronization after error situations.
        This method shall follow the provisions specified in the tables 8.4.5.3.2-1 and 8.4.5.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
@@ -271,10 +246,7 @@ paths:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
    get:
    get:
      description: |
      description: |
        Query Subscription Information.
        The GET method reads an individual subscription. See clause 8.4.6.3.2.
        The GET method reads an individual subscription.
        This method shall follow the provisions specified in the tables 8.4.6.3.2-1 and 8.4.6.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
      responses:
      responses:
@@ -303,16 +275,7 @@ paths:


    delete:
    delete:
      description: |
      description: |
        Terminate Subscription.
        The DELETE method terminates an individual subscription. See clause 8.4.6.3.5.
        The DELETE method terminates an individual subscription.
        This method shall follow the provisions specified in the tables 8.4.6.3.5-1 and 8.4.6.3.5-2
        for URI query parameters, request and response data structures, and response codes.
        As the result of successfully executing this method, the "Individual subscription" resource
        shall not exist any longer. This means that no notifications for that subscription shall be
        sent to the formerly-subscribed API consumer.

          NOTE: Due to race conditions, some notifications might still be received by the formerly-subscribed
                API consumer for a certain time period after the deletion.
      responses:
      responses:
        204:
        204:
          $ref: '#/components/responses/IndividualSubscription.Delete.204'
          $ref: '#/components/responses/IndividualSubscription.Delete.204'
+6 −11
Original line number Original line Diff line number Diff line
@@ -18,8 +18,8 @@ info:
  version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"
  version: "1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1"


externalDocs:
externalDocs:
  description: ETSI GS NFV-SOL 003 V3.3.4
  description: ETSI GS NFV-SOL 003 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.03.01_60/gs_NFV-SOL003v030301p.pdf
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/03.05.01_60/gs_NFV-SOL003v030501p.pdf


servers:
servers:
  - url: http://127.0.0.1/callback/v1
  - url: http://127.0.0.1/callback/v1
@@ -33,11 +33,8 @@ paths:
    #SOL003 location: 8.4.7
    #SOL003 location: 8.4.7
    post:
    post:
      description: |
      description: |
        Notify.
        The POST method delivers a notification from the API producer to an API consumer. The API consumer shall
        The POST method delivers a notification from the API producer to an API consumer.
        have previously created an "Individual subscription" resource with a matching filter. See clause 8.4.7.3.1.
        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 8.4.7.3.1-1 and 8.4.7.3.1-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
@@ -63,10 +60,8 @@ paths:


    get:
    get:
      description: |
      description: |
        The GET method allows the API producer to test the notification endpoint that is provided by 
        The GET method allows the API producer to test the notification endpoint that is provided by the API consumer,
        the API consumer, e.g. during subscription.
        e.g. during subscription. See clause 8.4.7.3.2.
        This method shall follow the provisions specified in the tables 8.4.7.3.2-1 and 8.4.7.3.2-2
        for URI query parameters, request and response data structures, and response codes.
      parameters:
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
+47 −345

File changed.

Preview size limit exceeded, changes collapsed.

Loading