variables.txt 1.86 KB
Newer Older
1
2
3
4
*** Variables ***
${VNFM_HOST}      localhost    # Hostname of the VNFM
${VNFM_PORT}      8080    # Listening port of the VNFM
${VNFM_SCHEMA}    https
5

6
7
8
9
${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${NEG_AUTHORIZATION_TOKEN}    Bearer negativetoken
${BAD_AUTHORIZATION_TOKEN}    Bear sometoken
10
11
${ACCEPT_JSON}    application/json
${AUTH_USAGE}     1
12
13
14
${CONTENT_TYPE_JSON}    application/json

${apiRoot}        /
15
${apiMajorVersion}     v1
16
${apiName}        vnfind
17

18
${VNFM_CHECKS_NOTIF_ENDPOINT}    1        ## If true, during subscription, the FUT performs a get to the notification endpoint
19

20
21
22
23
${VNFM_ALLOWS_DUPLICATE_SUBS}    1

${response}

24
${callback_uri}    http://localhost
25
${callback_port}    9091
26
27
28
29
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /endpoint/check
${callback_endpoint_error}    /endpoint_404
${sleep_interval}    20s
30
31
${total_polling_time}   2 min
${polling_interval}     10 sec
32
33
34
35

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

36
37
38
${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar

${callback}    http://172.22.1.7:${callback_port}
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
${callback_subscribe}    /vnfind/subscribes


${subscriptionId}    17563e75-0e14-4bd7-94b4-6bbb869c79aa
${erroneousSubscriptionId}    erroneousSubscriptionId
${newSubscriptionId}    newSubsciptionId
${origResponse}    httpresponse


${vnfInstanceId}    80b0deba-c398-445b-bef0-ac0fe733e3d0
${indicatorId}    34e70855-a9d3-4fef-aece-76a3cd266ec8
${notAllowedIndicatorId}    notAllowedId
${erroneousIndicatorId}    erroneousIndicatorId


${filter_ok}      callbackUri=${callbackUri}
${filter_ko}      erroneousFilter=erroneous


${erroneousVnfInstanceId}    erroneousVnfInstanceId
${POS_FIELDS}     name=vnfIndicator
${NEG_FIELDS}     wrongName=any_value


${SEPERATOR}      =
64
65
66
${VAR_SEPERATOR}    &

${callbackResp}    localhost