Commit 283ebc3a authored by Bertrand Souville's avatar Bertrand Souville
Browse files

Start fixing pipeline

parent 5d06672b
Loading
Loading
Loading
Loading
Loading

src/SOL021/.gitkeep

deleted100644 → 0
+0 −0

Empty file deleted.

src/SOL021/APIVersion/.gitkeep

deleted100644 → 0
+0 −0

Empty file deleted.

+0 −0

Empty file deleted.

+136 −6
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ paths:
        content:
          application/json:
            schema:
              $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
              $ref: '#/components/schemas/Intent'
        required: true
      responses:
        "201":
@@ -32,7 +32,7 @@ paths:
          content:
            application/json:
              schema:
                $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
                $ref: '#/components/schemas/Intent'
        "400":
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
@@ -53,7 +53,7 @@ paths:
              schema:
                type: array
                items:
                  $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
                  $ref: '#/components/schemas/Intent'
        "400":
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
@@ -69,7 +69,7 @@ paths:
          content:
            application/json:
              schema:
                $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
                $ref: '#/components/schemas/Intent'
        "400":
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
@@ -81,7 +81,7 @@ paths:
        content:
          application/json:
            schema:
              $ref: "../components/SOL021_params.yaml#/components/schemas/IntentModifications"
              $ref: '#/components/schemas/IntentModifications'
        required: true
      responses:
        "200":
@@ -89,7 +89,7 @@ paths:
          content:
            application/json:
              schema:
                $ref: "../components/SOL021_params.yaml#/components/schemas/Intent"
                $ref: '#/components/schemas/Intent'
        "400":
          $ref: "../responses/SOL021_resp.yaml#/responses/400"
        "404":
@@ -105,3 +105,133 @@ paths:
          description: Successful deletion of the intent.
        "404":
          $ref: "../responses/SOL021_resp.yaml#/responses/404"
components:
  schemas:
    Intent:
      type: object
      properties:
        intentId:
          description: Identifier of the intent. Assigned by the Intent Owner.
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
        intentName:
          description: Name of the intent.
          type: string
          example: NetworkServiceDeployment001
        intentExpectations:
          $ref: "#/components/schemas/IntentExpectation"
        intentContexts:
          $ref: "#/components/schemas/IntentContext"
    IntentModifications:
      type: object
      properties:
        intentName:
          description: Name of the intent.
          type: string
          example: NetworkServiceDeployment001
        intentExpectations:
          $ref: "#/components/schemas/IntentExpectation"
        intentContexts:
          $ref: "#/components/schemas/IntentContext"
    IntentExpectation:
      type: object
      properties:
        expectationId:
          description: Identifier of the intent expectation.
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440001
        expectationName:
          description: Human readable name of the intent expectation.
          type: string
          example: tbd
        expectationType:
          description: Type of the intent expectation.
          type: string
          example: tbd
        expectationObject:
          $ref: "#/components/schemas/ExpectationObject"
        expectationTarget:
          $ref: "#/components/schemas/ExpectationTarget"
        expectationContexts:
          $ref: "#/components/schemas/Context"
    IntentContext:
      type: object
      properties:
        contextId:
          description: The identifier of this context.
          type: string
          format: uuid
          example: tbd
        contextName:
          description: Name of the context.
          type: string
          example: tbd
        contextConditions:
          $ref: "#/components/schemas/Condition"
    ExpectationObject:
      type: object
      properties:
        objectType:
          description: Type of the object of the intent expectation that are expected to be applied on.
          type: string
          example: tbd
        objectInstanceId:
          description: Identifier of a specific object instance managed by NFV-MANO to which the intent expectation applies.
          type: string
          format: uuid
          example: tbd
        objectFilter:
          description: The constraints and conditions to be used as filter information to identify the managed objects to which a given intent expectation applies.
          type: string
          example: tbd
    ExpectationTarget:
      type: object
      properties:
        targetId:
          description: The identifier of this expectation target.
          type: string
          format: uuid
          example: tbd
        targetName:
          description: Name of the expectation target.
          type: string
        targetConditions:
          $ref: "#/components/schemas/Condition"
        targetContexts:
          $ref: "#/components/schemas/Context"
    Context:
      type: object
      properties:
        contextId:
          description: The identifier of the context.
          type: string
          format: uuid
          example: tbd
        contextName:
          description: Name of the context.
          type: string
        contextConditions:
          $ref: "#/components/schemas/Condition"
    Condition:
      type: object
      properties:
        conditionId:
          description: The identifier of the condition.
          type: string
          format: uuid
          example: tbd
        conditionName:
          description: Name of the condition.
          type: string
        operator:
          description: If conditionValue exists, represents the specific operator for condition. If conditionList exists, represents the relationship between all conditions.
          type: string
          example: tbd
        conditionValue:
          description: For a simple condition, represents the specific value that composes the condition. Either conditionValue or conditionList, but not both, shall be present.
          type: string
          example: tbd
        conditionList:
          $ref: "#/components/schemas/Condition"
 No newline at end of file

src/SOL021/components/.gitkeep

deleted100644 → 0
+0 −0

Empty file deleted.

Loading