Commit Graph

1650 Commits

Author SHA1 Message Date
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