James Agnew
c8f2e4bbc9
Return HTTP 400 for missing body on POST and PUT
2019-04-14 12:32:09 -04:00
ahn
3f15100a45
Removing irrelevant super call to preProcessValues
2019-04-10 12:03:32 +02:00
jamesagnew
8b5143f436
License header updates
2019-04-02 10:44:41 -04:00
jamesagnew
835b89f449
Build fixes
2019-04-01 18:55:55 -04:00
James Agnew
81de6cca32
Add a bit of documentation
2019-04-01 10:28:26 -04:00
James Agnew
3eeca4a8fd
Merge branch 'master' into ja_interceptor_jpa_queries
2019-04-01 09:59:03 -04:00
James Agnew
3c18275b3d
Make port delays configurable
2019-03-29 17:19:22 -04:00
jamesagnew
8791ed5793
Test tweaks
2019-03-29 17:13:41 -04:00
James Agnew
e85bec2858
Ja inline references ( #1252 )
...
* Use a single IN clause for OR reference searches
* Add changelog
* One more attempt at getting the free port util to actually work... sigh
* One more tweak to free ports
* Bundle fix
2019-03-26 10:42:42 +01:00
James Agnew
3e98c3a87d
Fix a param issue
2019-03-22 01:18:16 +01:00
James Agnew
c701de2861
Create a performance interceptor framework for HAPI FHIR
2019-03-22 01:06:03 +01:00
James Agnew
d1667487c2
Clean up unique composite search params
2019-03-21 21:57:38 +01:00
James Agnew
715b451d94
Add some javadocs to PortUtil
2019-03-18 15:27:04 +01:00
James Agnew
c81c5c2497
One more tweak to the port test
2019-03-17 17:54:48 -04:00
James Agnew
50a8d2fbc8
More updates to port tests
2019-03-17 17:51:54 -04:00
jamesagnew
8818a2479c
Try to prevent build failure
2019-03-17 16:14:19 -04:00
jamesagnew
7cbd7a0d50
License header update
2019-03-17 14:22:29 -04:00
jamesagnew
3e57fdb491
Improvements to PortUtil to avoid reusing ports
2019-03-17 14:09:21 -04:00
jamesagnew
c482d22cff
Improvements to PortUtil
2019-03-17 13:23:48 -04:00
James Agnew
e15afbc4f0
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2019-03-14 13:32:03 -04:00
James Agnew
a8c76450e5
Re-enable contains searches on the public HAPI FHIR server and improve
...
message formatting in HapiLocalizer
2019-03-14 13:19:26 -04:00
jamesagnew
7b1950aeed
License headers
2019-03-12 17:45:51 -04:00
James Agnew
e3ecf21fa9
One more test fix
2019-03-12 13:24:18 -04:00
James Agnew
00a8f8c759
Fix broken build
2019-03-12 13:13:13 -04:00
James Agnew
71a07c0239
Refactor the way that contexts are used in narrative generator
2019-03-11 16:05:25 -04:00
James Agnew
f934f76c96
Several JPA search fixes ( #1231 )
...
* Search fixes
* Add some tests
* CHangelog
* Some cleanup of the query tracker
* FIx XML issue in changelog
* Test fixes
* SOme test fixes
* Address review comments
* Fix test breakage
2019-03-11 15:49:34 -04:00
Ken Stevens
dcfacfea49
Has param no in ( #1232 )
2019-03-10 20:50:24 -04:00
jamesagnew
64facdab0a
Disabling test logging
2019-03-06 16:14:32 -05:00
James Agnew
9bc0f6784d
Search paging timeout with 1500 < n < 2000 results ( #1221 )
...
* Avoid paging links when offset is artificially set very high
* Ongoing fixes
* Adding logging and clean up transaction processing
* Add changelog
* More work on queries
* Keep working on getting tests passing
* More test fixes
* More work on tests
* More test works
* One more test attempt
* Ongoing fixes
* One more change
* FIxes to search algorithm
* Add changelog
* Clean up for review
* Fixed NPE in token matcher when system is not null and value is null
* test opposite (null system not null value)
* added null protection to all matchers
* Address review comments
* Address broken test
* Trying to resolve DB ordering issues
2019-03-06 05:45:05 -05:00
James Agnew
4138832071
Add a test
2019-03-01 14:03:14 -05:00
James Agnew
3972e17e62
Add "is trusted" property to server exceptions
2019-03-01 13:58:13 -05:00
jamesagnew
6e41f90bf9
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2019-02-27 16:49:20 -05:00
James Agnew
48c10bddc5
Narrative Generator refactoring ( #1219 )
...
* Starting work on this
* Working on narrative templates
* Work on new narrative system
* Account for some failing tests due to refactoring of narrative mode
* Another test fix
* More test fixes
* One more test fix
* Work on searches
* Address review comments
2019-02-27 14:59:57 -05:00
jamesagnew
aef5989477
Header updates
2019-02-25 20:47:30 -05:00
James Agnew
87ed00a002
Add ability to generate named parametrrs in a version independent way
2019-02-15 16:27:16 -05:00
James Agnew
485335e975
Allow terminology service to work without having Lucene enabled for
...
simple ValueSet expansions
2019-02-14 20:47:28 -05:00
James Agnew
10c348d44f
Tweak to elements parametr support
2019-02-14 19:30:10 -05:00
James Agnew
00636276d3
Add missing version constant
2019-02-07 17:02:42 -05:00
James Agnew
810f1ad969
Improvements to elements parameter as well as adding attributes to
...
RequestDetails
2019-02-07 16:45:59 -05:00
James Agnew
0f8c8d18e2
Bump version to 3.8.0-SNAPSHOT
2019-02-06 20:02:28 -05:00
jamesagnew
207015c3af
Version bump to 3.7.0
2019-02-05 21:36:38 -05:00
jamesagnew
c7d857df98
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2019-02-04 16:34:55 -05:00
jamesagnew
d4af1ee2a3
Add tests and license headers
2019-02-04 16:34:39 -05:00
James Agnew
edb79b8c6a
Updates to parser dont encode elements functionality
2019-02-04 16:34:05 -05:00
James Agnew
e401ec86e4
Enhanced elements ( #1192 )
...
Squashed merge: Add elements exclude mode
* Start working on elements enhancement
* Work on elements projection
* Work on elements filter
* Feature is now working
* Just some cleanup
* Address compile issues
2019-02-03 16:41:33 -05:00
jamesagnew
5f29e4fbf3
Fix #1174 - Prevent serialization exception
2019-01-30 05:49:45 -05:00
Ken Stevens
10c59fceeb
Subscription strategy tag ( #1178 )
...
tests pass
2019-01-25 13:01:04 -05:00
jamesagnew
cd1e0e881c
Add headers
2019-01-19 18:31:17 -05:00
jamesagnew
b0cbd52ae9
Interceptor cleanup
2019-01-19 18:01:00 -05:00
James Agnew
3e84173180
Merge branch 'master' into ja-subscription-interceptors
2019-01-18 17:52:23 -05:00
James Agnew
5ce9d444e9
Work on interceptors
2019-01-18 09:04:45 -05:00
James Agnew
4367e340ae
Log the version number and commit on startup
2019-01-17 16:05:54 -05:00
James Agnew
93bf2788ec
Add subscription narrowing interceptor and refactor RuleBuilder to be a
...
bit cleaner
2019-01-12 14:23:26 -06:00
James Agnew
ee52d6fb31
Add SearchNarrowingInterceptor
2019-01-09 20:20:46 -06:00
James Agnew
8beccab9ab
Merge branch 'master' into test-openjdk-11
2019-01-09 10:48:57 -05:00
jpoth
1bd63f4454
Add JKD11 support for Karaf
2019-01-09 11:18:42 +01:00
jamesagnew
3d94761bcb
Improve response for transactions
2019-01-06 18:08:32 -05:00
jamesagnew
98d93df12a
License header updates
2019-01-04 16:22:15 -05:00
James Agnew
a1275874f8
Correct subscription delivery metadata
2019-01-04 10:56:21 -05:00
James Agnew
1bfa29bbcc
Site updates
2018-12-28 11:42:21 -05:00
jamesagnew
4599a10180
Merge branch 'master' into test-openjdk-11
2018-12-23 14:19:59 -05:00
James Agnew
a0cb7edd08
Version bump a few dependencies
2018-12-22 20:13:03 -05:00
James Agnew
11b8304cb4
Fix case sensitivity issue
2018-12-13 08:31:35 -05:00
Graham, Gary
a01d6cf302
Add init330() to migrate from 2.5 -> 3.3
2018-12-12 21:00:41 -05:00
James Agnew
b442982310
Add media interceptor
2018-12-08 18:49:58 -05:00
jamesagnew
3109a269b3
Attempting to get ErrorProne working on JDK11
2018-12-08 18:22:17 -05:00
jamesagnew
3a3b81a6a8
Preparing things for OpenJDK 11
2018-12-08 17:52:48 -05:00
James Agnew
c484c69664
Better error message for unqualified search parameter types
2018-12-03 13:14:10 -05:00
Ken Stevens
6baee4dc3f
Standalone subscription ( #1125 )
2018-11-30 17:19:16 -05:00
Ken Stevens
03ebcafdf5
In-memory matcher ( #1116 )
...
* Initial refactoring to move database matcher out into its own class
* MAJOR REFACTOR: Pulled indexing code out of BaseHapiFhirDao into a new class ResourceIndexedSearchParams
* Moved calculateHashes
* Replaced @Bean definitions in BaseConfig.java with @ComponentScan
Annotated bean classes with either @Service (if it's stateless) or @Component (if it's stateful). It doesn't really matter which annotation is used, but it's helpful to see at a glance whether a bean is stateful or stateless.
* Move services out of BaseHapiFhirDao
Moved services required by ResourceIndexedSearchParams out of BaseHapiFhirDao and into new classes called LogicalReferenceHelper, IdHelperService, MatchUrlService, and DaoProvider.
Converted SearchBuilder into Prototype Bean
Mark Spring components that depend on daos and entitymanagers with @Lazy so they aren't picked up by hapi-fhir-spring-boot-autoconfigure.
* Added SubscriptionMatcherInMemory
Moved static data out of BaseHapiFhirDao into ResourceMetaParams
Moved translateMatchUrl methods out of BaseHapiFhirDao into MatchUrlService bean
Simplified SubscriptionMatcherInMemory to not depend on entity or dao
Turned all subscribers into prototype beans
* Moved searchParam method out to mySearchParamProvider
Also removed dao and contest parameters from of myMatchUrlService methods
Moved code out of SearchBuilder into SearchParameterMap.clean() so it can be used by inMemoryMatcher
Introduced a new composite subscription matcher that tries to match in memory and if it finds a parameter in the criteria it doesn't support, it falls back to the database matcher.
* Added support for references
Also fixed a small bug in SearchParameterMap that was missing the ";" after "_has" when creating a normalized query from search params.
* Finished implementing all tests from FhirResourceDaoR4SearchNoFtTest
* Make in-memory matcher configurable, disabled by default
* Validate Subscription criteria when they're submitted
Send HTTP 422 UnprocessableEntityException if the criteria fail validation.
* fixed Sonar "Blocker" issues.
* Don't reload the resource before sending it out
Since we can always force a reload using restHookDetails.isDeliverLatestVersion
* Added tests to cover Custom Search param.
* Split ResourceIndexedSearchParam into separate state and service classes
* Cleaned up SearchBuilder.
Removed uses of myCallingDao as an injection mechanism.
Left // FIXME KHS cookie crumbs to clean up
* Reduced dependencies on BaseHapiFhirDao
Removed methods from IDao interface that were used for injection
* Updated change log
2018-11-19 16:19:52 -05:00
jamesagnew
bf8f26bc5f
Work on bugfixes
2018-11-19 05:49:05 -05:00
James Agnew
58388bb614
Allow client to return methodoutcome instead of resdource for operation
...
call
2018-11-19 11:11:49 +01:00
James Agnew
6a6451f694
Reduce number of queries on some DB operations
2018-11-16 12:41:50 +01:00
James Agnew
e4f6b3e9a2
Add a warning if an invalid class is scanned
2018-11-16 10:42:21 +01:00
James Agnew
4b099cf057
Fix #944 - NPE when using a custom resource class that has a @Block
...
child
2018-11-15 16:11:55 +01:00
James Agnew
75210d614b
Bump to 3.7.0-SNAPSHOT
2018-11-12 22:37:52 -05:00
James Agnew
63af04a7b4
Prepare for 3.6.0 release
2018-11-12 05:40:55 -05:00
James Agnew
023877e09f
Merge pull request #1047 from hdconradi/null-pointer-in-date-range-param
...
Fix NullPointerExceptions in DateRangeRaram
2018-11-11 17:02:27 -05:00
jamesagnew
3942f1bb29
License header updates
2018-11-09 14:41:57 -05:00
James Agnew
f61df5c3fe
Use FHIRPath expression parser for custom SP validation
2018-11-09 14:41:20 -05:00
James Agnew
b32e232eb2
A bit of client tweaking
2018-11-08 17:10:39 -05:00
James Agnew
82ec721c99
Allow client defined parameter style for _format param
2018-11-08 15:27:35 -05:00
James Agnew
80b0f14c4b
Merge pull request #1103 from RuthAlk/own_message_resolver_3.6.6
...
Allow slotting in own IMessageResolver
2018-11-08 13:22:48 -05:00
James Agnew
76cd3f6b47
Allow client assigned IDs to be purely numeric in JPA server if
...
configured to do so
2018-11-07 18:25:50 -05:00
jamesagnew
8c2d868f16
License updates
2018-11-01 16:13:34 -04:00
James Agnew
bb59e2d73a
Fix broken test
2018-11-01 10:25:13 -04:00
jamesagnew
bbce2c69cf
Fix typo
2018-11-01 05:51:26 -04:00
jamesagnew
3f6960d82b
Add multithreaded migrator tool
2018-11-01 05:42:51 -04:00
jamesagnew
31ef4c68e1
Merge branch 'philips-3.6.0' of github.com:jamesagnew/hapi-fhir into philips-3.6.0
2018-10-31 05:51:13 -04:00
jamesagnew
8955a9e54d
Add threading to migrator
2018-10-31 05:50:50 -04:00
James Agnew
4cd86596f2
Merge branch 'master' into fhirterser-getvalues-enhancements
2018-10-29 09:55:34 -05:00
James Agnew
b66e01ce65
Allow plain server @Operation methods to declare a wildcard so that any
...
opeeration invocations will be direected to them
2018-10-29 10:36:32 -04:00
Ruth Alkema
729bbe04d0
Allow slotting in own IMessageResolver
...
This is useful in case we want to define our own way of translating
the codes in the thymeleaf templates.
2018-10-26 12:13:58 +02:00
James Agnew
794d9145e9
Move query count tests to consolidate them, and avoid an accidental
...
rewrite of existing indexes in some conditions
2018-10-24 17:54:58 -03:00
Diederik Muylwyk
21a0390e6e
Even more additional work on FhirTerser.getValues(...) enhancements. Almost ready for review.
2018-10-24 11:43:19 -04:00
Diederik Muylwyk
688e159493
Additional work on FhirTerser.getValues(...) enhancements.
2018-10-22 18:22:03 -04:00
Diederik Muylwyk
225007d681
Completed work on FhirTerser.getValues(...) enhancements.
2018-10-19 18:24:26 -04:00
Diederik Muylwyk
cd6d4302c3
Incremental work on FhirTerser.getValues(...) enhancements.
2018-10-19 15:13:51 -04:00
James Agnew
da2763d8c8
Merge branch 'master' into philips-3.6.0
2018-10-17 22:38:27 -04:00
James Agnew
99cd4ce5f7
Allow for _total parameter
2018-10-17 09:47:35 -04:00
jamesagnew
1c1f601332
License header updates
2018-10-16 19:56:52 -04:00
James Agnew
755060f91e
Allow subscription triggering on a block of resources
2018-10-16 15:29:41 -04:00
James Agnew
34bb70af65
Add validator test and allow migrator to be used for 3_3_0
2018-10-08 21:04:17 -04:00
jamesagnew
970c48ec37
A bit more test cleanup
2018-10-04 13:29:09 -04:00
James Agnew
95f00e1c94
Fix NPE in tests
2018-10-04 08:33:40 -04:00
James Agnew
b265c0281b
Expand search range when searching by date
2018-10-03 21:31:01 -04:00
James Agnew
5d5ee78873
API cleanup following JPA search performance enhancements
2018-10-03 07:43:01 -04:00
James Agnew
62d6771814
Use a select count query for summary count searches in JPA server
2018-09-29 21:58:14 -04:00
James Agnew
3e445faf47
Squashed commit of the following:
...
commit df641506885e09e63f80efc6c658d01a1a3a8142
Author: James Agnew <jamesagnew@gmail.com>
Date: Sat Sep 29 13:47:22 2018 -0400
Shrink validation resources
commit 4c1550eafa26f4235b4b8804741aecc03276b5c6
Author: James Agnew <jamesagnew@gmail.com>
Date: Fri Sep 28 22:45:28 2018 -0400
Updates to get R4 working
commit 8332f15291006691ed9b07ead3e3524b0fc85510
Author: jamesagnew <jamesagnew@gmail.com>
Date: Fri Sep 28 09:02:13 2018 -0400
Ongoing work on gettign R4 working
commit f7146cab7aed937bb625a8aec95744d76db00041
Author: James Agnew <jamesagnew@gmail.com>
Date: Fri Sep 28 05:21:01 2018 -0400
More work on sync
commit f48de4a10b1bab2584fee813017d9b27b237bfa9
Merge: 9e4f3cc722 aacb78b779
Author: James Agnew <jamesagnew@gmail.com>
Date: Thu Sep 27 20:11:29 2018 -0400
Merge branch 'sync_r4' of github.com:jamesagnew/hapi-fhir into sync_r4
commit 9e4f3cc722668aae31a77b19bf9b032af3ae01b0
Author: James Agnew <jamesagnew@gmail.com>
Date: Thu Sep 27 20:11:19 2018 -0400
Fix compile error
commit 7ec29e0ceda8f9013cbabb95767cbe15b4b81303
Merge: 23f7517325 002c4b3ff7
Author: James Agnew <jamesagnew@gmail.com>
Date: Thu Sep 27 20:04:23 2018 -0400
Merge branch 'master' into sync_r4
commit aacb78b7793ab2c71e0a2a774240ee2b5d3f9e7f
Author: jamesagnew <jamesagnew@gmail.com>
Date: Thu Sep 27 20:01:42 2018 -0400
Keep working on getting R4 building
commit 4950de46d99897e74d41dfdb10d3d8a3435cb0c9
Author: jamesagnew <jamesagnew@gmail.com>
Date: Tue Sep 25 13:11:27 2018 -0400
Ongoing work to get R4 working
commit 819d69c20e112dd3c72569ec50114ddb8263c300
Author: jamesagnew <jamesagnew@gmail.com>
Date: Thu Sep 20 08:15:36 2018 -0400
Work on getting build working
commit 2c61b6cd1205ced5d7b822cf10942c69272ea078
Merge: 16b5bb06c8 dfb4de86f1
Author: jamesagnew <jamesagnew@gmail.com>
Date: Thu Sep 20 05:16:53 2018 -0400
Merge branch 'master' into sync_r4
commit 16b5bb06c8cdaf8d67c3b80f5aa9be9fccd99aef
Author: jamesagnew <jamesagnew@gmail.com>
Date: Mon Sep 17 05:30:39 2018 -0400
Work on R4 sync
commit 23f7517325a14dd2ca1eb5641296ead2776634ae
Author: James Agnew <jamesagnew@gmail.com>
Date: Sun Sep 16 10:19:00 2018 -0400
Work on sync
commit 6cc413c1f1dea538295aa4c16c21a5677494ac4c
Author: James Agnew <jamesagnew@gmail.com>
Date: Fri Sep 14 17:28:28 2018 -0400
Work on R$ sync
commit df6f6ad2ce783b07ccc383134705d874bc5d2cf1
Author: jamesagnew <jamesagnew@gmail.com>
Date: Fri Sep 14 08:33:07 2018 -0400
Work on R4
2018-09-29 13:48:35 -04:00
Heinz-Dieter Conradi
ea5cf9f956
Fix the null pointer problems in the DataRangeParam class
2018-09-27 11:25:56 +02:00
Heinz-Dieter Conradi
734835de96
Add some test demonstrating null pointer problems in the DateRangeParam class
2018-09-27 11:25:56 +02:00
James Agnew
c0051f309b
Avoid NPE on parser
2018-09-21 09:48:18 -04:00
jamesagnew
dfb4de86f1
License updates
2018-09-20 05:16:15 -04:00
James Agnew
706e004b9d
Bump to 3.6.0-SNAPSHOT
2018-09-19 10:24:48 -04:00
jamesagnew
321e88c811
License header updates
2018-09-14 05:25:07 -04:00
James Agnew
ce6a9dbc36
Fix regression from new jetty version
2018-09-11 08:27:34 -04:00
James Agnew
daef975734
Version bump to 3.5.0
2018-09-08 07:22:21 +08:00
James Agnew
f5d567cd00
Work on migrator
2018-09-08 03:30:35 +08:00
James Agnew
0f7c4219cb
Merge branch 'master' into jpa_migration
2018-09-02 06:05:11 +08:00
James Agnew
f4a21eadda
Fix this issue
2018-09-01 14:38:52 +08:00
James Agnew
07cfed14b8
Work on migrator
2018-08-27 08:21:20 -04:00
jamesagnew
df651c830e
Remove dynamic mode
2018-08-19 17:35:08 -04:00
James Agnew
bc1ee1f9dc
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2018-08-13 11:54:36 -04:00
James Agnew
ea1f17762e
Don't apply last updated to includes
2018-08-11 12:20:07 -04:00
jamesagnew
64b3b64208
License header updates
2018-08-06 19:06:09 -04:00
James Agnew
4eb3281fa6
Merge branch 'client_enhancements'
2018-07-30 18:34:49 -04:00
James Agnew
709a5dbd0a
Merge pull request #965 from jbalbien/fixBundleUtilBug
...
fix bundle util bug
2018-07-30 09:45:09 -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
jamesagnew
0f1724ac0a
Credit and a unit test for #912
2018-07-30 05:48:38 -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
75a68a0332
Unit test fix
2018-07-26 18:58:23 +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
jamesagnew
401a4cd738
Clean up concept reindexing
2018-07-15 17:18:07 -04:00
jamesagnew
43ac912033
Clean up terminology uploading
2018-07-15 15:22:52 -04:00
jamesagnew
6d83edabb6
License header updates
2018-07-01 20:59:04 -04:00
patrick-werner
a2d6435597
adding contentType matching independent of Charset to non-strict method
2018-06-25 10:51:05 +02:00
Patrick Werner
b1e09fcdf7
Merge pull request #1007 from jamesagnew/1006-Writing-structured-Binary
...
1006 writing structured binary
2018-06-21 18:03:14 +02:00
Patrick Werner
8bd1313492
removed unused import
2018-06-21 14:56:38 +02:00
patrick-werner
f470653ba4
fixing tests
2018-06-21 11:50:58 +02:00
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
James Agnew
fc7144ee03
Work on JPA optimization
2017-09-17 20:05:28 -04:00
James Agnew
e94d639d29
Refactor websockets to use queuing mechanism
2017-09-14 21:29:57 -05:00
James Agnew
836d4d051b
Work on IG Pack uploading
2017-09-07 20:33:19 -07:00