variables.txt 1.93 KB
Newer Older
1
*** Variables ***
2
3
${NFVO_HOST}      localhost    # Hostname of the NFVO
${NFVO_PORT}      8081    # Listening port of the NFVO
4
${NFVO_SCHEMA}    https
5
${AUTHORIZATION}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
6
7
${CONTENT_TYPE_JSON}    application/json
${ACCEPT_JSON}    application/json
8
${apiRoot}        /
9
10
${AUTH_USAGE}     1
${NEG_AUTHORIZATION}    Bearer negativetoken
11
${apiMajorVersion}     v2
12
${apiName}        nspm
13
${FIELD_USAGE}    1
14
${NFVO_CHECKS_NOTIF_ENDPOINT}    1
15

16
17
${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar

18
19
20
21
22
23
24
25
26
27
28
${testOptionalMethods}    0

${callback_port}    9091
${callback_uri}    http://172.22.1.7:${callback_port}
${callback_endpoint}    /nspm/subscriptions
${callback_endpoint_error}    /subs_404
${sleep_interval}    20s

${total_polling_time}   2 min
${polling_interval}     10 sec

29
30
31
32
33
${performanceMetric}    cpu_util
${thresholdType}        SIMPLE
${thresholdValue}       10
${hysteresis}           50
${collectionPeriod}     10
34
35
36
${reportingPeriod}      30

${response}    {}
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
${CONTENT_TYPE_PATCH}    application/merge-patch+json

${pmJobId}        29f4ff6a-be91-4ec8-856e-fcf1e2479e4e
${erroneousPmJobId}    erroneousPmJobId
${newPmJobId}    newPmJobId

${thresholdId}    1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${erroneousThresholdId}    erroneousThresholdId
${newThresholdId}    newThresholdId
${origResponse}=    httpresponse

${callback_endpoint_fwd}    /endpoint/check

${notification_request}    []
${notification_response}    []


${POS_FILTER}     objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${NEG_FILTER}     criteriaPmJob=erroneousAttributeName
${fields}         criteria,objectInstanceIds


${reportId}       0fb4c875-e07f-46ca-a9dd-13907667a568
${erroneousReportId}    erroneousReportId
${newReportId}    newReportId


${FILTER_OK_Threshold}      objectInstanceId=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${FILTER_KO}      criterias=erroneousFilter
${SEPERATOR}      =
67
68

${callbackResp}    127.0.0.1