Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to support generating Liquibase change-sets #1520

Closed
wants to merge 32 commits into from
Closed

Commits on May 19, 2023

  1. Initial Data Model for Schema SQL Generation (#1481)

    Initial Data Model for Schema SQL Generation that can generate SQL for a simple entity.
    
    Closes #1478
    kurtn718 committed May 19, 2023
    Configuration menu
    Copy the full SHA
    f5fa502 View commit details
    Browse the repository at this point in the history
  2. Initial changes for SQLGenerationDataModel to perform differences bet…

    …ween current and previous state
    kurtn718 committed May 19, 2023
    Configuration menu
    Copy the full SHA
    201ba55 View commit details
    Browse the repository at this point in the history
  3. Remove Serializable

    kurtn718 committed May 19, 2023
    Configuration menu
    Copy the full SHA
    e5e993f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebde99f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d08588 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f7a5ead View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    989d4b2 View commit details
    Browse the repository at this point in the history
  8. Fix Unit Test

    kurtn718 committed May 19, 2023
    Configuration menu
    Copy the full SHA
    7e21cfc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    046d916 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2023

  1. Configuration menu
    Copy the full SHA
    33e3308 View commit details
    Browse the repository at this point in the history
  2. Re-add things lost in rebase

    kurtn718 committed May 20, 2023
    Configuration menu
    Copy the full SHA
    2335a4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a22eccc View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Configuration menu
    Copy the full SHA
    d2d7845 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    023b34f View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    03597b9 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    86c52f1 View commit details
    Browse the repository at this point in the history
  2. Add additional Javadocs

    kurtn718 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    c68584b View commit details
    Browse the repository at this point in the history
  3. Additional Javadoc's

    kurtn718 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    c9efa82 View commit details
    Browse the repository at this point in the history
  4. Refactoring - make SchemaModel class purely a model class (and not pe…

    …rform any difference/comparison)
    kurtn718 committed May 24, 2023
    Configuration menu
    Copy the full SHA
    9757b71 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    0c01a9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3e123d View commit details
    Browse the repository at this point in the history
  3. Add predicate with default implementation to not drop any external ta…

    …bles / columns (i.e. only perform additions - unless the user implements a predicate telling us otherwise)
    kurtn718 committed May 25, 2023
    Configuration menu
    Copy the full SHA
    cf21d29 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Remove usage of DerivedSqlIdentifier as what we get from Liquibase wh…

    …en querying DB state is the Reference Name.
    kurtn718 committed May 26, 2023
    Configuration menu
    Copy the full SHA
    c9841c5 View commit details
    Browse the repository at this point in the history
  2. Fix unit tests

    kurtn718 committed May 26, 2023
    Configuration menu
    Copy the full SHA
    1693d24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    212d07a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9749dcf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0ea5833 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. Configuration menu
    Copy the full SHA
    187e55d View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Polishing.

    Reformat code, switch to tabs. Accept property in DatabaseTypeMapping to provide more context to the type mapping component.
    
    Rename LiquibaseChangeSetGenerator to …Writer as we're writing a changeset and computing the contents is a consequence of writing a changeset. Refine naming to express what we're actually doing.
    
    Introduce setters for enhanced configuration of predicates. Reduce visibility of types to avoid unwanted public API where public access is not needed.
    
    Remove usused code, move methods around for improved grouping of code.
    mp911de committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    d8b105d View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Polishing.

    Rename package to schema as the schema is being created and updated and not generated. Rename …Model classes to just their name as types are package-private and not visible externally. Refactor SchemaDiff to Java record.
    
    Use different overloads to write schema changes to avoid LiquibaseException leaking into cases where no diff is being used. Introduce SchemaFilter to filter unwanted mapped entities.
    
    Add tests for changeset-creation.
    mp911de committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    e4f1a0a View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Polishing.

    Move code to JDBC module. Introduce comparator strategy to customize how table and column names are compared.
    mp911de committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    e85ab13 View commit details
    Browse the repository at this point in the history
  2. Add documentation.

    mp911de committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    cd8d041 View commit details
    Browse the repository at this point in the history