*** Variables ***
${NFVO_HOST}    localhost    # Hostname of the NFVO
${NFVO_PORT}    8081    # Listening port of the NFVO
${NFVO_SCHEMA}    https
${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${CONTENT_TYPE_JSON}    application/json
${ACCEPT_JSON}    application/json
${apiRoot}        /
${AUTH_USAGE}     1
${NEG_AUTHORIZATION_TOKEN}    Bearer negativetoken

${OAUTH_ENCRIPTION_ALGORITHM}    HS256
${NSD_PERMITTED_SCOPE}    nsd:v2:ns_descriptors
${NSD_NOT_PERMITTED_SCOPE}    nsd:v2:ns_descriptors:readonly
${ARCHIVE_PERMITTED_SCOPE}    nsd:v2:nsd_archive_content
${ARCHIVE_NOT_PERMITTED_SCOPE}    nsd:v2:nsd_archive_content:readonly
${NSDF_PERMITTED_SCOPE}    nsd:v2:nsd:readonly
${NSD_MANIFEST_PERMITTED_SCOPE}    nsd:v2:nsd:readonly
${NSD_ARTIFACTS_PERMITTED_SCOPE}    nsd:v2:nsd_artifacts:readonly 
${PNFD_PERMITTED_SCOPE}    nsd:v2:pnf_descriptors
${PNFD_NOT_PERMITTED_SCOPE}    nsd:v2:pnf_descriptors:readonly
${PNFD_ARCHIVE_PERMITTED_SCOPE}    nsd:v2:pnfd_archive_content
${PNFD_ARCHIVE_NOT_PERMITTED_SCOPE}    nsd:v2:pnfd_archive_content:readonly
${PNFF_PERMITTED_SCOPE}    nsd:v2:pnfd:readonly
${PNFD_MANIFEST_PERMITTED_SCOPE}    nsd:v2:pnfd:readonly
${PNFD_ARTIFACTS_PERMITTED_SCOPE}    nsd:v2:pnfd_artifacts:readonly 
${SUBCRIPTIONS_PERMITTED_SCOPE}    nsd:v2:subscriptions
${NOT_PERMITTED_SCOPE}    nsd:v2:nvalid


${apiMajorVersion}     v2
${apiName}        nsd
${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar

${callback_port}    9091
${callback_uri}    http://172.21.248.145
${callback_endpoint}    /nsd/subscriptions
${callback_endpoint_fwd}    /endpoint/check

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

${testOptionalMethods}    0

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

${total_polling_time}   2 min
${polling_interval}     10 sec
${response}    httpresponse
${retry}		5x
${interval}		5 sec


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


${NEG_FIELDS}     wrongName=any_value
${nsdInfoId}    5a569e1d-4ffe-4e9a-8cf6-c24226651e56
${nsdInfoIdPlain}    5a569e1d-4ffe-4e9a-8cf6-c24226651e56
${nsdInfoIdZip}    5a569e1d-4ffe-4e9a-8cf6-c24226651e56
${erroneous_nsdInfoId}  erroneous_nsdInfoId
${disabledNsdInfoId}  5a569e1d-4ffe-4e9a-8cf6-c24226651e56
${fields}    _links
${NFVO_FIELDS}    1
${notOnboardedNsdInfoId}    b992a851-08b1-45a8-9282-a5f7a7df04a6
${ACCEPT_ZIP}    application/zip
${ACCEPT_PLAIN}    text/plain
${onboardingStateNsdInfoId}    b992a851-08b1-45a8-9282-a5f7a7df04a6
${contentZipNsd}    files/nsd.zip
${BAD_AUTHORIZATION_TOKEN}    Bear sometoken
${original_etag}    1234
${wrong_etag}    abcd
${usageState}    state
${NSD_NAME}     nsdName=onBoardedNSD
${PNFD_NAME}     pnfdName=onBoardedPNFD
${SEPERATOR}      =
${artifactPath}    artifactPath
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
${range}          bytes=0-1023
${erroneousRange}    bytes=100000-1000000    # Requesting a out of range number of bytes
${full_lenght}        2000 


${pnfdInfoId}    40853bda-8a8f-4f63-9130-cef439f65348
${creatingPnfdInfoId}    71241932-994a-46e2-ad6c-1740674dda44
${erroneous_pnfdInfoId}  erroneous_pnfdInfoId
${onboardingStatePnfdId}    8ed2bf1f-f6ae-4d18-b478-bfab02fd4cd2
${contentZipPnfd}    files/pnfd.zip
${userDefinedDataSet}    some
${pnfd_artifactPath}    artifactPath

${notifCallbackUri}     http://172.22.1.7:9091/nsd/subscriptions
${filter_ok}      callbackUri=${notifCallbackUri}
${filter_ko}      nfvId=f9f130e4-05eb-4082-a676-4c97d13a883d    # Not existant filter attribute-based

${callbackResp}    127.0.0.1

${check_descriptors}    1
${descriptorType}    SOL001

${NS_DescriptorID}
${Designer}
${NS_Name}
${NS_Version}
${NS_InvariantId}

${PRODUCER_SUPPORT_COND_REQ}    1