Commit Graph

438 Commits

Author SHA1 Message Date
jamesagnew ff5d14dade Return HTTP 412 for validation failure in JPA DSTU2 2015-09-15 09:09:07 -04:00
jamesagnew b1df85eb37 Validation now working completely in JPA server 2015-09-15 08:27:49 -04:00
jamesagnew c96d5efe1f Work on updating validator 2015-09-14 08:22:43 -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
James Agnew 2c1ca358fe Work on CLI 2015-09-11 16:13:40 -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 4dfecbdc74 pom refactoring 2015-09-08 08:14:55 -04:00
jamesagnew 7217458681 Allow storage of Conformance resources in JPA 2015-09-07 21:31:10 -04:00
miantorno a4d973696e Updating pom.xml files for dstu2. 2015-09-03 14:36:37 -04:00
jamesagnew f3e44eea3b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-03 08:08:13 -04:00
James Agnew ae177b52e8 Populate Bundle.entry.fullUrl 2015-09-02 13:42:59 -04:00
James Agnew 6a2045fe12 Fix build 2015-09-02 13:00:08 -04:00
James Agnew 901cef837b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-09-02 11:27:49 -04:00
James Agnew fa76071bd3 Return last updated time and version ID for instance $meta operation 2015-09-02 11:26:40 -04:00
jamesagnew 875ad3b5f9 Correct tag handling for DSTU2 2015-09-02 07:46:52 -04:00
jamesagnew 517222d183 Fix tests 2015-09-01 18:24:32 -04:00
James Agnew febae3f07d Add tests 2015-09-01 17:48:20 -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
James Agnew 71c28b5709 More fix build 2015-08-31 09:40:44 -04:00
James Agnew fc36dabc68 Fix build 2015-08-31 09:23:21 -04:00
jamesagnew a9f978a8a2 Udate to latest DSTU2 definitions 2015-08-31 08:20:24 -04:00
James Agnew eaa2519696 iAdd some tests 2015-08-28 18:00:32 -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 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
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 4d04b9cc6a Fix #206 - Don't require hl7org structures to start JPA server 2015-08-19 07:47:45 -04:00
James Agnew c2fba2ce21 More work on interceptors 2015-08-17 18:35:51 -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 77f151901a Get coded valuesets working once again for DSTU2 resoruces 2015-08-13 17:58:31 -04:00
James Agnew 4d8efb6455 Merge branch 'dstu2_final' of github.com:jamesagnew/hapi-fhir into dstu2_final 2015-08-09 17:38:19 -04:00
James Agnew 28d35fe1fe Add tests 2015-08-09 17:28:29 -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 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
jamesagnew e457366ffa Start work on upgrading DSTU2 to QA version 2015-07-25 11:56:47 -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 93c04bd939 Another unit test for #198 2015-07-20 21:12:00 -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 5a450227b2 Fix unit test issues 2015-07-18 17:05:10 -04:00
jamesagnew 22ffa16bb3 Fix examples 2015-07-18 16:42:59 -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 41283d4ed4 Add $get-resource-counts operation to JPA server 2015-07-17 18:28:47 -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 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 f2a725ae53 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-07-10 09:18:14 -04:00
jamesagnew 89965fb6bd Working on valueset operations in JPA 2015-07-10 08:30:58 -04:00
James Agnew 75e9b711a5 Cleanup $everything for Patient and Encounter in JPA 2015-07-09 09:47:28 -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
James Agnew 2d05b48bdc Fix broken unit test 2015-06-25 10:44:44 -04:00
James Agnew af33664e7c Support _count on JPA search in transaction 2015-06-25 10:32:03 -04:00
James Agnew dd9f80ecb1 Clean up warnings 2015-06-24 12:26:40 -04:00
James Agnew e616fc85d3 Fix build 2015-06-24 09:26:33 -04:00
jamesagnew da2d4d0497 Stlye issues only 2015-06-24 08:22:05 -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
James Agnew 9c89eb2dee Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-06-22 10:52:13 -04:00
James Agnew 4b0e390366 Add Unit Test 2015-06-22 10:52:07 -04:00
jamesagnew a4157c1339 Add sort on reference param for JPA server 2015-06-22 08:34:47 -04:00
jamesagnew 6907009cab Travis 2015-06-21 00:12:33 -04:00
jamesagnew 7acacda758 Travis 2015-06-21 00:07:48 -04:00
jamesagnew 772c9d1e7b Travis 2015-06-20 23:50:49 -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 886fa76ef2 Support ifNoneMatch in transaction request 2015-06-19 16:08:35 -04:00
James Agnew 84571f993c Support Questionnaire.answers indexing in JPA server 2015-06-18 18:51:11 -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 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
jamesagnew e536486638 Accept placeholder IDs in the JPA server even if they have no resource type in references to them (as is actually correct) 2015-06-11 21:20:27 -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 78d98d4728 Fix brokebn unit test 2015-06-08 19:19:00 -04:00
James Agnew 09d97106d3 Clean up exception handling 2015-06-05 11:57:13 -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 064f113133 Clean up resource parameter handling 2015-05-31 19:38:01 -04:00
jamesagnew 8f27462db7 Add support for _revinclude in web tester UI 2015-05-31 17:31:04 -04:00
James Agnew 3280375486 Fix $everything operation in generic client if the server returns JSON 2015-05-29 17:50:18 -04:00
James Agnew b89ee3d2a7 Add unit test for JPA 2015-05-22 16:30:14 -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 da3ec668de Work on #164 - Correct performance issue 2015-05-15 15:14:55 -04:00
James Agnew fbcd15a16d Test updates 2015-05-12 18:08:10 -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
James Agnew e7450941bc Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-05-08 11:19:32 -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 ce9a2da0e8 Fix failing unit test 2015-05-07 12:02:54 -04:00
James Agnew 9658cafdfc Credit 2015-05-07 11:31:17 -04:00
James Agnew 9d744f2a44 Fix unit tests 2015-05-07 11:22:05 -04:00
jamesagnew 5a7eb6f25e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-05-07 09:01:46 -04:00
jamesagnew a09c4438f2 Work on conditional operations in JPA 2015-05-07 09:01:28 -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 ab7b1c3a4f Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-05-02 14:38:14 -07:00
James Agnew 7ab0ea033c Add unit test logging 2015-05-02 14:14:41 -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 3fe60c3f1b Start syncing changes with SVN 2015-05-01 13:07:47 -04:00
James Agnew 5d58e17525 Just add some logging 2015-05-01 11:26:49 -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 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 0d71be25dd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-04-28 10:52:15 -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
jamesagnew 8f82dbb2f8 Merge branch 'master' of github.com:jamesagnew/hapi-fhir into hl7org_structs 2015-04-28 07:50:21 -04:00
jamesagnew 5b90014a34 Make structures jars optional 2015-04-28 07:49:43 -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 5bcd6a4751 Don't include an mpty text element in Bundles being returned by the server 2015-04-23 08:04:05 -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 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 3db46c2db2 More work on hl7org strfucts 2015-04-15 16:37:24 -04:00
jamesagnew 8c873ef023 Remove hard coded persistence context name 2015-04-09 21:44:18 -04:00