2661 Commits

Author SHA1 Message Date
Karl M. Davis
aa134fc423 Hacky but workable fix for race condition surfaced by If-None-Exists creates.
Some notes from other attempts I made to fix this in a less hacky way:

* Tried to @Autowire myResourceDaos from a setter (rather than using the annotation on a field), and initialize myResourceTypeToDao in that setter, instead. Couldn't get it to work: Spring started throwing odd bean dependency errors. Don't really understand why.
* Tried to move the exceptions being thrown on null getDao(Class) results into that method, but that was breaking a test case. Didn't investigate why.
2017-06-01 03:17:38 -04:00
James Agnew
52a5fcce17 Adding logging 2017-05-30 15:39:33 -04:00
James Agnew
97c83cd8f0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-30 10:05:34 -04:00
James Agnew
3db4091601 Add a null check 2017-05-30 10:05:27 -04:00
James
6d59b0f5e0 Indexing logging 2017-05-30 10:01:33 -04:00
James Agnew
6168f4ab32 FIx JDK7 dep 2017-05-26 21:35:40 -04:00
James Agnew
7d659c88e5 Validator incorrectly rejected references where only an identifier was
populated
2017-05-26 21:32:12 -04:00
James
ba40f44d27 Properly index decimal datatype 2017-05-26 06:39:38 -04:00
Jeff Chung
2fa7aedf63 Fixed the resource type comparison to not use startsWith 2017-05-25 16:47:09 -07:00
James Agnew
6cf3d865f0 Fix test 2017-05-25 16:06:44 -04:00
James Agnew
b96932a5c5 Fix dependency on new version of commons-codec 2017-05-25 15:24:47 -04:00
James
e2b329382a Add some logging to searches 2017-05-25 08:31:29 -04:00
James Agnew
32de48f392 Fix broken tests 2017-05-24 15:50:53 -04:00
James Agnew
fcc04a8998 Update tester to use DSTU3 server by default 2017-05-24 14:28:37 -04:00
James Agnew
5bdd10c7ab Include patient in $everything even if there are no other resources 2017-05-24 14:24:01 -04:00
James
3f712fdf8a POM updates 2017-05-22 17:25:05 -04:00
James
d54b62ffe4 Fix compile errors 2017-05-22 16:42:51 -04:00
James
6dbcd0fc31 Remove import 2017-05-22 16:20:58 -04:00
James
6764079129 Bugfixes to the testpage overlay 2017-05-22 16:15:51 -04:00
James
1ec180628f JPA server now has configurable properties that allow referential integrity to be disabled for both writes and deletes. This is useful in some cases where data integrity is not wanted or not possible. It can also be useful if you want to delete large amounts interconnected data quickly. 2017-05-22 15:34:44 -04:00
James
a834770e38 A bit more cleanup for #646 2017-05-22 08:13:00 -04:00
James
b71ba86a3a Update copyright per plugin 2017-05-21 16:37:27 -04:00
James
a13247ad4b Updates for #646
Squashed commit of the following:

commit 9d6d5e92dabb75c4eb185b061d20f487b8856795
Author: James <jamesagnew@gmail.com>
Date:   Sun May 21 15:27:26 2017 -0400

    Get subscriptions working

commit 6bccdd7594f0a4f802212e11cc823f7a92dd9a5c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Sun May 21 14:37:40 2017 -0400

    Work on subscription

commit 129f4c9d0d1e6c8fa56dbc5cf78a34c1d6659705
Author: James <jamesagnew@gmail.com>
Date:   Sat May 20 19:58:11 2017 -0400

    Work on merging subscription
2017-05-21 15:28:08 -04:00
James Agnew
11eeeedf0d Merge pull request #646 from javajeff/master
Resthook subscription implementation, event driven websocket subscrip…
2017-05-20 18:26:19 -04:00
James Agnew
5ef8b70a1f Merge branch 'master' into master 2017-05-20 18:25:02 -04:00
James
78643981f6 Credit and test for #636 2017-05-20 18:12:34 -04:00
James Agnew
77109cb76b Merge pull request #636 from gijsbert802/fix-hex-encoded-xml-entity-parsing
Fix parsing of hexadecimal encoded entities.
2017-05-20 18:10:27 -04:00
James Agnew
9ca8a285b9 Merge pull request #633 from gijsbert802/use-charset-from-http-header-2
Use the charset from the content-type header of the HttpRequest instead of always using the default charset.
2017-05-20 17:59:03 -04:00
James
db1e046f91 Credit for #633 2017-05-20 17:58:34 -04:00
James
20c14fe8a6 Make sure we don't update unchanged resources in a transaction 2017-05-20 17:55:09 -04:00
James
d550392047 Fix nullpointer exception 2017-05-20 11:44:03 -04:00
James
f6ee4db598 Process :missing qualifier on date params 2017-05-19 20:36:06 -04:00
James Agnew
7a24bff0eb Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-19 17:15:07 -04:00
James Agnew
a7bb01393a Add tests 2017-05-19 17:14:50 -04:00
James
2143c6906b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-05-19 10:13:45 -04:00
James
235bdcc4fc Add testing hooks to testpage overlay 2017-05-19 10:11:11 -04:00
James
7c48eadf38 Add tests 2017-05-19 06:50:01 -04:00
James Agnew
8701e3ad61 Change millis to int for stopwatch 2017-05-18 22:06:40 -04:00
James Agnew
9ea8e7822a More fixes for chaining on custom search params 2017-05-18 17:16:30 -04:00
James Agnew
d58a9e7ed4 Further fixes to searching on a chained value 2017-05-18 10:48:05 -04:00
James Agnew
45041830bc Server now respects the If-Modified-Since header for read operations 2017-05-17 14:57:05 -04:00
James Agnew
a92d80d860 Correctly encode extensions on the root of a resource with type
reference
2017-05-17 12:40:10 -04:00
James Agnew
7bb9e5edd9 Custom search parameters could not chain an extension param 2017-05-17 10:46:22 -04:00
James
5ac91bfb94 Add a test for custom params 2017-05-17 08:19:11 -04:00
James Agnew
b2996d3550 Fix interceptor behaviour 2017-05-15 23:12:50 -04:00
James Agnew
d87b4f2062 Re-enable daoconfig interceptors 2017-05-15 22:11:29 -04:00
James Agnew
4948cdeef5 Fix broken test 2017-05-15 18:22:46 -04:00
James Agnew
7f2faae85e Fix #563: JSON Parser gave a very unhelpful error message (Unknown attribute 'value' found during parse) when a scalar value was found in a spot where an object is expected. This has been corrected to include much more information 2017-05-15 18:06:55 -04:00
James Agnew
48520832ef Doc updates and allow DSTU3 resources in some annotations that
previously didn't allow it
2017-05-14 22:03:38 -04:00
James
da2d7c3bc3 Clean up testpage overlay 2017-05-14 11:27:52 -04:00