diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-02-22 16:17:50 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-02-22 16:20:58 +0100 |
commit | fd7c57a76e1271e29239491a970dfa22d65c0545 (patch) | |
tree | 211f04416d2ff511849c363b4d5883727d2cb869 /config-model | |
parent | 7358ce6a49eedf51b3761a855921c58a5f813321 (diff) |
Specify bundle for AthenzIdentityProviderImpl
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/container/IdentityProvider.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/IdentityProvider.java b/config-model/src/main/java/com/yahoo/vespa/model/container/IdentityProvider.java index 640a85d9b50..e8f3062ba5b 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/container/IdentityProvider.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/container/IdentityProvider.java @@ -4,7 +4,9 @@ package com.yahoo.vespa.model.container; import com.yahoo.config.provision.AthenzDomain; import com.yahoo.config.provision.AthenzService; import com.yahoo.config.provision.HostName; +import com.yahoo.container.bundle.BundleInstantiationSpecification; import com.yahoo.container.core.identity.IdentityConfig; +import com.yahoo.osgi.provider.model.ComponentModel; import com.yahoo.vespa.model.container.component.SimpleComponent; /** @@ -12,13 +14,14 @@ import com.yahoo.vespa.model.container.component.SimpleComponent; */ public class IdentityProvider extends SimpleComponent implements IdentityConfig.Producer { public static final String CLASS = "com.yahoo.vespa.hosted.athenz.identityprovider.AthenzIdentityProviderImpl"; + public static final String BUNDLE = "vespa-athenz"; private final AthenzDomain domain; private final AthenzService service; private final HostName loadBalancerName; public IdentityProvider(AthenzDomain domain, AthenzService service, HostName loadBalancerName) { - super(CLASS); + super(new ComponentModel(BundleInstantiationSpecification.getFromStrings(CLASS, CLASS, BUNDLE))); this.domain = domain; this.service = service; this.loadBalancerName = loadBalancerName; |