Commit Graph

313 Commits

Author SHA1 Message Date
James Agnew d3685e72ba Fix #241 and fix #247 - Don't encode UUID IDs on resources, and preserve
bundle type when retrieving pages
2015-10-29 15:38:19 -04:00
petervanhoute 367163c46a fix return url 2015-10-29 15:55:37 +01:00
jamesagnew 30ab0203a3 Refactor search capability in JPA out of resource specific module 2015-10-28 08:44:52 -04:00
jamesagnew f3552015cc Work on splitting out search in JPA 2015-10-27 20:23:49 -04:00
jamesagnew 5a2ee77142 Parser (XML and JSON) shouldn't encode an ID tag in resources
which are part of a bundle when the resource has a UUID/OID
				            ID.
2015-10-26 22:47:06 -04:00
jamesagnew 69658ab754 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-23 08:22:40 -04:00
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
James Agnew 8d515feb6d Fix #242 - Allow compartment and read method to coexist for server 2015-10-21 11:58:19 -04:00
James Agnew ec623ac55f Tests passing 2015-10-16 10:29:31 -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 16989435b0 Don't export a _format on paging links if the request didn't have one 2015-10-09 17:42:45 -04:00
de Beaubien, Bill 43f21c0dcf #241 - added ignored test demonstrating failure 2015-10-09 08:48:54 -04:00
James Agnew 4dbd180cf6 Clean up testing 2015-10-08 17:38:14 -04:00
petervanhoute 7f910974a2 create seperate response and server interfaces and classes for servlets and jaxrs 2015-10-07 17:11:16 +02:00
James Agnew 9fef4f6bab Allow valueset operations to work against type in JPA 2015-10-06 18:53:09 -04:00
James Agnew b62eb1168c Allow server operations to work at the type level 2015-10-06 11:45:49 -04:00
James Agnew 3d330de8ef Fix compile issue 2015-10-06 06:57:55 -04:00
James Agnew 80575b5380 Generic client now allows search by URL 2015-10-05 15:30:30 -04:00
James Agnew 48d56b4722 Fix connectathon discovered issues 2015-10-03 23:52:30 -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
James Agnew 68a5bd3b23 Add tests 2015-09-29 17:04:14 -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
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 d59c0ff404 Correctly index reference paths with multiple paths, and don't store duplicate indexes in JPA 2015-09-20 08:23:03 -04:00
jamesagnew 70e942e9f8 Version bump to 1.3-SNAPSHOT 2015-09-19 11:00:57 -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 d0bac3d419 Work on CLI tool 2015-09-13 22:06:31 -04:00
jamesagnew 48ee2cbee8 JPA server now correctly suppresses contents of deleted resources
in history
2015-09-12 09:45:12 -04: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
de Beaubien, Bill 5b64a7f569 #221 and now, with null-checking so the tests don't break... 2015-09-09 17:06:27 -04:00
de Beaubien, Bill b1db2bf2d8 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2015-09-09 16:47:20 -04:00
de Beaubien, Bill 27764da19a #221 Conformance date now defaults to the build date/time 2015-09-09 16:47:07 -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
jamesagnew f7667d2565 Add test 2015-09-09 07:34:31 -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
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 68cc2f0cfe Fix tests 2015-09-04 09:00:55 -04:00
jamesagnew f3e44eea3b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-03 08:08:13 -04:00
jamesagnew 8b20f3a77d Sync to 1.0.0 FHIR definitions 2015-09-03 08:07:43 -04:00
James Agnew ae177b52e8 Populate Bundle.entry.fullUrl 2015-09-02 13:42:59 -04:00
jamesagnew 64cc5d4659 Bump FHIR version to 1.0.0 2015-09-01 08:56:07 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
James Agnew 110abf7cb2 Switch from Cobertura to JaCoCo 2015-08-28 17:06:56 -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
James Agnew df4d371edc Add profile and security params for generic search 2015-08-24 15:23:28 -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 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
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 77f151901a Get coded valuesets working once again for DSTU2 resoruces 2015-08-13 17:58:31 -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
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 76c076a2d1 Add test for #205 2015-08-06 11:14:52 -04:00
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
James Agnew 11f031d052 Add contributed test 2015-07-21 11:33:36 -04:00
James Agnew 56a4c1b04b Add serialization support and fix build regression 2015-07-21 09:45:53 -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 61cb60b293 Operations which are not resource type specific were not showing up in REST server's conformance 2015-07-18 18:44:46 -04:00
jamesagnew a35d20b999 Fix #158 - Don't encode empty tags 2015-07-18 17:35:54 -04:00
jamesagnew 3bff020c54 Add exception pre processing method to server interceptors 2015-07-18 16:31:32 -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 2fc0d4c7a2 Clean up exception handling in server, and add QuestionnaireAnswers validation for JPA server 2015-07-16 20:16:51 -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
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
jamesagnew 1b82b7df65 Tests for #191 2015-06-25 07:42:16 -04:00
jamesagnew fed9f4d61e Add unit tests and update healthconnex server 2015-06-23 08:29:13 -04:00
James Agnew 70d4abdf06 Server should include lastUpdated in search responses if one is supplied
by the implementation. Also automatically include in this in JPA server
2015-06-22 16:27:08 -04:00
jamesagnew 71fbfe5214 Add consolidated test package and clean up tests for cobertura 2015-06-20 14:23:34 -04:00
James Agnew e8c75c5a45 Add support for _lastUpdated parameter in client and JPA server 2015-06-19 17:46:14 -04:00
James Agnew 12f3cfcab8 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-18 17:49:54 -04:00
James Agnew 269106074d DSTU2 server should indicate conformance for transaction operation 2015-06-18 17:49:33 -04:00
jamesagnew d0cffbf8c7 Revert change to make IdDt#isLocal() return true if the base is "urn:". This caused all kinds of regressions and was obviously a bad idea. 2015-06-18 09:00:56 -04:00
James Agnew a27acb9b79 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-17 14:32:42 -04:00
James Agnew 39dd48bc41 Automatically populate Bundle.entry.base when encoding a bunde 2015-06-17 14:32:11 -04:00
jamesagnew 1bde9ac5b3 Fully implement content type negotiation, and add checkstyle 2015-06-17 13:51:05 -04:00
James Agnew 6f7ef96b97 Support $validate operation correctly in DSTU2 clients and in testpage
overlay
2015-06-16 11:56:30 -04:00
jamesagnew 81bfc28147 Support $validate operatioh in DSTU2 client 2015-06-16 08:05:27 -04:00
James Agnew 00af19cea7 Test updates 2015-06-12 18:25:14 -04:00
jamesagnew 0479a48a41 Correctly handle Bundle.entry.base 2015-06-12 08:27:03 -04:00
jamesagnew 4ab8871a41 POM cleanup 2015-06-09 08:22:46 -04:00
jamesagnew fc4d2ae7e2 Work on conformance generation for operations 2015-06-04 22:23:57 -04:00
James Agnew f9a9232926 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-04 12:20:17 -04:00
James Agnew 62b0707b36 Support attributes longer than 512kb. 2015-06-04 12:19:10 -04:00
James Agnew 9b97fb0e97 Enable validation ($validate) operation in DSTU2 style 2015-06-04 10:56:13 -04:00
jamesagnew 8c3c8e215f Fix #178 - Allow links in Bundle.entry when parsing old Bundle in DSTU2 mode 2015-06-04 08:19:17 -04:00
jamesagnew 064f113133 Clean up resource parameter handling 2015-05-31 19:38:01 -04:00
James Agnew 3280375486 Fix $everything operation in generic client if the server returns JSON 2015-05-29 17:50:18 -04:00
jamesagnew e22f52ca44 Add paging methods to generic client for DSTU2 bundle 2015-05-25 07:59:06 -04:00
James Agnew ff6884223e Fix #170 - Better addXXX methods in structures. Also don't incorrectly
include IDs in client create requests, and add better getLink methods
to the bew Bundle resource structure.
2015-05-21 15:18:46 -04:00
James Agnew 0f9d4b8059 Add interceptor for syntax highlighting 2015-05-15 18:59:54 -04:00
jamesagnew 54fdd44189 Fix locale dependent unit test 2015-05-10 21:16:31 -04:00
jamesagnew e9c09c6ba0 Encode meta element even if it only contains tags 2015-05-09 18:01:53 -04:00
James Agnew 2ce921f39b Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-08 18:59:00 -04:00
James Agnew 3e382ab760 More work on RI structs 2015-05-08 18:49:31 -04:00
James Agnew eeba5812cb Finalize 1.0 release 2015-05-08 17:15:50 -04:00
jamesagnew 0f2976358f Version bump to 1.1-SNAPSHOT with more loggging 2015-05-08 08:54:40 -04:00
jamesagnew a731557516 Merge branch 'hl7org_structs' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-07 21:28:31 -04:00
jamesagnew 8e81b069af Merge 2015-05-07 21:24:52 -04:00
jamesagnew dfbe2415d1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-07 21:24:34 -04:00
jamesagnew 924ebf062e Preparing for 1.0 release 2015-05-07 20:51:37 -04:00
James Agnew fcbe969967 Disable broken unit test in JPA server for now 2015-05-06 10:24:27 -04:00
James Agnew 3a5d2e892a About to commit to SVN as well 2015-05-05 18:16:22 -04:00
James Agnew 70b3ae874e Fix locale depenency in tests 2015-05-05 13:56:19 -04:00
James Agnew 05cccdb6e5 More work on structs 2015-05-05 13:16:10 -04:00
James Agnew ab7b1c3a4f Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-02 14:38:14 -07:00
James Agnew aa2f2cee96 Merge branch 'hl7org_structs' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-01 13:52:24 -07:00
James Agnew 3fe60c3f1b Start syncing changes with SVN 2015-05-01 13:07:47 -04:00
James Agnew cb9716f885 More work to get build working 2015-05-01 11:44:06 -04:00
James Agnew 61f2838b3a More work getting unit tests passing 2015-05-01 11:16:41 -04:00
James Agnew 9755ae8d35 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-01 10:24:15 -04:00
James Agnew cb7d94841e Fix #168 - Client conformance check should use any registered client
interceptors
2015-04-29 20:02:01 -04:00
James Agnew 5e8fe01af1 Allow fluent client users to execute a transaction using a string as
input
2015-04-27 13:19:40 -04:00
jamesagnew f8dee1f47a Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-04-24 09:05:34 -04:00
jamesagnew 3d00800212 Fix #163 - Parser doesn't populate resource ID's Resource type 2015-04-23 22:19:04 -04:00
James Agnew 8072ca1bc1 Do HTTP post for tester UI create/updates 2015-04-23 16:57:50 -04:00
jamesagnew 5bcd6a4751 Don't include an mpty text element in Bundles being returned by the server 2015-04-23 08:04:05 -04:00
James Agnew e18433d709 Trying to remove empty text node 2015-04-22 17:45:00 -04:00
James Agnew 5310d684df Add some tests 2015-04-22 17:17:52 -04:00
jamesagnew 147305b70e More work on getting HL7org structs working 2015-04-22 07:46:33 -04:00
jamesagnew b222b76611 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs
Conflicts:
	hapi-fhir-android/pom.xml
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServerUtils.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/util/FhirTerser.java
	hapi-fhir-testpage-overlay/.gitignore
	src/changes/changes.xml
2015-04-21 13:30:58 -04:00
James Agnew 91167733c6 Don't return a Content-Location header when returning the new bundle
format
2015-04-20 17:32:20 -04:00
James Agnew b42737262b Work on HL7org structs 2015-04-20 07:31:45 -04:00