aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/resources/external/schemas/sa91-rel16/perfMnS.yaml
blob: dec612785ad35ce1cbc71cb28809ef98ce9be7ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
openapi: 3.0.1
info:
  title: TS 28.532 Performance Threshold Monitoring MnS
  version: 16.6.0
  description: >-
    OAS 3.0.1 definition of the Performance Threshold Monitoring MnS
    © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.532 V16.6.0; Generic management services
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.532/
servers:
  - url: '{root}'
    variables:
      root:
        description: >-
          The open API server of the performance threshold monitoring service is
          located in the consumer side, see monitoringNotifTarget attribute of
          the IOC ThresholdMonitor defined in 3GPP TS 28.622 [11].
        default: http://example.com/3GPPManagement
paths:
  /notificationSink:
    post:
      summary: Send notifications about performance threshold crossing
      description: To send a notifyThresholdCrossing notification
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotifyThresholdCrossing'
      responses:
        '204':
          description: >-
            Success case ("204 No Content"). The notification is successfully
            delivered. The response message body is absent.
        default:
          description: Error case.
          content:
            application/json:
              schema:
                $ref: 'comDefs.yaml#/components/schemas/ErrorResponse'
components:
  schemas:
    PerfNotificationTypes:
      type: string
      enum:
        - notifyThresholdCrossing
    PerfMetricValue:
      oneOf:
        - type: integer
        - $ref: 'comDefs.yaml#/components/schemas/Float'
    PerfMetricDirection:
      type: string
      enum:
        - UP
        - DOWN
    NotifyThresholdCrossing:
      allOf:
        - $ref: 'comDefs.yaml#/components/schemas/NotificationHeader'
        - type: object
          properties:
            observedPerfMetricName:
              type: string
            observedPerfMetricValue:
              $ref: '#/components/schemas/PerfMetricValue'
            observedPerfMetricDirection:
              $ref: '#/components/schemas/PerfMetricDirection'
            thresholdValue:
              $ref: '#/components/schemas/PerfMetricValue'
            hysteresis:
              $ref: '#/components/schemas/PerfMetricValue'
            monitorGranularityPeriod:
              type: integer
            additionalText:
              type: string