hapi-fhir/hapi-fhir-checkstyle/pom.xml

145 lines
4.1 KiB
XML
Raw Normal View History

Add error codes to all exceptions (#3278) * Initial design of adding exception codes to exceptions * Initial design of adding exception codes to exceptions * change int module name to string * add comment * shorten message * shorten message * added checkstyle * developing checker * completed checkstyle plugin and unit test for it * fix NPE * fix checker so it ignores throws on exceptions that aren't new * change parameter order in InvalidResponseException * accept Msg.code() in any parameter since some exceptions like MessageException have the message string as the second parameter * exclude generated files * BIG COMMIT added error codes to all exception throws * example test fix * Modified tests such that the assert statements would better match the message responses. * Modified additional tests such that the assert statements would better match the message responses. * fix test * merge master * merge master * Fourth commit of modified tests such that the assert statements would better match the message response * Changes made to modify assert statements such that they match the new errors which now use error codes. Also changed ResourceNotFoundException to include error codes in its messages. * Modified assert messages to better match new error codes * Time Zone changes DRAFT. Certain tests pass in intellij and fail during mvn install * Modified assert messages to better match new error codes * Added comments for time zone fixes. Previous commit comment on time zone fixes was incorrect. By invaliding caches, all tests on both intellij and mvn install passed. * Reverted changes on azure-pipelines.yml * updated hapi-fhir version for checkstyle module * changes to azure-pipelines.yml * changes to azure-pipelines.yml * change to pom.xml to include hapi-fhir-checkstyle in ALLMODULES * changes to azure-piplines (these changes are to be reverted after testing) * reverted changes to azure-piplines * reverted change where hapi-fhir-checkstyle was added to pom.xml (hapi-fhir) * Attempted fix on checkstyle build error * modified azure-piplines.yml to change maven repository for checkstyle build * Attempted fix on checkstyle build error * checkstyle config location change for hapi-depoloyable-pom. (will be reverted if it does not work) * attempted dependency add for hapi-depoloyable-pom. (will be reverted if it does not work) * reverted changes for hapi-deployable-pom * add javadoc * update last code * Attempted fix on checkstyle build error * Finished adding in missing error codes to pass Checkstyle checks * Test pipelining * Fixing errors and bumping version (as suggested by Gary) * Merge * Fixing Checkstyle error * Attempted fix for date error * Add error code onto assert statement * Add in a couple more error codes * Fixing assert statements * Bump to static version for dependency * Adding error code to message * Adding error codes to exceptions * Adding error codes to exceptions * Change to work with cdr branch * Update to faulty error message * Merge changes * allow checkstyle pom to deploy Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Simon Zuccherato <simon.zuccherato@smilecdr.com> Co-authored-by: Predap <simon.zuccherato@gmail.com> Co-authored-by: Predap <46201929+Predap@users.noreply.github.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2022-01-31 16:10:15 -05:00
<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-fhir</artifactId>
6_4 mergeback (#4547) * One more fix for #4467 * Enabling massIngestionMode causes incomplete resource deletion (#4476) * Adding initial test. * Adding fix and subsequent test. * Adding changelog. --------- Co-authored-by: peartree <etienne.poirier@smilecdr.com> * Provide the capability to request that the name of the subscription matching channel be unqualified (#4464) * Adding initial test. * Adding initial solution implementation. * Adding change log and code clean up. * addressing comments from 1st code review. --------- Co-authored-by: peartree <etienne.poirier@smilecdr.com> * Change visibility of migration method (#4471) * change migration visibility * add empty migration method for 640 --------- Co-authored-by: nathaniel.doef <nathaniel.doef@smilecdr.com> * Fix subscription validation not to validate partition ID when invoked from an update pointcut (#4484) * First commit: Make SubscriptionValidatingInterceptor aware of which Pointcut is being called. In validatePermissions(), skip determinePartition() if the Pointcut is STORAGE_PRESTORAGE_RESOURCE_UPDATED. Fix resulting compile errors in various unit tests. * Fix/enhance unit tests. Mark methods as deprecated instead of deleting them. Add proper error code. Complete changelog. * Remove erroneous TODOs and tweak the validation logic. * Enhance unit tests and fix changelog. * Reindex batch job fails when processing deleted resources. (#4482) * adding changelog. * Providing solution and adding changelog. * Adding new test. --------- Co-authored-by: peartree <etienne.poirier@smilecdr.com> * cleaning up checkstyle files (#4470) * cleaning up checkstyle files * One more fix for #4467 (#4469) * added exlusions for files at base project level so checkstyle doesn't error out * duplicate error code from merge * changing lifecycle goal for all module checkstyle check * moving checkstyle to base pom file, changing exectution phase on base check, cleaning dependency, resolving duplicate error code * wip * trying to figure out why pipeline cannot copy files * removing modules that don't actually need to be built. * I messed up the version --------- Co-authored-by: James Agnew <jamesagnew@gmail.com> * Bump core to 5.6.881 (#4496) * Bump core to 5.6.881-SNAPSHOT * Work on fixing tests * Work on fixing tests 2 * Bump to core release --------- Co-authored-by: dotasek <david.otasek@smilecdr.com> * Issue 4486 mdm inconsistent possible match score values (#4487) * Extract method for readability * Save always normalized score values in POSSIBLE_MATCH links. * Avoid setting properties to null values. Adjust test. * Simplify fix * Fix test. Add RangeTestHelper. --------- Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> * Revert "cleaning up checkstyle files (#4470)" This reverts commit efae3b5d5f397ab8fd92d7aaa82b484cfdfb3c33. * core version fix * Loosen rules for id helper * License * fix batch2 reduction step (#4499) * fix bug where FINALIZE jobs are not cancellable * moved reduction step to message hander * moving reduction step to queue * addingchangelog * cleaning up * review fixes * review fix' --------- Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home> * Scheduled batch 2 bulk export job and binary delete (#4492) * First commit: Scheduled batch 2 bulk export job delete and binary, incomplete mock-based unit test, and a mess of TODOs and code that needs to be deleted. * Refine solution and add a concrete unit test but still work to do. * Comment out code in cancelAndPurgeAllJobs() and see if it breaks the pipeline. * Unit tests complete. New Msg code for new IJobPersistence.fetchInstances() method. Cleanup TODOs and add others. * Finish final touches on implementation. * Add changelog. * Various cleanup. * Code review feedback. * Small tweak to changelog. * Last code review tweak. * Address more code review comments. * Reverse changes to consider work chunks. Add a constant for write-to-binary. * Change bulk import test for valueUri type (#4503) * change tests * suggested test change * CVE resolutions (#4513) * Bump Postgres for CVE * Bump jetty * Verison bump * Remove comments * Revrt bump * Add check in scanner (#4518) * 4516 create hapi fhir cli command to clear stale lock entries (#4517) * Initial implementation * better tests * Add changelog and docs * Forgotten files * Code review comments * Fix checkstyle * Unable to Expunge CodeSystem (#4507) * changes for GL-3943 * changes for GL-3943 --------- Co-authored-by: isaacwen <isaac.wen@smilecdr.com> * New line:: * Update to documentation regarding narrative generation; (#4521) Providing changelog; Co-authored-by: peartree <etienne.poirier@smilecdr.com> * changed what score is set for mdmlinks that created new golden resource (#4514) * changed what score is set for mdmlinks that created new golden resource * fix test --------- Co-authored-by: Long Ma <long@smilecdr.com> * REVERT: change to operationoutcome.html * trying to fix BulkDataExportTest testGroupBulkExportNotInGroup_DoesNo… (#4527) * trying to fix BulkDataExportTest testGroupBulkExportNotInGroup_DoesNotShowUp * added change log --------- Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home> * fix build (#4530) * Making narrative_generation.md reference an html snippet (#4531) Co-authored-by: peartree <etienne.poirier@smilecdr.com> * fixed the issue of meta.source field inconsistently populated in subscription messages for different requests (#4524) * fix + test * minor fix * Addressing suggestion * Minor changes * 4441 rel 6 4 bad references creation bug (#4519) * adding a test * fail in the case of ref enforce on type and on write and autocreate are all true * update to code * removing a line * cleanup * removing check on urn * changing just to trigger a build * adding a comment to the pom * updating test for better information --------- Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home> * fixed channel import null pointer exception from null header (#4534) * retryCount 0 on null header + test + changelog * suggested changes * Revert "fixed the issue of meta.source field inconsistently populated in subscription messages for different requests (#4524)" (#4535) This reverts commit 53252b8d153f97f4a66a7d20751913911a71f098. * Better error handling for when channel type is not supported (#4538) Co-authored-by: kylejule <kyle.jule@smilecdr.com> * Avoid logging message payloads that contain sensitive data (#4537) Don't log payloads - they may contain sensitive data. * Bulk Export Bug With Many Resources and Low Max File Size (#4506) * failing test * fix + changelog * tweak * add method to IJobPersistence to use a Stream * tweak * tweak * decrease test time * clean up * code review comments * version bump * Increase timeout limit to match BulkExportUseCaseTest * shorten test * maintenance pass * add logging * Revert "add logging" This reverts commit b0453fd9538d6858e6bd212f402d4b04c6306136. * Revert "maintenance pass" This reverts commit bbc7418d519260c4b9827546a0bf822db1c78b1b. * test * trying to fix BulkDataExportTest testGroupBulkExportNotInGroup_DoesNotShowUp * shorten tests * logging * move test location * fixes a regression caused my change in hapi-fhir * timeout * Revert "fixes a regression caused my change in hapi-fhir" This reverts commit 4b58013149836eededc568d295c5baf8fb3df989. * testing * Revert "testing" This reverts commit aafc95c2f36bf89ae935c6c342017ec300fe4289. --------- Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home> * bump ver * License updates' * Remove checkstyle * Verison bump * Move migrations * semicolon --------- Co-authored-by: James Agnew <jamesagnew@gmail.com> Co-authored-by: Etienne Poirier <33007955+epeartree@users.noreply.github.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> Co-authored-by: Nathan Doef <n.doef@protonmail.com> Co-authored-by: nathaniel.doef <nathaniel.doef@smilecdr.com> Co-authored-by: Luke deGruchy <luke.degruchy@smilecdr.com> Co-authored-by: Mark Iantorno <markiantorno@gmail.com> Co-authored-by: dotasek <dotasek.dev@gmail.com> Co-authored-by: dotasek <david.otasek@smilecdr.com> Co-authored-by: jmarchionatto <60409882+jmarchionatto@users.noreply.github.com> Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com> Co-authored-by: TipzCM <leif.stawnyczy@gmail.com> Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home> Co-authored-by: samguntersmilecdr <123124187+samguntersmilecdr@users.noreply.github.com> Co-authored-by: Isaac Wen <76772867+isaacwen@users.noreply.github.com> Co-authored-by: isaacwen <isaac.wen@smilecdr.com> Co-authored-by: longma1 <32119004+longma1@users.noreply.github.com> Co-authored-by: Long Ma <long@smilecdr.com> Co-authored-by: Qingyixia <106992634+Qingyixia@users.noreply.github.com> Co-authored-by: KGJ-software <39975592+KGJ-software@users.noreply.github.com> Co-authored-by: kylejule <kyle.jule@smilecdr.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> Co-authored-by: Ken Stevens <ken@smilecdr.com>
2023-02-13 16:23:25 -05:00
<version>6.5.1-SNAPSHOT</version>
Add error codes to all exceptions (#3278) * Initial design of adding exception codes to exceptions * Initial design of adding exception codes to exceptions * change int module name to string * add comment * shorten message * shorten message * added checkstyle * developing checker * completed checkstyle plugin and unit test for it * fix NPE * fix checker so it ignores throws on exceptions that aren't new * change parameter order in InvalidResponseException * accept Msg.code() in any parameter since some exceptions like MessageException have the message string as the second parameter * exclude generated files * BIG COMMIT added error codes to all exception throws * example test fix * Modified tests such that the assert statements would better match the message responses. * Modified additional tests such that the assert statements would better match the message responses. * fix test * merge master * merge master * Fourth commit of modified tests such that the assert statements would better match the message response * Changes made to modify assert statements such that they match the new errors which now use error codes. Also changed ResourceNotFoundException to include error codes in its messages. * Modified assert messages to better match new error codes * Time Zone changes DRAFT. Certain tests pass in intellij and fail during mvn install * Modified assert messages to better match new error codes * Added comments for time zone fixes. Previous commit comment on time zone fixes was incorrect. By invaliding caches, all tests on both intellij and mvn install passed. * Reverted changes on azure-pipelines.yml * updated hapi-fhir version for checkstyle module * changes to azure-pipelines.yml * changes to azure-pipelines.yml * change to pom.xml to include hapi-fhir-checkstyle in ALLMODULES * changes to azure-piplines (these changes are to be reverted after testing) * reverted changes to azure-piplines * reverted change where hapi-fhir-checkstyle was added to pom.xml (hapi-fhir) * Attempted fix on checkstyle build error * modified azure-piplines.yml to change maven repository for checkstyle build * Attempted fix on checkstyle build error * checkstyle config location change for hapi-depoloyable-pom. (will be reverted if it does not work) * attempted dependency add for hapi-depoloyable-pom. (will be reverted if it does not work) * reverted changes for hapi-deployable-pom * add javadoc * update last code * Attempted fix on checkstyle build error * Finished adding in missing error codes to pass Checkstyle checks * Test pipelining * Fixing errors and bumping version (as suggested by Gary) * Merge * Fixing Checkstyle error * Attempted fix for date error * Add error code onto assert statement * Add in a couple more error codes * Fixing assert statements * Bump to static version for dependency * Adding error code to message * Adding error codes to exceptions * Adding error codes to exceptions * Change to work with cdr branch * Update to faulty error message * Merge changes * allow checkstyle pom to deploy Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Simon Zuccherato <simon.zuccherato@smilecdr.com> Co-authored-by: Predap <simon.zuccherato@gmail.com> Co-authored-by: Predap <46201929+Predap@users.noreply.github.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2022-01-31 16:10:15 -05:00
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>hapi-fhir-checkstyle</artifactId>
<packaging>jar</packaging>
<name>HAPI FHIR - Checkstyle</name>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle_version}</version>
Add error codes to all exceptions (#3278) * Initial design of adding exception codes to exceptions * Initial design of adding exception codes to exceptions * change int module name to string * add comment * shorten message * shorten message * added checkstyle * developing checker * completed checkstyle plugin and unit test for it * fix NPE * fix checker so it ignores throws on exceptions that aren't new * change parameter order in InvalidResponseException * accept Msg.code() in any parameter since some exceptions like MessageException have the message string as the second parameter * exclude generated files * BIG COMMIT added error codes to all exception throws * example test fix * Modified tests such that the assert statements would better match the message responses. * Modified additional tests such that the assert statements would better match the message responses. * fix test * merge master * merge master * Fourth commit of modified tests such that the assert statements would better match the message response * Changes made to modify assert statements such that they match the new errors which now use error codes. Also changed ResourceNotFoundException to include error codes in its messages. * Modified assert messages to better match new error codes * Time Zone changes DRAFT. Certain tests pass in intellij and fail during mvn install * Modified assert messages to better match new error codes * Added comments for time zone fixes. Previous commit comment on time zone fixes was incorrect. By invaliding caches, all tests on both intellij and mvn install passed. * Reverted changes on azure-pipelines.yml * updated hapi-fhir version for checkstyle module * changes to azure-pipelines.yml * changes to azure-pipelines.yml * change to pom.xml to include hapi-fhir-checkstyle in ALLMODULES * changes to azure-piplines (these changes are to be reverted after testing) * reverted changes to azure-piplines * reverted change where hapi-fhir-checkstyle was added to pom.xml (hapi-fhir) * Attempted fix on checkstyle build error * modified azure-piplines.yml to change maven repository for checkstyle build * Attempted fix on checkstyle build error * checkstyle config location change for hapi-depoloyable-pom. (will be reverted if it does not work) * attempted dependency add for hapi-depoloyable-pom. (will be reverted if it does not work) * reverted changes for hapi-deployable-pom * add javadoc * update last code * Attempted fix on checkstyle build error * Finished adding in missing error codes to pass Checkstyle checks * Test pipelining * Fixing errors and bumping version (as suggested by Gary) * Merge * Fixing Checkstyle error * Attempted fix for date error * Add error code onto assert statement * Add in a couple more error codes * Fixing assert statements * Bump to static version for dependency * Adding error code to message * Adding error codes to exceptions * Adding error codes to exceptions * Change to work with cdr branch * Update to faulty error message * Merge changes * allow checkstyle pom to deploy Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Simon Zuccherato <simon.zuccherato@smilecdr.com> Co-authored-by: Predap <simon.zuccherato@gmail.com> Co-authored-by: Predap <46201929+Predap@users.noreply.github.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2022-01-31 16:10:15 -05:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.2.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle_version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-checkstyle</artifactId>
<!-- Remember to bump this when you upgrade the version -->
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
Rel 6 0 mb 3 (#3933) * adding version.yaml, updating version in pom.xml * It is possible to write to a resource in a partition the user is not authorized to. (#3397) * fixed * remove sout * add msg.code * fix failed tests * fix equal sign * update msg code * extract method * Fix up code numbers * Clean changelog Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Revert final artifact version * add graphql test (#3585) * added graphql birthdate test * fix variable name * typo * 3506 mdm log enhancement (#3543) * Providing Fixme's to be reworked at a later time. * Adding // FIXME Anna to assist our Austrian friend. * Adding logging test as a first step in addressing issue #2822. * hapifhir#3506 part 2: enhance logging for (un)successful MDM matching hapifhir#3506 part 2: enhance logging for (un)successful MDM matching * Update MdmMatchLinkSvc.java #3506 move "narrowed down" log to different place * #3506 added scores and tests #3506 added scores and tests * #3506 formatting #3506 formatting * #3506 create changelog file #3506 create changelog file * #3506 fix typo #3506 fix typo * #3506 fix part 3, minor formatting #3506 fix part 3, minor formatting * #3506 fix tests #3506 fix tests Co-authored-by: Etienne Poirier <etienne.poirier@smilecdr.com> Co-authored-by: Anna <anna@MacBook-Pro.local> * mdm matching (#3579) * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter… (#3551) * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/328 * Update HapiFhirJpaMigrationTasks.java Corrected ordering * Update HapiFhirJpaMigrationTasks.java Moving index status to be last operation * Revert "Update HapiFhirJpaMigrationTasks.java" This reverts commit 37bfd3e66e4f4dc76de135c1fe108ccbf9e3690c. * Moved to bottom Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> * begin with failing test * fixed * changelog * add jira tag * Update to 6 1 (#3582) * added changelog folder, upped version * version enum * add a few more unit tests to assert proper NO_MATCH exclusion * revert merge master doh! bad reflexes * revert merge origin master * unrevert revert. ugh what a pain * merge recovery. fix poms. * merge recovery. more reverting * merge recovery. more reverting * merge recovery. more reverting * Revert "merge recovery. fix poms." This reverts commit ae6e0ddb06bdcb424f9c4637eb0a987bc112b115. * more revert revert reversions * more revert revert reversions * pre-review cleanup Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> Co-authored-by: Mark Iantorno <markiantorno@gmail.com> * Fix regression of 3411 - _lastUpdated gets clobbered during $reindex job (#3586) * When chunking for the reindex job, don't clobber the lastUpdated if provided by the caller. * License * Ks 20220508 log colour (#3592) * don't use colours when output is redirected to a file * change log * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter… (#3551) (#3594) * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/328 * Update HapiFhirJpaMigrationTasks.java Corrected ordering * Update HapiFhirJpaMigrationTasks.java Moving index status to be last operation * Revert "Update HapiFhirJpaMigrationTasks.java" This reverts commit 37bfd3e66e4f4dc76de135c1fe108ccbf9e3690c. * Moved to bottom Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> * 3584 case sensitive string elasticsearch (#3596) * Fix for case-sensitive search with newer elasticsearch * Test and fix ascii normalization too * more test cases * comments * Docs update empi usecase (#3598) * Update diagram for use case 5 * Add new page for database support * Licnese * Mb norm fix (#3604) * Normalize query since wildcard searches aren't normalized in elastic * Handle batch2 job cancellation (#3603) * Handle batch2 job cancellation * Add CANCELLED status * Remove unuseful test Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> * Add batch2 interfaces to obtain recent instances (#3601) Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> * changelog folder * Documentation change, added warning log and change log for ticket (#3609) Co-authored-by: Steven Li <steven@smilecdr.com> * fix ne for lastUpdated search param (#3589) * init/wip * add implementation, add tests * add checks and some refactoring * refactor and simplify tests * refactor * get rid of some of the warnings * add changelog * remove my todos * redo ne logic to account for less precise dates * add tests * refactoring * rename to follow convention Co-authored-by: Justin_Dar <justin.dar@smilecdr.com> * Version bump * Add skip of checkstyle to upload * Typo * upping version enum, upping version number, 6.0.1 * Group Bulk Export rules exiting too early. (#3643) * Implementation, test, changelog * Add jira link * adding backport in yaml for 3642 * adding folder for 6.0.1 release * pom changes to publish checkstyle to sonatype * bad version in pom file * Make FulltextSearchSvcImpl optional bean for ValuesetOperationProvider * AUtomcplete error code * updating comment indicating final erorr code * Bump error code * fixing version enum so release docs generate correctly, adding additional changelog for 3650 * 3684 subscription for delivering delete events formatted wrong (#3685) * Fixed issue with delivering delete events Subscriptions * Extracted deliverer class name to a constant, now shared across tests and interceptor class * Added change log and doc changes * moved the constant to a more appropriate place Co-authored-by: Steven Li <steven@smilecdr.com> * Version bump * Add version enum * Version enum and folder * adding release pipeline yml file fo azure * Adding autoclose for sonatype publishing (#3797) * Add impl test and changelog (#3713) * fix up changelog, new version * Version bump * Updating version to: 6.0.4 post release. * reverting 6.0.4 commit * Updating version to: 6.0.4 post release. * removing double entry from preious release * Add support for DSTU3 delete subscrion events, add test * Add changelogP * Add version enum * Remove notnull * Add test for DSTU2 * Updating version to: 6.0.5 post release. * Fix up * wip * Adding solution and changeLog file. * Adding failing test. * fix up * Version bump Co-authored-by: markiantorno <markiantorno@gmail.com> Co-authored-by: katiesmilecdr <88786813+katiesmilecdr@users.noreply.github.com> Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: alackerbauer <33912849+alackerbauer@users.noreply.github.com> Co-authored-by: Etienne Poirier <etienne.poirier@smilecdr.com> Co-authored-by: Anna <anna@MacBook-Pro.local> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> Co-authored-by: jmarchionatto <60409882+jmarchionatto@users.noreply.github.com> Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: StevenXLi <stevenli_8118@hotmail.com> Co-authored-by: Steven Li <steven@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> Co-authored-by: Justin_Dar <justin.dar@smilecdr.com>
2022-08-29 22:29:02 -04:00
<profiles>
<!-- For releases, we need to generate javadoc and sources JAR -->
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>deployToSonatype</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>CI</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven_checkstyle_version}</version>
<configuration>
<excludes>**/osgi/**/*, **/.mvn/**/*, **/.mvn_/**/*</excludes>
<sourceDirectories>
<!--scan base project directory to include all modules-->
<!--suppress UnresolvedMavenProperty -->
<directory>${maven.multiModuleProjectDirectory}/</directory>
</sourceDirectories>
<!--suppress UnresolvedMavenProperty -->
<configLocation>${maven.multiModuleProjectDirectory}/hapi-fhir-checkstyle/src/checkstyle/hapi-base-checkstyle.xml</configLocation>
<!--suppress UnresolvedMavenProperty -->
<suppressionsLocation>${maven.multiModuleProjectDirectory}/hapi-fhir-checkstyle/src/checkstyle/hapi-base-checkstyle-suppression.xml</suppressionsLocation>
<inputEncoding>UTF-8</inputEncoding>
<consoleOutput>true</consoleOutput>
</configuration>
<executions>
<execution>
<id>checkstyle-across-all-modules</id>
<phase>install</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
<execution>
<id>hapi-single-module-checkstyle</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Rel 6 0 mb 3 (#3933) * adding version.yaml, updating version in pom.xml * It is possible to write to a resource in a partition the user is not authorized to. (#3397) * fixed * remove sout * add msg.code * fix failed tests * fix equal sign * update msg code * extract method * Fix up code numbers * Clean changelog Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Revert final artifact version * add graphql test (#3585) * added graphql birthdate test * fix variable name * typo * 3506 mdm log enhancement (#3543) * Providing Fixme's to be reworked at a later time. * Adding // FIXME Anna to assist our Austrian friend. * Adding logging test as a first step in addressing issue #2822. * hapifhir#3506 part 2: enhance logging for (un)successful MDM matching hapifhir#3506 part 2: enhance logging for (un)successful MDM matching * Update MdmMatchLinkSvc.java #3506 move "narrowed down" log to different place * #3506 added scores and tests #3506 added scores and tests * #3506 formatting #3506 formatting * #3506 create changelog file #3506 create changelog file * #3506 fix typo #3506 fix typo * #3506 fix part 3, minor formatting #3506 fix part 3, minor formatting * #3506 fix tests #3506 fix tests Co-authored-by: Etienne Poirier <etienne.poirier@smilecdr.com> Co-authored-by: Anna <anna@MacBook-Pro.local> * mdm matching (#3579) * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter… (#3551) * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/328 * Update HapiFhirJpaMigrationTasks.java Corrected ordering * Update HapiFhirJpaMigrationTasks.java Moving index status to be last operation * Revert "Update HapiFhirJpaMigrationTasks.java" This reverts commit 37bfd3e66e4f4dc76de135c1fe108ccbf9e3690c. * Moved to bottom Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> * begin with failing test * fixed * changelog * add jira tag * Update to 6 1 (#3582) * added changelog folder, upped version * version enum * add a few more unit tests to assert proper NO_MATCH exclusion * revert merge master doh! bad reflexes * revert merge origin master * unrevert revert. ugh what a pain * merge recovery. fix poms. * merge recovery. more reverting * merge recovery. more reverting * merge recovery. more reverting * Revert "merge recovery. fix poms." This reverts commit ae6e0ddb06bdcb424f9c4637eb0a987bc112b115. * more revert revert reversions * more revert revert reversions * pre-review cleanup Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> Co-authored-by: Mark Iantorno <markiantorno@gmail.com> * Fix regression of 3411 - _lastUpdated gets clobbered during $reindex job (#3586) * When chunking for the reindex job, don't clobber the lastUpdated if provided by the caller. * License * Ks 20220508 log colour (#3592) * don't use colours when output is redirected to a file * change log * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter… (#3551) (#3594) * Added fix for https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/328 * Update HapiFhirJpaMigrationTasks.java Corrected ordering * Update HapiFhirJpaMigrationTasks.java Moving index status to be last operation * Revert "Update HapiFhirJpaMigrationTasks.java" This reverts commit 37bfd3e66e4f4dc76de135c1fe108ccbf9e3690c. * Moved to bottom Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> * 3584 case sensitive string elasticsearch (#3596) * Fix for case-sensitive search with newer elasticsearch * Test and fix ascii normalization too * more test cases * comments * Docs update empi usecase (#3598) * Update diagram for use case 5 * Add new page for database support * Licnese * Mb norm fix (#3604) * Normalize query since wildcard searches aren't normalized in elastic * Handle batch2 job cancellation (#3603) * Handle batch2 job cancellation * Add CANCELLED status * Remove unuseful test Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> * Add batch2 interfaces to obtain recent instances (#3601) Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> * changelog folder * Documentation change, added warning log and change log for ticket (#3609) Co-authored-by: Steven Li <steven@smilecdr.com> * fix ne for lastUpdated search param (#3589) * init/wip * add implementation, add tests * add checks and some refactoring * refactor and simplify tests * refactor * get rid of some of the warnings * add changelog * remove my todos * redo ne logic to account for less precise dates * add tests * refactoring * rename to follow convention Co-authored-by: Justin_Dar <justin.dar@smilecdr.com> * Version bump * Add skip of checkstyle to upload * Typo * upping version enum, upping version number, 6.0.1 * Group Bulk Export rules exiting too early. (#3643) * Implementation, test, changelog * Add jira link * adding backport in yaml for 3642 * adding folder for 6.0.1 release * pom changes to publish checkstyle to sonatype * bad version in pom file * Make FulltextSearchSvcImpl optional bean for ValuesetOperationProvider * AUtomcplete error code * updating comment indicating final erorr code * Bump error code * fixing version enum so release docs generate correctly, adding additional changelog for 3650 * 3684 subscription for delivering delete events formatted wrong (#3685) * Fixed issue with delivering delete events Subscriptions * Extracted deliverer class name to a constant, now shared across tests and interceptor class * Added change log and doc changes * moved the constant to a more appropriate place Co-authored-by: Steven Li <steven@smilecdr.com> * Version bump * Add version enum * Version enum and folder * adding release pipeline yml file fo azure * Adding autoclose for sonatype publishing (#3797) * Add impl test and changelog (#3713) * fix up changelog, new version * Version bump * Updating version to: 6.0.4 post release. * reverting 6.0.4 commit * Updating version to: 6.0.4 post release. * removing double entry from preious release * Add support for DSTU3 delete subscrion events, add test * Add changelogP * Add version enum * Remove notnull * Add test for DSTU2 * Updating version to: 6.0.5 post release. * Fix up * wip * Adding solution and changeLog file. * Adding failing test. * fix up * Version bump Co-authored-by: markiantorno <markiantorno@gmail.com> Co-authored-by: katiesmilecdr <88786813+katiesmilecdr@users.noreply.github.com> Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: alackerbauer <33912849+alackerbauer@users.noreply.github.com> Co-authored-by: Etienne Poirier <etienne.poirier@smilecdr.com> Co-authored-by: Anna <anna@MacBook-Pro.local> Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com> Co-authored-by: Jens Kristian Villadsen <jvi@trifork.com> Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> Co-authored-by: jmarchionatto <60409882+jmarchionatto@users.noreply.github.com> Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: StevenXLi <stevenli_8118@hotmail.com> Co-authored-by: Steven Li <steven@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> Co-authored-by: Justin_Dar <justin.dar@smilecdr.com>
2022-08-29 22:29:02 -04:00
</profiles>
Add error codes to all exceptions (#3278) * Initial design of adding exception codes to exceptions * Initial design of adding exception codes to exceptions * change int module name to string * add comment * shorten message * shorten message * added checkstyle * developing checker * completed checkstyle plugin and unit test for it * fix NPE * fix checker so it ignores throws on exceptions that aren't new * change parameter order in InvalidResponseException * accept Msg.code() in any parameter since some exceptions like MessageException have the message string as the second parameter * exclude generated files * BIG COMMIT added error codes to all exception throws * example test fix * Modified tests such that the assert statements would better match the message responses. * Modified additional tests such that the assert statements would better match the message responses. * fix test * merge master * merge master * Fourth commit of modified tests such that the assert statements would better match the message response * Changes made to modify assert statements such that they match the new errors which now use error codes. Also changed ResourceNotFoundException to include error codes in its messages. * Modified assert messages to better match new error codes * Time Zone changes DRAFT. Certain tests pass in intellij and fail during mvn install * Modified assert messages to better match new error codes * Added comments for time zone fixes. Previous commit comment on time zone fixes was incorrect. By invaliding caches, all tests on both intellij and mvn install passed. * Reverted changes on azure-pipelines.yml * updated hapi-fhir version for checkstyle module * changes to azure-pipelines.yml * changes to azure-pipelines.yml * change to pom.xml to include hapi-fhir-checkstyle in ALLMODULES * changes to azure-piplines (these changes are to be reverted after testing) * reverted changes to azure-piplines * reverted change where hapi-fhir-checkstyle was added to pom.xml (hapi-fhir) * Attempted fix on checkstyle build error * modified azure-piplines.yml to change maven repository for checkstyle build * Attempted fix on checkstyle build error * checkstyle config location change for hapi-depoloyable-pom. (will be reverted if it does not work) * attempted dependency add for hapi-depoloyable-pom. (will be reverted if it does not work) * reverted changes for hapi-deployable-pom * add javadoc * update last code * Attempted fix on checkstyle build error * Finished adding in missing error codes to pass Checkstyle checks * Test pipelining * Fixing errors and bumping version (as suggested by Gary) * Merge * Fixing Checkstyle error * Attempted fix for date error * Add error code onto assert statement * Add in a couple more error codes * Fixing assert statements * Bump to static version for dependency * Adding error code to message * Adding error codes to exceptions * Adding error codes to exceptions * Change to work with cdr branch * Update to faulty error message * Merge changes * allow checkstyle pom to deploy Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Simon Zuccherato <simon.zuccherato@smilecdr.com> Co-authored-by: Predap <simon.zuccherato@gmail.com> Co-authored-by: Predap <46201929+Predap@users.noreply.github.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2022-01-31 16:10:15 -05:00
</project>