Commit 4296d1e5 authored by piscione's avatar piscione
Browse files

Added missing JSON payload examples and schema

parent 9352408f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_OK
    ...    ETSI GS MEC 045 Clause 6.3.2,
    ...    ETSI GS MEC 045 Clause 7.4.3.2
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Update QoS Event Subscription    QoSEventSubscriptionUpdate   ${SUBSCRIPTION_ID}
    Update QoS Event Subscription    QoSMeasureSubscriptionUpdate   ${SUBSCRIPTION_ID}
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is  QoSEventSubscription

@@ -176,7 +176,7 @@ TC_MEC_MEC045_SRV_QOS_MEAS_SUB_NOT_002_NF
    ...    ETSI GS MEC 045 Clause 6.3.2,
    ...    ETSI GS MEC 045 Clause 7.4.3.2
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Update QoS Event Subscription    QoSEventSubscriptionUpdate   ${UNKNOWN_SUBSCRIPTION_ID}
    Update QoS Event Subscription    QoSMeasureSubscriptionUpdate   ${UNKNOWN_SUBSCRIPTION_ID}
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is  QoSEventSubscription

+17 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSMeasureSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "flowInfo":[ "flowInfo1"],
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": ["THROUGHPUT","LATENCY"]
    }
}
 No newline at end of file
+16 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": ["THROUGHPUT","LATENCY"]
    }
}
 No newline at end of file
+15 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSSubscription",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": ["THROUGHPUT","LATENCY"]
    }
}
 No newline at end of file
+17 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSMeasureSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "websockNotifConfig":"websocketconfig",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": ["THROUGHPUT","LATENCY"]
    }
}
 No newline at end of file
Loading