summaryrefslogtreecommitdiff
path: root/provider_base/services/_api_tester.json
blob: 790aa7d8c2a005a078ffb6501b921e6b6ec5a0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// This partial should be added to any service that runs tests that rely on
// accessing the bonafide webapp API.
//
{
  "testing": {
    "monitor_auth_token": "= secret :api_monitor_auth_token",
    "api_uri": "= global.services[:webapp].api.uri",
    // api_hosts is not used directly, but calling hostnames() will ensure
    // that the hostnames are added to /etc/hosts
    "api_hosts": "= hostnames(nodes_like_me[:services => 'webapp'])"
  }
}