*** Variables ***
${VNFM_HOST}      localhost    # Hostname of the VNFM
${VNFM_PORT}      8080    # Listening port of the VNFM

${VNFM_SCHEMA}    https

${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${CONTENT_TYPE}    application/json
${CONTENT_TYPE_PATCH}    application/merge-patch+json
${ACCEPT}         application/json
${ACCEPT_JSON}         application/json
${apiRoot}        /
${apiName}        vnflcm
${apiMajorVersion}    v2
${API_VERSION}      2.14.0
${AUTH_USAGE}     1
${OAUTH_Encryption_ALGORITHM}   HS256
${NEG_SCOPE}    vnflcm:v2:invalid
${INSTANTIATE_SCOPE}    vnflcm:v2:instantiate
${SCALE_SCOPE}    vnfm:v2:scale
${SCALE_TO_LEVEL_SCOPE}   vnflcm:v2:scale_to_level
${CHANGE_FLAVOUR_SCOPE}   vnflcm:v2:change_flavour
${TERMINATE_SCOPE}   vnflcm:v2:terminate
${HEAL_SCOPE}   vnflcm:v2:heal:with_vnfc
${CHANGE_EXT_CONN_SCOPE}   vnflcm:v2:change_ext_conn
${OPERATE_SCOPE}    vnflcm:v2:operate:with_vnfc
${CREATE_SNAPSHOT_SCOPE}    vnflcm:v2:create_snapshot:with_vnfc
${REVERT_TO_SNAPSHOT_SCOPE}    vnflcm:v2:revert_to_snapshot:with_vnfc
${CHANGE_VNFPKG_SCOPE}    vnflcm:v2:change_vnfpkg 
${VNF_INSTANCE_INFO_SCOPE}   vnflcm:v2:vnf_instance_info:with_vnfc
${VNF_INSTANCE_INFO_READONLY_SCOPE}   vnflcm:v2:vnf_instance_info:with_vnfc:readonly
${OPERATION_OCCURANCE_SCOPE}    vnflcm:v2:op_occs
${OPERATION_OCCURANCE_READONLY_SCOPE}    vnflcm:v2:op_occs:readonly
${SUBSCRIPTIONS_SCOPE}   vnflcm:v2:subscriptions
${VNF_SNAPSHOT_INFO_SCOPE}    vnflcm:v2:vnf_snapshot_info


${HEADER_TEST_SUPPORTED}    0

${vnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfInstanceId_NoSnapshotTask}    vnfInstanceIdForWhichSnapshotResourceDoesNotExist
${vnfInstanceId_NOT_INSTANTIATED}    vnfResourceIsInNOT_INSTANTIATEDstate

${instantiatedVnfInstanceId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f    #Change with an instantiated vnfInstanceID

${vnfLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${CancelMode}    GRACEFUL
${VNFM_DUPLICATION}    0
${sub_filter}    filter
${sub_filter_invalid}    filter_invalid
${subscriptionId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f

${notInstantiatedVnfInstanceId}    NOT_INSTANTIATED_VNF_INSTANCE_ID
${NOT_EXISTANT_VNF_INSTANCE_ID}    NOT_EXISTANT_VNF_INSTANCE_ID    

${PAGING_SUPPORTED}    0

${vnfSnapshotInfoId}
${invalidVnfSnapshotInfoId}
${vnfSnapshotInfoId_InUse}    snapshotId-of-a-resource-AlreadyInUse
${vnfSnapshotPkgId}

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

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

${response}=    httpresponse

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

${fields}

${original_etag}    some_etag

${vnfdId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${invalidVnfdId}    vnfdId-in-DISABLED-state-or-DNE
${flavourId}    vnf flavour

${scaleVnfRequesttype}    SCALE_OUT
${scaleVnfRequestAspect}    Aspect
${instantiationLevelId}     

${newFlavourId}    5a7d81f-e602-4afa-8e13-962fb5a7d81f

${terminationType}    GRACEFUL

${healingCause}    healingCause    

${changeStateTo}    STOPPED

${vnfdIds}    6fc3539c-e602-4afa-8e13-962fb5a7d81f

${callbackResp}    localhost

${check_descriptors}    1
${descriptorType}    SOL006
${check_multiple_instances}    0

#############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}
${CPD_IDs}
${InstantiationLevel_IDs}

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