Commit Graph

1393 Commits

Author SHA1 Message Date
jamesagnew e1e6a0d5b0 Sync model with RI latest version 2016-05-28 10:35:08 -04:00
James Agnew b4de3aa5dd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-05-27 10:27:27 -04:00
jamesagnew 9ed1bb94f9 Remove some unused code 2016-05-26 21:42:03 -04:00
James Agnew a5debc07a3 DateTime parser incorrectly parsed times where more than 3 digits of
precision were provided on the seconds
after the decimal point
2016-05-25 19:20:51 -04:00
jamesagnew efe9cd1dd1 Work on term svc 2016-05-24 06:34:06 -04:00
jamesagnew ee031667c5 Fix #369 - FhirTerser cloneInto method fails if target contains extension 2016-05-23 09:20:40 -04:00
jamesagnew de65184afb Fix tests 2016-05-21 20:52:37 -04:00
jamesagnew 20b6994cc8 Fix #364 - Allow serializing custom types that contain custom datatypes 2016-05-21 14:35:10 -04:00
jamesagnew 3d8776f6ed Fix #363 - Allow remote references in JPA resources 2016-05-21 12:58:04 -04:00
James Agnew 6c3446dee1 Fix build 2016-05-17 11:30:57 -04:00
jamesagnew ddb35d0faa Merge branch 'term_svc' of github.com:jamesagnew/hapi-fhir into term_svc 2016-05-17 09:05:47 -04:00
jamesagnew 78fa6eaeaf More work on terminology service 2016-05-17 09:05:37 -04:00
James Agnew 7942d69d5d Accept conditional updates with _id as parameter 2016-05-16 19:11:25 -04:00
jamesagnew c7d191dc38 Fix all tests 2016-05-14 16:59:31 -04:00
James Agnew d5e2170595 Don't discard _count from parameters when method has @Count 2016-05-13 19:13:39 -04:00
James Agnew 563f4e4c46 Treat date eq params correctly 2016-05-13 18:49:41 -04:00
James Agnew 84a7856c19 Treat missing ID in resource body as warning 2016-05-13 18:04:07 -04:00
James Agnew abd8bc2f14 Work on term svc 2016-05-13 17:40:56 -04:00
James Agnew c94f4bb19b Work on term services 2016-05-11 06:30:45 -04:00
James Agnew 3e77d3e37e Add _has support (this is an experimental parameter being tested) 2016-05-10 11:47:30 -04:00
James Agnew 81cb769d18 Allow operation names to be escaped in URL 2016-05-07 19:28:36 -04:00
James Agnew af2b702aa4 Fixes from Montreal connectathon 2016-05-07 14:24:33 -04:00
Virdulys 2cf79d2767 Wrong comment, unable to set type in new versions 2016-05-05 15:23:50 +03:00
James Agnew 03e90b90c0 Merge pull request #359 from subhrajyotim/master
Fix: Add null check in JsonParser, Relax property handling introduced in Jaxp 1.5
2016-05-05 07:09:06 -04:00
James Agnew ad9ff20f8e Merge pull request #355 from euvitudo/jaxrsserver-with-dstu3
Updated jaxrsserver base and example for DSTU3
2016-05-05 06:58:17 -04:00
James Agnew 82c1e687fd Fix NPE in LoggingInterceptor 2016-05-04 11:48:50 -04:00
James Agnew ff562a3f00 Fix #360 - Correctly parse spaces in URL parameters 2016-05-04 10:09:02 -04:00
jamesagnew b4d3a7bb74 Don't highlight AJAX requests 2016-05-04 06:59:28 -04:00
Subhro 284f0f14b0 Fix: Add null check in JsonParser, Relax property handling introduced in Jaxp 1.5 for some compatibility with existing 1.4 version 2016-05-04 15:24:36 +05:30
jamesagnew 244cad6224 Allow validator exceptions to be ignored via confoguration 2016-05-03 21:58:09 -04:00
jamesagnew cce0ce6b8e Add parser for URL parameters to avoid Servlets using ISO-8859-1 instead of UTF-8 2016-05-03 08:58:56 -04:00
James Agnew 804149205a Work on getting tests passing 2016-05-02 11:42:55 -04:00
James Agnew c90795ccef Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-05-02 09:03:48 -04:00
jamesagnew 27ec35338a Update to latest structure defs and validator 2016-05-01 21:31:14 -04:00
jamesagnew e3e81ff202 Fix #352 - Client should auto download resource if server ignores prefer header 2016-05-01 09:30:12 -04:00
Phillip Warner 31d16fca03 Updated jaxrsserver base and example for DSTU3
Added support for specifying DSTU3 in the constructors, where the default is DSTU2, to maintain backwards compatibility.
Updated interface usage to IBase... (e.g., IResource -> IBaseResource), which is compatible with DSTU3.
Added tests specifically for DSTU3; kept the existing tests as DSTU2.
Provided examples for DSTU3.
2016-04-29 12:50:15 -06:00
James Agnew 2d81612cd8 Fix #350 - Correct serialization for custom types which have fields
replacing other fields
2016-04-28 13:25:20 -04:00
jamesagnew 8b3dd4234c Fix tests 2016-04-25 08:01:16 -04:00
jamesagnew 3fce4cb087 Fix #344 - make getResourceDefinition(String) and getElementDefnition(String) case insensitive 2016-04-25 07:19:31 -04:00
jamesagnew d45a9b67dc Allow forced IDs to be reused between resource types 2016-04-24 19:24:55 -04:00
jamesagnew 514da88787 Improve performance in parser when parsing large bundles 2016-04-23 13:54:16 -04:00
jamesagnew 3eb805fb0a Respect _format=application/xml+fhir 2016-04-23 12:17:27 -04:00
jamesagnew 941091dbf7 Deprecate fluent search without an explicit bundle type declaration 2016-04-23 10:15:13 -04:00
jamesagnew d76e0008ac Fix #342 - The HTTP 400 if request fail to parse 2016-04-22 07:19:57 -04:00
jamesagnew 38e80531bb Bump version to 1.6-SNAPSHOT 2016-04-22 07:05:05 -04:00
jamesagnew dd3f1dd33c Fix #345 - ResponseValidatingInterceptor throws an exception with response has no content 2016-04-22 07:04:14 -04:00
jamesagnew fcf0604e98 Site doc updates 2016-04-21 07:15:01 -04:00
James Agnew 2c665d1b39 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-19 21:58:37 -04:00
James Agnew 81fa46820a Correctly support _summary=search option 2016-04-19 21:58:20 -04:00
jamesagnew 3a0de6e6f8 Fix #339 - Disable XXE XML parsing vulnerability 2016-04-19 07:55:24 -04:00
James Agnew 153c3ac5aa Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-18 10:07:22 -04:00
James Agnew 54f89073fe Add option to validation uploader to specify FHIR version 2016-04-18 10:07:09 -04:00
jamesagnew f3a41570d3 Try to get tests workign on Travis.. yet again 2016-04-17 19:25:11 -04:00
jamesagnew 846e216c04 Fix tests 2016-04-17 12:58:36 -04:00
jamesagnew 5a818a38e8 FIx tests 2016-04-17 10:49:16 -04:00
jamesagnew 1af65ff5a8 Fix #335 (also fixes #336) - Correctly parse and serialize IDs on elements within a resource 2016-04-17 10:12:34 -04:00
jamesagnew 3f2b5fdeb7 Get security interceptor working 2016-04-16 10:22:43 -04:00
jamesagnew 533c0c87ab Fix tests 2016-04-14 09:14:32 -04:00
jamesagnew 72640dc720 Correct encoding order for DSTU2 resources 2016-04-14 07:53:37 -04:00
jamesagnew 8a37ed3b59 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-14 06:38:08 -04:00
jamesagnew 0780b7e472 Add tests 2016-04-14 06:36:29 -04:00
James Agnew a090f5481f Try to get cobertura working 2016-04-13 10:33:58 -04:00
James Agnew 072ec29f13 Fix build error 2016-04-11 10:52:27 -04:00
jamesagnew d7c683f6b9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-04-11 09:08:34 -04:00
jamesagnew 2f37015d57 Clean up parsers so that elements are always encoded according to their order in the structures that contain them 2016-04-11 08:36:12 -04:00
James Agnew 88157fe1a6 Test data uploader fixes 2016-04-08 16:31:42 -04:00
jamesagnew 5cd13bc73f Improve error logging when the wrong version structure is passed into a parser 2016-04-07 13:55:38 -04:00
James Agnew 39fc134482 Fix #326 - Correctly serialize DSTU3 references in JsonParser. Thanks to
@fw060 for the patch!
2016-04-05 16:33:29 -04:00
jamesagnew 079f966086 Parser enhancements when parsing bundles 2016-04-05 08:59:24 -04:00
jamesagnew 891dddff1e Work on auth interceptor 2016-04-04 06:21:49 -04:00
jamesagnew 45390ebc89 Don't parse 1974-12-25+10:00 as this is not a valid FHIR time 2016-04-03 18:45:08 -04:00
jamesagnew 20e04a7c80 Merge branch 'dstu3_structs' 2016-04-03 18:16:02 -04:00
jamesagnew 18b3d0df65 Update to DSTU3 Montreal definitions 2016-04-03 18:14:31 -04:00
jamesagnew 6d0dcc0213 More work on auth module 2016-04-02 08:59:01 -04:00
James Agnew c345209ce4 Fix #318 - Apply setDefaultTypeForProfile to contained resources 2016-04-01 17:10:49 -04:00
James Agnew 21b42acc94 Update licenses 2016-03-29 13:01:51 -04:00
James Agnew 46ba27ec8f Work on security interceptor 2016-03-28 20:51:27 -04:00
James Agnew b2f11e0bfc Fix #317 - Allow search params to be used when doing REST operations 2016-03-26 13:44:54 -04:00
James Agnew 6ffb1c8c56 Fix #312 - Don't fail if extension list contains a null 2016-03-25 19:27:18 +01:00
James Agnew f49130baf8 Add unit tests and documentation to the JAX-RS client implementation 2016-03-25 19:17:41 +01:00
James Agnew f9fa6265df Correctly handle JPA search by token with system but no code 2016-03-25 16:20:43 +01:00
James Agnew c6f06548fc Fix #315 - Use custom types for searches and other client operations
when requested
2016-03-24 11:09:41 +01:00
James Agnew 1adfc4b4d9 Fix #315 - Allow declaring of custom types for specific profiles 2016-03-22 11:46:08 +01:00
James Agnew ab4deb406c Allow runtime query of bound enum type 2016-03-18 19:41:43 +01:00
James Agnew 82c6d82444 Sere up Binary resources as binary content even if the browser puts
application/xml in the Accept header
2016-03-18 18:38:44 +01:00
jamesagnew 9aa7eea274 Add mode to parser to force it to not encode certain elements when serializing 2016-03-16 07:53:21 -04:00
James Agnew 00ced6a652 Improve performance of _lastUpdated queries in JPA server 2016-03-14 06:31:45 -04:00
James Agnew 6ddf91d9e2 Correctly handle extended operation in annotation based client where the
response is a raw resource and not a Parameters resource
2016-03-12 15:10:02 -05:00
James Agnew 452316aed7 Fix #313 - Do not treat OPTIONS [base]/foo as a request for server's
conformance statement. Thanks to Michael Lawley for reporting!
2016-03-12 14:53:20 -05:00
James Agnew ce253bed70 Properly deserialize bound codes 2016-03-12 13:23:55 -05:00
jamesagnew 232afee955 Improved error messages for #305 2016-03-11 07:56:00 -05:00
jamesagnew ed92f64e52 Fix #305 - Don't allow update resource body IDs to be missing or incorrect 2016-03-10 07:44:05 -05:00
jamesagnew 3897167518 Return correct bundle type on $everything operation 2016-03-09 23:11:40 -05:00
James Agnew 8de41ca8b4 Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
jamesagnew 99a4b2c29e Refactor JPA SearchBuilder 2016-03-05 20:46:04 -05:00
jamesagnew b147083f5a Fix #308 - Remove unneded warning on parsing declared extension 2016-03-02 22:18:33 -05:00
jamesagnew 970bc3ed89 One more test for #304 2016-03-02 07:29:09 -05:00
jamesagnew 94f50686bc Fix #304 - Better error message if wrong generic type is used 2016-03-02 07:06:17 -05:00
jamesagnew 3fd9f9518a Handle unexpected extensions when parsing using IParserErrorHandler 2016-03-02 06:52:46 -05:00
jamesagnew 496d866f48 Fix #274 - Primitive elements with no value but an extension were sometimes not encoded correctly in XML, and sometimes not parsed correctly in JSON. 2016-02-28 22:15:43 -05:00
jamesagnew 66ec863bde Fix build 2016-02-28 21:19:39 -05:00
jamesagnew ed5bffba9e Fix #299 - Don't crash if the client receives extensions in Bundle.entry.search 2016-02-28 19:38:54 -05:00
jamesagnew c7d3f39457 Fix #296 - Handle :missing qualifier on QuantityParam 2016-02-28 18:32:43 -05:00
jamesagnew d8c571dfdc Just some cleanup 2016-02-28 18:25:20 -05:00
jamesagnew c14a1330b4 Fix #302 - Don't crash server when adding profiles 2016-02-28 16:07:28 -05:00
jamesagnew 524b16b1e8 Fix header generation for clients 2016-02-28 15:44:10 -05:00
jamesagnew 1da5855c9c Add Eclipse files to git 2016-02-28 14:02:29 -05:00
jamesagnew f1e1ee9ff9 Merge JAX-RS client fixes 2016-02-28 13:34:57 -05:00
jamesagnew 69450c7dab Merge branch 'master' into jaxrs-client 2016-02-27 09:48:36 -05:00
James Agnew 7fdbee6f21 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-26 18:20:32 -05:00
James Agnew 39f6420066 Start working on compartment support 2016-02-26 18:16:35 -05:00
James Agnew d383b402d1 Correct handling of Binary resources in client and server where the
binary contains embedded FHIR content
2016-02-25 14:31:26 -08:00
James Agnew 4a26064cd6 In the client, the create/update operations on a Binary resource (which
use the raw binary's content type as opposed to the FHIR content type)
were not including any request headers (Content-Type, User-Agent, etc.) Thanks to Peter Van Houte of Agfa Healthcare for reporting!
2016-02-25 12:54:52 -08:00
James Agnew d11cbab15c Don't add WWW-Authenticate header to response on AuthenticationException 2016-02-25 11:03:04 -08:00
petervanhoute d64cf57b0d Inclusion of jaxrs-client : complete removal of the dependencies for jaxrsserver project to apache httpclient and httpcore and only rely on jax-rs 2016-02-25 13:38:31 +01:00
petervanhoute f8ea639af9 Merge remote-tracking branch 'remotes/petervanhoute/jax-rs-client': inclusion of jaxrs client by addition of interfaces around the apache client classes 2016-02-24 18:04:49 +01:00
James Agnew 1ba0ae3960 Support inline match URL references, per Simone's requast for the next
connectathon
2016-02-23 13:12:30 -08:00
jamesagnew fd2eaff12d Fix javadoc 2016-02-19 06:53:23 -05:00
jamesagnew 6ce4056f7a Fix #298 - Don't handle /metadata for methods other than GET 2016-02-19 06:40:07 -05:00
jamesagnew 43bdfc0345 Fix #297 - Resource not populated in ActionRequestDetails for validate method 2016-02-19 06:21:05 -05:00
jamesagnew 4975d212fa Add userdata map to interceptors which can be passed around 2016-02-17 08:05:55 -05:00
jamesagnew 9b304748ad Work on terminology service 2016-02-16 21:29:00 -05:00
jamesagnew c1141eb18f Reorganize how search param prefixes are handled and modelled based on new DSTU2 style prefixes 2016-02-15 10:05:39 -05:00
jamesagnew 23f9292b50 Add support for comments in XML and JSON parsing/encoding 2016-02-08 22:05:17 -05:00
James Agnew 961cde41bd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-02-08 14:22:20 -05:00
James Agnew f21851099c Version bump 2016-02-08 13:59:09 -05:00
jamesagnew d93c54c0aa Version bump to 1.5 2016-02-06 14:18:56 -05:00
jamesagnew 0ff111be87 Fix #291 - Don't fail the server for untyped list returns 2016-02-06 14:18:04 -05:00
petervanhoute f9e4398c89 fix pom 2016-02-05 14:59:10 +01:00
James Agnew 68b816dce7 Prepare for 1.4 release 2016-02-03 16:56:32 -05:00
James Agnew e0e52f96c6 Version bump to 1.4 (finally!) 2016-02-03 15:25:32 -05:00
James Agnew def7fc93e0 Merge pull request #289 from petromykhailysyn/master
ServletContextPath can start with servletPath, it should be taken into consideration
2016-02-03 14:06:18 -05:00
jamesagnew 93d9011691 Fail server if conditional param is not of type String 2016-02-02 07:11:18 -05:00
jamesagnew 32daeb6f58 Switch DSTU2.1 to DSTU3 per FMB's decision 2016-02-01 08:55:58 -05:00
James Agnew 914f615b8e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-28 11:35:16 -05:00
jamesagnew ecc48317f2 Version bump dependencies 2016-01-28 08:31:19 -05:00
jamesagnew 00f0ea4a0b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-27 08:36:10 -05:00
jamesagnew 1bc35f1ba3 Support modifiers on token parameters 2016-01-27 07:05:41 -05:00
petromykhailysyn a7313023f7 Revert "If servletContextPath is not root (application is deployed not to the root) we should take it into consideration while determinating server base."
This reverts commit 0e3bb5a797.
2016-01-26 17:02:24 +02:00
petromykhailysyn 83823aad35 ServletContextPath can start with servletPath, now it's taking into consideration while determinate contextIndex. 2016-01-26 16:29:16 +02:00
James Agnew 7ed14d538a Remove warning 2016-01-24 14:53:40 -05:00
petromykhailysyn 0e3bb5a797 If servletContextPath is not root (application is deployed not to the root) we should take it into consideration while determinating server base. 2016-01-22 10:42:36 +02:00
Matt Blanchette 0f835b5e55 Exposing http client request pool max parameters on restful client factory:
* added setters on restful client factory to allow changing max total connections and max connections per route for pooling http connection manager
* added defaults for max total connections and max connections per route on restful client factory interface
2016-01-20 11:50:49 -05:00
jamesagnew 1ba03f4a9b Fix #283 - Remove servlet 3.0 dependency where possible 2016-01-20 08:11:03 -05:00
jamesagnew 944afc2785 Add better constructors for date types 2016-01-20 07:40:57 -05:00
James Agnew f9960b22d5 Clean up validation 2016-01-15 18:44:28 -05:00
James Agnew d290110126 Fix validation 2016-01-15 18:02:20 -05:00
James Agnew 589059256f Correct issues uncovered during connectathon 2016-01-11 07:42:13 -05:00
petervanhoute 8dadc77420 create jax-rs client 2016-01-08 12:01:56 +01:00
petervanhoute b6d3a003d3 move client api-classes into api package 2016-01-08 11:47:00 +01:00
petervanhoute 1271c36d1b create a jax-rs client 2016-01-08 10:50:04 +01:00
James Agnew c1afb4f54d Get overlay working for DSTU2.1 2016-01-07 15:04:56 -05:00
James Agnew 0c8c414784 Try to get travis working 2016-01-07 11:17:54 -05:00
James Agnew 479da24cfb Bump license files 2016-01-07 08:50:07 -05:00
James Agnew a54cb06c03 More travis cleanup 2016-01-06 14:02:20 -05:00
jamesagnew 56620eebfb Clean up testpage-overlay to work with DSTU2.1 2016-01-06 08:49:24 -05:00
James Agnew 2e434650ea Fixed to testpage overlay for DSTU2.1 2016-01-05 17:02:37 -05:00
jamesagnew b7aa4e15b9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-01-05 08:31:24 -05:00
jamesagnew 59da230702 Improving validation documentation 2016-01-05 07:20:54 -05:00
James Agnew 7005cd52d9 Performance tweaks to the validator and get the DSTU2.1 endpoint working
with validation
2016-01-04 17:57:00 -05:00
jamesagnew 685bd9345b Add request/response validator interceptors 2016-01-03 21:52:11 -05:00
jamesagnew 5789db8743 Remove dependency on cobertura at compile time 2016-01-02 10:55:52 -05:00
jamesagnew c8365ab566 Fix build 2016-01-01 23:18:44 -05:00
jamesagnew 718a26671f DSTU2.1 structures working 2016-01-01 16:59:19 -05:00
jamesagnew 056900f324 Lots more work on DSTU2.1 structures 2015-12-30 11:27:12 -06:00
jamesagnew 7692e5d714 More work on DSTU2.1 structs 2015-12-22 09:32:06 -05:00
jamesagnew 2469aa3725 Lots of DSTU2.1 structure work 2015-12-20 23:35:47 -05:00
jamesagnew aaf85f2323 Lots of work on DSTU2.1 structures 2015-12-20 09:29:52 -05:00
jamesagnew 6ac62a5b46 Merge branch 'master' into hl7org_dstu21 2015-12-15 20:33:31 -05:00
jamesagnew 3005c9a766 Still working on unit tests 2015-12-15 09:11:01 -05:00
jamesagnew 22ff1db183 Work on tests 2015-12-15 07:14:21 -05:00
jamesagnew 2b0a800d98 travis.... 2015-12-14 22:44:05 -05:00
jamesagnew c8535b72b6 More travis 2015-12-14 22:34:53 -05:00
jamesagnew 0bf5172de6 More travis work 2015-12-14 22:28:03 -05:00
jamesagnew b2a9836cda More logging to try and figure out the travis failures 2015-12-14 22:12:54 -05:00
jamesagnew a623003a56 Fix #240 - Support target resource type in server _include and _revinclude values 2015-12-14 21:50:35 -05:00
jamesagnew d95bd269c0 Correctly encode value[x] field names when the datatype is a profiled type such as markdown 2015-12-14 21:04:27 -05:00
James Agnew 2eaa1eddae Fix compile 2015-12-14 18:22:21 -05:00
James Agnew 9ef0498775 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-14 10:56:33 -05:00
jamesagnew 97d6d09663 Work on #240 - Not yet working in JPA 2015-12-14 08:17:33 -05:00
James Agnew 68bb244328 Lots of work on new structures 2015-12-13 22:44:41 -05:00
James Agnew 117f9eb977 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-12-10 08:24:30 -05:00
James Agnew 85ec9d9264 Work on 2.1 structures 2015-12-10 08:24:12 -05:00
jamesagnew 0a0daedcfd Still not working DSTU2.1 2015-12-09 22:49:02 -05:00
jamesagnew 67eb06665e Work on test indexing 2015-12-03 22:41:37 -05:00
jamesagnew 8ed9ca83af Fix build 2015-12-03 21:52:40 -05:00
James Agnew 547b5290a4 Update resource defs 2015-12-01 18:35:24 -05:00
James Agnew 4398040451 Add count(int) method to fluent client search 2015-12-01 10:22:50 -05:00
jamesagnew 07078e4ce3 Add GZip support to client and server for client-to-server uploads 2015-11-29 15:03:28 -05:00
jamesagnew d47e0e5e77 Add DSTU2.1 resources 2015-11-29 11:43:09 -05:00
jamesagnew e6b47855e6 Merge branch 'master' of git://github.com/petervanhoute/hapi-fhir into petervanhoute-master 2015-11-27 14:59:53 -05:00
jamesagnew 00be143207 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-11-26 07:03:14 -05:00
James Agnew a046afe1d0 Merge pull request #259 from nrpeterson/boundcodeableconcept-serialization
Add serializability for BoundCodeableConceptDt
2015-11-26 06:59:14 -05:00
jamesagnew 14e326c2bd Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-11-26 06:57:08 -05:00
jamesagnew 9c9ffe1fb7 Remove dependency on JDK 7 2015-11-26 06:56:52 -05:00
James Agnew 1fe3bb9ff0 Updates from DevDays 2015-11-23 06:13:02 -05:00
Nick Peterson 13b3601843 Make IBoundCodeableConcept and IValueSetEnumBinder extend java.io.serializable; add a test to verify that MaritalStatusCodesEnum in DSTU2 is now serializable. 2015-11-20 12:15:31 -08:00
James Agnew c78be081ef Add CLI test 2015-11-20 10:30:10 +01:00
James Agnew 2f12c9ed01 Bump version to 1.4-SNAPSHOT 2015-11-15 20:11:05 -05:00
James Agnew f9f33f059b Version bump to 1.3 2015-11-15 12:53:02 -05:00
jamesagnew 6fd5aecec7 Fix #250 - Honour Accept: text/xml and Accept: text/json 2015-11-05 07:32:33 -05:00
jamesagnew 3fc7a16735 Fulltext searching works 2015-11-02 08:12:36 -05:00
petervanhoute 63db1b646f test in weblogic: fix interceptor + stateless on abstract 2015-10-30 11:35:11 +01:00
James Agnew 2cc88d76eb Cleasn up JPA interceptors 2015-10-29 16:44:51 -04:00
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
petervanhoute a262bf64d0 fix paging 2015-10-29 15:54:09 +01:00
jamesagnew 65598c200e Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2015-10-28 07:39:18 -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
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