James Agnew 5c4aae0b26
Partitioned ID Mode (#6391)
* Begin work on PK schema selector

* Work on generator

* Filter working

* Add tests

* Work on tests

* Work on contributor

* Work

* Tests passing

* Drop unneeded annotation

* Partition cleanup

* About to merge JpaPid

* Work on IDs

* Tests passing

* Working on query count tests

* Ongoing work

* Ongoing work

* Working on tests - Running but about to try removing
ResourceHistoryProvenanceEntity link

* More tests passing

* Fix some more tests

* Test fixes

* About to add partition ID to selector

* Most query count tests passing

* Work on tests

* Working on includes

* All conditional tests passing again

* About to modify joins in SQL builder

* Search generator refactored, and tests passing

* Tag tests done

* Work on tests

* Everything operation fixed

* Clean up PIDs for batch job

* Clean up search paging

* Work on expunge service

* Work on tests

* Test fixes

* Work on same transaction updates

* Work on JPA R4 tests

* Work on tests

* Fixes

* Work

* Test fix

* Work on tests

* Cleanup

* Test fixes

* Test fix

* Spotless

* License headers

* Test fix

* License headers

* Compile fix

* Test fix

* Test fix

* Test fixes

* Test fixes

* Cleanup

* Test fixes

* Test fixes

* Starting to address fixmes

* Spotless

* More test cleanup

* Test cleanup

* Test fixes

* Test fixes

* Spotless

* Test cleanup

* Test fix

* Deal with test failures

* Spotless

* Test fixes

* About to modify RESOURCE_LOOKUP cache

* Test cleanup

* Intermittent test fix

* Try to resolve intermittent

* More test work

* Test fixing

* Add tests

* Spotless

* Add troubleshooting logs

* Add test logging

* More test logging

* Test fix

* Test fixes

* Test fix

* Test fixes

* Test cleanup

* Test cleanup

* Test fix

* Test fix

* Fixes

* Add tests

* Test cleanup

* Remove stale test

* Test fix

* Imports cleaniup

* Work on migrations

* Work on migrations

* Work on PKs

* Work on tests

* Cleanup

* Test fix

* Test fix

* Spotless

* Test fixes

* Test fix

* Test fixes

* Test fix

* t fix

* Test fixes

* Test fix

* Test fixes

* Add test method

* Test cleanup

* Test fixes

* Cleanup

* Test fixes

* Cleanup

* Test cleanup

* Test fix

* Add migrator support

* More test work

* Spotless

* Add header

* License header

* Test fix

* MDM test fixes

* Test fix

* Add tests

* Cleanup

* Compile fix

* Spotless

* Work on docs

* Cleanup

* Add partitioned test

* Work on tests

* Rename JpaPidValueTuples

* Test cleanup

* Test fixes

* Cleanup

* Cleanup

* Spotless

* Spotless

* Test fixes

* Test fixes

* Build fix

* test fix

* Test fixes

* Build fix

* Cleanup

* Merge master

* Cleanup

* Work on tests

* Test fixes

* i

* Cleanup

* Cleanup

* Cleanup

* Work on docs

* Work on cleanup

* Compile fix

* Test fix

* Spotless

* Compile fix

* Refactor for CDR work

* Disable test

* Add constants

* Vdersion bump

* Rename class and add error codes

* Compile fix

* DDL plugin tweak

* Test fix

* Add javadocs

* Cleanup

* Address review comments

* Plugin version bump

* Address review comments

* Test fixes

* Test cleanup

* Partitionable indexes

* Address fixmes

* Test fix

* Bump to force CI job

* Docs fix

* Fix typo

* Test fixes

* Docs fix

* Test cleanup

* Remove unused field

* Work on migration

* License headeer updates
2025-01-02 15:57:56 -05:00

244 lines
7.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-deployable-pom</artifactId>
<version>7.7.17-SNAPSHOT</version>
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
</parent>
<artifactId>hapi-fhir-storage-cr</artifactId>
<packaging>jar</packaging>
<name>HAPI FHIR - Clinical Reasoning</name>
<properties>
<org.antlr-version>4.10.1</org.antlr-version>
<spring-security-core.version>5.7.8</spring-security-core.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4</artifactId>
<version>${org.antlr-version}</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>${org.antlr-version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-validation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4b</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r5</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu3</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.icegreen</groupId>
<artifactId>greenmail</artifactId>
<version>1.6.4</version>
<scope>compile</scope>
<!-- Excluded in favor of jakarta.activation:jakarta.activation-api -->
<exclusions>
<exclusion>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.simplejavamail</groupId>
<artifactId>simple-java-mail</artifactId>
<version>6.6.1</version>
<!-- Excluded in favor of jakarta.activation:jakarta.activation-api -->
<exclusions>
<exclusion>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-converter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opencds.cqf.fhir</groupId>
<artifactId>cqf-fhir-cr</artifactId>
<version>${clinical-reasoning.version}</version>
</dependency>
<dependency>
<groupId>org.opencds.cqf.fhir</groupId>
<artifactId>cqf-fhir-jackson</artifactId>
<version>${clinical-reasoning.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-storage</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- This is needed for the threaded execution -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring-security-core.version}</version>
</dependency>
<!-- This is needed for the CqlExceptionHandlingInterceptor -->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
<!-- For test CR config that's exported to downstream modules -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-jpaserver-base</artifactId>
<version>${project.version}</version>
<exclusions>
<!-- prevent conflict with other version of this dependency sourced from elsewhere -->
<exclusion>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.json</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- test -->
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.specto</groupId>
<artifactId>hoverfly-java-junit5</artifactId>
<version>0.14.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-test-utilities</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-storage-test-utilities</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-jpaserver-test-utilities</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>CI</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-no-snapshot-cr-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>verify</phase>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Clinical Reasoning Snapshots Allowed!</message>
<excludes>
<exclude>*:*</exclude>
</excludes>
<includes>
<include>org.opencds.cqf:*</include>
<include>org.opencds.cqf.cql:*</include>
<include>org.opencds.cqf.fhir:*</include>
<include>info.cqframework:*</include>
</includes>
</requireReleaseDeps>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>