*** Variables ***
${VNFM_HOST}      localhost    # Hostname of the VNFM
${VNFM_PORT}      8080    # Listening port of the VNFM
${VNFM_SCHEMA}    https
${ACCEPT}         application/json
${ACCEPT_JSON}         application/json
${CONTENT_TYPE}    application/json
${OAUTH_KEY} 
${OAUTH_ENCRYPTION_ALGORITHM}  HS256
${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${AUTH_USAGE}     1
${CONTENT_TYPE_PATCH}    application/merge-patch+json

################################################################################################
##### THIS VARIABLE BELOW ALLOWS TO SKIP INTERMEDIATE LIFEFYCLE OP OCC INTERMEDIATE CHECKS #####
##### IT IS INTENDED TO BE A KNOWN DEVIATION FROM STANDARDS                                #####

${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS}    1

################################################################################################

${INSTANTIATE_PERMITTED_SCOPE}  vnflcm:v2:instantiate  
${SCALE_PERMITTED_SCOPE}    vnflcm:v2:scale
${SCALE_TO_LEVEL_PERMITTED_SCOPE}   vnflcm:v2:scale_to_level  
${CHANGE_FLAVOUR_PERMITTED_SCOPE}   vnflcm:v2:change_flavour  
${TERMINATE_PERMITTED_SCOPE}    vnflcm:v2:terminate  
${HEAL_PERMITTED_SCOPE}    vnflcm:v2:heal  
${CHANGE_EXT_CONN_PERMITTED_SCOPE}  vnflcm:v2:change_ext_conn  
${OPERATE_PERMITTED_SCOPE}  vnflcm:v2:operate  
${CREATE_SNAPSHOT_PERMITTED_SCOPE}  vnflcm:v2:create_snapshot 
${REVERT_TO_SNAPSHOT_PERMITTED_SCOPE}   vnflcm:v2:revert_to_snapshot 
${CHANGE_VNFPKG_PERMITTED_SCOPE}    vnflcm:v2:change_vnfpkg      
${VNF_INSTANCE_INFO_PERMITTED_SCOPE}    vnflcm:v2:vnf_instance_info  
${VNF_INSTANCE_INFO_READONLY_PERMITTED_SCOPE}   vnflcm:v2:vnf_instance_info:readonly  
${OP_OCCS_PERMITTED_SCOPE}  vnflcm:v2:op_occs
${SUBSCRIPTIONS_PERMITTED_SCOPE}    vnflcm:v2:subscriptions  
${VNF_SNAPSHOT_INFO_PERMITTED_SCOPE}    vnflcm:v2:vnf_snapshot_info  
${VNF_STATE_SNAPSHOT_PERMITTED_SCOPE}   vnflcm:v2:vnf_state_snapshot

${INSTANTIATE_NOT_PERMITTED_SCOPE}  vnflcm:v2:instantiate:invalid
${SCALE_NOT_PERMITTED_SCOPE}    vnflcm:v2:scale:invalid
${SCALE_TO_LEVEL_NOT_PERMITTED_SCOPE}   vnflcm:v2:scale_to_level:invalid
${CHANGE_FLAVOUR_NOT_PERMITTED_SCOPE}   vnflcm:v2:change_flavour:invalid
${TERMINATE_NOT_PERMITTED_SCOPE}    vnflcm:v2:terminate:invalid
${HEAL_NOT_PERMITTED_SCOPE}    nflcm:v2:heal:invalid
${CHANGE_EXT_CONN_NOT_PERMITTED_SCOPE}  vnflcm:v2:change_ext_conn:invalid
${OPERATE_NOT_PERMITTED_SCOPE}  vnflcm:v2:operate:invalid
${CREATE_SNAPSHOT_NOT_PERMITTED_SCOPE}  vnflcm:v2:create_snapshot:invalid
${REVERT_TO_SNAPSHOT_NOT_PERMITTED_SCOPE}   vnflcm:v2:revert_to_snapshot:invalid
${CHANGE_VNFPKG_NOT_PERMITTED_SCOPE}    vnflcm:v2:change_vnfpkg:invalid
${VNF_INSTANCE_INFO_NOT_PERMITTED_SCOPE}    vnflcm:v2:vnf_instance_info:invalid
${VNF_INSTANCE_INFO_READONLY_NOT_PERMITTED_SCOPE}   vnflcm:v2:vnf_instance_info:readonly:invalid
${OP_OCCS_NOT_PERMITTED_SCOPE}  vnflcm:v2:op_occs:invalid
${SUBSCRIPTIONS_NOT_PERMITTED_SCOPE}    vnflcm:v2:subscriptions:invalid
${VNF_SNAPSHOT_INFO_NOT_PERMITTED_SCOPE}    vnflcm:v2:vnf_snapshot_info:invalid
${VNF_STATE_SNAPSHOT_NOT_PERMITTED_SCOPE}   vnflcm:v2:vnf_state_snapshot:invalid

${apiRoot}        /
${apiName}        vnflcm
${apiMajorVersion}     v2
${API_VERSION}    2.14.0

${CancelMode}    GRACEFUL
${VNFM_DUPLICATION}    0

${invalid_etag}    invalid etag
${invalidVnfdId}    vnfdId-in-DISABLED-state-or-DNE

${SYNC_MODE}    0

${nextPageUri}    /someuri

${original_etag}    1234
${invalid_etag}    4321

${ACCEPT_OCTET}    application/octet-stream
${CONTENT_TYPE_OCTET}    application/octet-stream
${VNFM_RANGE_OK}    1    # If 1 means that Range is supported by the VNFM
${range}          bytes=0-1023
${erroneousRange}    bytes=10000000-1000000000    # Requesting a out of range number of bytes
${full_length}    2000    #Full size of the content file to be transmitted using partial downloads

${instantiatedVnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${anotherInstantiatedVnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${notInstantiatedVnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${notExistingVnfInstanceId}     6fc3539c-e602-4afa-8e13-962fb5a7d81f   
${vnfInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${subscriptionId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfInstanceId_NoSnapshotTask}    no-snapshot-task-supported
${vnfSnapshotInfoId}
${vnfSnapshotInfoId_InUse}    snapshotId-of-a-resource-AlreadyInUse-bySomeOther-operation
${vnfSnapshotInfoId_creationIncomplete}    snapshotId-of-a-resource-whose-creation-isn't-complete
${invalidVnfSnapshotInfoId}
${vnfSnapshotPkgId}

${vnfLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${notExistingVnfLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${vnfLcmOpOccIdNotStartingProcessingRollingback}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${vnfLcmOpOccIdNotFailedTemp}    6fc3539c-e602-4afa-8e13-962fb5a7d81d

${response}    {}
${json}    {}
${requestedFlavour}    test

${POS_filter_subscription}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${NEG_filter_subscription}    nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8

${fields_vnfLcmOpOcc}         operationParams,grantId
${POS_FILTER_vnfLcmOpOcc}     id=41fdd38a-3d4c-465c-83e0-f80e014425f8   # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER_vnfLcmOpOcc}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field

${fields_vnfInstance}         vnfInstanceDescription,vimConnectionInfo

${POS_FILTER_snapshot}     id=41fdd38a-3d4c-465c-83e0-f80e014425f8   # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER_snapshot}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field
${fields_snapshot}    vnfStateSnapshotInfo    

${PAGING_SUPPORTED}    1

${changeVnfFlavourRequest}    {}
${changeVnfOperateRequest}    {}
${requestedState}   test
${changeVnfExtConnectivityRequest}    {}
${patchBodyRequest}   {}

${callback_uri}    http://localhost
${callback_port}    9091
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /endpoint/check
${sleep_interval}    20s
${notification_request}    []
${notification_response}    []

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

${vnfdId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfdId_notInEnabledState}    vnfdId-which-is-not-in-ENABLED-state-or-DNE

${scaletype}    SCALE_OUT
${scaleAspectId}    myAspect

${instantiationLevelId}    myNextLevel

${newFlavourId}    myFlavour_new

${healingCause}    a new cause

${changeStateTo}    STOPPED
${stopType}    FORCEFUL

${terminationType}    GRACEFUL

${HEADER_TEST_SUPPORTED}    0

${scaleInfo}
${element}
${aspectId}

${callbackResp}    localhost

${descriptorType}    SOL001
${check_descriptors}	1

#############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}
${CP_IDs}
${VirtualLink_IDs}

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