James Agnew
ba896e2553
Clean up CORS
2016-11-21 13:37:59 +01:00
James Agnew
72a62817aa
Improve detection for #477
2016-11-15 05:54:56 -05:00
James Agnew
4252415e9c
Fix #477 - Gracefully handle unexpected elements starting with _
2016-11-15 05:44:45 -05:00
James
2d7592f7a8
Version bump to 2.2-SNAPSHOT
2016-11-11 22:39:45 -05:00
James
2dd26b6367
Version bump to 2.1
2016-11-11 15:16:53 -05:00
James Agnew
a03805a6d4
Clean up patch client
2016-11-11 15:08:16 -05:00
James
a5d5d3e031
Bump FHR version
2016-11-06 17:34:13 -05:00
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 Agnew
f5bec16cb4
Fix tests for #472
2016-10-26 14:10:43 -04:00
James Agnew
a67171e231
Fix #472 - Wrong header being returned (Content-Location instead of
...
Location) on STU3 server
2016-10-26 12:12:19 -04:00
James Agnew
f80bf98dcd
Fix #327 - Correctly serialize JSON extension with a reference to a
...
contained resource
2016-10-14 16:36:29 -04:00
James Agnew
e56c75e80c
Switch Android library to use OkHttp by default
2016-10-14 16:15:27 -04:00
James Agnew
deae820ebe
Fix up comnpile issue
2016-10-12 15:29:40 -04:00
James Agnew
97cd78e6bf
Fix #454 - Chinese characters were not being correctly normalized
2016-10-12 12:50:56 -04:00
James Agnew
11d3ae9447
Fix #411 - Searching by POST with urlencoded parameters doesn't work if
...
interceptors are accessing the parameters and there is are also
parameters on the URL
2016-10-06 13:23:32 -04:00
James Agnew
f5eda76388
Use new STU3 mimetypes by default
2016-10-06 12:17:59 -04:00
James Agnew
1fd881d8f8
Return an error if a parameter is called with a chain even though it
...
doesn't support chaining
2016-10-04 17:02:13 -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
8b80d932da
Fix #443 - XhtmlNode.equalsDeep() did not work
2016-09-29 15:00:01 -04:00
James Agnew
5da1d22d02
Docs
2016-09-28 17:04:55 -04:00
James Agnew
8a9a031a8d
Fix uploading CLI DSTU2 examples
2016-09-28 16:25:01 -04:00
James Agnew
090f079442
Try to fix race conditions in tests
2016-09-26 12:56:37 -04:00
James Agnew
cb31e706c7
Add test for #411
2016-09-26 10:50:04 -04:00
James
714adcd4be
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-09-22 21:55:11 -04:00
James
3428aa40f3
Logging changes
2016-09-22 21:55:05 -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
b20a5e6b90
Bundles for history did not validate
2016-09-18 10:28:24 -04:00
James Agnew
40286f49c2
Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch
2016-09-17 23:40:54 -04:00
James Agnew
1343badba4
Working on patch
2016-09-17 13:40:03 -04:00
James Agnew
364c18e06e
Use more compatible Accept header in STU3 client. Also fixes missing
...
Woodstox library in android builds per #450 )
2016-09-16 23:46:06 -04:00
James Agnew
f92c5a7232
Fix #446 - Don't give child resources the ID of the parent
2016-09-16 15:01:14 -04:00
James Agnew
12790d385c
Fix #445 - Server was using the wrong mimetype for conf statement
2016-09-16 13:25:03 -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
d41b412dee
Fix #440 - Don't depend on Saxon
2016-09-08 15:56:15 -04:00
James Agnew
202a1ea885
Fix web testing UI regression
2016-09-06 17:59:04 -04:00
James Agnew
98e0753b93
Properly add include resources
2016-08-30 16:38:09 -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
333aa0afde
Correctly update versions on transactipn update
2016-08-28 22:56:59 -04:00
James
ddc0abe4ed
Update to final STU3 ballot definitions
2016-08-26 07:55:10 -04:00
James Agnew
a1105fac1e
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-08-25 18:27:32 -04:00
James Agnew
17940b8a24
Improve performance when parsing contained resources
2016-08-25 17:41:33 -04:00
James
acdbdc0be7
Fix #426 - Extension with datatype of ID failed to parse
2016-08-25 07:32:37 -04:00
James Agnew
c4d302df8d
Upgrade to Thymeleaf 3
2016-08-23 19:11:49 -04:00
James Agnew
82da79cd5f
Add a new test
2016-08-23 13:49:31 -04:00
James Agnew
cc6c32f987
Fix tests
2016-08-22 09:43:01 -04:00
James Agnew
7f15520db8
Don't include Location header in server responses for DSTU3 servers
2016-08-21 11:39:44 -07:00
James Agnew
da8abca1ff
Add custom extension example
2016-08-21 10:24:42 -07:00
James Agnew
379abb8e47
Don't strip urn: prefixes from references when encoding
2016-08-16 11:23:07 -07: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
8354f4b565
Use correct accept header
2016-08-05 18:39:44 -04:00
James Agnew
74950a4efc
Fix regression when parsing contained resources
2016-08-05 18:01:44 -04:00
James Agnew
a3f4864bd6
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-08-05 12:37:06 -04:00
James Agnew
3e7cd153fd
Update DSTU3 definitions to latest
2016-08-05 12:36:41 -04:00
jamesagnew
545b359697
Fix #406 - Allow arbitrary authentication realm
2016-08-01 21:36:50 -04:00
James Agnew
dd8b1cd979
Use corrrect types from client
2016-07-27 18:15:09 -04:00
jamesagnew
7dbd5a21ca
Fix tests
2016-07-24 09:20:54 -04:00
jamesagnew
a9b29d5088
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-07-23 18:51:08 -04:00
jamesagnew
350e82b6cf
Fix #403 - Allow references to keep versions when encoding
2016-07-23 18:48:00 -04:00
James Agnew
748c13d0dc
Remove bad dependency
2016-07-22 18:33:16 -04:00
James Agnew
7bea8431f7
Add interceptor for rejecting TRACE and other invalid verbs
2016-07-19 19:16:09 -04:00
jamesagnew
5073692eda
Always include SUBSETTED tag when _elements is used on server
2016-07-18 07:05:11 -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
ef1c81e241
Fix #150 - Don't encode null fluent client values
2016-07-14 07:18:48 -04:00
James Agnew
0b69367b11
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-07-13 09:22:19 -04:00
jamesagnew
5b46e9655a
Fix compile errors
2016-07-13 07:59:08 -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
c550681aeb
Update defs to 1.5.0 versions
2016-07-12 18:29:10 -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
74feb38085
Fix test regression
2016-07-05 17:30:14 -04:00
James Agnew
d63e289cbe
Validation fixes
2016-07-05 16:56:06 -04:00
James Agnew
9226e43090
Fix tests
2016-07-05 09:57:55 -04:00
James Agnew
a8585c881d
Fix #396 - Make tests timezone independent
2016-07-04 13:48:05 -04:00
jamesagnew
32bdd14639
Work on term service
2016-07-02 17:14:36 -04:00
jamesagnew
4a49e5b7f9
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-07-01 14:31:25 -04:00
James Agnew
38d30eef49
Respect order for order=REPLACE_PARENT
2016-06-29 10:26:36 -04:00
James Agnew
1eb1dc7e36
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-06-29 09:56:12 -04:00
James Agnew
ea99672e6c
Add tests for term svc
2016-06-29 09:56:05 -04:00
jamesagnew
9b6f548970
Work on term service, and allow child classes when serializing
2016-06-29 08:08:42 -04:00
James Agnew
d7fdaf7618
Add custom type test
2016-06-27 17:51:08 -04:00
jamesagnew
e9cb518012
Fix teerm sevice indexing
2016-06-26 23:10:02 -04:00
James Agnew
b84150ff5e
Randomly set locale after each test in order to make sure we aren't
...
dependent on a specific environment
2016-06-21 09:53:24 -04:00
James Agnew
0d65ec3f4e
Fix test that fails on Windows
2016-06-21 09:44:42 -04:00
James Agnew
89f3df80a4
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-06-20 10:53:43 -04:00
James Agnew
102548d22c
Fix decimaltype float constructor
2016-06-20 10:52:23 -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
785ce1deb9
Remove some dead code and improve test coverage
2016-06-17 07:40:17 -04:00
jamesagnew
dcecde5db9
Improve test coverage
2016-06-16 22:52:10 -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
f3dcc3e893
Add lots of tests
2016-06-14 17:57:08 -04: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
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
a3484f84c1
Work on #381 - Still need to apply these changes to STU3 type
2016-06-09 21:48:53 -04:00
James Agnew
8dc4eaf0e0
More validator fixes
2016-06-08 16:17:09 -07:00
James Agnew
338e83e4e8
Fix build
2016-06-08 15:35:08 -07:00
James Agnew
0a2b4290ed
Fix #370 - Validation failure when validating certain STU3 resources
2016-06-08 14:21:18 -07: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
87eabe6bf8
More work on terminology server
2016-06-05 09:40:06 -04:00
James Agnew
d966190f9e
Fix #371 - STU3 server and client should use new sort parameter style
2016-06-04 12:34:44 -04:00
jamesagnew
f4b9c6423c
Work on terminology service
2016-06-04 12:16:33 -04:00
jamesagnew
9fc6272951
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-06-03 08:16:58 -04:00
jamesagnew
32cebb2a9f
More terminology service work
2016-06-03 08:16:40 -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
a2954ef181
Fix build
2016-05-30 06:57:01 -04:00
James Agnew
f45ad117fe
Improve error messages for invalid validate request
2016-05-29 22:23:30 -04:00
James Agnew
9fe9cc1e4c
Sync RI and fix tests
2016-05-29 17:52:26 -04:00
James Agnew
eb3b656a5f
Syn RI - Build still failing :(
2016-05-28 12:53:59 -04:00
jamesagnew
eae96983e8
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-05-28 10:37:27 -04:00
jamesagnew
e1e6a0d5b0
Sync model with RI latest version
2016-05-28 10:35:08 -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
35ffbf1568
Sync DSTU2 validator with RI
2016-05-24 09:22:16 -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
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
7942d69d5d
Accept conditional updates with _id as parameter
2016-05-16 19:11:25 -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
bca8589177
Index DSTU3 timing datatypes
2016-05-09 16:32:31 -04:00
James Agnew
975dfe4fa4
Fix build
2016-05-09 13:10:12 -04:00
James Agnew
061243b5c7
Allow delete bundle to contain multiple deletes for the same resource
2016-05-08 13:11:55 -04:00
James Agnew
dbcc2ce25a
Fix build
2016-05-08 11:01:17 -04:00
James Agnew
e1ab2856e0
Fix build
2016-05-08 10:29:08 -04:00
James Agnew
81cb769d18
Allow operation names to be escaped in URL
2016-05-07 19:28:36 -04:00
James Agnew
adeb15809b
Fix validator for documents
2016-05-07 16:47:34 -04:00
James Agnew
af2b702aa4
Fixes from Montreal connectathon
2016-05-07 14:24:33 -04:00
James Agnew
fd2671d28e
Fix validation issue
2016-05-06 17:44:23 -04:00
James Agnew
87f12bf197
Merge pull request #356 from euvitudo/scp-update-for-operationdefinition
...
Updated ServerConformanceProvider and test
2016-05-05 07:04:27 -04:00
James Agnew
82c1e687fd
Fix NPE in LoggingInterceptor
2016-05-04 11:48:50 -04:00
jamesagnew
244cad6224
Allow validator exceptions to be ignored via confoguration
2016-05-03 21:58:09 -04:00
James Agnew
804b271764
Fix test
2016-05-03 10:39:29 -04:00
jamesagnew
dcd32b6127
Correctly handle search parameter target types in JPA
2016-05-03 07:03:44 -04:00
James Agnew
dd95a52240
Get fluentpath entirely working in JPA
2016-05-02 18:04:42 -04:00
James Agnew
804149205a
Work on getting tests passing
2016-05-02 11:42:55 -04:00
jamesagnew
5086145132
Add targets to search parameters
2016-05-02 08:10:43 -04:00
jamesagnew
27ec35338a
Update to latest structure defs and validator
2016-05-01 21:31:14 -04:00
jamesagnew
4f717661ad
Update datatypes
2016-05-01 10:31:02 -04:00
jamesagnew
9b55d0000b
Fix #354 - Bring back setFoo(List) and getFooFirstRep() methods to DSTU3 structures
2016-05-01 10:19:50 -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
8e6a78d6ff
Updated ServerConformanceProvider and test
...
ServerConformanceProvider only placed a string reference to
OperationDefinitions, which were nowhere to be found in the Conformance
statement. With this change, SCP assigns a reference containing the
OperationDefinition for each operation. The OperationDefinitions are, per the
spec, located in the 'contained' portion of the Conformance statement.
2016-04-29 12:57:41 -06:00
jamesagnew
3fce4cb087
Fix #344 - make getResourceDefinition(String) and getElementDefnition(String) case insensitive
2016-04-25 07:19:31 -04:00
jamesagnew
f29cda00d0
Add test for #341
2016-04-24 21:55:55 -04:00
jamesagnew
9631160942
Add unit test
2016-04-23 18:43:11 -04:00
jamesagnew
3ceac6d576
Add test for #347
2016-04-23 18:19:30 -04:00
jamesagnew
3eb805fb0a
Respect _format=application/xml+fhir
2016-04-23 12:17:27 -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
8b59b61250
Release docs
2016-04-20 07:03:30 -04:00
jamesagnew
3a0de6e6f8
Fix #339 - Disable XXE XML parsing vulnerability
2016-04-19 07:55:24 -04:00
jamesagnew
43969cb8ce
Fix tests on CLI
2016-04-19 06:35:15 -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
72640dc720
Correct encoding order for DSTU2 resources
2016-04-14 07:53:37 -04:00
jamesagnew
81dec23faf
Correctly populate Bundle.entry.fullUrl on Hl7OrgDstu2 servers
2016-04-14 06:59:43 -04:00
James Agnew
a090f5481f
Try to get cobertura working
2016-04-13 10:33:58 -04:00
James Agnew
fe0824fd7c
Disable fake test
2016-04-11 16:05:25 -04:00
James Agnew
f616c22429
Fix cobertura fails
2016-04-11 14:53:38 -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
jamesagnew
e30ebf69ba
Fix #325 - Fix equalsShallow and equalsDeep when a field is null on one side and empty on the other
2016-04-05 22:05:45 -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
a4066b1de5
Fix build
2016-04-03 18:57:34 -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
57abd0a3bb
New structures
2016-04-01 18:10:02 -04:00
James Agnew
c345209ce4
Fix #318 - Apply setDefaultTypeForProfile to contained resources
2016-04-01 17:10:49 -04:00
jamesagnew
bb96ae4e25
Fix build
2016-03-29 08:36:08 -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
20081a419d
Fix #320 - Don't generate binding enums for example binding fields on
...
resources
2016-03-25 20:15:01 +01:00
James Agnew
cf22277d6e
Fix build issue
2016-03-25 19:42:08 +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
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
bb33cf735f
Fix test
2016-03-18 19:54:52 +01:00
James Agnew
5ad384c11a
One more test
2016-03-18 19:45:00 +01:00