diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-11-16 14:07:05 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-11-17 13:04:37 +0100 |
commit | c64cebf128c0b5cb79270d516d0b567ee7938a3e (patch) | |
tree | 91c727125dba188ceba00f35795358fac91c08c4 /athenz-identity-provider-service | |
parent | fb2339dbc030618b48105c972ace6a012540947b (diff) |
Remove unused parameters in config definition
Diffstat (limited to 'athenz-identity-provider-service')
2 files changed, 1 insertions, 11 deletions
diff --git a/athenz-identity-provider-service/src/main/resources/configdefinitions/athenz-provider-service.def b/athenz-identity-provider-service/src/main/resources/configdefinitions/athenz-provider-service.def index 4aad9a4eae2..13cc78b0bd0 100644 --- a/athenz-identity-provider-service/src/main/resources/configdefinitions/athenz-provider-service.def +++ b/athenz-identity-provider-service/src/main/resources/configdefinitions/athenz-provider-service.def @@ -13,12 +13,6 @@ zones{}.secretName string # Secret version zones{}.secretVersion int -# HTTPS port for Athenz Provider Service endpoint -port int default=8443 - -# InstanceConfirmation API path -apiPath string default="/athenz/v1/provider" - # Athenz principal authority header name athenzPrincipalHeaderName string default="Athenz-Principal-Auth" diff --git a/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/TestUtils.java b/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/TestUtils.java index c851ca2d6c3..c09a9fb1740 100644 --- a/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/TestUtils.java +++ b/athenz-identity-provider-service/src/test/java/com/yahoo/vespa/hosted/athenz/instanceproviderservice/TestUtils.java @@ -10,8 +10,6 @@ import com.yahoo.vespa.hosted.athenz.instanceproviderservice.config.AthenzProvid */ public class TestUtils { - private static final int PORT = 12345; - public static AthenzProviderServiceConfig getAthenzProviderConfig(String domain, String service, String dnsSuffix, @@ -25,11 +23,9 @@ public class TestUtils { return new AthenzProviderServiceConfig( new AthenzProviderServiceConfig.Builder() .zones(ImmutableMap.of(zone.environment().value() + "." + zone.region().value(), zoneConfig)) - .port(PORT) .certDnsSuffix(dnsSuffix) .ztsUrl("localhost/zts") - .athenzPrincipalHeaderName("Athenz-Principal-Auth") - .apiPath("")); + .athenzPrincipalHeaderName("Athenz-Principal-Auth")); } } |