Commit Graph

1217 Commits

Author SHA1 Message Date
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