From dfc54c6bc4418686786571023f4922c3032be3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Christian=20Seime?= Date: Wed, 13 Nov 2024 14:56:37 +0100 Subject: [PATCH] Allow configuration of the new internal connector names --- .../application/validation/CloudHttpConnectorValidator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/CloudHttpConnectorValidator.java b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/CloudHttpConnectorValidator.java index 4e4c8c2916c6..e29406d25135 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/CloudHttpConnectorValidator.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/CloudHttpConnectorValidator.java @@ -37,7 +37,8 @@ public void validate(Context context) { private static boolean isAllowedConnector(ConnectorFactory cf) { return cf instanceof HostedSslConnectorFactory - || cf.getClass().getSimpleName().endsWith("HealthCheckProxyConnector") + || cf.getClass().getSimpleName().endsWith("HealthCheckProxyConnector") // TODO(bjorncs, 2024-11-13): remove once migrated + || cf.getClass().getPackageName().startsWith("com.yahoo.vespa.model.container.amender") || (cf.getListenPort() == Container.BASEPORT && cf.sslProvider() instanceof DefaultSslProvider); } }