*** 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
${NEG_AUTHORIZATION}    Bearer negativetoken

${CONTENT_TYPE_JSON}    application/json
${ACCEPT_JSON}    application/json
${AUTH_USAGE}     1
${FIELD_USAGE}    1
${VNFM_CHECKS_NOTIF_ENDPOINT}    1        ## If true, during subscription, the FUT performs a get to the notification endpoint

${VNFM_ALLOWS_DUPLICATE_SUBS}    1

${apiRoot}        /
${apiMajorVersion}     v1
${apiName}        vnfpm

${callback_port}    9091
${callback_uri}    http://172.22.1.7:${callback_port}
${callback_endpoint}    /vnfpm/subscriptions
${callback_endpoint_error}    /subs_404
${sleep_interval}    20s

${total_polling_time}   2 min
${polling_interval}     10 sec

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

${objectInstanceIds}    1f50d68b-82e8-4deb-bd40-c934d4d1ac0a


${pmJobId}        29f4ff6a-be91-4ec8-856e-fcf1e2479e4e
${erroneousPmJobId}    erroneousPmJobId
${newPmJobId}    newPmJobId
${response}=    httpresponse
${OrigResponse}=    httpresponse


${thresholdId}    1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${erroneousThresholdId}    erroneousThresholdId
${newThresholdId}    newThresholdId


${callback_endpoint_fwd}    /endpoint/check


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


${POS_FILTER}     objectInstanceIds=${objectInstanceIds}
${NEG_FILTER}     criteriaPmJob=erroneousAttributeName
${fields}         criteria,objectInstanceIds        
${SEPARATOR}      =


${reportId}       0fb4c875-e07f-46ca-a9dd-13907667a568
${erroneousReportId}    erroneousReportId
${newReportId}    newReportId

${FILTER_OK}      objectInstanceId=${objectInstanceIds}
${FILTER_KO}      criterias=erroneousFilter

${callbackResp}    localhost