The main API classes of the SDK are auto generated using the command make generate
.
To build the SDK locally run mvn clean install
from the root directory.
The sdk-tests package uses a container quay.io/rhosak/api-mock
to emulate the data plane services. Therefore, to run the tests the host system needs a Docker compatible daemon running with a socker exposed using the DOCKER_HOST
environment variable.
To set up the variable using Podman run the following commands :
podman system service -t 0 &
export DOCKER_HOST=unix:///var/run/user/$(id -u)/podman/podman.sock