Commit Graph

335 Commits

Author SHA1 Message Date
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -04:00
jamesagnew 48917684fd Finish off #152 2015-07-21 08:28:40 -04:00
jamesagnew af0db664db Add tests for #192 2015-07-18 17:14:34 -04:00
jamesagnew 22ffa16bb3 Fix examples 2015-07-18 16:42:59 -04:00
jamesagnew 3bff020c54 Add exception pre processing method to server interceptors 2015-07-18 16:31:32 -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 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 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 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 61d4887f77 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-07-05 17:14:48 -04:00
jamesagnew 8a86ad5e76 Wide sweeping changes to get RI structures working in server mode 2015-07-05 17:14:15 -04:00
James Agnew ea2bb36950 Add test for #192 2015-07-03 13:59:28 -04:00
jamesagnew a4157c1339 Add sort on reference param for JPA server 2015-06-22 08:34:47 -04:00
jamesagnew e9ac63688c Finally have travis and coveralls working! 2015-06-21 00:48:10 -04:00
jamesagnew 71fbfe5214 Add consolidated test package and clean up tests for cobertura 2015-06-20 14:23:34 -04:00
James Agnew 9cf2b18d5d Fix broken unit test 2015-06-17 16:17:16 -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
jamesagnew 4ab8871a41 POM cleanup 2015-06-09 08:22:46 -04:00
jamesagnew 4d9b2c6e8c Fix #175 - Correctly parse ™ 2015-06-04 20:24:47 -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 177afd9f4d Unit tests for #175 2015-06-04 07:59:20 -04:00
jamesagnew e5b402cb14 Allow raw access to resource body in create/update/etc 2015-06-01 09:21:41 -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 834710df9b Work on #152 - Improved validation framework to enable failing if unexpected elements are found 2015-05-26 21:03:49 -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 30c7027616 Fix #149 - Use correct base URL on subsequent pages 2015-05-20 17:29:27 -04:00
James Agnew 0f9d4b8059 Add interceptor for syntax highlighting 2015-05-15 18:59:54 -04:00
James Agnew 7517709edb Fix #149 - Respect server address strategy for link-self on search
results
2015-05-15 17:51:06 -04:00
James Agnew fbcd15a16d Test updates 2015-05-12 18:08:10 -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 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 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 cb9716f885 More work to get build working 2015-05-01 11:44:06 -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 20a16d62fe More work on bugfixing #164 - Support for :missing 2015-05-01 08:20:01 -04:00
James Agnew 3fc6958ff2 Work on #164 - Add support for :missing in JPA server 2015-04-30 19:26:26 -04:00
James Agnew 5f4a966077 Work on #164 - Improve error messages when an invalid or missing content
type header is detected for creat/update requests
2015-04-30 12:04:51 -04:00
jamesagnew f8dee1f47a Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-04-24 09:05:34 -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 4f1d2a3c75 Merging cleanup from local branch with commit from #153 2015-04-20 15:28:20 -04:00
James Agnew dfbfed2d35 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-20 14:48:18 -04:00
James Agnew 02070affbf Merge pull request #153 from mochaholic/master
Read server interceptors from the spring context.
2015-04-20 14:47:24 -04:00
James Agnew 89519faa6f Just add some unit tests 2015-04-20 12:07:52 -04:00
James Agnew b42737262b Work on HL7org structs 2015-04-20 07:31:45 -04:00
James Agnew 3db46c2db2 More work on hl7org strfucts 2015-04-15 16:37:24 -04:00
b.debeaubien addcad7749 #157 - removed published from the xml embedded into tests 2015-04-15 11:25:58 -04:00
b.debeaubien de1effbf52 #157 - removed published from dstu1 bundle, as it should only be present for bundleEntry 2015-04-15 11:10:08 -04:00
b.debeaubien 6918bb6b4b #154 - FhirTerser now uses the complete path to a resource when creating ResourceReferenceInfo entries 2015-04-09 14:06:14 -04:00
mochaholic 3003b5e17b Update to the latest upstream. 2015-04-09 07:25:09 -06:00
jamesagnew 461fdb50ce Fix #143 and fix #146 - Issues with resource references for non contained resources when parsing a DSTU2 bundle, and issues encoding contained resources when encoding JSON 2015-04-03 15:42:02 -04:00
jamesagnew 4054aa781a Fix unit test 2015-04-02 15:01:25 -04:00
James Agnew 94af375e4d Fix #116 - Preserve _include links across pages 2015-04-02 12:49:45 -04:00
James Agnew 25a9c254e3 Sync to DSTU2 again 2015-04-01 16:03:54 -04:00
James Agnew 690bcb4b68 Add support for a NarrativeModeEnum parameter to interact with
_narrative in the request URL
2015-03-27 16:52:48 -04:00
James Agnew c484425c78 Update license file generation and gitignores 2015-03-26 11:57:07 -04:00
jamesagnew 986094617a Fix #135 - Remove Eclipse and IntelliJ artifacts from version control 2015-03-26 07:56:24 -04:00
James Agnew f9b8432d65 Searching in JPA server with no search parameters returns deleted
resources when it should exclude them
2015-03-24 18:39:19 -04:00
James Agnew 0c8f50737f Sync to latest version of DSTU2 2015-03-24 17:19:34 -04:00
James Agnew c7558c7780 Fix #131 - Narrative generator incorrectly sets the Resource.text.status
to 'generated' even if the given resource type does not have a template
(and therefore no narrative is actually generated).
2015-03-24 17:18:34 -04:00
James Agnew cffda7539f Work on support for $everything operation 2015-03-23 19:06:14 -04:00
James Agnew c8a70c1904 Fix #124 - Resource references shouldn't include version when they are
encoded
2015-03-23 07:55:32 +01:00
James Agnew e84fdb33b0 Fix up some regressions caused by move to DSTU2 style include paths and
work on revincludes
2015-03-22 16:59:10 +01:00
James Agnew 596dd664f9 Switch JPA server to use new include style 2015-03-22 13:04:52 +01:00
James Agnew ce4fc46958 Fix broken unit test 2015-03-21 09:15:48 +01:00
James Agnew cc7e8c424c Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServer.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/interceptor/ExceptionHandlingInterceptor.java
2015-03-21 08:58:49 +01:00
James Agnew 8f93366a43 Allow operations to work with GET 2015-03-21 01:03:57 +01:00
b.debeaubien 5956ab75fd #128 - pass RestfulServer into exception handlers so they don't need to use the possibly null RequestDetail to sort out the server and server base 2015-03-19 10:05:29 -04:00
James Agnew 5ee0286914 Fix #128 - Regression in 0.9 - Server fails with an HTTP 500 and NPE if
the client requests an unknown resource type
2015-03-19 13:51:03 +01:00
James Agnew 6020368162 Add setEncoding and setPrettyPrint methods to generic client, and add
documentation for #113
2015-03-19 12:16:04 +01:00
jamesagnew 43e2cd1653 Version bump to 1.0-SNAPSHOT 2015-03-16 09:06:53 -04:00
James Agnew adfbfcb96b Site and dist updates for 0.9 release 2015-03-13 17:59:55 -04:00
jamesagnew 3c6febb668 Preparing for 0.9 release 2015-03-13 08:34:52 -04:00
jamesagnew 745876c188 Fix unit test for #108 2015-03-12 22:19:52 -04:00
James Agnew 8434f96e97 Fix #111 - Don't return stack traces in server responses y default 2015-03-11 17:18:42 -04:00
James Agnew 4ac0ef4374 Add the ability to configure the default pretty-print and encoding for a
server
2015-03-11 14:16:32 -04:00
jamesagnew 1a4a23bdc5 Credit for #120 2015-03-11 09:11:36 -04:00
James Agnew 9a9501c53f JPA demo enhancements and site work 2015-03-10 17:56:55 -04:00
jamesagnew 009815786f Site updates 2015-03-10 08:40:15 -04:00
jamesagnew 102f509120 Merging #117 2015-03-09 19:29:54 -04:00
James Agnew 1fec2d0d67 -Accept content type of "application/fhir+xml" as XML encoding
-Correctly handle back button in testing UI for Firefox searches
2015-03-09 13:35:21 -04:00
James Agnew 7a953bf5de More work on operations support for DSTU2 2015-03-06 13:05:56 -05:00