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

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


    from e041a018c chore(deps): update postgres docker tag to v17.6 (#2354)
     add c4fc848bc Add integration tests with Keycloak (#2343)

No new revisions were added by this update.

Summary of changes:
 gradle/libs.versions.toml                          |   2 +
 integration-tests/build.gradle.kts                 |   1 +
 .../apache/polaris/service/it/env/CatalogApi.java  |  26 +--
 .../polaris/service/it/env/ClientCredentials.java  |  12 +-
 .../polaris/service/it/env/ClientPrincipal.java    |  12 +-
 .../polaris/service/it/env/GenericTableApi.java    |   4 +-
 .../polaris/service/it/env/IcebergHelper.java      |   7 +-
 .../service/it/env/IcebergTokenAccessManager.java  |  43 -----
 .../polaris/service/it/env/ManagementApi.java      |   4 +-
 .../apache/polaris/service/it/env/OAuth2Api.java   |  58 ++++---
 .../polaris/service/it/env/PolarisClient.java      |  73 ++++-----
 .../it/env/{RestApi.java => PolarisRestApi.java}   |  41 +----
 .../apache/polaris/service/it/env/PolicyApi.java   |   2 +-
 .../org/apache/polaris/service/it/env/RestApi.java |  18 +-
 .../service/it/ext/PolarisAccessManager.java       |  27 ---
 .../service/it/ext/PolarisServerManager.java       |   5 -
 .../it/ext/PolarisSparkIntegrationTestBase.java    |   4 +-
 .../it/test/PolarisApplicationIntegrationTest.java |  13 +-
 .../PolarisManagementServiceIntegrationTest.java   |  14 +-
 .../test/PolarisPolicyServiceIntegrationTest.java  |  24 ++-
 .../it/test/PolarisRestCatalogIntegrationBase.java |  69 ++++++--
 .../PolarisRestCatalogViewIntegrationBase.java     |  14 +-
 .../src/main/resources/application-test.properties |   3 +
 runtime/service/build.gradle.kts                   |   4 +
 .../service/it/RestCatalogKeycloakFileIT.java      |  78 +++++++++
 .../service/it/RestCatalogMinIOSpecialIT.java      |   9 +-
 runtime/test-common/build.gradle.kts               |  11 ++
 .../test/commons/keycloak/KeycloakAccess.java      |  82 ++++++++++
 .../test/commons/keycloak/KeycloakContainer.java   | 181 +++++++++++++++++++++
 .../commons/keycloak/KeycloakLifecycleManager.java |  57 +++++++
 .../test/commons/keycloak/KeycloakProfile.java}    |  24 +--
 .../commons/keycloak/Dockerfile-keycloak-version   |   2 +-
 32 files changed, 628 insertions(+), 296 deletions(-)
 delete mode 100644 
integration-tests/src/main/java/org/apache/polaris/service/it/env/IcebergTokenAccessManager.java
 copy 
runtime/service/src/test/java/org/apache/polaris/service/auth/TokenUtils.java 
=> 
integration-tests/src/main/java/org/apache/polaris/service/it/env/OAuth2Api.java
 (50%)
 copy 
integration-tests/src/main/java/org/apache/polaris/service/it/env/{RestApi.java 
=> PolarisRestApi.java} (58%)
 delete mode 100644 
integration-tests/src/main/java/org/apache/polaris/service/it/ext/PolarisAccessManager.java
 create mode 100644 
runtime/service/src/intTest/java/org/apache/polaris/service/it/RestCatalogKeycloakFileIT.java
 create mode 100644 
runtime/test-common/src/main/java/org/apache/polaris/test/commons/keycloak/KeycloakAccess.java
 create mode 100644 
runtime/test-common/src/main/java/org/apache/polaris/test/commons/keycloak/KeycloakContainer.java
 create mode 100644 
runtime/test-common/src/main/java/org/apache/polaris/test/commons/keycloak/KeycloakLifecycleManager.java
 copy 
runtime/{admin/src/test/java/org/apache/polaris/admintool/el/EclipselinkProfile.java
 => 
test-common/src/main/java/org/apache/polaris/test/commons/keycloak/KeycloakProfile.java}
 (64%)
 copy 
tools/minio-testcontainer/src/main/resources/org/apache/polaris/test/minio/Dockerfile-minio-version
 => 
runtime/test-common/src/main/resources/org/apache/polaris/test/commons/keycloak/Dockerfile-keycloak-version
 (94%)

Reply via email to