Jeppe Langhoff Sørensen
6eda689fb1
[(concurrency_issue)] Fixed concurrency issues in BaseRuntimeElementCompositeDefinition
...
Removed exceptions used in control flow in ParserState
Test showing further concurrency issues in FhirContext (committed as ignored).
2017-04-21 09:34:33 +02:00
James Agnew
bc545f8e3c
Issue #590 - Handle paging requests for AuthorizationInterceptor
2017-04-20 16:11:09 -04:00
James
077676fd03
Bring DSTU3 structs up to FHIR R3
...
Squashed commit of the following:
commit 65b70d30c9
Author: James <jamesagnew@gmail.com>
Date: Tue Apr 18 07:44:08 2017 -0400
More work on bringing structs up to date
commit 1df2de0667
Author: James <jamesagnew@gmail.com>
Date: Tue Apr 18 07:12:45 2017 -0400
Working
commit 9a51323e03
Author: James <jamesagnew@gmail.com>
Date: Mon Apr 17 22:18:24 2017 -0400
Updates to STU3
commit 40aebba0a7
Author: James <jamesagnew@gmail.com>
Date: Mon Apr 17 18:30:26 2017 -0400
Fix regression caused by #610
2017-04-18 07:48:38 -04:00
James Agnew
c66e147ec8
Merge pull request #613 from SRiviere/jaxrs-sever-evolution
...
Changing with stackTrace paramter without server restart
2017-04-17 17:56:33 -04:00
James Agnew
217d9f8176
More perf work
2017-04-16 14:46:15 -04:00
James
1039bbec97
More perf work
2017-04-14 07:25:01 -04:00
michael.i.calderero
125f9b4fed
JsonParser tests for OverrideResourceIdWithBundleEntryFullUrl
2017-04-13 13:37:02 -05:00
michael.i.calderero
b890bf3c75
XmlParser tests for OverrideResourceIdWithBundleEntryFullUrl
2017-04-13 12:09:31 -05:00
Sebastien Riviere
e99495a83f
Adding Unit tests to reproduce : Extension of Id Datatype and Extension of primitive extension lost during parsing/encoding #622
2017-04-12 10:00:32 +02:00
James Agnew
269e2d9343
Another fix for errorprone
2017-04-03 15:00:37 -04:00
James Agnew
69748538d6
Fix a big with the new permissions
2017-03-24 21:10:44 +08:00
James Agnew
44c0075409
AuthorizationInterceptor can now allow make read or write authorization decisions on a resource by instance ID
2017-03-24 21:10:44 +08:00
James Agnew
45e4bd92ee
Merge branch 'master' into jaxrs-sever-evolution
2017-03-16 22:04:55 -04:00
James
5282110f02
Tests for #142
2017-03-16 22:00:04 -04:00
James
8a32e4bae5
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2017-03-16 21:36:14 -04:00
James Agnew
a867890554
585 authorizationinterceptor wildcards ( #586 )
...
* Add wildcards for authorizationinterceptor
* Add changelog
2017-03-14 22:26:45 -04: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 Agnew
0dd6364fe5
Improve paging in JPA server for _history operation
2017-02-08 21:42:17 -05: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
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 Agnew
95b2751829
Fix test
2017-01-24 14:41:53 -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
6d8715fc4a
Fix test
2017-01-21 18:04:25 -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
James Agnew
4e2e54a929
Merge pull request #540 from CarthageKing/feature-resource_not_supported-fix
...
return 404 instead of 400 when the FHIR resource/endpoint is not recognized/not supported
2017-01-20 18:49:49 -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
James
f59ac8cf83
Version bump license header
2017-01-18 22:18:37 -05: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
dbc6abc658
Fix #504 - Error if custom type has illegal extensions
2017-01-13 21:46:16 -06:00
James Agnew
ea27689a40
Add test for #537
2017-01-13 11:24:35 -05:00
James Agnew
8ae8f1d8b6
Add test for #505
2017-01-13 11:19:01 -05:00
James Agnew
64d12240c0
Add tests for #504
2017-01-13 11:10:48 -05:00
James
964919d880
Improve parsing
2016-12-19 14:03:11 -05:00
James Agnew
4eb2e017f8
Fix #528 - Allow reads by compartment in authorizationinterceptor
2016-12-13 18:30:47 -05:00
James
1a352b782b
Fix compile error
2016-12-12 08:37:28 -05:00
James Agnew
947ccd28a4
Merge pull request #507 from rqg0717/patch-2
...
Update MoneyDt.java
2016-12-12 07:39:26 -05:00
James
ab17ee68a3
Revert IFhirVersion method signature changes for #520
2016-12-11 18:55:59 -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
ee63bbea74
Fix #516 - Handle STU3 invalid enum values with an appropriate exception
2016-12-10 14:14:22 -05:00
James Agnew
a9d7b8d636
Add test and credit for #518
2016-11-25 18:28:18 -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
James Ren
14b28fd436
Update MoneyDt.java
...
Add Constructors
2016-11-17 13:49:00 -05:00
James
89e3021588
Add test for #449
2016-11-07 07:53:56 -05:00
James
af8ae69ee4
AuthorizationInterceptor enhancements
2016-11-04 07:43:22 -04:00
James
14f47b2048
Merge branch 'master' of github.com:jamesagnew/hapi-fhir
2016-11-04 06:53:39 -04:00
James
f838b80373
Work on authorization interceptor
2016-11-04 06:53:26 -04:00
James Agnew
7c6ca640d1
Fix failing test
2016-11-03 11:41:49 -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
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
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
ed941a116b
Update to use GSON
2016-07-12 21:44:40 -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
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
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
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
James Agnew
81fa46820a
Correctly support _summary=search option
2016-04-19 21:58:20 -04:00