Skip to content

Commit

Permalink
Merge pull request #32849 from vespa-engine/bjorncs/connector-validation
Browse files Browse the repository at this point in the history
Allow configuration of the new internal connector names
  • Loading branch information
bjorncs authored Nov 13, 2024
2 parents 1f2beb8 + dfc54c6 commit ce4e230
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit ce4e230

Please sign in to comment.