The polaris-runtime-service
module is the core runtime service implementation of Apache Polaris. It serves as the main service layer that provides the REST API endpoints and business logic.
Integration tests from the :polaris-tests module can be run against a local Polaris Quarkus instance for each supported cloud storage. Set the appropriate environment variables for your target cloud, then run the tests as shown below.
For S3:
export INTEGRATION_TEST_S3_PATH="s3://bucket/subpath" export INTEGRATION_TEST_S3_ROLE_ARN="your-role-arn" ./gradlew :polaris-runtime-service:cloudTest
For Azure:
export INTEGRATION_TEST_AZURE_PATH="abfss://bucket/subpath" export INTEGRATION_TEST_AZURE_TENANT_ID="your-tenant-id" ./gradlew :polaris-runtime-service:cloudTest
For GCS:
export INTEGRATION_TEST_GCS_PATH="gs://bucket/subpath" export INTEGRATION_TEST_GCS_SERVICE_ACCOUNT="your-service-account" ./gradlew :polaris-runtime-service:cloudTest