diff options
author | Harald Musum <musum@yahooinc.com> | 2022-10-23 20:30:59 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2022-10-23 20:30:59 +0200 |
commit | 3dafa45a1adf079e288150ba890e029a673aa6a2 (patch) | |
tree | e72d4d6b141ff20f024dd9d3379160a4d637176a /config-model | |
parent | b4cca6e14d8deb627bcbdc314550ec43fb94c5b2 (diff) |
Remove unused class
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/container/component/HttpFilter.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/component/HttpFilter.java b/config-model/src/main/java/com/yahoo/vespa/model/container/component/HttpFilter.java deleted file mode 100644 index e77099a0598..00000000000 --- a/config-model/src/main/java/com/yahoo/vespa/model/container/component/HttpFilter.java +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.vespa.model.container.component; - -import com.yahoo.component.ComponentId; -import com.yahoo.component.ComponentSpecification; -import com.yahoo.container.FilterConfigProvider; -import com.yahoo.container.bundle.BundleInstantiationSpecification; -import com.yahoo.osgi.provider.model.ComponentModel; - -/** - * This is only for the legacy certificate filter setup, outside http. - * - * TODO: Remove when 'filter' directly under 'container' can be removed from services.xml - * - * @author Tony Vaagenes - */ -public class HttpFilter extends SimpleComponent { - private static final ComponentSpecification filterConfigProviderClass = - ComponentSpecification.fromString(FilterConfigProvider.class.getName()); - - public final SimpleComponent filterConfigProvider; - - public HttpFilter(BundleInstantiationSpecification spec) { - super(new ComponentModel(spec)); - - filterConfigProvider = new SimpleComponent(new ComponentModel( - new BundleInstantiationSpecification(configProviderId(spec.id), filterConfigProviderClass, null))); - - addChild(filterConfigProvider); - } - - // public for testing - public static ComponentId configProviderId(ComponentId filterId) { - return ComponentId.fromString("filterConfig").nestInNamespace(filterId); - } -} |