hapi-fhir/hapi-fhir-sql-migrate/pom.xml

156 lines
4.1 KiB
XML
Raw Normal View History

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2018-08-23 05:24:13 -04:00
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
2018-08-27 08:21:20 -04:00
<artifactId>hapi-deployable-pom</artifactId>
GM1 Mergeback (#5203) * version bump * Bump to core release 6.0.22 (#5028) * Bump to core release 6.0.16 * Bump to core version 6.0.20 * Fix errors thrown as a result of VersionSpecificWorkerContextWrapper * Bump to core 6.0.22 * Resolve 5126 hfj res ver prov might cause migration error on db that automatically indexes the primary key (#5127) * dropped old index FK_RESVERPROV_RES_PID on RES_PID column before adding IDX_RESVERPROV_RES_PID * added changelog * changed to valid version number * changed to valid version number, need to be ordered by version number... * 5123 - Use DEFAULT partition for server-based requests if none specified (#5124) 5123 - Use DEFAULT partition for server-based requests if none specified * consent remove all suppresses next link in bundle (#5119) * added FIXME with source of issue * added FIXME with root cause * added FIXME with root cause * Providing solution to the issue and removing fixmes. * Providing changelog * auto-formatting. * Adding new test. * Adding a new test for standard paging * let's try this and see if it works...? * fix tests * cleanup to trigger a new run * fixing tests --------- Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> * 5117 MDM Score for No Match Fields Should Not Be Included in Total Score (#5118) * fix, test, changelog * fix, test, changelog --------- Co-authored-by: justindar <justin.dar@smilecdr.com> * Rename file to force IT mode * _source search parameter needs to support modifiers (#5095) _source search parameter needs to support modifiers - added support form :contains, :missing, :above modifiers * Fix HFQL docs (#5151) * Expunge operation on codesystem may throw 500 internal error with precondition fail message. (#5156) * Initial failing test. * Solution with changelog. * fixing format. * Addressing comment from code review. * fixing failing test. --------- Co-authored-by: peartree <etienne.poirier@smilecdr.com> * documentation update (#5154) Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> * Fix hsql jdbc driver deps (#5168) Avoid non-included classes in jdbc driver dependencies. * $delete-expunge over 10k resources will now delete all resources (#5144) * First commit with very rough fix and unit test. * Refinements to ResourceIdListStep and Batch2DaoSvcImpl. Make LoadIdsStepTest pass. Enhance Batch2DaoSvcImplTest. * Spotless * Fix checkstyle errors. * Fix test failures. * Minor refactoring. New unit test. Finalize changelist. * Spotless fix. * Delete now useless code from unit test. * Delete more useless code. * Test pre-commit hook * More spotless fixes. * Address most code review feedback. * Remove use of pageSize parameter and see if this breaks the pipeline. * Remove use of pageSize parameter and see if this breaks the pipeline. * Fix the noUrl case by passing an unlimited Pegeable instead. Effectively stop using page size for most databases. * Deprecate the old method and have it call the new one by default. * updating documentation (#5170) Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> * _source search parameter modifiers for Subscription matching (#5159) * _source search parameter modifiers for Subscription matching - test, implementation and changelog * Removal of meta tags during updates do not trigger subscription (#5181) * Initial failing test. * adding solution; fixing documentation; * spotless apply * adding changelog * modifying current test --------- Co-authored-by: peartree <etienne.poirier@smilecdr.com> * Issue 5173 get gateway everything doesnt return all patients (#5174) * Failing test * Also set offset and count in base DAO override * Changelog * Fix for specific case where count has been set in parameters * spotless * Improve checks --------- Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> * Do not 500 and continue IG ingestion when different IGs try to save different ValueSets with colliding FHIR IDs (#5175) * First commit with failing unit test and small tweaks. * Swallow resource version exceptions from colliding ValueSet OIDs and log a descriptive error instead. Add more detailed unit testing. * Tweaks to logic and update the changelog. Reverse all changes to TermReadSvcImpl. * Revert PackageResourceParsingSvc to release branch baseline. * Accept code reviewer suggestion to change changelog description. Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> --------- Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * Fix link * Remove target slf4j version * dont use new API for a bit (#5191) * Return DropIdGeneratorTask from the Builder to permit clients to mutate the (#5193) DropIdGeneratorTask. * Dqm performance bug update and provider loader fix (#5180) * update tests, move properties, update operation loader * update wip * remove test * fixing tests, adding config * update config and provider loader * fix bundles * fix cache settings on tests * version bump and change log * version bump * fix formatting * CVE-2022-45868 * wip cve change * cve h2 add back in --------- Co-authored-by: justin.mckelvy <justin.mckelvy@smilecdr.com> * bulkExportReuse with POST and GET (#5161) * string manipulation * Code to ensure bulkExportReuse works with POST and GET requests * Added formatting changes * Fixed tests that were not working * Formatting * Code clean up * fixing test failures * fixing test failures * Removed arrOfParams to now utilize ObjectMapper * Removing stack trace and adding an exception * Fixed test issue * formatting * formatting * Resolving code review comments * Reduce size of subscription max results (#5194) * Reduce MAX_SUBSCRIPTION_RESULTS to 10000 * Add changelog * 5037 goldenresource remains when target resource deleted (#5038) * draft test and fix * remove unused fields * remove unused fields * remove unused fields * draft test + solution for possible match case * combine sql statement + more error checking * add test case for possible duplicate * add config for autodeleting grs * refactoring, adding support for mongo, docs * refactoring + fixing mongo queries * add changelogs * fix both way link removal * clean up test comments * rename method * remove unnecessary bean * merge master/resolve conflicts * mvn spotless * address comment * changes to avoid version bumping * spotless * change error code --------- Co-authored-by: justindar <justin.dar@smilecdr.com> * dont use new API for a bit (#5190) * licenses * wip * Fix API usage * wip * Version bump --------- Co-authored-by: dotasek <david.otasek@smilecdr.com> Co-authored-by: TynerGjs <132295567+TynerGjs@users.noreply.github.com> Co-authored-by: Steve Corbett <137920358+steve-corbett-smilecdr@users.noreply.github.com> Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> Co-authored-by: justindar <justin.dar@smilecdr.com> Co-authored-by: volodymyr-korzh <132366313+volodymyr-korzh@users.noreply.github.com> Co-authored-by: Nathan Doef <n.doef@protonmail.com> Co-authored-by: Etienne Poirier <33007955+epeartree@users.noreply.github.com> Co-authored-by: TipzCM <leif.stawnyczy@gmail.com> Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> Co-authored-by: Luke deGruchy <luke.degruchy@smilecdr.com> Co-authored-by: jmarchionatto <60409882+jmarchionatto@users.noreply.github.com> Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: Justin McKelvy <60718638+Capt-Mac@users.noreply.github.com> Co-authored-by: justin.mckelvy <justin.mckelvy@smilecdr.com> Co-authored-by: LalithE <132382565+LalithE@users.noreply.github.com>
2023-08-15 15:32:10 -04:00
<version>6.9.3-SNAPSHOT</version>
2018-08-27 08:21:20 -04:00
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
2018-08-23 05:24:13 -04:00
</parent>
<artifactId>hapi-fhir-sql-migrate</artifactId>
2018-08-23 05:24:13 -04:00
<packaging>jar</packaging>
<name>HAPI FHIR Server - SQL Migration</name>
<description>Tooling for migrating SQL schemas.</description>
2018-08-23 05:24:13 -04:00
<dependencies>
2018-08-27 08:21:20 -04:00
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
2018-10-31 05:50:50 -04:00
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
</dependency>
2018-08-23 05:24:13 -04:00
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
2018-08-23 05:24:13 -04:00
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
</dependency>
2018-08-27 08:21:20 -04:00
<!-- Test Database -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
2018-08-27 08:21:20 -04:00
<scope>test</scope>
</dependency>
<dependency>
2019-06-07 11:11:25 -04:00
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
2019-06-07 11:11:25 -04:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
</dependency>
2018-08-23 05:24:13 -04:00
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
2018-08-27 08:21:20 -04:00
<scope>test</scope>
2018-08-23 05:24:13 -04:00
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
2018-08-27 08:21:20 -04:00
<artifactId>annotations</artifactId>
</dependency>
2018-08-23 05:24:13 -04:00
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
Ks 20220916 remove flyway (#4040) * removed flyway, started coding persistence * started wiring up new dao service * replace jpa with sqlbuilder * down to 16 failed tests * remove outOfOrder test. We no longer support validating order. * Removed noFlyway mode. It is no longer a thing. * merge migrator * down to 1 failing test * cleanup * removed unused noflyway cli arguments * cleanup * cleanup * cleanup * cleanup * create MigrationTaskList to replace the List<BaseTask> that gets passed around a lot. This allows us to add a bunch of behaviour to that as a first-order thing * fix test * fix test * improve migration table detection to use the catalogue * Msg.code() * cleanup * save version in same format as flyway * cleanup * add migration result to migration result class * failed migrations stay in the table and don't really affect anything. * change log * docs * ugh Flyway requires lower-case column names * integration test fixes * log * fix oracle issue * lowercase tablenames for postgres. fussy fussy! * Revert "lowercase tablenames for postgres. fussy fussy!" This reverts commit 92c9cb263b90cff2190cc327fab051dc3bb2f83f. * revert to capital table names. surround table name by quotes for Postgres. * added log message before executing find all query * changed log message from info to debug * javadoc * pom cleanup * review feedback * Update hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/MigrationTaskList.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * review feedback * review feedback. Use prepared statement. * Change installedOn insert from timestamp to date * Change installedOn column type from timestamp to date * bump hapi version * fix poms * fix poms and cdr compile * add exclusions to clean up build Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
2022-10-03 22:40:09 -04:00
<!-- SQL Builder -->
<dependency>
Ks 20220916 remove flyway (#4040) * removed flyway, started coding persistence * started wiring up new dao service * replace jpa with sqlbuilder * down to 16 failed tests * remove outOfOrder test. We no longer support validating order. * Removed noFlyway mode. It is no longer a thing. * merge migrator * down to 1 failing test * cleanup * removed unused noflyway cli arguments * cleanup * cleanup * cleanup * cleanup * create MigrationTaskList to replace the List<BaseTask> that gets passed around a lot. This allows us to add a bunch of behaviour to that as a first-order thing * fix test * fix test * improve migration table detection to use the catalogue * Msg.code() * cleanup * save version in same format as flyway * cleanup * add migration result to migration result class * failed migrations stay in the table and don't really affect anything. * change log * docs * ugh Flyway requires lower-case column names * integration test fixes * log * fix oracle issue * lowercase tablenames for postgres. fussy fussy! * Revert "lowercase tablenames for postgres. fussy fussy!" This reverts commit 92c9cb263b90cff2190cc327fab051dc3bb2f83f. * revert to capital table names. surround table name by quotes for Postgres. * added log message before executing find all query * changed log message from info to debug * javadoc * pom cleanup * review feedback * Update hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/MigrationTaskList.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * review feedback * review feedback. Use prepared statement. * Change installedOn insert from timestamp to date * Change installedOn column type from timestamp to date * bump hapi version * fix poms * fix poms and cdr compile * add exclusions to clean up build Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
2022-10-03 22:40:09 -04:00
<groupId>com.healthmarketscience.sqlbuilder</groupId>
<artifactId>sqlbuilder</artifactId>
</dependency>
<!-- test -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-test-utilities</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
2018-08-23 05:24:13 -04:00
</dependencies>
<build>
<!-- The following is not required for the application to build, but allows you to test it by issuing "mvn jetty:run" from the command line. -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<webApp>
<contextPath>/hapi-fhir-jpaserver-example</contextPath>
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
</webApp>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- The configuration here tells the WAR plugin to include the FHIR Tester overlay. You can omit it if you are not using that feature. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Build-Time>${maven.build.timestamp}</Build-Time>
</manifestEntries>
</archive>
<overlays>
<overlay>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
</overlay>
</overlays>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
<!-- This is to run the integration tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>