Commit Graph

927 Commits

Author SHA1 Message Date
jamesagnew 780fc871cb It should not be possible to search for deleted resources using the _tag, _id, _profile, or _security search parameters 2015-09-13 09:42:41 -04:00
jamesagnew 48ee2cbee8 JPA server now correctly suppresses contents of deleted resources
in history
2015-09-12 09:45:12 -04:00
Bryce Van Dyk 8c9e4ff39a Adjust the checkstyle location to play nice on Win
Removed the file:// prefix on the checkstyle config location, this is
needed for the site build to work on Windows. I've tested this on Linux,
though not as thouroughly.
2015-09-12 16:46:29 +12:00
jamesagnew 847b382ee8 Add tests 2015-09-10 07:51:13 -04:00
jamesagnew 8120ab2228 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-09 22:46:48 -04:00
jamesagnew 437625505c Add some tests and some cleanup of unused code 2015-09-09 22:41:10 -04:00
James Agnew 1961042d11 Remove useless warning 2015-09-09 16:16:18 -04:00
James Agnew 2a3088f2e2 Add tests 2015-09-09 16:08:21 -04:00
jamesagnew aa8334a99a Merge remote-tracking branch 'upstream/master' into osgi-pull-request 2015-09-09 08:41:45 -04:00
bdenton 9de81a1bd8 Providers can bedynamicaly registered at runtime 2015-09-09 07:01:15 -04:00
bdenton daedf63c46 Decouple RestfulService and ServerConformanceProvider to avoid cycle in
Spring wiring
2015-09-09 07:01:03 -04:00
James Agnew c534fb9604 Hopefully tests should pass now - Not using profile datatypes in encoded
choice names has been a pain!
2015-09-08 14:00:11 -04:00
James Agnew 69596abdc9 Once more fixing the build 2015-09-08 10:31:47 -04:00
jamesagnew a733ad0949 Fix build 2015-09-08 08:58:23 -04:00
jamesagnew 403fe28bd8 FIx build 2015-09-08 08:32:33 -04:00
jamesagnew bb5816d8e9 Fix second part of #216 - Correctly encode choice elements on profiled datatypes 2015-09-08 08:01:51 -04:00
jamesagnew 9af3fcf02d Allow browser requetsts to force a raw response 2015-09-07 21:52:35 -04:00
jamesagnew 08633066c6 Fix #216 - Unexpected attributes when parsing composite elements should be logged 2015-09-07 10:08:11 -04:00
James Agnew abdfb50b40 Fix a few tests and don't crash on old Woodstox 2015-09-04 13:59:57 -04:00
jamesagnew 773608f860 Validation documentation 2015-09-04 08:22:06 -04:00
jamesagnew 8b20f3a77d Sync to 1.0.0 FHIR definitions 2015-09-03 08:07:43 -04:00
James Agnew 97e6073665 Support URI (and prepare for lat/lon search params) in JPA server, and
don't store duplicate tags
2015-09-01 17:02:35 -04:00
de Beaubien, Bill bac4c4a2e9 Fix #214 - added totalResults to the hash of valid dstu1 keywords 2015-09-01 09:58:25 -04:00
jamesagnew f04147dcfd Fix compile problem 2015-09-01 07:07:45 -04:00
jamesagnew e8f5451cc9 Fix a few issues found by FindBugs 2015-09-01 07:05:27 -04:00
James Agnew 08b19f55ad Merge pull request #213 from SingingTree/javadocs_reference_github
Update Javadocs to reference Github docs
2015-08-31 16:18:38 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
Bryce Van Dyk eb7b405419 Update Javadocs to reference Github docs
Several Javadoc comments still reference the old Sourceforge based
documentation. These have been updated to point to the Github based
documentation where relevant, or removed in one case where the Github docs
do not appear to have such a section.
2015-08-31 18:46:05 +12:00
James Agnew 98a0d5a07a Delete old deprecated classes 2015-08-28 18:19:16 -04:00
James Agnew eaa2519696 iAdd some tests 2015-08-28 18:00:32 -04:00
James Agnew 110abf7cb2 Switch from Cobertura to JaCoCo 2015-08-28 17:06:56 -04:00
James Agnew bd13b53099 Fix #212 - Dont accept invalid IDs but do accept IDs starting with a
number
2015-08-28 15:36:56 -04:00
jamesagnew 073fa47807 Add support for _include:recurse behaviour 2015-08-27 19:44:51 -04:00
James Agnew 1577859340 Fix build 2015-08-24 18:46:07 -04:00
James Agnew 2733812535 Fix build 2015-08-24 18:39:49 -04:00
James Agnew 11c5ab7892 More auto qualify resource references 2015-08-24 18:33:28 -04:00
James Agnew 83a57f8e7c Auto qualify resource IDs 2015-08-24 18:21:34 -04:00
miantorno a5a18b9a14 DateTimeDt now returns an instance of itself when the TimeZone is set. 2015-08-24 16:48:00 -04:00
James Agnew df4d371edc Add profile and security params for generic search 2015-08-24 15:23:28 -04:00
jamesagnew bec43b3fdc Fix tests 2015-08-24 08:29:02 -04:00
jamesagnew 60339d6f93 Fix #209 - _revinclude results from JPA server should have a Bundle.entry.search.mode of "include" and not "match". Thanks to Josh Mandel for reporting! 2015-08-23 22:25:25 -04:00
jamesagnew 11376024fa Fixing test related to summary and elements mode 2015-08-23 21:51:46 -04:00
jamesagnew 44ac164eca Work on #125 - Support _summary and _elements 2015-08-23 13:29:57 -04:00
James Agnew 7645c240f4 Get instance validator working across FHIR versions 2015-08-20 15:27:24 -04:00
James Agnew ddc66d3ed0 Add support for $validate-code in JPA server 2015-08-20 14:27:19 -04:00
James Agnew 11f5aeebd9 Clean up the build and hopefully close #206 2015-08-19 11:49:00 -04:00
jamesagnew 6941f92090 Fix #207 - Confusing error message parsing invalid contained resources 2015-08-17 20:46:56 -04:00
James Agnew c2fba2ce21 More work on interceptors 2015-08-17 18:35:51 -04:00
James Agnew bb1e8b9ddd Last commit broke cobertura 2015-08-17 15:54:00 -04:00
jamesagnew ac564a54d6 Documentation cleanup 2015-08-17 07:57:20 -04:00
jamesagnew 330dbde983 Add new interceptor hook for auditing 2015-08-16 22:09:01 -04:00
James Agnew 89a7750bf4 Start working on action interceptor framework 2015-08-14 17:05:07 -04:00
James Agnew c859c9da91 Add withId(long) to fluent client read() method 2015-08-14 15:43:35 -04:00
James Agnew 2766af2693 Update definitions and correctly handle exceptions in
incomingRequestPreProcessed method in server interceptors
2015-08-13 16:59:10 -04:00
jamesagnew b28dba3540 Merge branch 'dstu2_final' of github.com:jamesagnew/hapi-fhir into dstu2_final 2015-08-09 17:20:30 -04:00
jamesagnew 12735a1446 Handle contact search params better 2015-08-09 17:17:53 -04:00
James Agnew 24634880db Update for QA version of DSTU2 2015-08-09 11:18:04 -04:00
James Agnew b36e4e5841 Merge branch 'master' into dstu2_final 2015-08-06 18:07:34 -04:00
James Agnew c838d651dd Fix fluent client search call so that it can be mocked with Mockito 2015-08-06 18:06:32 -04:00
James Agnew 43dd081098 Fix compile issues and keep working on android build 2015-08-06 13:13:03 -04:00
James Agnew af9c8faf89 Don't crash if resrouce references being parsed have unexpected child
elements
2015-08-06 10:50:36 -04:00
James Agnew 137a2cf7ec Enhancements to Android build 2015-08-06 10:15:58 -04:00
James Agnew 63defc2f30 Merge branch 'master' into dstu2_final 2015-08-05 13:29:20 -04:00
James Agnew fd91ce76ce Fix #192 - Correctly unescape search parameters in the server when they
have a trailing comma or an escaped backslash
2015-08-05 12:57:04 -04:00
James Agnew 5b09a3d2b6 Add trasnaction BATCH support to JPA 2015-07-31 09:29:25 -04:00
James Agnew d9d192cc04 Merge branch 'master' into dstu2_final 2015-07-30 22:34:45 -04:00
James Agnew ab2129d651 Implements support for _tag in JPA server and client 2015-07-30 07:47:37 -04:00
James Agnew 75798cf9fe Use HttpServletRequest.getContextPath to get the context path 2015-07-27 11:19:29 -04:00
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
James Agnew f1d7fb7b8a Cleanup 2015-07-21 11:46:16 -04:00
James Agnew f2bf199ac7 Fix build and sync RI 2015-07-21 10:58:02 -04:00
James Agnew 56a4c1b04b Add serialization support and fix build regression 2015-07-21 09:45:53 -04:00
jamesagnew 48917684fd Finish off #152 2015-07-21 08:28:40 -04:00
jamesagnew 99e92d8fca Operations in server generated conformance statement should only appear once per name, since the name needs to be unique. 2015-07-19 19:17:39 -04:00
jamesagnew a774a654ce Property document OperationDefinitions generated automatically by server 2015-07-19 11:10:46 -04:00
jamesagnew a35d20b999 Fix #158 - Don't encode empty tags 2015-07-18 17:35:54 -04:00
jamesagnew 5a450227b2 Fix unit test issues 2015-07-18 17:05:10 -04:00
jamesagnew 3bff020c54 Add exception pre processing method to server interceptors 2015-07-18 16:31:32 -04:00
jamesagnew 626f4677e7 Fix #198 - Sorting should only sort on the individual parameter searched on, not all params of the same type 2015-07-18 15:29:24 -04:00
jamesagnew 57ee1fe220 Fix unit tests failing due to OperationDefinition changes 2015-07-18 14:43:59 -04:00
jamesagnew 41283d4ed4 Add $get-resource-counts operation to JPA server 2015-07-17 18:28:47 -04:00
jamesagnew ddbe79cb86 For #126 - Don't use BoundCodeableConcept for empty enums 2015-07-17 08:34:44 -04:00
jamesagnew 3bdf846a3d Improve error messages in JPA server 2015-07-16 22:47:41 -04:00
jamesagnew 2fc0d4c7a2 Clean up exception handling in server, and add QuestionnaireAnswers validation for JPA server 2015-07-16 20:16:51 -04:00
James Agnew 3bba0c0425 Add validation module for QuestionnaireAnswers 2015-07-15 17:28:12 -04:00
jamesagnew 818c40498c Site updates 2015-07-15 08:37:56 -04:00
James Agnew 901c5c29cf Version bunp for 1.2 2015-07-14 18:08:06 -04:00
James Agnew 3fa7c54526 Tag 1.1 release 2015-07-13 10:31:02 -04:00
James Agnew 350028be73 Implement meta operations in client 2015-07-10 17:36:55 -04:00
James Agnew c22aa14d29 Clean up the validation framework and integrate the QuestionnaireAnswers
validator
2015-07-10 16:05:40 -04:00
jamesagnew d5b99c2c10 Fix broken build 2015-07-08 22:27:49 -04:00
James Agnew 3bfecb27a8 Update RI structures 2015-07-08 17:57:53 -04:00
James Agnew 373859c36c Fix regression 2015-07-07 18:18:11 -04:00
James Agnew ad0c51f600 Rename DAO classes per request from Ismael Sarmento Jr 2015-07-07 17:41:59 -04:00
James Agnew d20b7e2c94 A few cleanups to allow example resources to commit cleanly 2015-07-07 17:27:10 -04:00
James Agnew 0f76ba81e1 Fix #196 - Support deep chained parameters in JPA. Also add support for
Prefer header.
2015-07-07 10:41:07 -04:00
jamesagnew 8a86ad5e76 Wide sweeping changes to get RI structures working in server mode 2015-07-05 17:14:15 -04:00
jamesagnew 8b65a9aedf Indicate support for conditional create/update/delete in DSTU2 server conformance statement 2015-06-25 22:22:19 -04:00
James Agnew af33664e7c Support _count on JPA search in transaction 2015-06-25 10:32:03 -04:00
James Agnew 75f5b47762 Doc cleanup 2015-06-24 17:42:46 -04:00