Interface Server

All Superinterfaces:
AutoCloseable

public interface Server extends AutoCloseable
This is a holder for access information to a particular Polaris Server. Test cases may use only the provided admin credentials or create new principals.
  • Field Details

  • Method Details

    • realmId

      default String realmId()
    • realmHeaderName

      default String realmHeaderName()
    • headers

      default Map<String,String> headers()
    • baseUri

      URI baseUri()
      The base URI to all Polaris APIs (e.g. the common base of the Iceberg REST API endpoints and Polaris Management API endpoints).
      See Also:
    • managementUri

      default Optional<URI> managementUri()
      The base URI for the platform management interface (exposing metrics and health checks). Not to be confused with the Polaris Management API. This URI includes the management interface root path, usually /q on Quarkus platforms.

      The management URI is sometimes unavailable, e.g. in the case of a @QuarkusIntegrationTest; in such cases this method returns empty.

    • adminCredentials

      ClientPrincipal adminCredentials()