OpenFGA
Testcontainers module for OpenFGA.
OpenFGAContainer's usage examples
You can start an OpenFGA container instance from any Java application by using:
OpenFGAContainer openfga = new OpenFGAContainer("openfga/openfga:v1.4.3")
Adding this module to your project dependencies
Add the following dependency to your pom.xml
/build.gradle
file:
testImplementation "org.testcontainers:testcontainers-openfga:2.0.0"
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-openfga</artifactId>
<version>2.0.0</version>
<scope>test</scope>
</dependency>