Commit 4bdfdd1a authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed issue#4

parent 3738a26d
Loading
Loading
Loading
Loading
Loading
+7 −26
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ info:

externalDocs:
  description: ETSI GS NFV-SOL 009 V3.6.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.05.01_60/gs_NFV-SOL009v030501p.pdf
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.06.01_60/gs_NFV-SOL009v030601p.pdf

servers:
  - url: http://127.0.0.1/nfvmanocim/v2
@@ -2515,22 +2515,6 @@ components:
      required: false
      schema:
        type: string
    exclude_default.CimSubscription:
      name: exclude_default
      description: >
        Indicates to exclude the following complex attributes from the 
        response. See clause 5.3 of ETSI GS NFV-SOL 013 for details. 
        The NFV-MANO functional entity shall support this parameter.

        The following attributes shall be excluded from the CimSubscription 
        structure in the response body if this parameter is provided, or none of 
        the parameters "all_fields," "fields", "exclude_fields", "exclude_default" 
        are provided:
        - none
      in: query
      required: false
      schema:
        type: string
    exclude_default.ChangeStateOpOcc:
      name: exclude_default
      description: >
@@ -2542,7 +2526,7 @@ components:
        structure in the response body if this parameter is provided, or none of 
        the parameters "all_fields," "fields", "exclude_fields", "exclude_default" 
        are provided:
        - none
        - operationParams
      in: query
      required: false
      schema:
@@ -2550,15 +2534,12 @@ components:
    exclude_default.PeerEntity:
      name: exclude_default
      description: >
        Indicates to exclude the following complex attributes from the 
        response. See clause 5.3 of ETSI GS NFV-SOL 013 for details. 
        The NFV-MANO functional entity shall support this parameter.
        Indicates to exclude the following complex attributes from the response. See clause 5.3 of ETSI GS NFV-SOL 013
        for details. The NFV-MANO functional entity which acts as API producer shall support this parameter.

        The following attributes shall be excluded from the PeerEntity 
        structure in the response body if this parameter is provided, or none of 
        the parameters "all_fields," "fields", "exclude_fields", "exclude_default" 
        are provided:
        - none
        The following attributes shall be excluded from the PeerEntity structure in the response body if this parameter
        is provided, or none of the parameters "all_fields", "fields", "exclude_fields", "exclude_default" are provided:
        •	consumedManoInterfaces.
      in: query
      required: false
      schema:
+31 −2
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ paths:
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Accept"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/filter"
        - $ref: "#/components/parameters/filter.Alarms"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
      responses:
        "200":
@@ -178,7 +178,7 @@ paths:
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Accept"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Authorization"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/filter"
        - $ref: "#/components/parameters/filter.FmSubscriptions"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
      responses:
        "200":
@@ -269,6 +269,35 @@ paths:

components:
  parameters:
    filter.Alarms:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV SOL 013.

        The NFV-MANO functional entity shall support receiving this parameter as part of the URI query string.
        The API consumer may supply this parameter.

        The following attribute names shall be supported by the NFV-MANO functional entity in the attribute-based
        filtering expression: id, managedObjectId, eventType, perceivedSeverity, probableCause.

      in: query
      required: false
      schema:
        type: string
    filter.FmSubscriptions:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV-SOL 013.

        The NFV-MANO functional entity shall support receiving this parameter as part of the URI query string.
        The API consumer may supply this parameter.

        All attribute names that appear in the FmSubscription and in data types referenced from it shall be supported
        by the NFV-MANO functional entity in the filter expression.
      in: query
      required: false
      schema:
        type: string
    alarmId:
      name: alarmId
      description: >
+44 −3
Original line number Diff line number Diff line
@@ -70,11 +70,11 @@ paths:
      description: >-
        The API consumer can use this method to retrieve information about logging jobs. See clause 8.5.3.3.2.
      parameters:
        - $ref: "../components/SOL009_params.yaml#/components/parameters/filter"
        - $ref: "#/components/parameters/filter.LoggingJobs"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/all_fields"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/fields"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/exclude_fields"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/exclude_default"
        - $ref: "#/components/parameters/exclude_default.LoggingJobs"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Accept"
@@ -313,7 +313,7 @@ paths:
        notifications subscribed by the API consumer. See clause 8.5.7.3.2.

      parameters:
        - $ref: "../components/SOL009_params.yaml#/components/parameters/filter"
        - $ref: "#/components/parameters/filter.LogmSubscriptions"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Version"
        - $ref: "../components/SOL009_params.yaml#/components/parameters/Accept"
@@ -409,6 +409,47 @@ paths:

components:
  parameters:
    filter.LoggingJobs:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV-SOL 013.

        The NFV-MANO functional entity shall support receiving this parameter as part of the URI query string.
        The API consumer may supply this parameter.

        All attribute names that appear in the FmSubscription and in data types referenced from it shall be supported
        by the NFV-MANO functional entity in the filter expression.
      in: query
      required: false
      schema:
        type: string
    exclude_default.LoggingJobs:
      name: exclude_default
      description: >
        Indicates to exclude the following complex attributes from the response. See clause 5.3 of ETSI GS NFV-SOL 013
        for details. The NFV-MANO functional entity shall support this parameter.

        The following attributes shall be excluded from the LoggingJob structure in the response body if this parameter
        is provided, or none of the parameters "all_fields", "fields", "exclude_fields", "exclude_default" are provided:
        •	logReports
      in: query
      required: false
      schema:
        type: string
    filter.LogmSubscriptions:
      name: filter
      description: >
        Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV-SOL 013.

        The NFV-MANO functional entity shall support receiving this parameter as part of the URI query string.
        The API consumer may supply this parameter.

        All attribute names that appear in the LogmSubscription and in data types referenced from it shall be supported
        by the NFV-MANO functional entity in the filter expression.
      in: query
      required: false
      schema:
        type: string
    logJobId:
      name: logJobId
      in: path
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ info:

externalDocs:
  description: ETSI GS NFV-SOL 009 V3.6.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.05.01_60/gs_NFV-SOL009v030501p.pdf
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.06.01_60/gs_NFV-SOL009v030601p.pdf

servers:
  - url: http://127.0.0.1/nfvmanopm/v2
@@ -1541,7 +1541,7 @@ components:
        structure in the response body if this parameter is provided, or none of 
        the parameters "all_fields," "fields", "exclude_fields", "exclude_default" 
        are provided:
        - none
        - reports
      in: query
      required: false
      schema: