Commit Graph

895 Commits

Author SHA1 Message Date
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
James Agnew dd9f80ecb1 Clean up warnings 2015-06-24 12:26:40 -04:00
jamesagnew da2d4d0497 Stlye issues only 2015-06-24 08:22:05 -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 685fa6d164 Code and site cleanup 2015-06-21 22:10:13 -04:00
jamesagnew b48843a128 More work on test coverage 2015-06-21 12:16:33 -04:00
jamesagnew 591f16fa9d Fix cobertura 2015-06-21 00:56:23 -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 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
jamesagnew 0f2d742872 Documentation updates 2015-06-17 19:56:57 -04:00
James Agnew 9cf2b18d5d Fix broken unit test 2015-06-17 16:17:16 -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
jamesagnew 7086508ead Start working on DSTU2 support for testpage overlay 2015-06-15 08:33:18 -04:00
James Agnew 0cc53ca742 Documentation updates 2015-06-12 17:50:01 -04:00
James Agnew a46890b0d2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-12 11:09:55 -04:00
James Agnew 9b280e0ab7 Remove dependency on servlet-api in client 2015-06-12 10:02:52 -04:00
jamesagnew 0479a48a41 Correctly handle Bundle.entry.base 2015-06-12 08:27:03 -04:00
James Agnew 6077114b32 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-11 14:24:58 -04:00
James Agnew f40955c2cb Remove dependency on ServletInputStream 2015-06-11 14:24:40 -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
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 8c3c8e215f Fix #178 - Allow links in Bundle.entry when parsing old Bundle in DSTU2 mode 2015-06-04 08:19:17 -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
jamesagnew 4a5e13b301 Work on synchronizing the HL7.org structures 2015-05-31 16:52:31 -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 11d22b1b1f Site updates and clean up RI IdType 2015-05-28 08:35:49 -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
jamesagnew e22f52ca44 Add paging methods to generic client for DSTU2 bundle 2015-05-25 07:59:06 -04:00
James Agnew ec3c94a823 Update RI structures 2015-05-22 17:32:36 -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
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 05cccdb6e5 More work on structs 2015-05-05 13:16:10 -04:00
James Agnew 496333b5e0 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-04 11:08:37 -07:00
James Agnew 7585256037 Add some logging 2015-05-04 11:08:01 -07:00
James Agnew ab6cb24f5a Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-04 10:05:57 -07:00
James Agnew 0af3518772 Merge pull request #171 from joel-costigliola/master
Fix #169 - Add an exception for HTTP 403 Forbidden error
2015-05-04 10:04:27 -07: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 ae81ad29f6 Unit tests all passing 2015-05-02 14:04:43 -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 880ab84ce8 More work on structs 2015-05-01 12:27:56 -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 629bc5b7d3 HL7org unit tests all pass 2015-05-01 11:09:29 -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
Joel Costigliola 00f83ee3a7 Fix #169 - Add an exception for HTTP 403 Forbidden error 2015-05-02 00:19:04 +12: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
James Agnew 5cf5bb0473 Fix #167 - Rename "myEntityManagerFactory" to just
"entityManagerFactory" as this is the default expected in some spots in
Spring
2015-04-30 09:36:14 -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 b68ce95b3f Fix #36 - Allow removal of extensions 2015-04-28 13:58:22 -04:00
James Agnew 3a1cc48048 Fix broken unit test and allow invalid dates in web testewr UI 2015-04-28 10:33:14 -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
jamesagnew e6d087b1f6 Add docs to explain #161 2015-04-23 21:46:49 -04:00
James Agnew 7db7097e25 Fix #162 - Allow web testing UI to configure the client 2015-04-23 17:52:51 -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 37ed62f863 Add advanced JPA example 2015-04-22 10:08:33 -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 4f1d2a3c75 Merging cleanup from local branch with commit from #153 2015-04-20 15:28:20 -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 b42737262b Work on HL7org structs 2015-04-20 07:31:45 -04:00
James Agnew eddcf5f4d8 Merge branch 'hl7org_structs' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-04-15 16:37:35 -04:00
James Agnew 3db46c2db2 More work on hl7org strfucts 2015-04-15 16:37:24 -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
James Agnew 41c215efe2 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-15 10:57:43 -04:00
James Agnew ddd68b8d57 Credit for #155 2015-04-15 10:57:15 -04:00
James Agnew 7f7ff5c936 Merge pull request #155 from wdebeau1/master
#154 - FhirTerser now uses the complete path to a resource when creating...
2015-04-15 10:48:52 -04:00
jamesagnew cfff2006ec More work on HL7org structs 2015-04-15 07:49:18 -04:00
jamesagnew 2edc7eadab Work on HL7.org structs 2015-04-13 08:32:49 -04:00
jamesagnew b6f2b57ed9 Work on HL7 structs 2015-04-10 08:02:05 -04:00
jamesagnew 8c873ef023 Remove hard coded persistence context name 2015-04-09 21:44:18 -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
mochaholic e4b5943314 Merge remote-tracking branch 'origin/master'
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/JsonParser.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/parser/XmlParser.java
2015-04-09 07:24:40 -06:00
jamesagnew 11507ef97c Fix #148 - Add _count support to everything operation 2015-04-05 14:53:15 -04:00
jamesagnew 8c37973a78 Fix #147 - no duplicates in 'everything' operation 2015-04-04 23:36:04 -04: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
James Agnew 29140691d1 Add a bit of documentation to note the inclusion of #138 2015-04-02 13:06:17 -04:00
James Agnew 94af375e4d Fix #116 - Preserve _include links across pages 2015-04-02 12:49:45 -04:00
jamesagnew e63323ca5c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-01 21:46:49 -04:00
James Agnew 065b87c31e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-01 16:29:04 -04:00
James Agnew 25a9c254e3 Sync to DSTU2 again 2015-04-01 16:03:54 -04:00
b.debeaubien 243b9a71a4 #138 - rewrote to always use super's address base, then fixup the host name and protocol 2015-03-31 12:53:40 -04:00
b.debeaubien d111d19071 #138 - if x-forwarded-proto is set, use that 2015-03-30 17:23:50 -04:00
b.debeaubien dbc944f4fc #138 - AddressStrategy that can cope with addresses proxied by Apache http server 2015-03-30 12:20:47 -04:00
jamesagnew d6e8b66301 Add Google Errorprone compiler to build 2015-03-28 19:28:34 -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 4426080374 Documentaiton on idempotence 2015-03-21 09:12:41 +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