*** 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
${CONTENT_TYPE_JSON}    application/json
${ACCEPT_JSON}    application/json
${apiRoot}        /
${AUTH_USAGE}     1
${apiMajorVersion}     v2
${apiName}        nspm
${FIELD_USAGE}    1
${NFVO_CHECKS_NOTIF_ENDPOINT}    1

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

${testOptionalMethods}    0

${callback_port}    9091
${callback_uri}    http://172.22.1.7
${unreachable_callback_uri}    http://not-reachable-uri
${callback_endpoint}    /nspm/subscriptions
${callback_endpoint_error}    /subs_404
${sleep_interval}    20s

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

${performanceMetric}    cpu_util
${thresholdType}        SIMPLE
${thresholdValue}       10
${hysteresis}           50
${collectionPeriod}     10
${reportingPeriod}      30

${response}    {}
${CONTENT_TYPE_PATCH}    application/merge-patch+json

${pmJobId}        29f4ff6a-be91-4ec8-856e-fcf1e2479e4e
${erroneousPmJobId}    erroneousPmJobId
${newPmJobId}    newPmJobId

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

${callback_endpoint_fwd}    /endpoint/check

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


${POS_FILTER}     objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${NEG_FILTER}     criteriaPmJob=erroneousAttributeName
${fields}         criteria,objectInstanceIds


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


${FILTER_OK_Threshold}      objectInstanceId=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${FILTER_KO}      criterias=erroneousFilter
${SEPERATOR}      =

${callbackResp}    127.0.0.1