CustomContainerConfig

class CustomContainerConfig(val keymasterConfiguration: IKeyMasterConfiguration, val httpPort: Int, val dataSourcePort: Int, val container: GenericContainer<*>) : LiberatorContainerExtension.ContainerConfig(source)

A ContainerConfig for running against a container and KeyMaster configuration you supply yourself, rather than the one built by DefaultContainerConfig.

Constructors

Link copied to clipboard
constructor(keymasterConfiguration: IKeyMasterConfiguration, httpPort: Int, dataSourcePort: Int, container: GenericContainer<*>)

Properties

Link copied to clipboard
open override val container: GenericContainer<*>

The container to start; its exposed ports are mapped to random host ports.

Link copied to clipboard
open override val dataSourcePort: Int

The container port serving the DataSource endpoint.

Link copied to clipboard
open override val httpPort: Int

The container port serving the Liberator HTTP/RTTP endpoint.

Link copied to clipboard
open override val keymasterConfiguration: IKeyMasterConfiguration

KeyMaster configuration used to sign the credentials of connecting clients.