Skip to content

Create a database integrity check #12

Description

@LongusBongus

Write a bash script that searches for missing tables and incorrect deployment format (local or docker).

Feature: Missing tables

This script should be used before creating and after applying a data warehouse backup file, or just independantly for integrity checking purposes.
These checks work by mapping the database against a list of required tables. Map tables on their name and structure.

Feature: Incorrect deployment format

Between a local and a dockerized deployment exist differences inside the database. Currently the relevant table breaking a deployment overarching database migration is the table "i2b2pm.pm_cell_data", that contains references to the i2b2 services. A local data warehouse points to a "localhost"-wildfly path while dockerized deployments point to a docker container running wildfly:

local deployment

Image

dockerized deployment

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions