(polaris) branch main updated: main: Update dependency org.apache.spark:spark-sql_2.12 to v3.5.6 (#1794)

2025-06-03 Thread jbonofre
This is an automated email from the ASF dual-hosted git repository.

jbonofre 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 0379ecf6d main: Update dependency org.apache.spark:spark-sql_2.12 to 
v3.5.6 (#1794)
0379ecf6d is described below

commit 0379ecf6de4fb77c83d66003dc3bc74c9252bb6c
Author: Mend Renovate 
AuthorDate: Tue Jun 3 13:57:04 2025 +0200

main: Update dependency org.apache.spark:spark-sql_2.12 to v3.5.6 (#1794)
---
 integration-tests/build.gradle.kts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integration-tests/build.gradle.kts 
b/integration-tests/build.gradle.kts
index bcc9e71b6..2ef897d13 100644
--- a/integration-tests/build.gradle.kts
+++ b/integration-tests/build.gradle.kts
@@ -53,7 +53,7 @@ dependencies {
 
   implementation("org.apache.iceberg:iceberg-spark-3.5_2.12")
   implementation("org.apache.iceberg:iceberg-spark-extensions-3.5_2.12")
-  implementation("org.apache.spark:spark-sql_2.12:3.5.5") {
+  implementation("org.apache.spark:spark-sql_2.12:3.5.6") {
 // exclude log4j dependencies
 exclude("org.apache.logging.log4j", "log4j-slf4j2-impl")
 exclude("org.apache.logging.log4j", "log4j-api")



(polaris) branch main updated: main: Update docker.io/apache/spark Docker tag to v3.5.6 (#1795)

2025-06-03 Thread jbonofre
This is an automated email from the ASF dual-hosted git repository.

jbonofre 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 535d69e71 main: Update docker.io/apache/spark Docker tag to v3.5.6 
(#1795)
535d69e71 is described below

commit 535d69e71f7fad20ba12bfd098fca1828322661e
Author: Mend Renovate 
AuthorDate: Tue Jun 3 13:56:41 2025 +0200

main: Update docker.io/apache/spark Docker tag to v3.5.6 (#1795)
---
 plugins/spark/v3.5/regtests/Dockerfile | 2 +-
 regtests/Dockerfile| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/spark/v3.5/regtests/Dockerfile 
b/plugins/spark/v3.5/regtests/Dockerfile
index 1620c12ae..db84d3eb1 100755
--- a/plugins/spark/v3.5/regtests/Dockerfile
+++ b/plugins/spark/v3.5/regtests/Dockerfile
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-FROM docker.io/apache/spark:3.5.5-java17
+FROM docker.io/apache/spark:3.5.6-java17
 ARG POLARIS_HOST=polaris
 ENV POLARIS_HOST=$POLARIS_HOST
 ENV SPARK_HOME=/opt/spark
diff --git a/regtests/Dockerfile b/regtests/Dockerfile
index 5770a3176..85f9cee5a 100644
--- a/regtests/Dockerfile
+++ b/regtests/Dockerfile
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-FROM docker.io/apache/spark:3.5.5-java17-python3
+FROM docker.io/apache/spark:3.5.6-java17-python3
 ARG POLARIS_HOST=polaris
 ENV POLARIS_HOST=$POLARIS_HOST
 ENV SPARK_HOME=/opt/spark



(polaris) branch main updated: main: Update apache/spark Docker tag to v3.5.6 (#1791)

2025-06-03 Thread jbonofre
This is an automated email from the ASF dual-hosted git repository.

jbonofre 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 90c258010 main: Update apache/spark Docker tag to v3.5.6 (#1791)
90c258010 is described below

commit 90c2580103e129b70ce3b128f1fdee3bceaa8edb
Author: Mend Renovate 
AuthorDate: Tue Jun 3 13:57:30 2025 +0200

main: Update apache/spark Docker tag to v3.5.6 (#1791)
---
 getting-started/eclipselink/docker-compose.yml | 2 +-
 getting-started/jdbc/docker-compose.yml| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/getting-started/eclipselink/docker-compose.yml 
b/getting-started/eclipselink/docker-compose.yml
index 00e53979d..94db4b92a 100644
--- a/getting-started/eclipselink/docker-compose.yml
+++ b/getting-started/eclipselink/docker-compose.yml
@@ -65,7 +65,7 @@ services:
 entrypoint: '/bin/sh -c "chmod +x /polaris/create-catalog.sh && 
/polaris/create-catalog.sh"'
 
   spark-sql:
-image: apache/spark:3.5.5-java17-python3
+image: apache/spark:3.5.6-java17-python3
 depends_on:
   polaris-setup:
 condition: service_completed_successfully
diff --git a/getting-started/jdbc/docker-compose.yml 
b/getting-started/jdbc/docker-compose.yml
index 3a3049f2a..45ca86b71 100644
--- a/getting-started/jdbc/docker-compose.yml
+++ b/getting-started/jdbc/docker-compose.yml
@@ -68,7 +68,7 @@ services:
 entrypoint: '/bin/sh -c "chmod +x /polaris/create-catalog.sh && 
/polaris/create-catalog.sh"'
 
   spark-sql:
-image: apache/spark:3.5.5-java17-python3
+image: apache/spark:3.5.6-java17-python3
 depends_on:
   polaris-setup:
 condition: service_completed_successfully



(polaris) branch main updated: main: Update dependency pytest to v8 (#1710)

2025-06-03 Thread snazy
This is an automated email from the ASF dual-hosted git repository.

snazy 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 5c2dcca63 main: Update dependency pytest to v8 (#1710)
5c2dcca63 is described below

commit 5c2dcca6369d46cf4f6a1fae4cefdd209d11495d
Author: Mend Renovate 
AuthorDate: Tue Jun 3 09:25:01 2025 +0200

main: Update dependency pytest to v8 (#1710)
---
 client/python/test-requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/python/test-requirements.txt 
b/client/python/test-requirements.txt
index d1748ca82..10d3a49d5 100644
--- a/client/python/test-requirements.txt
+++ b/client/python/test-requirements.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pytest~=7.1.3
+pytest~=8.4.0
 pytest-cov>=2.8.1
 pytest-randomly>=3.12.0
 mypy>=1.4.1



(polaris) branch main updated: main: Update dependency boto3 to v1.38.28 (#1777)

2025-06-03 Thread snazy
This is an automated email from the ASF dual-hosted git repository.

snazy 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 d9edb2311 main: Update dependency boto3 to v1.38.28 (#1777)
d9edb2311 is described below

commit d9edb2311b09538f3802f4707eac93add2875a96
Author: Mend Renovate 
AuthorDate: Tue Jun 3 09:26:42 2025 +0200

main: Update dependency boto3 to v1.38.28 (#1777)
---
 client/python/pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/python/pyproject.toml b/client/python/pyproject.toml
index c727c6eca..21d5c3205 100644
--- a/client/python/pyproject.toml
+++ b/client/python/pyproject.toml
@@ -34,7 +34,7 @@ dependencies = [
 "python-dateutil>=2.8.2",
 "pydantic>=2.0.0",
 "typing-extensions>=4.7.1",
-"boto3==1.38.27",
+"boto3==1.38.28",
 ]
 
 [project.urls]



(polaris) branch main updated: Run renovatebot only on the main branch (#1786)

2025-06-03 Thread snazy
This is an automated email from the ASF dual-hosted git repository.

snazy 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 a827d261a Run renovatebot only on the main branch (#1786)
a827d261a is described below

commit a827d261a32afae73f33e531790ed129a51e263a
Author: JB Onofré 
AuthorDate: Tue Jun 3 09:28:10 2025 +0200

Run renovatebot only on the main branch (#1786)
---
 .github/renovate.json5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 2f89c0906..a387d0839 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -30,7 +30,7 @@
 
   // Added for posterity how to let Renovate manage version-branches, assuming 
that release branches
   // have the `release/` prefix.
-  baseBranches: ["main", "/^release\\/.*/"],
+  baseBranches: ["main"],
   additionalBranchPrefix: "{{baseBranch}}/",
   commitMessagePrefix: "{{baseBranch}}: ",
 



(polaris) branch main updated: main: Update dependency org.apache.spark:spark-sql_2.12 to v3.5.6 (#1752)

2025-06-03 Thread jbonofre
This is an automated email from the ASF dual-hosted git repository.

jbonofre 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 a1b2ae78a main: Update dependency org.apache.spark:spark-sql_2.12 to 
v3.5.6 (#1752)
a1b2ae78a is described below

commit a1b2ae78ae33d9e07222452cdb6ed9b5d9feb42b
Author: Mend Renovate 
AuthorDate: Tue Jun 3 10:16:06 2025 +0200

main: Update dependency org.apache.spark:spark-sql_2.12 to v3.5.6 (#1752)
---
 gradle/libs.versions.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index edc272176..166394b4b 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -24,7 +24,7 @@ quarkus = "3.21.4"
 immutables = "2.10.1"
 picocli = "4.7.7"
 scala212 = "2.12.19"
-spark35 = "3.5.5"
+spark35 = "3.5.6"
 slf4j = "2.0.17"
 swagger = "1.6.16"
 



(polaris) branch main updated: main: Update dependency software.amazon.awssdk:bom to v2.31.54 (#1769)

2025-06-03 Thread jbonofre
This is an automated email from the ASF dual-hosted git repository.

jbonofre 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 79a182ca1 main: Update dependency software.amazon.awssdk:bom to 
v2.31.54 (#1769)
79a182ca1 is described below

commit 79a182ca180a33088e186e4c69188b8eccfb46c7
Author: Mend Renovate 
AuthorDate: Tue Jun 3 10:15:24 2025 +0200

main: Update dependency software.amazon.awssdk:bom to v2.31.54 (#1769)
---
 gradle/libs.versions.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 3fc8cd514..edc272176 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -39,7 +39,7 @@ swagger = "1.6.16"
 antlr4-runtime = { module = "org.antlr:antlr4-runtime", version.strictly = 
"4.9.3" } # spark integration tests
 assertj-core = { module = "org.assertj:assertj-core", version = "3.27.3" }
 auth0-jwt = { module = "com.auth0:java-jwt", version = "4.5.0" }
-awssdk-bom = { module = "software.amazon.awssdk:bom", version = "2.31.50" }
+awssdk-bom = { module = "software.amazon.awssdk:bom", version = "2.31.54" }
 azuresdk-bom = { module = "com.azure:azure-sdk-bom", version = "1.2.35" }
 caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version = 
"3.2.0" }
 commons-codec1 = { module = "commons-codec:commons-codec", version = "1.18.0" }



(polaris) branch main updated: feat(cdi): Remove CallContext.close() (#1776)

2025-06-03 Thread emaynard
This is an automated email from the ASF dual-hosted git repository.

emaynard 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 0a9a5d969 feat(cdi): Remove CallContext.close() (#1776)
0a9a5d969 is described below

commit 0a9a5d96934d7bbe1330113cd3531776e732fef6
Author: Alexandre Dutra 
AuthorDate: Tue Jun 3 16:37:23 2025 +0200

feat(cdi): Remove CallContext.close() (#1776)

Now that every catalog created by PolarisCallContextCatalogFactory is 
correctly closed by IcebergCatalogAdapter, we can finally remove the 
CallContext.close() method and the associated cloaseables group.

This simplification will hopefully pave the way to a more robust handling 
of request-scoped beans in task executor threads.
---
 .../apache/polaris/core/context/CallContext.java   |  62 +---
 .../storage/InMemoryStorageIntegrationTest.java|  72 ++--
 .../BasePolarisMetaStoreManagerTest.java   | 225 ++--
 .../service/quarkus/config/QuarkusProducers.java   |   4 -
 .../quarkus/auth/JWTSymmetricKeyGeneratorTest.java |  20 --
 .../task/BatchFileCleanupTaskHandlerTest.java  | 396 ++---
 .../task/ManifestFileCleanupTaskHandlerTest.java   | 273 +++---
 .../test/PolarisIntegrationTestFixture.java|   9 +-
 .../service/catalog/iceberg/IcebergCatalog.java|   1 -
 .../catalog/PolarisCallContextCatalogFactory.java  |   2 -
 .../service/catalog/io/FileIOFactoryTest.java  |   6 -
 .../org/apache/polaris/service/TestServices.java   |   7 -
 12 files changed, 470 insertions(+), 607 deletions(-)

diff --git 
a/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java 
b/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java
index 6cd56bc30..54859647d 100644
--- 
a/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java
+++ 
b/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java
@@ -18,16 +18,8 @@
  */
 package org.apache.polaris.core.context;
 
-import jakarta.annotation.Nonnull;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.stream.Collectors;
-import org.apache.iceberg.io.CloseableGroup;
 import org.apache.polaris.core.PolarisCallContext;
 import org.apache.polaris.core.PolarisDiagnostics;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * Stores elements associated with an individual REST request such as 
RealmContext, caller
@@ -37,15 +29,9 @@ import org.slf4j.LoggerFactory;
  * principal/role entities may be defined within a Realm-specific persistence 
layer, and the
  * underlying nature of the persistence layer may differ between different 
realms.
  */
-public interface CallContext extends AutoCloseable {
+public interface CallContext {
   InheritableThreadLocal CURRENT_CONTEXT = new 
InheritableThreadLocal<>();
 
-  // For requests that make use of a Catalog instance, this holds the instance 
that was
-  // created, scoped to the current call context.
-  String REQUEST_PATH_CATALOG_INSTANCE_KEY = "REQUEST_PATH_CATALOG_INSTANCE";
-
-  String CLOSEABLES = "closeables";
-
   static CallContext setCurrentContext(CallContext context) {
 CURRENT_CONTEXT.set(context);
 return context;
@@ -65,7 +51,6 @@ public interface CallContext extends AutoCloseable {
 
   static CallContext of(
   final RealmContext realmContext, final PolarisCallContext 
polarisCallContext) {
-Map map = new HashMap<>();
 return new CallContext() {
   @Override
   public RealmContext getRealmContext() {
@@ -76,28 +61,14 @@ public interface CallContext extends AutoCloseable {
   public PolarisCallContext getPolarisCallContext() {
 return polarisCallContext;
   }
-
-  @Override
-  public Map contextVariables() {
-return map;
-  }
 };
   }
 
-  /**
-   * Copy the {@link CallContext}. {@link #contextVariables()} will be copied 
except for {@link
-   * #closeables()}. The original {@link #contextVariables()} map is untouched 
and {@link
-   * #closeables()} in the original {@link CallContext} should be closed along 
with the {@link
-   * CallContext}.
-   */
+  /** Copy the {@link CallContext}. */
   static CallContext copyOf(CallContext base) {
 String realmId = base.getRealmContext().getRealmIdentifier();
 RealmContext realmContext = () -> realmId;
 PolarisCallContext polarisCallContext = 
PolarisCallContext.copyOf(base.getPolarisCallContext());
-Map contextVariables =
-base.contextVariables().entrySet().stream()
-.filter(e -> !e.getKey().equals(CLOSEABLES))
-.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
 return new CallContext() {
   @Override
   public RealmContext getRealmContext() {
@@ -108,11 +79,6 @@ public interface CallContext extends AutoCloseable {
   public PolarisCall

(polaris) branch main updated (0a9a5d969 -> 2a7109854)

2025-06-03 Thread yufei
This is an automated email from the ASF dual-hosted git repository.

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


from 0a9a5d969 feat(cdi): Remove CallContext.close() (#1776)
 add 2a7109854 Remove the unused field in CallContextCatalogFactory (#1784)

No new revisions were added by this update.

Summary of changes:
 .../context/catalog/CallContextCatalogFactory.java  |  2 --
 .../catalog/PolarisCallContextCatalogFactory.java   | 17 ++---
 2 files changed, 10 insertions(+), 9 deletions(-)



(polaris) branch main updated: Update ascii banner (#1654)

2025-06-03 Thread dimas
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 65cb39e9c Update ascii banner (#1654)
65cb39e9c is described below

commit 65cb39e9ceb718717196776b9330a1366d6123eb
Author: Scott Teal 
AuthorDate: Tue Jun 3 12:01:53 2025 -0700

Update ascii banner (#1654)
---
 .../org/apache/polaris/service/banner.txt  | 41 +++---
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git 
a/service/common/src/main/resources/org/apache/polaris/service/banner.txt 
b/service/common/src/main/resources/org/apache/polaris/service/banner.txt
index 5c615a243..c1c015e8a 100644
--- a/service/common/src/main/resources/org/apache/polaris/service/banner.txt
+++ b/service/common/src/main/resources/org/apache/polaris/service/banner.txt
@@ -1,20 +1,21 @@
-
-    @@@  @   @   @  @  @  @@ @@@   

- @   @ @   @ @  @ @   @   @  @  @@ @   @ @   @   @ @   @@   @ 
@ 
-   @   @ @ @     @@@   @  @  @  @  @@   @ 
@  @@@
- @  @@@   @ @ @  @@  @   @ @ @ @@   @@   @@@   
 
-   
 
- *
-   
 
-   
 
-  /\   
 
-   //\\///T\\\ 
 
-///\\\\\   
 
-   //T\
 
-  /T\ //\T///T\\//T\\  
 
-//\\\/T\\\\/\\\  //\\  
 
- //\\T///T\\\T\
 
-  ///T\//\///T\T   
 
- //\/\\\T\\/\  
 
-,,..,,,..,,,..,//\\/\///\\,,,..,,..,,,..,,,.
-,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,.,,,..,,,..,
+   
   
+ @@
   
+   @@  
   
+   
   
+  @ @@ @@@  @@@  
  @@@@@@     
+      @@@@   @@@   @
   @@@@@@  @@@
+   @ @@@ @@@   @@@   @@@  @@@ @@@  
@@  @@@
+  @@@@  @@@  @@@     @@@  @@@  
@@  @@@
+@  @@  @@@  @@  
   @@@@@@  @@@
+ @@   @@@  @@@ @@@   
@@@   @@@@@@     
+   @@@ 
   
+      @@@ @@@   @@@  
@@@ @@@   @@@   @@   
+  @@@ @  @  @@@ 
@  @@@  @@@  @@@  
+@@@   @@@   @@@ @@@@@@  @@@@@@ 
@@@   @@@  @@@  @@@    
+        @@@@@@  @@@   @@@  
@@@   @@@   @@@    
+ @@  @@   @@@   @   @@@  
@@  @@@ @@@   @@@ @@@  @@@   
+   @   @@ @@@@@@@@@ @@@
  @@@  @@@  @@@  @@
+  @@@  
   
+   
   
+  @@@  
   
+ @@
   



(polaris) branch main updated (2a7109854 -> d9397a594)

2025-06-03 Thread dimas
This is an automated email from the ASF dual-hosted git repository.

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


from 2a7109854 Remove the unused field in CallContextCatalogFactory (#1784)
 add d9397a594 Test: silence CDS warning from admin tool tests (#1800)

No new revisions were added by this update.

Summary of changes:
 quarkus/admin/build.gradle.kts | 6 ++
 1 file changed, 6 insertions(+)



(polaris) branch main updated: Don't rotate root's credentials on startup in JdbcMetaStoreManagerFactory (#1804)

2025-06-03 Thread singhpk234
This is an automated email from the ASF dual-hosted git repository.

singhpk234 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 da0ceff74 Don't rotate root's credentials on startup in 
JdbcMetaStoreManagerFactory (#1804)
da0ceff74 is described below

commit da0ceff74a9516e35ddc00b7433e24c499f133df
Author: Eric Maynard 
AuthorDate: Tue Jun 3 17:09:20 2025 -0700

Don't rotate root's credentials on startup in JdbcMetaStoreManagerFactory 
(#1804)
---
 .../jdbc/JdbcMetaStoreManagerFactory.java  | 25 ++
 1 file changed, 7 insertions(+), 18 deletions(-)

diff --git 
a/persistence/relational-jdbc/src/main/java/org/apache/polaris/persistence/relational/jdbc/JdbcMetaStoreManagerFactory.java
 
b/persistence/relational-jdbc/src/main/java/org/apache/polaris/persistence/relational/jdbc/JdbcMetaStoreManagerFactory.java
index 3c09b50be..e3547eb2f 100644
--- 
a/persistence/relational-jdbc/src/main/java/org/apache/polaris/persistence/relational/jdbc/JdbcMetaStoreManagerFactory.java
+++ 
b/persistence/relational-jdbc/src/main/java/org/apache/polaris/persistence/relational/jdbc/JdbcMetaStoreManagerFactory.java
@@ -38,7 +38,6 @@ import org.apache.polaris.core.entity.PolarisEntity;
 import org.apache.polaris.core.entity.PolarisEntityConstants;
 import org.apache.polaris.core.entity.PolarisEntitySubType;
 import org.apache.polaris.core.entity.PolarisEntityType;
-import org.apache.polaris.core.entity.PolarisPrincipalSecrets;
 import org.apache.polaris.core.persistence.AtomicOperationMetaStoreManager;
 import org.apache.polaris.core.persistence.BasePersistence;
 import org.apache.polaris.core.persistence.MetaStoreManagerFactory;
@@ -219,8 +218,7 @@ public class JdbcMetaStoreManagerFactory implements 
MetaStoreManagerFactory {
 
   /**
* This method bootstraps service for a given realm: i.e. creates all the 
needed entities in the
-   * metastore and creates a root service principal. After that we rotate the 
root principal
-   * credentials.
+   * metastore and creates a root service principal.
*/
   private PrincipalSecretsResult 
bootstrapServiceAndCreatePolarisPrincipalForRealm(
   RealmContext realmContext, PolarisMetaStoreManager metaStoreManager) {
@@ -257,22 +255,13 @@ public class JdbcMetaStoreManagerFactory implements 
MetaStoreManagerFactory {
 PolarisEntityType.PRINCIPAL,
 PolarisEntitySubType.NULL_SUBTYPE,
 PolarisEntityConstants.getRootPrincipalName());
-PolarisPrincipalSecrets secrets =
-metaStoreManager
-.loadPrincipalSecrets(
-polarisContext,
-PolarisEntity.of(rootPrincipalLookup.getEntity())
-.getInternalPropertiesAsMap()
-.get(PolarisEntityConstants.getClientIdPropertyName()))
-.getPrincipalSecrets();
-PrincipalSecretsResult rotatedSecrets =
-metaStoreManager.rotatePrincipalSecrets(
+PrincipalSecretsResult secrets =
+metaStoreManager.loadPrincipalSecrets(
 polarisContext,
-secrets.getPrincipalClientId(),
-secrets.getPrincipalId(),
-false,
-secrets.getMainSecretHash());
-return rotatedSecrets;
+PolarisEntity.of(rootPrincipalLookup.getEntity())
+.getInternalPropertiesAsMap()
+.get(PolarisEntityConstants.getClientIdPropertyName()));
+return secrets;
   }
 
   /**



(polaris) branch main updated: main: Pin dependencies (#1701)

2025-06-03 Thread snazy
This is an automated email from the ASF dual-hosted git repository.

snazy 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 980011e22 main: Pin dependencies (#1701)
980011e22 is described below

commit 980011e2230260314c663b14ae65058695cd9c5a
Author: Mend Renovate 
AuthorDate: Tue Jun 3 09:24:38 2025 +0200

main: Pin dependencies (#1701)
---
 .github/workflows/check-md-link.yml |  2 +-
 .github/workflows/gradle.yml| 10 +-
 .github/workflows/helm.yml  |  4 ++--
 .github/workflows/nightly.yml   |  6 +++---
 .github/workflows/python-client.yml |  4 ++--
 .github/workflows/regtest.yml   |  4 ++--
 .github/workflows/site.yml  |  4 ++--
 .github/workflows/spark_client_regtests.yml |  4 ++--
 8 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/check-md-link.yml 
b/.github/workflows/check-md-link.yml
index c3fa2ec85..e415aabe6 100644
--- a/.github/workflows/check-md-link.yml
+++ b/.github/workflows/check-md-link.yml
@@ -37,7 +37,7 @@ jobs:
 runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@master
-- uses: gaurav-nelson/github-action-markdown-link-check@v1
+- uses: 
gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368
 # v1
   with:
 use-quiet-mode: 'yes'
 config-file: '.github/workflows/check-md-link-config.json'
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 818083475..38c88e4cf 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -40,9 +40,9 @@ jobs:
   contents: read
 
 steps:
-  - uses: actions/checkout@v4
+  - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
   - name: Set up JDK 21
-uses: actions/setup-java@v4
+uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
 with:
   java-version: '21'
   distribution: 'temurin'
@@ -63,7 +63,7 @@ jobs:
 run: ./gradlew publishToMavenLocal sourceTarball
 
   - name: Archive test results
-uses: actions/upload-artifact@v4
+uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
# v4
 if: always()
 with:
   name: upload-test-artifacts
@@ -75,7 +75,7 @@ jobs:
 
   # Ensure that the build works properly when building against the "latest 
greatest" Java version
   - name: Set up JDK 23
-uses: actions/setup-java@v4
+uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
 with:
   java-version: '23'
   distribution: 'temurin'
@@ -89,7 +89,7 @@ jobs:
 run: ./gradlew :polaris-quarkus-service:intTest
 
   - name: Archive test results
-uses: actions/upload-artifact@v4
+uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
# v4
 if: always()
 with:
   name: upload-test-artifacts-java-23
diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml
index 6ade32f46..f18aefb89 100644
--- a/.github/workflows/helm.yml
+++ b/.github/workflows/helm.yml
@@ -39,12 +39,12 @@ jobs:
 
 steps:
   - name: Checkout
-uses: actions/checkout@v4
+uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
 with:
   fetch-depth: 0
 
   - name: Set up JDK 21
-uses: actions/setup-java@v4
+uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
 with:
   java-version: '21'
   distribution: 'temurin'
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 6cdd28173..99166720a 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -46,14 +46,14 @@ jobs:
 if: github.repository == 'apache/polaris'
 steps:
   - name: Checkout
-uses: actions/checkout@v4
+uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
   - name: Set up JDK 21
-uses: actions/setup-java@v4
+uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
 with:
   java-version: '21'
   distribution: 'temurin'
   - name: Setup Gradle
-uses: gradle/actions/setup-gradle@v4
+uses: 
gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4
 with:
   validate-wrappers: false
   - name: Publish SNAPSHOTs to Apache Nexus Repository
diff --git a/.github/workflows/python-client.yml 
b/.github/workflows/python-client.yml
index e64c4bdfc..b252eb075 100644
--- a/.github/workflows/python-client.yml
+++ b/.github/workflows/python-client.yml
@@ -42,10 +42,10 @@ jobs:
 
 steps:
   - name: Checkout Polaris project
-uses: actions/checkout@v4
+u