Unable to apply Bahmni Liquibase changes on a 'fresh' OpenMRS database.

Description

Steps to reproduce:

Start OpenMRS platform on Core 2.1.1 (using OpenMRS SDK for instance).
Let the Core Liquibase migrations run.
Once migrations are done and server fully started, stop the server.

Add the Bahmni 0.91 modules to the installation: bacteriology, operating theater and bahmni core.
Start the server again.
Confirm that Liquibase migrations are failing and Bahmni Core module won't start.

Acceptance criteria:

  • Bahmni should still work when providing the new artifacts, prior any Liquibase migration, ie, at first start.:

    • install default Bahmni and place the new artifacts (Bahmni Core and Bacteriology likely), right before the first start of OpenMRS.

  • Bahmni should still work when providing the new artifcats after all Liquibase migrations have run:

    • install default Bahmni and let it fully run. Then place the new artifacts and restart OpenMRS.

  • OpenMRS should work when providing the artifacts on an empty database:

    • start an SDK-based OpenMRS and provide the new artifacts right when OpenMRS migrations start.

  • OpenMRS should work when providing the artifacts on an empty database:

    • start an SDK-based OpenMRS and let it start. Then replace with the new artifacts and start again.

 

Status

Assignee

chine zoheir

Reporter

Romain Buisson

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Sprint

Fix versions

Configure