*** 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

${OAUTH_ENCRIPTION_ALGORITHM}    HS256
${INFO_PERMITTED_SCOPE}    vnfpkgm:v2:vnf_package_info 
${INFO_NOT_PERMITTED_SCOPE}    vnfpkgm:v2:vnf_package_info:readonly
${VNFD_PERMITTED_SCOPE}    vnfpkgm:v2:vnfd:readonly
${ACCESS_PERMITTED_SCOPE}    vnfpkgm:v2:ext_artifacts_access
${MANIFEST_PERMITTED_SCOPE}    vnfpkgm:v2:manifest:readonly
${CONTENT_PERMITTED_SCOPE}    vnfpkgm:v2:vnf_package_content 
${CONTENT_NOT_PERMITTED_SCOPE}    vnfpkgm:v2:vnf_package_content:readonly
${BULK_PERMITTED_SCOPE}    vnfpkgm:v2:bulk_artifacts:readonly
${ARTIFACT_PERMITTED_SCOPE}    vnfpkgm:v2:artifact:readonly
${URI_PERMITTED_SCOPE}    vnfpkgm:v2:upload_from_uri
${SUBSCRIPTIONS_PERMITTED_SCOPE}    vnfpkgm:v2:subscriptions
${NOT_PERMITTED_SCOPE}    vnfpkgm:v2:invalid


${CONTENT_TYPE_JSON}    application/json
${ACCEPT_JSON}    application/json
${apiRoot}        /
${AUTH_USAGE}     1
${apiMajorVersion}     v2
${apiName}        vnfpkgm
${NFVO_FIELDS}    1


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

${callback_uri}    http://localhost
${callback_port}    9091
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /endpoint/check
${total_polling_time}   2 min
${polling_interval}     10 sec

${NFVO_CHECKS_NOTIF_ENDPOINT}    1

${response}    

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

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

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

${erroneousVnfPackageId}    erroneousVnfPackageId    # Given ID for vnfPkg not present in database
${disabledVnfPackageId}    87a2c9d3-00ea-4032-8c67-a5106d001868
${vnfPackageId}  788106a2-d692-44f3-a86d-384f0ce35e42
${instantiatedVnfPackageId}  0b79bab50daca910b000d4f1a2b675d604257e42

${contentZipVnfPackage}    files/vnfPackage.zip

${ACCEPT_PLAIN}    text/plain
${ACCEPT_ZIP}     application/zip
${vnfPkgZipVNFD}    f5b220d4-6177-4ebb-a554-a43311e16075    # The VNF Package contains a VNFD composed by multiple files
${erroneousVnfPkgId}    erroneousPkgId
${onboardingStateVnfPkgId}    788106a2-d692-44f3-a86d-384f0ce35e42    # The VNF Package is in CREATED onboardingState

${artifactPath}    artifactPath
${NFVO_RANGE_OK}    1    # If 1 means that Range is supported by the NFVO
${range}          bytes=0-1023
${full_size}        2000            # Size of the requested artifact to be downloaded via partial downloads 
${erroneousRange}    bytes=10000000-1000000000    # Requesting a out of range number of bytes
${vnfPackageOctetStreamId}    octetStreamPkgId
${vnfPkgId}       788106a2-d692-44f3-a86d-384f0ce35e42
${length}          1024
${creatingVnfPackageId}    d246ccdd-71aa-402f-b256-6a80ee54be3d
${newVnfPackageId}    d246ccdd-71aa-402f-b256-6a80ee54be3d

${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
${BAD_AUTHORIZATION_TOKEN}    Bear sometoken
${VAR_SEPERATOR}    &

${vnfPkgViaUriId}       788106a2-d692-44f3-a86d-384f0ce35e42
${creatingVnfPkgViaUriId}    d246ccdd-71aa-402f-b256-6a80ee54be3d
${vnfPkgUri}        http://localhost/content.zip

${NFVO_non-MANO_OK}    1    # If 1 means that non-MANO artifacts are supported by the NFVO
${non_mano_artifact_sets} 
${callbackResp}    127.0.0.1

${check_descriptors}    1
${descriptorType}    SOL006

#############internal variables used for descriptor parsing################
${tosca_type_VDU_compute}    tosca.nodes.nfv.Vdu.Compute
${tosca_type_VNF}    tosca.nodes.nfv.VNF
${tosca_type_virtual_link}    tosca.nodes.nfv.VnfVirtualLink
${tosca_type_VDU_cp}    tosca.nodes.nfv.VduCp
${tosca_type_storage}    tosca.nodes.nfv.Vdu.VirtualBlockStorage
${tosca_type_derived_from_VNF}
  
${VDU_IDs}
${Storage_IDs}
${internalCP_IDs}
${externalCP_IDs}
${InstantiationLevel_IDs}

${Descriptor_ID}
${Provider}
${Product_Name}
${Software_Version}
${Descriptor_Version}
