Commit Graph

983 Commits

Author SHA1 Message Date
jamesagnew eea406e10e ResourceReferenceDt#loadResource(IRestfulClient) did not
use the client's read functionality, so it did not
				            handle JSON responses or use interceptors. Thanks to
								            JT for reporting!
2015-10-23 08:21:25 -04:00
jamesagnew e93f7542a5 Remove unused check 2015-10-23 07:22:15 -04:00
James Agnew 8d515feb6d Fix #242 - Allow compartment and read method to coexist for server 2015-10-21 11:58:19 -04:00
James Agnew 5edd290013 More work on JPA server transactions 2015-10-20 10:52:29 -04:00
James Agnew ae416dcd62 Improve nexted search/read handing in transactions in JPA server 2015-10-20 10:35:18 -04:00
James Agnew 6729ea0479 Work on support for transaction searches with paging in JPA 2015-10-19 20:21:06 -04:00
James Agnew e9d18af5d9 Bump library versions 2015-10-14 18:11:52 -04:00
James Agnew 0430eb1626 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-13 12:13:43 -04:00
jamesagnew 6d93cbcaae Get content search working correctly 2015-10-13 09:18:34 -04:00
James Agnew a2bf374470 Merge pull request #239 from botunge/master
Make dependencies truly optionel and clean up android pom.
2015-10-12 20:06:24 -04:00
jamesagnew 81a90ecca8 Temporarily restore file 2015-10-12 20:05:21 -04:00
jamesagnew cb886c2975 Remove unused BeanUtils 2015-10-12 19:54:23 -04:00
jamesagnew b827823004 Improve efficiency of JPA queries with _lastUpdated 2015-10-12 09:32:25 -04:00
James Agnew 16989435b0 Don't export a _format on paging links if the request didn't have one 2015-10-09 17:42:45 -04:00
jamesagnew 588016e406 Merge branch 'master' into fulltext 2015-10-09 09:15:48 -04:00
James Agnew 4dbd180cf6 Clean up testing 2015-10-08 17:38:14 -04:00
petervanhoute 1afaea81d6 rename jax-rs classes + add unit tests to example project 2015-10-08 09:08:22 +02:00
petervanhoute 7f910974a2 create seperate response and server interfaces and classes for servlets and jaxrs 2015-10-07 17:11:16 +02:00
jamesagnew ad868038a8 Work on Lucene searching 2015-10-07 09:01:32 -04:00
James Agnew 9fef4f6bab Allow valueset operations to work against type in JPA 2015-10-06 18:53:09 -04:00
Thomas Andersen 828a7966c7 some more test 2015-10-06 22:13:18 +02:00
Thomas Andersen 7ad5d6bba8 Move dependency on java.util.jar and java.beans to optional dependency
Move some more dependencies to optionel dependencies and write more test
for different base methods.
2015-10-06 22:13:15 +02:00
James Agnew b62eb1168c Allow server operations to work at the type level 2015-10-06 11:45:49 -04:00
James Agnew 80575b5380 Generic client now allows search by URL 2015-10-05 15:30:30 -04:00
Thomas Andersen 91afb99b7b make sure hapi fhir base creates sources jar
In order to streamline build of android jar with dependencies all
dependencies should publish a sources jar also.
2015-10-05 21:18:59 +02:00
James Agnew 43aad1eb98 Properly support chains in JPA conditional URLs 2015-10-04 15:38:58 -04:00
Thomas Andersen e040ef3f43 Merge remote-tracking branch 'upstream/master' 2015-10-04 21:07:46 +02:00
Thomas Andersen 64b70d412a move schematron validator to sub package 2015-10-04 21:05:55 +02:00
Thomas Andersen f4f57fd480 Make dependencies truly optionel + clean up / minimize android build
both Phloc and Schematron was not truly optionel since they was referred
from different files. So the references has been moved to a factory and
ObjectUtil extended for some of the missing methods, where Schematron
was used. Android pom file is cleaned so that all artifcates are build
using the same base configuration and then schematron, phloc and some
server components have been removed from artifact to minimize android
artifacts.
2015-10-04 21:05:30 +02:00
James Agnew 48d56b4722 Fix connectathon discovered issues 2015-10-03 23:52:30 -04:00
James Agnew c666b9c196 Fix compile issues 2015-10-03 16:11:47 -04:00
James Agnew e7e8f8dd81 Use correct status codes for failed deletes, and support multi delete in
JPA
2015-10-02 18:18:54 -04:00
James Agnew aa32e6f0a9 Improve ValueSet operations in JPA 2015-10-02 12:37:56 -04:00
petervanhoute b4df6f9612 add server using jaxrs 2015-10-02 11:27:21 +02:00
Thomas Andersen 9560ab8dd2 Remove server code from android client and make android client smaller 2015-10-02 00:13:19 +02:00
James Agnew 119a4f36d9 Add error checking and better handling for match URLs in JPA server 2015-10-01 16:54:34 -04:00
jamesagnew 900c93949a Work on subscriptions, and correct indexing of codes in JPA 2015-10-01 08:56:17 -04:00
jamesagnew f9e4a3e1b5 Fix #233 - elementQuantity gets incorrectly encoded as elementDuration 2015-09-29 19:41:31 -04:00
James Agnew ca8c257833 Support lastupdate filtering and sorting on JPA everything operation 2015-09-29 13:24:33 -04:00
James Agnew 1cc6a05273 FIx validation for resources using v2 tables 2015-09-29 10:51:36 -04:00
jamesagnew 9492744018 Work on subsciprions 2015-09-28 09:06:57 -04:00
James Agnew 51a046ea26 Handle sort by number, uti and token 2015-09-25 16:53:22 -04:00
James Agnew 1361e69177 Respect server default encoding if an Accept header is received which
indicates equal weight for both encodings
2015-09-24 17:52:52 -04:00
James Agnew 072c1ece87 Send Accept header on client requests, and allow string responses in
QuestionnaireResponse validator for questions of type OPENCHOICE
2015-09-24 13:40:07 -04:00
James Agnew bd4d7e276f Fix tests 2015-09-24 10:10:05 -04:00
jamesagnew 70eff0dc7f Improve error message when $meta-add and $meta-delete are called with no meta element in the
input parameters. Also improve OperationOutcome rendering in narrative generator.
2015-09-24 08:36:25 -04:00
jamesagnew 7e6844be56 Improve error message when JSON parser finds an object where an array is expected 2015-09-24 07:27:43 -04:00
jamesagnew a15ed8e944 Work on subscriptions, and correct an issue with DateRangeParam where comparators get ignored 2015-09-23 08:36:11 -04:00
jamesagnew ec8b3b68f6 Work on subscription 2015-09-22 08:06:23 -04:00
jamesagnew 04c2cce13f Start working on JPA subscriptions 2015-09-21 09:08:19 -04:00
jamesagnew 70e942e9f8 Version bump to 1.3-SNAPSHOT 2015-09-19 11:00:57 -04:00
James Agnew 00bf8231ba Upgrade coveralls plugin 2015-09-16 14:02:56 -04:00
jamesagnew 31934ff582 Version bump to 1.2 2015-09-16 07:09:03 -04:00
James Agnew 73121e222c Add tests 2015-09-15 14:11:55 -04:00
jamesagnew 3f7e4374b7 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-15 09:09:29 -04:00
jamesagnew d0bac3d419 Work on CLI tool 2015-09-13 22:06:31 -04:00
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