Commit Graph

1749 Commits

Author SHA1 Message Date
patrick-werner ef9f97a576 fixes #1006 2018-06-20 17:26:23 +02:00
James Agnew ed0b5f54a5 More authorizationinterceptor tweaks for better security 2018-06-12 21:52:01 +08:00
Ana Maria Radu dc476aeeea In my opinion these changes should be made in order to have the behavior
for the Prefer header values as the one explained in the official
documentation from https://www.hl7.org/fhir/http.html
2018-06-12 14:04:05 +03:00
patrick-werner 9498247082 Allows the Cache-Control Header in CORS header for jpa-example-server & CLI 2018-06-04 16:12:31 +02:00
James Agnew d819d685ee Test fix 2018-05-30 09:57:41 -04:00
Diederik Muylwyk 0e2c57fa60 Bumping version. 2018-05-28 17:44:38 -04:00
Diederik Muylwyk 2871920734 Preparing release. 2018-05-28 10:45:47 -04:00
Jeff Balbien d417bf1225 fix bundle util bug 2018-05-25 09:19:59 -07:00
James Agnew a3687e446e Correctly handle missing search params with new indexing infrastructure 2018-05-23 11:42:38 -04:00
James Agnew 2e74ad72cb Improve timeouts on test ports 2018-05-23 08:52:24 -04:00
James Agnew 2f2900e837 Improve indexing on JPA server in anticipation of a new indexing
strategy in HAPI FHIR 3.5.0
2018-05-23 08:09:57 -04:00
James Agnew cadb51d36c
Merge pull request #875 from RuthAlk/fix_codeableconcept_narrative
Fix error in narrative for CodeableConcept
2018-05-23 06:38:08 -04:00
James Agnew 851ce85ac6
Merge branch 'master' into wip-DateRangeParam 2018-05-23 06:03:26 -04:00
James Agnew 4d93b78c24 Credit for #836 2018-05-22 08:44:17 -04:00
James Agnew 3a68bc19e7
Merge pull request #836 from RuthAlk/include_patch
Fix problem with _include=MedicationRequest:medication
2018-05-22 08:40:08 -04:00
James Agnew 4fd868afae Credit for #946 and add extensions to the CLI uploader 2018-05-16 19:32:12 -04:00
James Agnew a3ff08d9ec
Replace phloc with ph for #775 (#930)
* Replace phloc with ph

* Enable schematron tests

* Make HAPI-FHIR ph-schematron on OSGI

* Work on getting tests passing

* Another test fix

* Fix up transaction handling for DSTU2

* Add changelog

* Avoid double transaction

* Dont use readonly

* One more test fix

* Update to snapshow build

* Resolve a circular dependency

* Try to fix tests

* Solve recurring NPE in DSTU2 tests

* Fix one more test

* Test fix

* More test threading fixes

* One more attempt to get tests passing

* Refactoring for tests

* Refactoring for tests
2018-05-14 17:38:40 -04:00
jamesagnew ccb859fdbe FIxes to get the synced build working 2018-05-13 08:08:34 -04:00
jamesagnew 150f27a9ca Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-12 19:40:31 -04:00
jamesagnew 3d762b984b Sync to R4 definitions 2018-05-12 19:35:42 -04:00
James Agnew f1ba0016b2 Improve the error message thrown by JPA server 2018-05-11 17:03:48 -04:00
James Agnew b17eebd8d2 Squashed commit of the following:
commit 2be11651c2
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:50:53 2018 -0400

    Update changelog

commit b3bb5f9052
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:19:28 2018 -0400

    Parameter updates

commit f6b1082ba4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 07:24:30 2018 -0400

    More test fixes

commit 81a69c265f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:26:48 2018 -0400

    Fix compile error

commit 935938e92c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:25:18 2018 -0400

    Another test fix

commit 43568a1f8d
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:18:06 2018 -0400

    Fix compile error

commit e95894e643
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:13:50 2018 -0400

    More work on tests

commit 9393fb8f4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 05:36:27 2018 -0400

    One more fix

commit 437f5051e4
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 21:32:10 2018 -0400

    Work on validator

commit 20c51add4f
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 19:34:10 2018 -0400

    Validator fix

commit 7bf2b0a0e9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 18:44:04 2018 -0400

    Fix test

commit adc73e75c9
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 17:22:34 2018 -0400

    Merge validator
