From 3dafa45a1adf079e288150ba890e029a673aa6a2 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Sun, 23 Oct 2022 20:30:59 +0200 Subject: Remove unused class --- .../model/container/component/HttpFilter.java | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 config-model/src/main/java/com/yahoo/vespa/model/container/component/HttpFilter.java (limited to 'config-model/src/main/java/com') 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); - } -} -- cgit v1.2.3