🚨 AtomicJar is now part of Docker 🐋! Read the blog

Documentation

Java

Official Module

Synthesized
We partner with software vendors to maintain and certify official modules.

Description

Synthesized Test Data Kit (TDK) is a DevOps’ best friend for database masking and generation. Forget about hacky masking and seeding scripts that can easily leak PII or produce inaccurate results. You can plug it in into your CI/CD pipeline or use it as a command-line tool.

Examples

Dependency:
<dependency>
    <groupId>io.synthesized</groupId>
    <artifactId>tdk-tc</artifactId>
    <version>1.05</version>
    <scope>test</scope>
</dependency>
Usage:
//Input JdbcDatabaseContainer: empty database with schema input
PostgreSQLContainer<?> input = new PostgreSQLContainer<>("postgres:15-alpine")
    .withNetwork(network);

//Output JdbcDatabaseContainer: output database with generated data output
PostgreSQLContainer<?> output = new PostgreSQLContainer<>("postgres:15-alpine")
    .withNetwork(network);

String config = """
        default_config:
          mode: GENERATION
          target_row_number: 10
        global_seed: 42
        """

new SynthesizedTDK(SynthesizedTDK.DEFAULT_IMAGE_NAME)
    .transform(input, output, config);