Commit Graph

167 Commits

Author SHA1 Message Date
jamesagnew 6586fc438d Fix concurrency issue in hashmap 2018-08-03 13:00:57 -04:00
James Agnew 4eb3281fa6 Merge branch 'client_enhancements' 2018-07-30 18:34:49 -04:00
James Agnew d6293cf9b3 Merge branch 'client_enhancements' 2018-07-30 09:42:38 -04:00
James Agnew db0f082222
Merge pull request #996 from anamariaradu10/master
Changes regarding behavior for Prefer header
2018-07-30 09:16:20 -04:00
James Agnew d50dda19ae
Merge pull request #912 from InfiniteLoop90/911-contains-modifier
Fixes #911 - Adds support for :contains modifier
2018-07-30 05:39:27 -04:00
jamesagnew fc9f2ec0fb FIx test issue 2018-07-29 18:20:09 -04:00
James Agnew 518092cbd4 More updates 2018-07-29 17:10:26 -04:00
anamariaradu10 3a5556006b
Merge branch 'master' into master 2018-07-27 16:59:52 +03:00
Ana Maria Radu 9c39733aff Fixed issues 2018-07-27 16:48:44 +03:00
James Agnew f03d6b7c22 Allow configuration of default page size in SimpleBundleProvider 2018-07-27 18:34:12 +07:00
James Agnew d04db790a3 Try to fix permissions issues in travis 2018-07-27 08:39:22 +07:00
James Agnew a4e4111376 Fix a unit test 2018-07-26 18:08:59 +07:00
James Agnew 3c80238f0e Ongoing work on interceptors 2018-07-24 17:22:21 +07:00
James Agnew 23083a9283 Improvements to client and SP indexing in JPA server 2018-07-23 17:37:49 +09:00
James Agnew b4aa4c0e89 Add protection against HTML injection attacks 2018-07-19 08:56:22 -04:00
James Agnew e6ca408f67 Permissions for operations 2018-07-12 18:40:15 -04:00
Alin de701a6b7f added patch for operation outcome 2018-07-09 15:35:50 +03:00
jamesagnew 6d83edabb6 License header updates 2018-07-01 20:59:04 -04:00
James Agnew 495fd9f68e Add support for patch in AuthorizationInterceptor 2018-07-01 11:46:11 -04:00
jamesagnew b3f7ab274d License header updates 2018-06-21 14:44:34 -04: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
James Agnew cc0e836680
Auth interceptor early checks (#995)
* Validator fix

* Enhance AuthorizationInterceptor so that it tries to deny access earlier
for compartment searches that are outside the allowable compartment.

* FIx DSTU2 test that wasn't updated

* More test fixes
2018-06-10 17:48:20 -04:00
James Agnew e7804b881c Fix CI issue 2018-06-06 11:39:06 -04:00
jamesagnew 3583dfd503 Correctly include project description in capabilitystatement 2018-06-03 16:19:33 -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
jamesagnew 67f21426cb Disable content header on response for non-create operations 2018-05-25 07:28:01 -04:00
jamesagnew b146a80502 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-05-23 16:09:34 -04:00
jamesagnew 92dc258c6e Update license headers 2018-05-23 16:09:23 -04:00
James Agnew 0544692dde Don't include bogus powered by header 2018-05-23 13:12:27 -04:00
James Agnew 7f85608a2e Fix accidental regression 2018-05-23 08:17:59 -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
patrick-werner eef3267bb8 Forward the cause of the InvocationTargetException to the REST layer.
Discovered through #938
2018-05-17 17:38:23 +02:00
James Agnew 833cfd6988 Refactor information message 2018-05-16 17:35:40 -04:00
James Agnew d29a9a7f96 AutohrizationInterceptor should correctly recognize type-level operation
invocations
2018-05-15 16:14:10 -04:00
jamesagnew ccb859fdbe FIxes to get the synced build working 2018-05-13 08:08:34 -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 14a070a47e
927 cli tooling is needed for creating and maintaining conceptmaps using csvs (#934)
CLI tooling for import/export of ConceptMaps using CSVs has been implemented.
2018-05-10 11:12:45 -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 a21d0a7752 Add auth tester methods 2018-04-22 19:30:09 -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 c5b286921e Tests all passing 2018-03-30 15:18:57 -04:00
jamesagnew 180336e076 Sync to master 2018-03-29 06:54:24 -04:00
jamesagnew 418e82032f Prep for 3.3.0 2018-03-29 05:48:13 -04:00
James Agnew e9ee87210a
Merge pull request #806 from honestica/quickfix-imcompartment
fix inCompartment for a collection of owners
2018-03-19 06:16: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
jamesagnew 7e4877c524 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-03-01 06:20:46 -05:00
jamesagnew a6e59a0f76 License header updates 2018-03-01 06:20:37 -05:00
James Agnew 790aaeb4ea Tests for #872 2018-02-28 21:34:32 -05:00
James Agnew 458401864b Handle deletes properly in HashMapResourceProvider 2018-02-25 14:20:04 -05:00
James Agnew 84c72203b7 Add HashMapResourcePrvider 2018-02-25 13:16:02 -05:00
jamesagnew a395e48cd4 Don't crash when a multitenant server has a request for / 2018-02-04 18:44:37 -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 a16ac6ec87 Merge changes 2018-02-02 13:21:05 -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
jamesagnew 2e4f80d7a3 Fix #831 - Remove useless TagListParam annotation 2018-01-26 10:03:21 -05:00
jamesagnew 5750cfd03c Prevent double calling server interceptor methods under certain
conditions
2018-01-26 07:44:13 -05:00
jamesagnew ede32b6acc Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-23 11:33:52 -05:00
jamesagnew c081f7c15d More rule fixes 2018-01-23 11:33:31 -05:00
James Agnew 0677f35847 Implement tenant ID checking in authorizationinterceptor 2018-01-23 11:32:35 -05:00
James Agnew 16038ece26 Version bump to 3.3.0-SNAPSHOT 2018-01-23 10:31:01 -05:00
James Agnew 4fd3e20d06 Remove duplicate resource body creation (Merge branch 'optimize_jpa') 2018-01-21 18:16:11 +08:00
jamesagnew 001bdbc07e Version bump to 3.2.0 2018-01-13 04:07:57 -05:00
James Agnew 6468ca474a Verion bump to 3.2.0 2018-01-13 02:14:33 -05:00
James Agnew f6c9e3d0fe Add multitenancy support for server 2018-01-11 11:14:54 -05:00
jamesagnew b0e196e5cf Merge branch 'master' into optimize_jpa 2018-01-10 06:27:15 -05:00
James Agnew d375977410 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-01-08 14:14:42 -05:00
James Agnew 9a72927dbc Fix #808 - Use version from meta if not found in the resource ID 2018-01-08 14:07:27 -05:00
jamesagnew 0352d48720 Bump copyright message to 2018 2018-01-08 13:52:15 -05:00
jamesagnew 6fc88caa51 More work on optimizing JPA 2018-01-08 07:15:58 -05:00
James Agnew 377bae8c16 Allow interceptors to modify request contents 2018-01-06 14:27:32 -05:00
James Agnew b18e71d4f5 Added new callbacks to IServerOperationInterceptor to be invoked before
other operation methods
2017-12-23 17:13:33 -05:00
Jiajing LIANG cc40d47d2a fix inCompartment for a collection of owners 2017-12-14 17:29:27 +01:00
James Agnew 6c85cd1375 Improve documentation and mark redundant methods as deprecated in
IServerInterceptor
2017-12-12 21:45:54 -05:00
jamesagnew d710682fed Fix searching in JPA with _id and _content params 2017-12-05 07:25:34 -05: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 4887f18bb3 Further refine #762 2017-11-23 11:05:11 -05:00
jamesagnew ffac599a30 Credit and tests for #762 2017-11-23 06:42:10 -05:00
James Agnew 193edea1a1
Merge pull request #762 from dconlan/master
Auth Interceptor - make sure Id has a type before trying to get its associated resource
2017-11-23 06:40:14 -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
James Agnew 59f4177a59 Fix #750 - Elements are not preserved in page requests 2017-11-06 19:49:50 -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 7c1ab11b02 Clean up places where CORS headers are declared - Related to #718 2017-10-30 16:37:47 -04:00
James Agnew 0fec0485e8 Merge pull request #717 from aehrc/feature/ifModifiedSince_bugfix_master
fix bugs with inverted test for If-Modified-Since (impl and tests)
2017-10-26 18:31:19 -04:00
James d461567433 Allow cache-control to be used with CORS 2017-10-26 09:08:10 -04:00