variables.txt 3.77 KB
Newer Older
1
2
3
4
*** Variables ***
${NFVO_HOST}      localhost    # Hostname of the NFVO
${NFVO_PORT}      8081    # Listening port of the NFVO
${NFVO_SCHEMA}    https
5
6
${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
7
8
${ACCEPT_JSON}    application/json
${AUTH_USAGE}     1
9
${CONTENT_TYPE_JSON}    application/json
10
${NEG_AUTHORIZATION}    Bearer negativetoken
11
${NFVO_FIELDS}    1
12

Giacomo Bernini's avatar
fixes  
Giacomo Bernini committed
13
${vnfPackageId}  788106a2-d692-44f3-a86d-384f0ce35e42
14
${vndId}          788106a2-d692-44f3-a86d-384f0ce35e42
15
${onboardingStateVnfPkgId}    f9f130e4-05eb-4082-a676-4c97d13a883d    
16
${onboardingStateVnfdId}    f9f130e4-05eb-4082-a676-4c97d13a883d  
17
18

${apiRoot}        /
19
${apiMajorVersion}     v1
20
21
22
23
24
25
${apiName}        vnfpkgm

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

${NFVO_ALLOWS_DUPLICATE_SUBS}    1

26
${response}    httpresponse
27

28
${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
29

30
${callback_uri}    http://localhost
31
${callback_port}    9091
32
33
34
35
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /endpoint/check
${callback_endpoint_error}    /endpoint_404
${sleep_interval}    20s
36
37
${total_polling_time}   2 min
${polling_interval}     10 sec
38

39
${nextPageUri}    /some_uri
40
41

${notification_request}    []
42
43
44
${notification_response}    []

${NFVO_non-MANO_OK}    1    # If 1 means that non-MANO artifacts are supported by the NFVO
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
${non_mano_artifact_sets}    


${subscriptionId}    f3ae6df7-07e1-47c9-8924-9ebe10343586
${erroneousSubscriptionId}    442e3ee5-0499-4849-9b31-eb91ce1638f1    # Not existing ID on the subscriptions
${newSubscriptionId}    newSubsciptionId

${origResponse}    httpresponse


${erroneousVnfPackageId}    erroneousVnfPackageId    # Given ID for vnfPkg not present in database
${erroneousVnfdId}    erroneousVnfdId 


${filter_ok}      callbackUri=http://172.22.1.7:9091/vnfpkgm/subscriptions
${filter_ko}      nfvId=f9f130e4-05eb-4082-a676-4c97d13a883d    # Not existant filter attribute-based
Elian Kraja's avatar
Elian Kraja committed
61
${SEPARATOR}      =
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76


${ACCEPT_PLAIN}    text/plain
${CONTENT_TYPE_PLAIN}    text/plain
${vnfPkgPlainVNFD}    c26ad7fb-072b-48c4-a663-7d71646d9e98    # The VNF Pakcage contains a VNFD which is a Single Plain File
${ACCEPT_ZIP}     application/zip
${CONTENT_TYPE_ZIP}    application/zip
${vnfPkgZipVNFD}    f5b220d4-6177-4ebb-a554-a43311e16075    # The VNF Package contains a VNFD composed by multiple files
${erroneousVnfPkgId}    erroneousVnfPackageId    # Given ID for vnfPkg not present in database
${vndIdZipVnfd}       f5b220d4-6177-4ebb-a554-a43311e16075 


${artifactPath}    artifactPath
${CONTENT_TYPE_OCTET}    application/octet-stream
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
Elian Kraja's avatar
Elian Kraja committed
77
${range}          0-1023
78
${full_length}        2000            # Size of the requested artifact to be downloaded via partial downloads
Elian Kraja's avatar
Elian Kraja committed
79
${length}             1024            # Size of the requested range
Elian Kraja's avatar
Elian Kraja committed
80
${erroneousRange}    10000000-1000000000    # Requesting a out of range number of bytes
81
82
83
84
85
86
87
88
${vnfPackageOctetStreamId}    octetStreamPkgId
${vnfdOctetStreamId}    octetStreamVnfdId
${vndEncryptedArtifactID}    encryptedId


${POS_FILTER}     vnfdId=41fdd38a-3d4c-465c-83e0-f80e014425f8 ,vnfProvider=NXW    # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field
${fields}         softwareImages,additionalArtifacts
Elian Kraja's avatar
Elian Kraja committed
89
${VAR_SEPARATOR}    &
90

uihassan's avatar
uihassan committed
91
92
93
${callbackResp}    localhost

${descriptorType}    SOL001
94
95
${check_descriptors}	1

Giacomo Bernini's avatar
Giacomo Bernini committed
96
97
${tosca_type_VNF}    tst010.vnf.simple    # custom tosca type defined in the descriptor vnfd_SOL001.yaml in descriptors folder

98
99
100
101
102
103
${Descriptor_ID}
${Provider}
${Product_Name}
${Software_Version}
${Descriptor_Version}
${Flavour_ID}