Skip to content

MauroDataMapper-Plugins/mdm-plugin-database-postgresql

Repository files navigation

mdm-plugin-database-postgresql

Branch Build Status
main Build Status
develop Build Status

Requirements

  • Java 17 (Temurin)
  • Grails 5.2.3+
  • Gradle 7.3.3+

All of the above can be installed and easily maintained by using SDKMAN!.

Applying the Plugin

The preferred way of running Mauro Data Mapper is using the mdm-docker deployment. However you can also run the backend on its own from mdm-application-build.

mdm-docker

In the docker-compose.yml file add:

mauro-data-mapper:
    build:
        args:
            ADDITIONAL_PLUGINS: "uk.ac.ox.softeng.maurodatamapper.plugins:mdm-plugin-database-postgresql:7.2.0"

Please note, if adding more than one plugin, this is a semicolon-separated list

mdm-application-build

In the dependencies.gradle file add:

dependencies {
    runtimeOnly 'uk.ac.ox.softeng.maurodatamapper.plugins:mdm-plugin-database-postgresql:7.2.0'
}

Development

To run tests: ./gradlew --build-cache integrationTest

With debug: ./gradlew --build-cache integrationTest --debug-jvm