diff options
author | Valerij Fredriksen <valerijf@verizonmedia.com> | 2019-09-16 11:20:55 +0200 |
---|---|---|
committer | Valerij Fredriksen <valerijf@verizonmedia.com> | 2019-09-16 11:50:45 +0200 |
commit | f90efdd4d4598b17e3e93ca10c53fceb15ec3257 (patch) | |
tree | b1badf308bfddaa884ff31abbcf63ddc2e6e6ec3 /controller-server/src/test/resources | |
parent | fbec690f200794c7fe0a2eedf1e2a03ff35ee0aa (diff) |
Use flavor instead of resources when deploying Vespa 6 tester application
Diffstat (limited to 'controller-server/src/test/resources')
-rw-r--r-- | controller-server/src/test/resources/test_runner_services.xml-vespa-6 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/controller-server/src/test/resources/test_runner_services.xml-vespa-6 b/controller-server/src/test/resources/test_runner_services.xml-vespa-6 new file mode 100644 index 00000000000..bf796abffb0 --- /dev/null +++ b/controller-server/src/test/resources/test_runner_services.xml-vespa-6 @@ -0,0 +1,62 @@ +<?xml version='1.0' encoding='UTF-8'?> +<services xmlns:deploy='vespa' version='1.0'> + <container version='1.0' id='tester'> + + <component id="com.yahoo.vespa.hosted.testrunner.TestRunner" bundle="vespa-testrunner-components"> + <config name="com.yahoo.vespa.hosted.testrunner.test-runner"> + <artifactsPath>artifacts</artifactsPath> + <surefireMemoryMb>5120</surefireMemoryMb> + <useAthenzCredentials>true</useAthenzCredentials> + <useTesterCertificate>false</useTesterCertificate> + </config> + </component> + + <handler id="com.yahoo.vespa.hosted.testrunner.TestRunnerHandler" bundle="vespa-testrunner-components"> + <binding>http://*/tester/v1/*</binding> + </handler> + + <http> + <!-- Make sure 4080 is the first port. This will be used by the config server. --> + <server id='default' port='4080'/> + <server id='testertls4443' port='4443'> + <config name="jdisc.http.connector"> + <tlsClientAuthEnforcer> + <enable>true</enable> + <pathWhitelist> + <item>/status.html</item> + <item>/state/v1/config</item> + </pathWhitelist> + </tlsClientAuthEnforcer> + </config> + <ssl> + <private-key-file>/var/lib/sia/keys/vespa.vespa.tenant.key.pem</private-key-file> + <certificate-file>/var/lib/sia/certs/vespa.vespa.tenant.cert.pem</certificate-file> + <client-authentication>want</client-authentication> + </ssl> + </server> + <filtering> + <access-control domain='vespa.vespa.cd'> + <exclude> + <binding>http://*/tester/v1/*</binding> + </exclude> + </access-control> + <request-chain id="testrunner-api"> + <filter id='authz-filter' class='com.yahoo.jdisc.http.filter.security.athenz.AthenzAuthorizationFilter' bundle="jdisc-security-filters"> + <config name="jdisc.http.filter.security.athenz.athenz-authorization-filter"> + <credentialsToVerify>TOKEN_ONLY</credentialsToVerify> + <roleTokenHeaderName>Yahoo-Role-Auth</roleTokenHeaderName> + </config> + <component id="com.yahoo.jdisc.http.filter.security.athenz.StaticRequestResourceMapper" bundle="jdisc-security-filters"> + <config name="jdisc.http.filter.security.athenz.static-request-resource-mapper"> + <resourceName>vespa.vespa.cd:tester-application</resourceName> + <action>deploy</action> + </config> + </component> + </filter> + </request-chain> + </filtering> + </http> + + <nodes count="1" flavor="d-2-12-75" allocated-memory="17%" /> + </container> +</services> |