2894 Commits

Author SHA1 Message Date
James Agnew
69849dd3c5 Optimize queries in JPA 2017-06-14 08:35:41 -04:00
James Agnew
959cb700fd Merge pull request #672 from jamesagnew/minute_precision_in_searchparams
Minute precision in searchparams
2017-06-12 11:50:09 -04:00
James Agnew
d59b832e74 Merge branch 'master' into minute_precision_in_searchparams 2017-06-12 11:50:01 -04:00
James
a50a86d9af Fix crash in JPA server if numeric search parameter has no value 2017-06-11 09:16:48 -04:00
James Agnew
404037b441 Fix some compile issues 2017-06-09 19:37:11 -04:00
James Agnew
7632cfa991 Fix local dependency 2017-06-09 19:21:04 -04:00
James Agnew
7588a2ecff Modify patch for #655 so that it fixes #604 without causing us to allow
invalid values
2017-06-09 16:30:20 -04:00
James Agnew
e1cfc8212e Merge in patch from #655 2017-06-09 15:36:19 -04:00
christian ohr
872d72629c #604:allow MINUTE precision for datetimes 2017-06-09 15:21:53 -04:00
James Agnew
c2e5fa3f18 Fix #667 - When using the AuthorizationInterceptor with the JPA server, when a client is updating a resource from A to B, the user now needs to have write permission for both A and B 2017-06-09 11:48:17 -04:00
James
14edc79ac1 Version bump to 2.6-SNAPSHOT 2017-06-09 07:28:29 -04:00
James
8b5209ff67 Version bump to 2.5 v2.5 2017-06-08 06:34:44 -04:00
James Agnew
b6e9a753ca Merge pull request #660 from HHSIDEAlab/fix-race-condition-in-if-none-exists
Hacky but workable fix for race condition surfaced by If-None-Exists creates
2017-06-07 21:51:05 -04:00
James Agnew
b2f95f2d1c Merge pull request #668 from jamesagnew/revert-655-master
Revert "Allow MINUTE precision for datetimes. Closes #604"
2017-06-07 21:43:12 -04:00
James Agnew
c04146a76a Revert "Allow MINUTE precision for datetimes. Closes #604" 2017-06-07 21:42:52 -04:00
James
401185baff Fix for #660 2017-06-07 21:39:38 -04:00
James Agnew
4caa5dfa8d Merge pull request #656 from aehrc/feature/scalable_searchbuilder
Improve SearchBuilder query generation for code:modifier searches
2017-06-07 21:35:50 -04:00
James
72fbd045d9 Credit for #656 2017-06-07 21:34:11 -04:00
James Agnew
1b557b05f0 Merge pull request #655 from ohr/master
Allow MINUTE precision for datetimes. Closes #604
2017-06-07 21:30:33 -04:00
James
1404aa02c4 Credit for #655 2017-06-07 21:29:16 -04:00
James Agnew
30b18c9a72 Merge pull request #652 from joelsch/upload-definitions-bugfix
revise ValueSet/request-intent URL, to resolve CLI upload-definitions problem
2017-06-07 21:23:09 -04:00
James
d57a8a6c2b Credit for #601 2017-06-07 21:22:38 -04:00
James
993e99770d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-06-07 21:20:45 -04:00
James Agnew
7d5fbe7482 Merge pull request #649 from iceoss/rest-client-patch
Null access fix for BaseClient exception handlers.
2017-06-07 21:15:22 -04:00
James
e03549daae Credit for #649 2017-06-07 21:14:53 -04:00
James Agnew
7c6bb01a8b Don't allow JPA server to save duplicate or empty tags, and fix #664 by
preventing multiple threads from loading structure definitions for
validation at the same time
2017-06-06 16:44:13 -04:00
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
Michael Lawley
d0a927ae3f use disj. of AND and IN for code:modifier searches
Without this, OR conditions with too many disjuncts are generated which can lead to
failures in the underlying database code generation.
2017-05-29 14:57:16 +10: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
christian ohr
aafde2eceb #604:allow MINUTE precision for datetimes 2017-05-26 15:27:58 +02: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
Joel Schneider (NMDP)
dbdebdbcda revise ValueSet/request-intent URL, to resolve CLI upload-definitions problem 2017-05-22 23:39:12 -05: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