Class ExternalPolarisServerManager
java.lang.Object
org.apache.polaris.service.it.ext.ExternalPolarisServerManager
- All Implemented Interfaces:
PolarisServerManager
PolarisServerManager implementation for tests whose Polaris server lifecycle is managed
outside JUnit, for example by Gradle.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserverForContext(org.junit.jupiter.api.extension.ExtensionContext context) Returns server connection parameters for the tests under the specified context.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.polaris.service.it.ext.PolarisServerManager
accessManager, createClient, transformEntityName
-
Field Details
-
HTTP_PORT_PROPERTY
- See Also:
-
HOST_PROPERTY
- See Also:
-
-
Constructor Details
-
ExternalPolarisServerManager
public ExternalPolarisServerManager()
-
-
Method Details
-
serverForContext
Description copied from interface:PolarisServerManagerReturns server connection parameters for the tests under the specified context.Implementations may reuse the same server for multiple contexts (with the same of different
realm IDs) or create a fresh server for each context. In any case,AutoCloseable.close()will be invoked when the context provided as the argument to this call is closed.Note:
Serverobjects are generally attached to the testclasscontext, but this is not guaranteed.- Specified by:
serverForContextin interfacePolarisServerManager
-