*** Variables ***
${VNFM_HOST}      localhost    # Hostname of the VNFM
${VNFM_PORT}      8080    # Listening port of the VNFM
${NFVO_HOST}      localhost    # Hostname of the NFVO
${NFVO_PORT}      8081    # Listening port of the NFVO
${VNFM_SCHEMA}    https
${NFVO_SCHEMA}    https

${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${CONTENT_TYPE}    application/json
${CONTENT_TYPE_PATCH}    application/merge-patch+json
${ACCEPT_JSON}         application/json
${ACCEPT}         application/json
${apiRoot}        /
${apiName}        nslcm
${apiMajorVersion}     v2
${AUTH_USAGE}     1
${WRONG_AUTHORIZATION}    Bearer    XXXXXWRONGXXXXX
${nsInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${nsdId}                58a7beb6-aa89-405e-bd90-7d276b967c03
${disabledNsdId}        fca7c896-a7d0-4ff8-865e-f5c8ee2fd1c3
${nonExistentNsId}      nonExistent
${ConflictNsInstanceId}    007c111c-e602-4afa-8e13-962fb5a7d81d
${nsInstanceName}    Test-nsInstance
${nsInstanceDescription}    description ns
${nsInstanceDescription_Update}    Updated description ns
${nsFlavourId}      0
${nsDegreeHealing}      HEAL_RESTORE
${vimAccountId}      	931f6a4d-6a97-43f3-a6f0-13853ef577ea
${SINGLE_FILE_VNFD}    1    # If VNFD is PLAIN TEXT
${ACCEPT_PLAIN}    text/plain
${ACCEPT_ZIP}     application/zip
${nsPkgId_processing}    007c111c-38a1-42c0-a666-7475ecb1567c
${ARTIFACT_TYPE}    application/octet-stream
${ARTIFACT_ID}    artifactId
${WRONG_ACCEPT}    application/json
${nsLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${CancelMode}    GRACEFUL
${NFVO_DUPLICATION}    0
${sub_filter}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${sub_filter_invalid}    nfvid=41fdd38a-3d4c-465c-83e0-f80e014425f8
${fields_sub}    filter
${fields_nsInstances}         monitoringParameter,wanConnectionInfo
${POS_filter_nsInstances}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${NEG_filter_nsInstances}    nfvid=41fdd38a-3d4c-465c-83e0-f80e014425f8 

${fields_nsLcmOpOcc}    cancelMode,error
${POS_filter_nsLcmOpOcc}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${NEG_filter_nsLcmOpOcc}    nfvid=41fdd38a-3d4c-465c-83e0-f80e014425f8 
   
${subscriptionId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${VnfLcmOperationOccurrenceNotification}    {}
${VnfIdentifierCreationNotification}    {}
${VnfIdentifierDeletionNotification}    {}
${vnfUpdateType}    ADD_VNF
${vnfInstanceId}    id-of-new-vnf-instance-for-UPDATE-NS-Task
${instantiationLevelId}     myNextLevel

${scaleType}        SCALE_VNF
${scaleTimeout}     1
${scaleVnfType}     SCALE_IN
${scaleGroupDescriptor}     myScalingGroup
${scaleMemberVnfIndex}     1

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

${notification_request}    {}
${notification_response}    {}

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

${response}    {}

${Etag}=    an etag
${Etag_modified}=    a modified etag

${NEG_FILTER}    attribute_not_exist=some_value
${NEG_SELECTOR}    fields=wrong_field
${json}    {"notificationStatus": ""}

${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}    vnfSnapshot

${vnfSnapshotInfoId}
${vnfSnapshotInfoId_InUse}    snapshotId-of-a-resource-AlreadyInUse-bySomeOther-operation
${invalidVnfSnapshotInfoId}    invalid-or-nonexistent-vnfSnapshotInforId    

${PAGING_SUPPORTED}    1

${callbackResp}    127.0.0.1

${check_descriptors}    1
${descriptorType}    SOL006

${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_NS}    tosca.nodes.nfv.NS
${tosca_type_NsVirtualLink}    tosca.nodes.nfv.NsVirtualLink
${tosca_type_NsCP}    tosca.nodes.nfv.Cp
  
@{VDU_IDs}
@{VNF_IDs}
@{virtualLink_IDs}
@{CP_IDs}
@{Storage_IDs}
@{internalCP_IDs}
@{externalCP_IDs}
@{InstantiationLevel_IDs}

@{NS_VirtualLink_IDs}
@{NsCP_IDs}
@{SAP_IDs}

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


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