Commit Graph

249 Commits

Author SHA1 Message Date
jamesagnew 7bdb42d70f Restore accidentally removed method 2020-03-17 17:43:46 -04:00
James Agnew 22413911bf
Validation api changes (#1719)
* Validation enhancements

* Work on validation api reworking

* Keep working on validation API

* Keep working on new term API

* Work on validation api

* Ongoing work on validation

* Work on integrating validation

* Work on validation API

* Add to validation API

* Work on validation

* Work on API

* Work on validation

* Work on validation API

* Work on validation API

* Work on validation api

* Work on validation API

* Work on validation api

* Validation API changes

* Work on API

* More work on validationo API

* Work on validation API

* FIxes

* WOrk on validation api

* Work on validation API

* Tests passing!

* More cleanup

* More validation API changes

* Fix intermittent test failure

* Package reorg

* Validation API work

* Work on doocumentation

* Work on API

* More work on new validation API

* Fix errorprone-reported error

* Test fixes

* Documentation updates

* Documentation tweaks

* Work on API

* Bean name adjustments

* Build fixes

* Some test fixes
2020-03-17 13:28:59 -04:00
James Agnew 9305bef4ef
Remove useless migrator task generics (#1687)
* Remove useless migrator task generics

* Clean a couple of compile errors

* Try to fix intermittent
2020-03-17 13:28:43 -04:00
James Agnew b2b0ff22b4
Collapse date joins (#1726)
* Collapse date joins

* Add changelog

* Address review comments

* Add whitespace

* fix test

Co-authored-by: Ken Stevens <ken.stevens@sympatico.ca>
2020-02-25 17:17:13 -05:00
Ken Stevens 38bae8866b quiet migration tasks during tests
also add description to schema initialization tasks
2020-02-25 09:43:34 -05:00
Ken Stevens 8d1d3cee75 Merge remote-tracking branch 'remotes/origin/master' into ks-20200204-quiet-migrate-in-test 2020-02-25 09:20:35 -05:00
jamesagnew d39b54e711 Add missing migration task 2020-02-20 05:39:56 -05:00
ianmarshall 96d00f633c Move new migration task to version 4.3.0. 2020-02-18 14:09:17 -05:00
ianmarshall f7db280099 Merge remote-tracking branch 'remotes/origin/master' into im_20200131_remove_circular_dependency_forcedid
# Conflicts:
#	hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java
2020-02-18 12:13:00 -05:00
jamesagnew ddc7b601ee Version bump to 4.3.0-SNAPSHOT 2020-02-16 19:23:22 -05:00
jamesagnew 4fd80cfca7 Bump to 4.2.0 2020-02-16 19:00:15 -05:00
Ken Stevens da11d3d89e
remove distinct from search (#1712)
* it works now

* oops

* add successful migration message

* add successful migration message

* Add fix for #1300

* Remove FIXME

* Test fix

* Test fix

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2020-02-15 12:45:59 -05:00
Ken Stevens 5e8eec8bf6 it works now 2020-02-09 18:29:55 -05:00
Ken Stevens 5f30bdb27b not sure this is going to work yet 2020-02-04 17:00:56 -05:00
Ken Stevens 318b306020
fix migration (#1699) 2020-02-03 17:13:35 -05:00
Ken Stevens 3c46595e81 Merge remote-tracking branch 'remotes/origin/master' into ks-20200203-remove-search-lastused 2020-02-03 11:33:15 -05:00
Ken Stevens b4325199cf review feedback 2020-02-03 11:20:18 -05:00
James Agnew 709aeb4ae8
Drop unnecessary index (#1696) 2020-02-03 10:29:39 -05:00
Ken Stevens cda906d7b8 Column removed. Time to run tests. 2020-02-03 09:44:10 -05:00
ianmarshall 5d5b3d7639 Changes to schema to loosen dependencies between Forced ID table and the Resource and Resource History tables. 2020-01-31 11:16:01 -05:00
James Agnew 3edeb03edc
Rework hashcode generation (#1684)
* Rework hashcode generation

* Compile fix

* Hashcoode refactoring

* FIx compile errors
2020-01-26 22:23:06 -05:00
Jafer Khan 4a4fb0fd9d Remove transient fields from migration task 2020-01-24 08:28:01 -05:00
James Agnew 0718f6b52a
Allow schemalocation in XML validation (#1677)
* Allow schemaLocation declaration in XML when validating

* Add fix for #1676
2020-01-21 07:14:16 +09:00
James Agnew a19d246432 License header version bump, and add the ability for "add column"
migration tasks to fail gracefully
2020-01-12 11:01:21 +08:00
James Agnew a61527d4cb Allow multiple PK column in addTable migrator 2019-12-21 14:05:35 -05:00
James Agnew a94b684be5 Addres TODO 2019-12-18 14:43:57 -05:00
James Agnew 0a21ab6941 Use datasource for migrator 2019-12-18 14:23:46 -05:00
Ken Stevens 68a7613f9e Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler
# Conflicts:
#	hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/BaseFlywayMigrateDatabaseCommand.java
2019-12-16 08:58:26 -05:00
jamesagnew 4592decbfa Add license headers 2019-12-15 19:51:49 -05:00
Ken Stevens 9f422efd7a handle case where version list is quoted 2019-12-14 21:02:31 -05:00
Ken Stevens 7c3514fecc Skip versions tested 2019-12-14 19:00:58 -05:00
Ken Stevens 4946fffac2 pass test 2019-12-14 17:27:17 -05:00
Ken Stevens 11e55cebf5 begin with failing test 2019-12-14 17:26:56 -05:00
Ken Stevens 0dde239696 migration task don't compare length if no length is specified in the task 2019-12-13 15:12:59 -05:00
Ken Stevens 931a41938b added dry-run output to both Flyway and TaskOnly migrator
dry-run only calls TaskOnly migrator now
2019-12-12 14:42:43 -05:00
Ken Stevens 83106c92c1 move quartz stuff out 2019-12-11 17:00:31 -05:00
Ken Stevens 91f4e62148 Oracle works yay! 2019-12-11 15:15:47 -05:00
Ken Stevens 7cc690ffd3 Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler 2019-12-11 14:17:54 -05:00
Ken Stevens 7c1544d8f3 strip comments from sql before splitting ; (to avoid ; in comments) 2019-12-11 14:02:24 -05:00
Ken Stevens da5034959b start working on quartz fix 2019-12-11 13:41:27 -05:00
Ken Stevens ae5f00accc add support to stub out renameindex 2019-12-11 12:07:43 -05:00
Ken Stevens 176bf657a7 Merge remote-tracking branch 'remotes/origin/master' into ks-20191119-scheduler
# Conflicts:
#	hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java
2019-12-10 10:10:41 -05:00
Ken Stevens 198779a25f fix MSSQL index rename 2019-12-09 18:36:41 -05:00
Ken Stevens 3657a3ad5a pre-review cleanup 2019-12-09 16:51:42 -05:00
Ken Stevens bd1b41ff82 change out-of-order-permitted from environment variablet to flag to work like dont-use-flyway 2019-12-09 16:44:24 -05:00
Ken Stevens 77373605bd add 420 migration 2019-12-09 15:58:08 -05:00
Ken Stevens b0b410384f add renameIndex task 2019-12-09 15:42:40 -05:00
Ken Stevens deb5fd40a7 Added stubbed tasks for add and drop index 2019-12-09 14:42:37 -05:00
Ken Stevens ec37138138 add environment variable to allow flyway out of order migration 2019-12-09 11:32:25 -05:00
Ken Stevens 0b30033b0a upgrade flyway to latest version
automatically repair failed migrations
2019-12-09 11:19:18 -05:00