Skip to the content.

Repository settings

The metadata repository is configured in the application-repository.yml file. This file defines the database(s) to use to store all the metadata

Concepts

Configuration

The metadata repository configuration is defined under the iesi.metadata.repository key. It defines a list of metadata repositories.

A metadata repository configuration contains two mandatory parameters:

The example below defines a metadata repository responsible for all categories of metadata using a H2 database hosted on a file (~/repository) and the database user sa.

iesi:
  metadata:
    repository:
      - categories:
          - general
        coordinator:
          type: h2
          connection: jdbc:h2:~/repository
          owner:
            user: "sa"
            password: ""

Metdata Repository Database types

Currently IESI supports the following database technologies as metadata repositories:

Advanced configuration

You can provide an SQL query that will be executed first when opening a JDBC connection to the database using the init_sql parameter.

...
        coordinator:
          type: h2
          init_sql: alter session set ...
          connection: jdbc:h2:~/repository
...