Skip to content
Snippets Groups Projects
Commit 262f71d3 authored by Florian Sesser's avatar Florian Sesser
Browse files

Merge remote-tracking branch 'whetstone/368.manage-access-to-payment-metrics'...

Merge remote-tracking branch 'whetstone/368.manage-access-to-payment-metrics' into 368.manage-access-to-payment-metrics
parents 6a68484f e90b3366
No related branches found
No related tags found
3 merge requests!180merge develop into production,!177merge develop into staging,!146Manage access to payment metrics
Pipeline #986 passed
......@@ -294,5 +294,14 @@ in {
code, log = client.execute('cat /tmp/stdout /tmp/stderr')
client.log(log)
raise
# The issuer metrics should be accessible from the monitoring network.
issuer.execute('ifconfig lo:fauxvpn 172.23.23.2/24')
issuer.wait_until_succeeds("nc -z 172.23.23.2 80")
issuer.succeed('curl --silent --insecure --fail --output /dev/null http://172.23.23.2/metrics')
# The issuer metrics should NOT be accessible from any other network.
issuer.fail('curl --silent --insecure --fail --output /dev/null http://localhost/metrics')
client.fail('curl --silent --insecure --fail --output /dev/null http://issuer/metrics')
issuer.execute('ifconfig lo:fauxvpn down')
'';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment