*** Variables ***
${CM_SCHEMA}    https
${CM_HOST}      localhost   
${CM_PORT}      8080    
${apiRoot}        /
${apiName}        certnotify
${apiMajorVersion}    v1

${ACCEPT}         application/json
${ACCEPT_JSON}     application/json
${CONTENT_TYPE}    application/json
${CONTENT_TYPE_PATCH}    application/merge-patch+json
${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${AUTH_USAGE}     1
${OAUTH_Encryption_ALGORITHM}   HS256
${API_VERSION}         1.0.0
${response}=    httpresponse
${NOTIFY_SCOPE}   certnotify:v1:all
${NEG_SCOPE}    certnotify:v1:invalid

${subscriptionId}     yoursubscriptionid
${erroneousSubscriptionId}       wrongsubscriptionid
${newSubscriptionId}       newsubscriptionid

${filter_ok}      callbackUri=${callback_uri}
${filter_ko}      erroneousFilter=erroneous

${callbackResp}     http://localhost

${callback_port}    9091
${callback_uri}    http://localhost:${callback_port}
${unreachable_callback_uri}   http://unreachable_callback_uri-error-code-422
${callback_endpoint}    /subscriptions
${filter_ok}      callbackUri=${callbackUri}
${filter_ko}      erroneousFilter=erroneous
${callback_endpoint_fwd}    /endpoint/check

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

${CHECKS_NOTIF_ENDPOINT}    1   ## If true, during subscription, the FUT performs a get to the notification endpoint

