Commit 7e3d18e5 authored by ruiyue's avatar ruiyue
Browse files

Merge branch...

Merge branch 'Rel19_CR0338_TS_28.312_Add_stage3_OpenAPI_definition_for_intent_negotiation_report' into 'Integration_Rel19_SA5_161_YAML'

Rel19 cr0338 ts 28.312 add stage3 open api definition for intent negotiation report

See merge request !1712
parents 80d76c8b e85c758f
Loading
Loading
Loading
Loading
Loading
+86 −0
Original line number Diff line number Diff line
@@ -94,6 +94,8 @@ components:
            $ref: '#/components/schemas/IntentFeasibilityCheckReport'
          intentExplorationReport:
            $ref: '#/components/schemas/IntentExplorationReport'
          intentFulfilmentNegotiationReport:
            $ref: '#/components/schemas/IntentFulfilmentNegotiationReport'
          lastUpdatedTime:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTimeRo'
          intentReference:
@@ -605,6 +607,90 @@ components:
            minItems: 1
   #-------Definition of the generic IntentExplorationReport dataType----------------#



   #-------Definition of the generic IntentFulfilmentNegotiationReport dataType----------------#
    IntentFulfilmentNegotiationReport:
      description: >-
        It represents the intent negotiation information during fulfilment phase
        This attribute shall be supported when intent fulfilment negotiation information is supported by IntentReport
      type: object
      properties:
        possibleIntentOutcomeList:
          type: array
          items:
            $ref: '#/components/schemas/PossibleIntentOutcome'
          uniqueItems: true
          minItems: 1
        intentFulfilmentNegotiationConsumerFeedback:
          $ref: '#/components/schemas/IntentFulfilmentNegotiationFeedback'
        implicitIntent:
          $ref: '#/components/schemas/ImplicitIntent'
    PossibleIntentOutcome:
      description: >-
        It represents a single outcome evaluated by the MnS producer
      type: object
      properties:
        possibleIntentOutcomeId:
          type: integer
          readOnly: true
        intentFulfilmentInfo:
          $ref: '#/components/schemas/FulfilmentInfo'
        expectationFulfilmentResults:
          type: array
          items:
            $ref: '#/components/schemas/ExpectationFulfilmentResult'
          uniqueItems: true
          minItems: 1
        possibleImpacts:
          type: array
          items:
            $ref: '#/components/schemas/PossibleImpact'
          uniqueItems: true
          minItems: 1
    PossibleImpact:
      description: >-
        It represents the possible impact of the possible outcome
      type: object
      properties:
        impactedObjects:
          type: array
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnRo'
          minItems: 1
        impactedAttributes:
          type: array
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/AttributeNameValuePairSet'
          minItems: 1
    IntentFulfilmentNegotiationFeedback:
      description: >-
        It represents the feedback information that the MnS consumer provides to the 
        MnS producer as response during intent fulfilment Negotiation.
      type: object
      properties:
        referredIntentOutcomeId:
          type: integer
        consumerSatisfactionIndex:
          type: integer
    ImplicitIntent:
      description: >-
        It represents the implicit intent which includes the information 
        that MnS consumers have not explicitly pointed out in its intent.
      type: object
      properties:
        implicitIntentExpectations:
          type: array
          items:
            $ref: '#/components/schemas/IntentExpectation'
        implicitIntentContexts:
          type: array
          items:
            $ref: '#/components/schemas/Context'

   #-------Definition of the generic IntentFulfilmentNegotiationReport dataType----------------#


   #-------Definition of the generic IntentHandlingCapability dataType----------------#
    IntentHandlingCapability:   
      description: >-