Commit Graph

1418 Commits

Author SHA1 Message Date
James Agnew 422ef87a5d
Standardize on one Transactional annotation (#4130)
* Standardize on one Transactional annotation

* Add changelog

* Disable checkstyle rule

* Fix up transactions

* Test fixes

* Test cleanup

* License headers

* One more dep bump

* Resolve commit issue

* Test fixes

* Test fix

* Dep bump

* Fix

* Fix test

* Version bump

* Test fixes
2022-10-13 16:26:11 -04:00
James Agnew 3bab3544ec
Reduce SQL queries for _include (#4007)
* Rework includes processing for reuse

* Optimize include

* Test fixes

* Bump version down

* Fixed

* Update

* Test fixes

* Start to add javadoc

* Test fixes
2022-09-25 15:22:06 -04:00
Ken Stevens 26ca950bce
Checkstyle Abstract Class Name (#3966)
* init rev

* checkstyle enforce abstract classes start with "Base" (and vice versa)

* checkstyle enforce abstract classes start with "Base" (and vice versa)

Co-authored-by: Ken Stevens <ken@smilecdr.com>
2022-08-30 22:15:32 -04:00
Johnson Lu c42ecc5c08
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 13:10:15 -08:00
James Agnew 659efa786c
ValueSet Expansion Should Preserve Order (#2724)
* Add test

* FIxed

* Add changelog

* Add test

* Intermittent test failure fix

* Build fix

* Build fix

* Test fix

* Test fixes

* Fix checkstyle issue

* Test fix

* Add test logging
2021-06-16 07:20:59 -04:00
Tadgh 52d161c337 Add checkstyle to prevent future jetbrains annotations from sneaking in 2021-04-19 09:16:35 -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 c5c1e3196b Resolve FIXMEs (#1705)
* Resolve FIXMEs

* Test fixes

* Test fixes

* Clean up unused code

* Add some test coverage

* Test fix

* Test fix

* Avoid intermittent
2020-02-09 08:39:46 -05:00
James Agnew 04b79a7b6f Documentation updates 2019-12-16 18:52:28 -05:00
jamesagnew ba8f50f0c8 Docs updates 2019-12-14 18:19:09 -05:00
James Agnew 96003a44cc Correct issue with CLI 2019-12-13 13:40:40 -05:00
James Agnew 344e5f786c Credit for #1610 2019-12-11 19:29:06 -05:00
James Agnew 8049215d07 A couple more docs updates 2019-12-10 16:41:43 -05:00
James Agnew d277d3fed5 Docs updates 2019-12-10 16:10:09 -05:00
James Agnew 4a70f7a602 Credit for #1624 2019-12-07 13:52:58 -05:00
James Agnew 67b53e5326 Prevent ConcurrentModificationException during cascading delete 2019-12-05 18:00:40 -05:00
James Agnew 86bd9a28fe
Fix to valueset expansion logic (#1613)
* Fox to valueset expansion logic

* Work on docs

* Docs tweaks

* Docs tweaks

* Fix test

* Remove unused class

* Add changelog
2019-12-01 21:21:19 -05:00
Ken Stevens 39d4f0c7d7 fake change to trigger CI 2019-11-26 20:25:28 -05:00
Ken Stevens 1aae73fbe8 fake change to trigger CI 2019-11-26 19:25:33 -05:00
Ken Stevens dae0968941 fake change to trigger CI 2019-11-26 17:51:32 -05:00
Ken Stevens 8b03e5f83b superficial change to retrigger CI 2019-11-26 15:57:21 -05:00
Ken Stevens 24c7f7e67c superficial change to retrigger CI 2019-11-26 14:46:11 -05:00
Ken Stevens ef77490c51 fix test 2019-11-26 09:50:40 -05:00
Ken Stevens de4c686c76 Merge remote-tracking branch 'remotes/origin/master' into ks-flyway
# Conflicts:
#	hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/contributing/hacking_guide.md
2019-11-26 09:09:50 -05:00
James Agnew 5f803f7e68 Documentation updates 2019-11-26 02:00:22 -03:00
Ken Stevens e790b12d0e Merge remote-tracking branch 'remotes/origin/master' into ks-flyway 2019-11-25 11:46:20 -05:00
James Agnew 5becb613fe Add some documentation 2019-11-24 19:09:34 -05:00
Ken Stevens a32c62f83b Merge remote-tracking branch 'remotes/origin/master' into ks-flyway
# Conflicts:
#	src/changes/changes.xml
2019-11-24 16:42:23 -05:00
James Agnew 27749f4e23
Support chained HAS (#1605) 2019-11-24 06:29:56 +01:00
James Agnew a2f77b23d2
Fix #1583 - Index local refs in canonical types (#1593)
* Fix #1583 - Index local refs in canonical types

* Add fix to pre-expansion

* Test fix

* Rework ID handling

* Test fixes

* Fix test
2019-11-23 16:32:37 +01:00
Ken Stevens 347bbbe2ca change log 2019-11-23 08:52:40 -05:00
jamesagnew 93b8d2fb2d Fix homepage link 2019-11-13 05:19:41 -05:00
jamesagnew c1072b9f7a One more site tweak 2019-11-12 16:19:30 -05:00
James Agnew 72438a29d7 Add documentation for release 2019-11-12 16:15:34 -05:00
James Agnew aa0301084b
Don't succeed validation on unknown codesystem (#1575)
* Don't succeed validation on unknown codesystem

* Test fixes

* Work on error messages

* Work on code validation API

* work on tests

* Work on validation

* Test fix

* Update DSTU3 validation reources

* Upgrade structures

* Test fixes
2019-11-12 14:35:49 -05:00
James Agnew b2bf545f06 Add changelog note about structures upgrade 2019-11-11 15:56:54 -05:00
jamesagnew d19341c9a0 Update badges 2019-11-08 06:36:17 -05:00
James Agnew 056756dbab
Fix paging issue #1300 (#1584)
* Fix paging issue

* Add changelog with credit

* Add a test
2019-11-07 18:17:09 -05:00
jamesagnew f02d80365e Credit for #1581 2019-11-06 08:50:10 -05:00
James Agnew 0b9f921c3e Fix NPE in xml parser 2019-11-04 09:49:49 -05:00
James Agnew 8ff2c462f8 Credit for #1088 2019-11-01 11:05:53 -04:00
James Agnew e29462bcab Version bump some dependencies 2019-11-01 10:15:27 -04:00
James Agnew 97d5edc0b0 Credit for #1538 2019-10-31 08:21:11 -04:00
James Agnew 7f62d60c4e Correctly Expand ValueSets in non-lucene mode 2019-10-30 14:26:31 -04:00
James Agnew 9c852283e9
Correctly handle "special" search params in CS (#1569)
* Correctly handle "special" search params in CS

* Add another test
2019-10-30 05:31:25 -04:00
James Agnew 84803a02ef
Preserve line numbers in XML validation (#1567)
* Preserve line numbers in XML validation

* Test fixes
2019-10-29 15:54:49 -04:00
James Agnew 403a3d1889
Correct URI loading in testpage-overlay (#1565)
* Clean up tests

* Try to fix intermittent

* Fix URI issue

* Add changelog
2019-10-25 16:14:06 -04:00
James Agnew df4376606d
Validation cleanup (#1561)
* Validation cleanup

* Test fix

* Fix build

* Test tweaks
2019-10-24 13:09:18 -05:00
James Agnew 74c03b5bb7 Add a test 2019-10-24 08:32:52 -04:00
James Agnew 385a885abf Add ability for resource source to be specified by header 2019-10-24 08:32:52 -04:00