apama.docker.apamadocker

Support for using correlator and IAF Docker images from PySys tests.

ApamaDockerContainer

class apama.docker.apamadocker.ApamaDockerContainer(parent=None, displayName=None)[source]

Bases: apama.docker.framework.DockerContainer

Helper class for working with Apama Docker containers.

getCorrelator(port)[source]

Get an apama.correlator.CorrelatorHelper for a correlator running inside this container

Parameters

port – The port that the correlator process is running on inside the container

Returns

The apama.correlator.CorrelatorHelper that can be used to interact with the correlator

getIAF(port)[source]

Get an apama.iaf.IAFHelper for an iaf running inside this container

Parameters

port – The port that the IAF process is running on inside the container

Returns

The apama.iaf.IAFHelper that can be used to interact with the IAF

getDockerHost()[source]

Get hostname on which this container running

Returns

docker’s hostname