Test Liquibase changelog for equality against manual scripts

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.16.0, 7.16.0-alpha4
    • Affects Version/s: None
    • Component/s: engine
    • None

      AC

      • Liquibase scripts are tested automatically in CI for equality against manual installation

      Hints

      • Issues with a maven-only approach:
        • Liquibase's "diff" command can work with two online databases - we only have one test database, testing with manual scripts and Liquibase sequentially, clearing up data in-between
        • Liquibase's "diff" command can also work with snapshots of databases (JSON files) - the "snapshot" command creating those snapshots is not available in Liquibase's maven plugin, only via CLI and Java API
        • Ordering the plugins needed for comparison would be based on maven phases and execution orders within a plugin within a maven phase - this is a very error-prone construct
        • Evaluating the Liquibase diff via a maven plugin is not intuitive and easy to do (although probably achievable)
      • Solution idea:
        • Write Java-based test cases that execute the necessary steps and verifications

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Tobias Metzke-Bernstein
              Tobias Metzke-Bernstein Tobias Metzke-Bernstein
              Miklas Boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: