Copyright (C) 2023 The Open Library Foundation
This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.
Module designed for high-performance migration of MARC records.
The recommended way to run the module locally is using Docker Compose. This provides a complete development environment with all dependencies.
# Build the module JAR
mvn clean package -DskipTests
# Start all services (infrastructure + module)
docker compose -f docker/app-docker-compose.yml up -d
# View logs
docker compose -f docker/app-docker-compose.yml logs -f mod-marc-migrationsFor detailed Docker Compose documentation, see docker/README.md.
For local development, you can run the application directly from IntelliJ IDEA with the dev profile. Spring Boot will automatically start the required infrastructure services (PostgreSQL, Kafka, MinIO) using Docker Compose.
- Open the project in IntelliJ IDEA
- Run the main application class with the
devprofile active - Spring Boot will automatically start infrastructure containers from
docker/infra-docker-compose.yml
Run the module locally on the default listening port (8081) with infrastructure services:
# Start infrastructure services
docker compose -f docker/infra-docker-compose.yml up -d
# Run the module
mvn spring-boot:runBuild the docker container with:
mvn clean package -DskipTests
docker build -t mod-marc-migrations .The project includes a comprehensive Docker Compose setup with two main configurations:
- Infrastructure only (
infra-docker-compose.yml) - PostgreSQL, Kafka, MinIO, and supporting services - Full stack (
app-docker-compose.yml) - Infrastructure + mod-marc-migrations module with scalable instances
# Run infrastructure only (for local development)
docker compose -f docker/infra-docker-compose.yml up -d
# Run full stack with module instances
docker compose -f docker/app-docker-compose.yml up -d
# Scale module instances
docker compose -f docker/app-docker-compose.yml up -d --scale mod-marc-migrations=3See docker/README.md for detailed documentation on:
- Configuration options via
.envfile - Multiple development workflows
- Service descriptions and ports
- Troubleshooting guide
- Best practices
See project MODMARCMIG at the FOLIO issue tracker.
This module's API documentation.
This module's Documentation.
The built artifacts for this module are available. See configuration for repository access, and the Docker image