James
8c53ad24f7
Clean up authorization interceptor tests
2016-11-03 08:10:54 -04:00
James
3a5a771de7
Fix #484 - Correctly parse resources containing an empty div tag as the narrative
2016-11-03 07:51:11 -04:00
James
2a7fa4d8a5
Make authorizationinterceptor stricter
2016-10-22 18:00:55 -04:00
Bill Denton
913fd32c2b
Support JSON-like resource structures ( #469 )
...
* rebuild on 2.1 code and add more test coverage
* additional test coverage
2016-10-19 10:40:38 -04:00
James Agnew
3d686e9383
Fix #464 - Pretty print by default in ResponseHighlighterInterceptor
2016-10-18 14:58:28 -04:00
James Agnew
f5eda76388
Use new STU3 mimetypes by default
2016-10-06 12:17:59 -04:00
James Agnew
26cd316343
Fix #414 : Parser should not choke with a NullPointerException if it
...
encounters an extension without a URL
2016-09-30 17:35:29 -04:00
James Agnew
a95341d70f
Fix race conditions for tests
2016-09-26 12:37:03 -04:00
James Agnew
2c277864f1
Fix tests
2016-09-26 12:24:54 -04:00
James Agnew
2316a887c2
Add some test logging
2016-09-26 11:27:23 -04:00
James Agnew
3d73aad275
Fix unit tests
2016-09-21 16:58:57 -04:00
James Agnew
ae97165a0a
Add interceptor method on server which will be called after all other
...
processing
2016-09-18 16:08:16 -04:00
James Agnew
4de0e38e01
Add credit for #446 and #448
2016-09-16 13:16:28 -04:00
James Agnew
a2ffc6af05
Fix #444 - Correct handling of parsing milliseconds in dates before 1970
2016-09-09 18:18:28 -04:00
James Agnew
202a1ea885
Fix web testing UI regression
2016-09-06 17:59:04 -04:00
James Agnew
6b9f8ec487
Fix unit tests
2016-08-30 18:27:57 -04:00
James Agnew
906bcfb803
Version bump to 2.1
2016-08-30 10:55:55 -04:00
James Agnew
d27aad487e
Bump to 2.0 release
2016-08-30 10:50:04 -04:00
James Agnew
17940b8a24
Improve performance when parsing contained resources
2016-08-25 17:41:33 -04:00
James Agnew
9d3bd1ada4
Don't add an empty narrative if no template exists
2016-08-24 13:06:08 -04:00
James
9f5d672133
Improve error handling in narrative generator
2016-08-24 06:09:55 -04:00
James Agnew
c4d302df8d
Upgrade to Thymeleaf 3
2016-08-23 19:11:49 -04:00
James
696fa8701b
Add unit test for #428
2016-08-23 07:10:28 -04:00
James
35a890db34
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-08-22 07:42:02 -04:00
James Agnew
eee168ced6
Add support for conditional operations to AuthorizationInterceptor
2016-08-15 13:35:50 -04:00
James
b0d19c3a65
Fix #423 - Encode custom types with custom type fields correctly
2016-08-14 13:05:16 -04:00
James Agnew
74950a4efc
Fix regression when parsing contained resources
2016-08-05 18:01:44 -04:00
jamesagnew
7dbd5a21ca
Fix tests
2016-07-24 09:20:54 -04:00
James Agnew
94128e2e6d
Fix tests
2016-07-18 13:50:08 -04:00
jamesagnew
196c11bfa2
Use new style mimetypes but keep supportuing the old ones as well
2016-07-17 18:35:06 -04:00
jamesagnew
fa37afb61f
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-07-12 21:44:52 -04:00
jamesagnew
ed941a116b
Update to use GSON
2016-07-12 21:44:40 -04:00
James Agnew
c3e9f618eb
Version bump to 2.0-SNAPSHOT
2016-07-12 11:12:07 -04:00
jamesagnew
acaf2135c5
Finalize 1.6 release
2016-07-06 07:29:20 -04:00
James Agnew
344b1256ce
Add tests
2016-07-04 18:32:57 -04:00
James Agnew
e26e31ae02
Add test for #392
2016-07-04 13:25:49 -04:00
jamesagnew
a3af502ee2
Add test for #391
2016-07-03 10:23:48 -04:00
jamesagnew
4a49e5b7f9
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-07-01 14:31:25 -04:00
James Agnew
ea99672e6c
Add tests for term svc
2016-06-29 09:56:05 -04:00
James Agnew
d4baf38656
Add missing project file
2016-06-27 16:02:18 -04:00
James Agnew
b587e3695b
Add client integration test
2016-06-27 13:43:12 -04:00
jamesagnew
c28a2c40f0
Fix #394 - Don't use a method from Commons-Lang3 3.3
2016-06-27 06:19:22 -04:00
jamesagnew
fae4344c36
Add documentation around security interceptor
2016-06-25 11:27:55 -04:00
jamesagnew
556058a7b7
Tests passing
2016-06-25 10:55:31 -04:00
jamesagnew
16df4566bf
Add test for #390
2016-06-24 06:10:03 -04:00
jamesagnew
f4c6f09f08
Fix tests
2016-06-20 07:52:44 -04:00
jamesagnew
2e8c20dc83
More work on terminology services, and add support to operations to AuthorizationInterceptor
2016-06-20 07:19:08 -04:00
jamesagnew
a7cbb5c022
More test coverage
2016-06-18 13:32:45 -04:00
jamesagnew
b3d8d453de
Improve test coverage and clean up UnclassifiedServerFailureException processing
2016-06-18 10:37:43 -04:00
jamesagnew
dcecde5db9
Improve test coverage
2016-06-16 22:52:10 -04:00
jamesagnew
3a0f97b6c1
Fix test
2016-06-16 07:52:36 -04:00
jamesagnew
c9f85111ab
Add some tests to GenericClient
2016-06-16 07:42:06 -04:00
James Agnew
1683cf8cef
Switch to jacoco
2016-06-15 17:34:50 -04:00
James Agnew
e2f1beef2c
Fix some tests
2016-06-14 22:03:24 -04:00
James Agnew
f3dcc3e893
Add lots of tests
2016-06-14 17:57:08 -04:00
James Agnew
dba470f8d6
Add some tests
2016-06-14 07:24:03 -05:00
James Agnew
1166a2ee67
Work on support for _at parameter in history operation
2016-06-13 07:31:25 -05:00
James Agnew
23550240ad
Fix #378 - Include mandatory elements in server generated
...
OperationDefinition resources
2016-06-11 15:28:58 -05:00
James Agnew
8f1e45b3f3
Fix #379 - Server generated OperationDefinitions should generate
...
separate definitions for operations that are implemented against
multiple resource types
2016-06-11 14:46:13 -05:00
James Agnew
69572f7b3a
More tests for #381
2016-06-11 13:04:58 -05:00
James Agnew
34a3d7dbfd
More trying to fix tests
2016-06-11 07:09:30 -05:00
James Agnew
23840ecb7a
Fix some tests
2016-06-11 06:43:27 -05:00
James Agnew
fd8d67b9cd
Fix more unit tests for #380
2016-06-10 18:57:44 -05:00
James Agnew
035ed27dab
Fix #380 - Correct cardinality for OperationDefinitions
2016-06-10 17:15:16 -05:00
James Agnew
189038ad08
Fix #267
2016-06-10 10:49:51 -05:00
James Agnew
6c9707b86e
More work on #381
2016-06-10 10:16:10 -05:00
James Agnew
6eca6e5efe
Update ResponseHighlighterInterceptor to emit raw content for
...
_format=xml and _format=json
2016-06-10 10:15:41 -05:00
James Agnew
4cfabfe4a6
Rework tests for #381
2016-06-10 09:29:30 -05:00
James Agnew
a3484f84c1
Work on #381 - Still need to apply these changes to STU3 type
2016-06-09 21:48:53 -04:00
James Agnew
7e57aed5d6
Significant performance enhancements for context startup
2016-06-06 11:15:11 -07:00
James Agnew
99568a4b30
Clean up client fluent param types and add some test coverage
2016-06-05 11:33:43 -04:00
James Agnew
e011f6a843
Add tests for #372
2016-06-02 21:45:02 -04:00
James Agnew
39a96f0258
Fix #374 - Include ETag and Last-Modified headers in response
2016-05-31 13:44:21 -04:00
jamesagnew
820d1e0165
Fix build
2016-05-30 06:38:40 -04:00
James Agnew
f45ad117fe
Improve error messages for invalid validate request
2016-05-29 22:23:30 -04:00
James Agnew
6fcf2df8b4
Fix test
2016-05-27 10:38:35 -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
ee031667c5
Fix #369 - FhirTerser cloneInto method fails if target contains extension
2016-05-23 09:20:40 -04:00
jamesagnew
d022b7771b
Add test for #368
2016-05-22 15:10:57 -04:00
jamesagnew
77a84195f5
Encode lanugage as a string instead of an array
2016-05-22 14:38:20 -04:00
jamesagnew
20b6994cc8
Fix #364 - Allow serializing custom types that contain custom datatypes
2016-05-21 14:35:10 -04:00
jamesagnew
021025ffa9
Fix #366 - Return HTTP 400 instead of 500 when boolean values contain invalid string
2016-05-21 13:07:46 -04:00
James Agnew
abd8bc2f14
Work on term svc
2016-05-13 17:40:56 -04:00
James Agnew
54d0fa0faa
Add a new option to CLI run-server called "--lowmem" which puts the
...
server into low memeory mode
2016-05-10 13:45:30 -04:00
James Agnew
af2b702aa4
Fixes from Montreal connectathon
2016-05-07 14:24:33 -04:00
James Agnew
848ad158e2
Remove Remittance resource from DSTU2
2016-05-06 19:52:10 -04:00
jamesagnew
fb277a0595
Fix tests
2016-05-05 07:45:59 -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
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
3e8638a65f
Fix tests
2016-05-02 19:03:36 -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
9b55d0000b
Fix #354 - Bring back setFoo(List) and getFooFirstRep() methods to DSTU3 structures
2016-05-01 10:19:50 -04: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
d45a9b67dc
Allow forced IDs to be reused between resource types
2016-04-24 19:24:55 -04:00
jamesagnew
9631160942
Add unit test
2016-04-23 18:43:11 -04:00
jamesagnew
3eb805fb0a
Respect _format=application/xml+fhir
2016-04-23 12:17:27 -04:00
jamesagnew
38e80531bb
Bump version to 1.6-SNAPSHOT
2016-04-22 07:05:05 -04:00
James Agnew
81fa46820a
Correctly support _summary=search option
2016-04-19 21:58:20 -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
f616c22429
Fix cobertura fails
2016-04-11 14:53:38 -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
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
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
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
e5f353c27e
Fix #268 - Technically already fixed, just updating unit tests
2016-03-25 18:47:52 -04:00
James Agnew
d3dc9a9c2b
Fix build issue
2016-03-25 20:23:22 +01:00
James Agnew
20081a419d
Fix #320 - Don't generate binding enums for example binding fields on
...
resources
2016-03-25 20:15:01 +01: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
1adfc4b4d9
Fix #315 - Allow declaring of custom types for specific profiles
2016-03-22 11:46:08 +01:00
James Agnew
5895881fa5
Add test
2016-03-18 20:33:38 +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
James Agnew
8de41ca8b4
Attempting to reduce memory usage during tests
2016-03-06 14:38:18 -05:00
jamesagnew
b147083f5a
Fix #308 - Remove unneded warning on parsing declared extension
2016-03-02 22:18:33 -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
4573b86972
Add tests for #275
2016-03-01 07:34:11 -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
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
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
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
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
jamesagnew
4975d212fa
Add userdata map to interceptors which can be passed around
2016-02-17 08:05:55 -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
James Agnew
e0e52f96c6
Version bump to 1.4 (finally!)
2016-02-03 15:25:32 -05:00
jamesagnew
93d9011691
Fail server if conditional param is not of type String
2016-02-02 07:11:18 -05:00
jamesagnew
b7ec8f8ac0
Try to fix test
2016-01-30 11:16:12 -05:00
jamesagnew
0f07cac496
Fix #286 - Resource chains not added to conformance statement
2016-01-28 07:31:37 -05:00
jamesagnew
0aa0721632
Fix sometimes-breaking test
2016-01-21 21:40:04 -05:00
jamesagnew
9808ccd309
Add some tests that can be enhanced for #286 - These don't yet validate anything useful but they have chains
2016-01-21 06:41:04 -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
James Agnew
479da24cfb
Bump license files
2016-01-07 08:50:07 -05:00
jamesagnew
09b0982df1
Merge branch 'hl7org_dstu21'
2016-01-01 17:00:58 -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
Bill de Beaubien
c66429ef3c
#274 - test illustrating bug
2015-12-20 21:09:58 -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
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
jamesagnew
0a0daedcfd
Still not working DSTU2.1
2015-12-09 22:49:02 -05:00
jamesagnew
ea89f3af28
Correctly return profile
2015-12-09 07:07:05 -05:00
James Agnew
2f8278ff78
Fix build
2015-12-02 10:10:10 -05:00
jamesagnew
9dbeee3576
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2015-12-01 07:49:52 -05:00
jamesagnew
1eddb4db7f
Delete commented line per #251
2015-12-01 07:49:31 -05:00
de Beaubien, Bill
cc0bbc2f43
#264 - added test to demonstrate bundle validation issue
2015-11-30 12:38:43 -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
e6b47855e6
Merge branch 'master' of git://github.com/petervanhoute/hapi-fhir into petervanhoute-master
2015-11-27 14:59:53 -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
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
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
James Agnew
614b7e09e5
Bump to 1.0.2 FHIR definitions
2015-11-15 12:22:56 -05:00
jamesagnew
f13820b627
Fix #248 - Remove failing test in Italian locale
2015-11-03 22:22:13 -05: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
jamesagnew
30ab0203a3
Refactor search capability in JPA out of resource specific module
2015-10-28 08:44:52 -04:00
jamesagnew
f3552015cc
Work on splitting out search in JPA
2015-10-27 20:23:49 -04:00