James Agnew
5811702a92
Merge branch 'master' into master
2017-02-17 17:39:55 -05:00
James Agnew
82ac69d86c
Throw correct HTTP status when validation fails because of missing ID
2017-02-11 19:22:25 -05:00
Hugo Soares
da9daf86c0
Merge remote-tracking branch 'refs/remotes/jamesagnew/master'
...
# Conflicts:
# hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/GenericClient.java
2017-02-09 15:19:08 +00:00
hugosoares
09f44ebc2d
Merge branch 'master' into master
2017-02-09 14:23:33 +00:00
Hugo Soares
6eee5e696e
Changes requested by james
...
https://github.com/jamesagnew/hapi-fhir/pull/542
2017-02-09 13:59:00 +00:00
James
12e047b931
Fix a couple of compile issues
2017-02-09 06:53:22 -05:00
James Agnew
0dd6364fe5
Improve paging in JPA server for _history operation
2017-02-08 21:42:17 -05:00
sekaijin
7adb35d003
resolve some warnings
...
unused
then clause does not complete normally
serial
missing @Override
remove unnecessary cast
2017-02-08 16:41:03 +01:00
Sebastien Riviere
c3447c3b4d
Remove substitution string to use relative url, Fix client parser and custom extension.
2017-02-08 11:14:19 +01:00
James
b7f165019d
Tweak re-indexing
2017-02-07 07:00:51 -05:00
James
116cb1c8f7
Work on repopulating
2017-02-06 21:57:23 -05:00
Sebastien Riviere
3bf6555d61
Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into jaxrs-sever-evolution
2017-02-06 11:34:31 +01:00
James
d4dda1dace
headers
2017-02-04 18:21:09 -05:00
James
7149d2e053
Merge branch 'custom_jpa_search_params'
2017-02-04 16:34:05 -05:00
James Agnew
3f8a8cd8aa
Merge pull request #548 from sekaijin/cleanup
...
Cleanup
2017-02-04 16:02:50 -05:00
James Agnew
c85c2269a1
Work on custom params
2017-02-04 14:41:11 -05:00
James
97ff79d730
Work on custom params
2017-02-02 20:37:58 -05:00
James Agnew
3191c907a3
Work on JPA
2017-02-02 06:23:28 -05:00
James
b4a362b8ee
Work in progress
2017-02-01 05:55:35 -05:00
James Agnew
ea1ebb245e
Merge pull request #547 from daliboz/master
...
Fix #546 CapturingInterceptor will now buffer response
2017-01-31 07:20:01 -05:00
James
11f1f4f6ee
Deprecate getAllPopulatedChildElementsOfType
2017-01-31 06:53:04 -05:00
James
ce80007f8d
Bump spring version and refactor examples
2017-01-29 22:55:22 -05:00
James Agnew
788792e004
Merge pull request #538 from CarthageKing/feature-parameterutil-fix
...
Ensure ParameterUtil.splitParameterString correctly parses consecutive unescaped delimiter
2017-01-29 17:53:39 -05:00
James Agnew
0223b5341c
Merge pull request #489 from jkiddo/master
...
Added new independant overlay build for example usage and lenient handling
2017-01-29 17:50:20 -05:00
James
b66aa9761e
Allow parsing of RSQuot
2017-01-29 15:49:10 -05:00
sekaijin
a150a96089
dependencies convergence
...
correct dependencies convergence
correct version use ${project.version}
2017-01-29 19:22:28 +01:00
sekaijin
23784c1619
remove .settings .project .classpath file of eclipse
2017-01-28 17:13:47 +01:00
Jenni Syed
c1e6f82385
Fix #546 CapturingInterceptor will now buffer response if the entity is not repeatable.
2017-01-27 17:45:53 -06:00
Sebastien Riviere
dabb3ea2c5
Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir into jaxrs-sever-evolution
...
# Conflicts:
# hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/parser/JsonParserDstu3Test.java
2017-01-27 10:16:43 +01:00
James
12598b4e3b
Correctly handle declared extensions with multiple possible types
...
Squashed commit of the following:
commit d6ea0552b7
Author: James <jamesagnew@gmail.com>
Date: Thu Jan 26 09:04:58 2017 -0500
FIx test
commit e5876f7d86
Author: James <jamesagnew@gmail.com>
Date: Thu Jan 26 08:35:38 2017 -0500
Work on extensison
commit 7e573c2299
Author: James <jamesagnew@gmail.com>
Date: Thu Jan 26 07:27:25 2017 -0500
Work on extensions
commit 234b4a0c1c
Author: James Agnew <jamesagnew@gmail.com>
Date: Thu Jan 26 06:25:47 2017 -0500
More work on these extensison
commit 2eb780a690
Author: James Agnew <jamesagnew@gmail.com>
Date: Wed Jan 25 22:35:57 2017 -0500
Work on multitype extensions
2017-01-26 11:07:52 -05:00
James
8e444fab93
Javadocs
2017-01-25 05:56:22 -05:00
James
8e0a904997
Add adapter for IServerOperationInterceptor
2017-01-24 13:34:30 -05:00
James Agnew
344e324929
Fix #544
...
Squashed commit of the following:
commit 1ab9b58e9f
Author: James Agnew <jamesagnew@gmail.com>
Date: Tue Jan 24 10:46:56 2017 -0500
Changes working now
commit 5c752cdace
Author: James <jamesagnew@gmail.com>
Date: Tue Jan 24 08:43:04 2017 -0500
Get JPA working with new uuid: logic
commit 127b76884a
Author: James Agnew <jamesagnew@gmail.com>
Date: Mon Jan 23 21:11:18 2017 -0500
Fix test
commit 599bbe236c
Author: James Agnew <jamesagnew@gmail.com>
Date: Mon Jan 23 18:42:46 2017 -0500
Work on #544
2017-01-24 10:47:24 -05:00
James
3ff29370e6
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2017-01-21 18:03:58 -05:00
James
d616d20511
Send correct status code from ResponseHighliterInterceptor
2017-01-21 18:03:41 -05:00
Sebastien Riviere
cac44c736c
Add the possibility to use the serverBaseUrl to generate the url of extension, if %BASE_SERVER_URL% is found
2017-01-19 14:54:17 +01:00
hugosoares
c9e11f64aa
Merge branch 'master' into master
2017-01-19 09:03:43 +00:00
Hugo Soares
59d29c45b3
Feature Request: Add client support for $process-message special operation #407
...
Changed client to send messages to a processing server:
Object response = client
.operation()
.onServer()
.processMessage()
.setResponseUrlParam("http://myserver/fhir ")
.setMessageBundle(msgBundle)
.execute();
2017-01-18 19:33:56 +00:00
michael.i.calderero
b59c24ab7c
return 404 instead of 400 when the FHIR resource/endpoint is not
...
recognized/not supported
2017-01-17 20:37:43 -06:00
James Agnew
22f796fa7c
Allow history operation at type level with authorizationinterceptor
2017-01-16 18:41:39 -06:00
James Agnew
322051a383
Fix failing tests
2017-01-14 07:55:42 -06:00
James Agnew
dbc6abc658
Fix #504 - Error if custom type has illegal extensions
2017-01-13 21:46:16 -06:00
James Agnew
fa1ad5ba85
Fix #519 - Issues with JPA capabilitystatement related to the _id param
2017-01-13 21:19:19 -06:00
michael.i.calderero
a6a1416888
Place empty values when splitting a parameter with a certain char and
...
here are at least two unescaped and consecutive variants of the given
char in the string.
This ensures that for example a QuantityParam with a param value of
"5.5||mg" the "mg" will not be treated as the 'system' but be treated
correctly as the 'unit' of the parameter object.
2017-01-12 14:21:30 -06:00
James
3b41d85952
Server interceptor methods were being called twice unnecessarily by the JPA server, and the DaoConfig interceptor registration framework was not actually useful. Thanks to GitHub user @mattiuusitalo for reporting! Fixes #532
2017-01-11 20:57:39 -05:00
James Agnew
c7767937fc
License version bumps
2017-01-09 17:48:42 -05:00
James
e05b0e5d8a
Add test for localizer and add some docs
2016-12-30 08:53:42 -05:00
James Agnew
118c2c4238
Dependency changes
2016-12-25 12:49:07 -05:00
James
b448e13edd
Version bump to 2.3
2016-12-20 19:01:31 -05:00
James
0ec61533a8
Publish 2.2
2016-12-20 19:00:37 -05:00
James Agnew
750d6d4655
Switch public server to use CapabilityStatement for metadata return type
2016-12-20 15:35:54 -05:00
James
964919d880
Improve parsing
2016-12-19 14:03:11 -05:00
James
7838d511d0
Fix typo in IHttpResponse
2016-12-19 11:29:05 -05:00
James Agnew
4eb2e017f8
Fix #528 - Allow reads by compartment in authorizationinterceptor
2016-12-13 18:30:47 -05:00
James
ab17ee68a3
Revert IFhirVersion method signature changes for #520
2016-12-11 18:55:59 -05:00
James
e678908087
Licenses
2016-12-11 18:04:59 -05:00
James
9cb014724b
Add validator for DSTU2.1
2016-12-11 17:39:05 -05:00
James
901a85880c
Update STU3 definitions and being in STU2.1 defs too
2016-12-10 19:51:25 -05:00
James
b0d656e5d9
Refactor fix for #520 a bit so that version in DSTU3 is always pulled
...
from the model
2016-12-10 14:40:27 -05:00
James Agnew
47ea6c3426
Merge pull request #520 from aehrc/feature/legacyContentTypeFHIR140
...
Ensure that older DSTU3 versions use the legacy mime types
2016-12-10 14:18:15 -05:00
James
ee63bbea74
Fix #516 - Handle STU3 invalid enum values with an appropriate exception
2016-12-10 14:14:22 -05:00
jamesagnew
1fba4ff265
Test refactor
2016-12-10 08:47:28 -05:00
James Agnew
0def3d5a72
Merge pull request #525 from aehrc/feature/parser_exception_handling
...
#516 Report invalid values for enums through parser error handler
2016-12-10 07:39:36 -05:00
James
5149e581db
Fix #521 - Wrong or missing ID body in update should be an error
2016-12-08 08:31:52 -05:00
Michael Lawley
a9a3507544
#516 Report invalid values for enums through parser error handler
2016-12-06 10:32:23 +10:00
James
fd26f074e5
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-12-04 21:09:48 -05:00
James
ccfe74ba38
Add license headers
2016-12-04 21:09:28 -05:00
Michael Lawley
8846477b7b
Ensure that older DSTU3 versions (ie Baltimore / May2016 / 1.4.0) use the legacy mime types
2016-11-30 12:03:02 +10:00
James Agnew
fc55c2cae8
Merge pull request #518 from aehrc/master
...
#517 Add fallback for for pre-CapabilityStatement STU3 client
2016-11-25 18:00:36 -05:00
James Agnew
81773de261
Fix #276 - Prevent contained resources being encoded as duplicates
2016-11-25 17:18:57 -05:00
Michael Lawley
fcf8894d11
silly missing bracket
2016-11-25 13:14:48 +10:00
Michael Lawley
f6ae22c59c
#517 Add fallback for for pre-CapabilityStatement STU3 client
2016-11-25 12:05:59 +10:00
jamesagnew
69871bb8c2
Improve testing on CorsInterceptor
2016-11-24 19:25:37 -05:00
James Agnew
888f42a032
Introduce new CORS interceptor and switch examples to use it
2016-11-21 18:30:51 +01:00
James Agnew
03935be97f
Work on common FluentPath interface
2016-11-21 15:52:17 +01:00
James Agnew
5846ce4518
Make the parser configurable so that when parsing an invalid empty value (e.g. {"status":""} parser will either throw a meaningful exception or log a warning depending on the configured error handler.
2016-11-21 14:48:44 +01:00
James Agnew
bf35f7e4b2
Fix #495 - Auto-detect DSTU3 mode when those resources are on classpath
2016-11-21 13:44:54 +01:00
Jens Kristian Villadsen
f710094c93
Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir
2016-11-15 13:42:07 +01:00
Jens Kristian Villadsen
6aba4610e6
Added initial lenient handling
2016-11-15 13:41:13 +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
8676489792
Don't incorrectly block transactions
2016-11-11 23:52:16 -05:00
James
2d7592f7a8
Version bump to 2.2-SNAPSHOT
2016-11-11 22:39:45 -05:00
James
047ca6a308
license header
2016-11-11 20:17:06 -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 Agnew
846aecfe89
Merging #470
2016-11-11 10:45:53 -05:00
James Agnew
01afc49863
Documentation
2016-11-11 10:43:03 -05:00
James
a5d5d3e031
Bump FHR version
2016-11-06 17:34:13 -05:00
James
af8ae69ee4
AuthorizationInterceptor enhancements
2016-11-04 07:43:22 -04:00
James
f838b80373
Work on authorization interceptor
2016-11-04 06:53:26 -04:00
James
6cb502266c
More cleanup for auth interceptor
2016-11-03 08:27:14 -04: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
e7e0bf8d54
Fix regression in AutohrizationInterceptor
2016-10-26 21:55:08 -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
2a7fa4d8a5
Make authorizationinterceptor stricter
2016-10-22 18:00:55 -04:00
James Agnew
173d40496d
Merge pull request #455 from hnnesv/dstu1-atom-entry-author
...
DSTU1: Add entry author to encoded xml bundle
2016-10-20 11:28:59 -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
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
f47597d2ec
Rename client param method
2016-10-12 14:51:47 -04:00
James Agnew
8c455d41b6
Rename method from #451
2016-10-12 14:47:51 -04:00
James
09af42200c
License headers
2016-10-11 05:30:22 -04:00
James Agnew
b37a1edaae
Fix offset error when returning multiple pages in JPA search
2016-10-07 17:42:02 -04:00
James Agnew
0093403860
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-10-07 11:31:12 -04:00
James Agnew
2c4139dc82
Allow fluent client to handle return types other than Parameters when
...
invoking operations
2016-10-07 11:29:53 -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
a4975887b8
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-10-06 06:28:06 -04:00
James
2a5c26b08b
Dependency bump
2016-10-05 05:17:07 -04:00
James Agnew
61d6f1ba8d
Second attempt to fix #459
2016-10-04 17:55:28 -04:00
James Agnew
012090b719
Fix #459 - Race condition in unit tests
2016-10-04 17:15:51 -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
ff4755fbf3
Fix #441 : Correctly handle search with chains across a field with choice
...
type
2016-09-30 14:03:20 -04:00
James Agnew
eba136d706
Correctly handle custom types in programatic access to JPA
2016-09-27 14:22:48 -04:00
hnnesv
92e6b6d884
DSTU1 Atom: Add entry author to encoded xml bundle
2016-09-23 13:06:21 +02: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
40286f49c2
Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch
2016-09-17 23:40:54 -04:00
James Agnew
6e97936eca
More work on patch
2016-09-17 16:55:21 -04:00
qagwaai
58185d199b
Updated GenericClient to call MethodUtil updated signature
2016-09-17 14:24:18 -04:00
James Agnew
ad447126f2
Merge in patch changes
2016-09-17 13:55:12 -04:00
James Agnew
e50a34b540
Merge branch 'patch' of github.com:jamesagnew/hapi-fhir into patch
2016-09-17 13:41:17 -04:00
James Agnew
1343badba4
Working on patch
2016-09-17 13:40:03 -04:00
qagwaai
5ebc3ef513
initial patch scaffolding
2016-09-17 13:36:56 -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
FilipDomazet
e2f03a9a26
Fixed issue with adding profile information to an unmodifiable list ( #448 )
2016-09-16 15:02:22 -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
1db9f726f9
Localizer update
2016-09-15 09:05:49 -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
ed7e6929a7
Add gitignore
2016-09-09 08:32:45 -04:00
James Agnew
6357c38180
Support _has param in conditional URLs in JPA
2016-09-08 13:14:15 -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
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
d36e0013c0
Add version constant for dstu2.1
2016-08-29 07:33:29 -04:00
James
333aa0afde
Correctly update versions on transactipn update
2016-08-28 22:56:59 -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
3c65b64ed7
Fix changelog typos
2016-08-25 08:16:27 -04:00
James
acdbdc0be7
Fix #426 - Extension with datatype of ID failed to parse
2016-08-25 07:32:37 -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