2018-05-10 11:53:32 -04:00
Diederik Muylwyk d97fb8f5cf
709 the conceptmap operation called translate needs to be implemented (#923)
The ConceptMap operation $translate has been implemented.
2018-05-10 10:52:56 -04:00
jamesagnew 5bd191d192 FIx some failing tests 2018-04-28 13:21:48 -04:00
James Agnew 593a705365 Performance enhancements on the CapabilityStatement generator for JPA
server
2018-04-28 11:06:42 -04:00
jamesagnew e299b062a6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-04-24 19:14:56 -04:00
jamesagnew f1db751d1e Update headers 2018-04-24 19:14:33 -04:00
James Agnew 09b1f547d0 Add expunge 2018-04-24 15:11:00 -04:00
James Agnew 07e7af746f Work on expunge operation 2018-04-22 22:03:23 -04:00
James Agnew 591539cf13 Add expunge method 2018-04-22 18:34:56 -04:00
jamesagnew 8c889267e5 One more parser fix 2018-04-18 06:20:11 -04:00
James Agnew 162069776a Correctly handle encoding contained resources where some have user
assigned IDs and some do not
2018-04-17 18:26:06 -04:00
jamesagnew 9013e44ba0 Fix a couple of broken compile issues 2018-03-31 06:08:49 -04:00
Clayton Bodendein ac8e412e49 Fixes #911 - Adds support for :contains modifier
Adds support for the :contains modifier in StringClientParam.
2018-03-30 23:49:06 -05:00
jamesagnew 180336e076 Sync to master 2018-03-29 06:54:24 -04:00
jamesagnew 53c2d8a38d Merge branch 'master' into loinc_loader_update 2018-03-29 06:21:55 -04:00
jamesagnew 418e82032f Prep for 3.3.0 2018-03-29 05:48:13 -04:00
jamesagnew 94b880fd4d Remove accidentally committed useless file 2018-03-28 10:13:51 -04:00
James Agnew b56d65ef5b
Merge pull request #871 from johnpoth/hapi-fhir-osgi
Implement #826 - add OSGI support and Apache Karaf features with inte…
2018-03-27 06:06:34 -04:00
James Agnew d9fcf1ef54
Merge pull request #864 from splatch/master
Avoid unecessary reference to javassist.
2018-03-23 06:49:59 -04:00
Łukasz Dywicki 9125a78f33 Avoid unecessary reference to javassist. 2018-03-20 15:39:33 +01:00
James Agnew 308ac63a77 Merge branch 'master' into loinc_loader_update 2018-03-20 07:53:41 -04:00
James Agnew 9c5e32d7eb Fix up some logging 2018-03-20 07:53:21 -04:00
James Agnew 6359f7f8a1 More work on loinc 2018-03-19 08:51:02 -04:00
James Agnew 6e2acd0689
Merge pull request #890 from jamesagnew/arglineFix
changed in *.pom: ${argLine} -> @{argLine}
2018-03-19 05:55:54 -04:00
jamesagnew 4578b3889f Allow for locale differences in StopwatchTest 2018-03-19 05:54:12 -04:00
patrick-werner ff04ab3358 ${argLine} -> [at]{argLine}
see:
http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation
2018-03-19 10:45:33 +01:00
James Agnew 142c4c6caa
Merge pull request #800 from InfiniteLoop90/issue-799-jaxrsrequest-fhir-version-support
Fixes issue #799 by adding logic to handle the R4 and DSTU2_1 contexts in ca.uhn.fhir.jaxrs.server.util.JaxRsRequest.
2018-03-19 05:41:20 -04:00
James Agnew 60354a4cc8
Merge branch 'master' into master 2018-03-12 07:41:22 -03:00
James Agnew cb2f5a0bba
Merge pull request #786 from CarthageKing/bugfix-chaining-urlvalue
ensure to use resourceType properly when it is explicitly provided in a chained reference param
2018-03-12 07:32:27 -03:00
jamesagnew 30cd63b929 More loinc work 2018-03-11 19:11:31 -04:00
James Agnew 5a653aeb20 Work on loinc mapping 2018-03-10 20:31:27 -03:00
James Agnew 611ee457cb Lots of addition of loinc 2018-03-07 13:33:49 -03:00
James Agnew e31aa760dd Fix stopwatch ETA calculations 2018-03-05 19:06:05 -05:00
Ruth Alkema fee70b1a7a Fix error in narrative for CodeableConcept 2018-03-05 16:27:07 +01:00
jamesagnew e201091e3a Update licenses for changed files 2018-03-04 13:53:04 -05:00
James Agnew 2f7751a079 Move stopwatch into hapi-fhir-base and add timing into to client
LoggingInterceptor
2018-03-04 12:13:18 -05:00
James Agnew 928cf23b4c Logging enhancements 2018-03-04 10:21:39 -05:00
James Agnew 0c0b9bd74b Fix #814 - Don't create duplicate contained resources 2018-03-02 09:46:29 -05:00
James Agnew fe140a55dd
Merge pull request #868 from Tastelezz/wip-DateParam
equals() and hashCode() for DateRangeParam and DateParam
2018-03-02 08:58:07 -05:00
Gaetano Gallo 3009ec7f74 - added guava-testlib as test dependency to modules hapi-fhir-structures-dstu2 and hapi-fhir-structures-dstu3
- added DateRangeParam.equals(Object) and DateRangeParam.hashCode()
- fixed broken DateParamTest
2018-03-02 13:03:30 +01:00
jpoth 66ebfa0ed3 Implement #826 - add OSGI support and Apache Karaf features with integration tests 2018-02-28 11:32:53 +01:00
Gaetano Gallo 1caf768fd5 - implemented DateParam.equals() and DateParam.hashCode() which comes in handy when writing tests ... 2018-02-27 10:15:19 +01:00
James Agnew 458401864b Handle deletes properly in HashMapResourceProvider 2018-02-25 14:20:04 -05:00
James Agnew ef6ee83744 Remove test which is no longer applicable 2018-02-24 23:09:30 -05:00
jamesagnew 1a9522cfdd Update license header 2018-02-24 12:05:42 -05:00
James Agnew f026f8a1ac Fix compile error 2018-02-24 12:05:05 -05:00
James Agnew 6e47951220 Remove unneccesary log lines and clean up some documentation 2018-02-24 10:57:32 -05:00
Gaetano Gallo 01ff2e7c3b - according to the design of all other IQueryParameterXXX types changed the methods setUpperBound() and setLowerBound() to return this, supporting method chaining.
- changed the order in which the state of a DateRangeParam instance got first modified and then verified.
- renamed the private method validateAndThrowDataFormatExceptionIfInvalid() to validateAndSet(DateParam, DateParam).
- replaced the methods haveLowerBound() and haveUpperBound() with the stateless method hasBound(DateParam).
2018-02-21 08:39:44 +01:00
jamesagnew 2f4ac42edb One more test fix 2018-02-18 09:17:04 -05:00
jamesagnew 3f1a0e81c7 Avoid endless reindex loop 2018-02-17 16:10:44 -05:00
jamesagnew e89f8e5ba4 Fix crash with unique search parameter updates in JPA 2018-02-16 07:39:46 -05:00
James Agnew e6253b7f22 Refresh search parameter cache asynchronously 2018-02-14 11:10:30 -05:00
James Agnew 2edc9910e5 Add a test 2018-02-09 10:29:20 -05:00
jamesagnew a395e48cd4 Don't crash when a multitenant server has a request for / 2018-02-04 18:44:37 -05:00
jamesagnew fb327c60cd FIx spring boot issue 2018-02-04 15:04:45 -05:00
James Agnew 17b1ff727e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-03 15:48:09 -05:00
James Agnew 3cbf669007 Don't crash on startup if an invalid subscription is in the database 2018-02-03 15:47:48 -05:00
jamesagnew 1d541c1588 Formatting issues 2018-02-02 14:03:53 -05:00
jamesagnew 371be03b0f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-02 13:20:09 -05:00
James Agnew efc812bf56 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-02 12:32:13 -05:00
James Agnew 0e2d55081f Fix a crash when no count parameter supplied 2018-02-02 12:31:59 -05:00
jamesagnew 351a2fc2f1 Fix #837 - Use non-legacy content-type for plain json and xml accept
header
2018-02-02 06:43:19 -05:00
jamesagnew 3f1ef0e7f6 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-01 06:33:00 -05:00
jamesagnew 17edf5e727 FIx some license headers 2018-02-01 06:31:21 -05:00
James Agnew b61887e841 Improve performance of base64 validation 2018-01-30 17:37:12 -06:00
James Agnew 1c5a07b5a0 Fix #822 - Respect chained method params in a transaction search 2018-01-30 16:20:25 -06:00
James Agnew e52f582769 An experimental interceptor called VersionedApiConverterInterceptor has been added, which automaticaly converts response payloads to a client-specified version according to transforms built into FHIR. 2018-01-29 12:10:05 -06:00
James Agnew 044b9f584a Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-28 14:02:53 -06:00
James Agnew f976b7bf7e Add new interceptor method which enabled interceptors to modify response 2018-01-28 14:01:20 -06:00
Simon Janic 97a1ccac3d Merge remote-tracking branch 'upstream/master' 2018-01-28 16:43:32 +01:00
jamesagnew 2e4f80d7a3 Fix #831 - Remove useless TagListParam annotation 2018-01-26 10:03:21 -05:00
Ruth Alkema 9a4933f536 Fix problem with _include=MedicationRequest:medication
A query for MedicationRequest that should include medication
did not work, because the SearchParamDefinition defined the
path as MedicationRequest.medication.as(Reference)
2018-01-24 14:59:03 +01:00
jamesagnew c081f7c15d More rule fixes 2018-01-23 11:33:31 -05:00
James Agnew 16038ece26 Version bump to 3.3.0-SNAPSHOT 2018-01-23 10:31:01 -05:00
James Agnew 4dcce4e582 Fix #832 - Correctly normalize text with Korean characters 2018-01-21 14:55:14 +08:00
James Agnew 3644151a69 Fix crash in JSON parser when parsing extensions on primitive elements 2018-01-18 09:07:23 +07:00
James Agnew 6468ca474a Verion bump to 3.2.0 2018-01-13 02:14:33 -05:00
James Agnew 01186ec8cb Squashed commit of the following:
commit ab876ef864005b6758d3e00a1bb1ef2dad5d2161
Author: James Agnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 18:59:15 2018 -0500

    Tests all passing

commit 4f8a5d98307da1bb5ca7602e34b1d3b791f73d25
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Fri Jan 12 08:21:58 2018 -0500

    Almost compiling
2018-01-12 18:59:43 -05:00
James Agnew f6c9e3d0fe Add multitenancy support for server 2018-01-11 11:14:54 -05:00
jamesagnew 0352d48720 Bump copyright message to 2018 2018-01-08 13:52:15 -05:00
jamesagnew 7e2459fbdc FIx up tests 2018-01-08 08:18:34 -05:00
James Agnew 3e8fc0c89c Merge branch 'dstu2_custom_structs' 2017-12-12 21:47:05 -05:00
James Agnew d00c7dbea8 Giant breakthrough in fixing sporadic test failures! 2017-12-05 12:08:56 -05:00
Clayton Bodendein b81e89604c Related to issue #799, adding DSTU2_1 and R4 contexts to the FhirContext#(FhirVersionEnum, Collection<Class<? extends IBaseResource>>) method 2017-11-29 15:50:10 -06:00
Simon Janic 8427fc4547 Merge remote-tracking branch 'upstream/master' 2017-11-26 14:23:33 +01:00
Simon Janic f426b0679c Refactored the meta extensions, so it reuses the existing logic that is
used for encoding and parsing extensions on resources.
2017-11-26 14:22:41 +01:00
James Agnew 3e296f9d1b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-11-25 17:53:01 -05:00
James Agnew 6afe6804db Fix #796 - Correctly escape spaces in generated URLs 2017-11-25 17:52:12 -05:00
jamesagnew 5b909b4746 Version bump to 3.2.0-SNAPSHOT 2017-11-24 13:32:47 -05:00
jamesagnew 42dd34252d Version bump to 3.1.0 2017-11-23 13:27:21 -05:00
James Agnew 6293bb112b
Merge pull request #769 from InfiniteLoop90/issue-768-exclude-stacktrace-jax-rs
Fixes issue #768 to conditionally include stacktraces for DataFormatExceptions in OperationOutcomes when using AbstractJaxRsProviders
2017-11-22 20:00:44 -05:00
jamesagnew 059265a041 Test cleanup 2017-11-22 19:15:27 -05:00
James Agnew 4042a3a353 Prevent accidental deletion of deeply nested resources in JPA server 2017-11-22 18:17:35 -05:00
Simon Marco Janic 46fcceb9c6 [(master)] Merge remote-tracking branch 'upstream/master' 2017-11-21 11:15:50 +01:00
Simon Marco Janic 0077215b19 [(master)] Added support for references in meta 2017-11-21 10:38:14 +01:00
James Agnew 60b6c3745b Add test for #794 2017-11-20 12:03:45 -05:00
michael.i.calderero 874390df61 treat reference param values as opaque and not an url when the param is
chained
2017-11-15 15:03:53 -06:00
michael.i.calderero b277693106 ensure to use resourceType properly when it is explicitly provided in a
chained reference parameter
2017-11-14 19:00:28 -06:00
James Agnew 8dbcd29c8d Dont reuse ports in tests 2017-11-08 17:12:06 -05:00
James Agnew 59f4177a59 Fix #750 - Elements are not preserved in page requests 2017-11-06 19:49:50 -05:00
Simon Marco Janic f0477ac807 [(master)] Fixed faulty test 2017-11-06 13:38:25 +01:00
Simon Marco Janic ee3d540607 [(master)] Remove duplicated code by Git 2017-11-06 13:00:47 +01:00
Simon Marco Janic 78744ac9e4 [(master)] Merge remote-tracking branch 'origin/master'
# Conflicts:
#	hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/DeviceStatusEnumFactory.java
2017-11-06 12:59:44 +01:00
Simon Marco Janic bb767d7f1c [(master)] Added missing import. 2017-11-06 12:59:13 +01:00
Simon Marco Janic 1c1098a2b7 [(master)] Added check for sub-extensions. 2017-11-06 12:32:11 +01:00
Simon Marco Janic b4032f4e8c [(master)] Added support for extensions in Meta resource 2017-11-06 12:32:07 +01:00
Simon Marco Janic bdb15f57e0 [(master)] Added check for sub-extensions. 2017-11-06 11:06:42 +01:00
James bde05c8b4d Fix broken DeviceStatus enums 2017-11-05 19:20:49 -05:00
James Agnew 75bfb6af1b Add support for Binary X-Security-Context header in server 2017-11-02 11:38:43 -04:00
James Agnew 256d541dda
Merge pull request #736 from malcolmm83/master
Fix for Binary.securityContext is not being encoded #734
2017-11-01 15:37:43 -04:00
Simon Marco Janic 53674db357 [(master)] Added support for extensions in Meta resource 2017-11-01 11:37:51 +01:00
James 0fb74e5d42 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-10-31 20:22:59 -04:00
James Agnew 1d06c9165b Remove more windows line ending dependencies 2017-10-31 17:55:16 -04:00
James 5a5933f232 Remove dependencies on StAX on Android 2017-10-30 16:41:31 -04:00
James Agnew 7c1ab11b02 Clean up places where CORS headers are declared - Related to #718 2017-10-30 16:37:47 -04:00
James Agnew 64e120cef8 Custom structs in progress 2017-10-30 16:19:09 -04:00
James 15ba0dff03 Clean up email subscription type 2017-10-26 06:02:12 -04:00
Clayton Bodendein d0e747d6ec Fixed issue #768 in a different way by wrapping the DataFormatException as an InvalidRequestException so that it still gets sent as a 400 response but now DataFormatException stacktraces can now be conditionally sent based on the ExceptionHandlingInterceptor#setReturnStackTracesForExceptionTypes(Class<?>...) configuration 2017-10-22 22:20:48 -05:00
James Agnew 16e19a9fed Fix #720 - Failure to parse custom type 2017-10-21 13:47:03 -04:00
James Agnew 175f9dfc5a Remove dependency on StAX for XML parsing in DSTU2 Xhtml type 2017-10-16 17:22:50 -04:00
James Agnew 9ca85b4cf3 Re-enable errorprone on standard hapi fhir build. woohoo! 2017-10-15 11:27:30 -04:00
James Agnew 0a2525e1e0 Remove some duplicate classes 2017-10-14 15:42:55 -04:00
James 31fb1236a1 Reuse bundle ID when returning query cache results 2017-10-11 06:05:14 -04:00
James 432c511a30 Add license 2017-10-06 15:41:40 -04:00
James ce720f5601 Add support for Cache-Control header in JPA server and client 2017-10-05 13:38:53 -04:00
James Agnew 87383ad802 Version bump to 3.1.0-SNAPSHOT 2017-09-27 21:23:34 -04:00
Malcolm McRoberts 511f4939c8 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir
Changes to encoding for Binary and unit test.
2017-09-25 00:02:10 -04:00
Malcolm McRoberts a57003808d Added unit test for encoding Binary with securityContext, and fixed encoding in JasonParser 2017-09-24 23:55:27 -04:00
James 49bdaa1a45 Version bump to 3.0.0 2017-09-23 17:31:39 -04:00