You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by di...@apache.org on 2026/02/10 17:01:21 UTC

(polaris) branch main updated: fix: production readiness check doesn't take every credential vendor into account (#3725)

This is an automated email from the ASF dual-hosted git repository.

dimas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new ee2fa3833 fix: production readiness check doesn't take every credential vendor into account (#3725)
ee2fa3833 is described below

commit ee2fa3833671984abda756479bdaded7b36917b2
Author: Nándor Kollár <na...@users.noreply.github.com>
AuthorDate: Tue Feb 10 18:01:16 2026 +0100

    fix: production readiness check doesn't take every credential vendor into account (#3725)
    
    Co-authored-by: Nandor Kollar <nk...@cloudera.com>
---
 .../org/apache/polaris/service/config/ProductionReadinessChecks.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/runtime/service/src/main/java/org/apache/polaris/service/config/ProductionReadinessChecks.java b/runtime/service/src/main/java/org/apache/polaris/service/config/ProductionReadinessChecks.java
index f970fe92a..3898138c5 100644
--- a/runtime/service/src/main/java/org/apache/polaris/service/config/ProductionReadinessChecks.java
+++ b/runtime/service/src/main/java/org/apache/polaris/service/config/ProductionReadinessChecks.java
@@ -24,6 +24,7 @@ import com.fasterxml.jackson.databind.json.JsonMapper;
 import jakarta.enterprise.context.ApplicationScoped;
 import jakarta.enterprise.event.Observes;
 import jakarta.enterprise.event.Startup;
+import jakarta.enterprise.inject.Any;
 import jakarta.enterprise.inject.Instance;
 import jakarta.enterprise.inject.Produces;
 import java.nio.charset.Charset;
@@ -327,7 +328,7 @@ public class ProductionReadinessChecks {
   @Produces
   @SuppressWarnings("unchecked")
   public ProductionReadinessCheck checkConnectionCredentialVendors(
-      Instance<ConnectionCredentialVendor> credentialVendors,
+      @Any Instance<ConnectionCredentialVendor> credentialVendors,
       FeaturesConfiguration featureConfiguration) {
     var mapper = JsonMapper.builder().build();
     var defaults = featureConfiguration.parseDefaults(mapper);