Commit Graph

599 Commits

Author SHA1 Message Date
James Agnew f1f72980de Merge pull request #651 from eug48/master
ResponseHighlighter enhancement proposal - hyperlinks and selections
2017-07-10 16:03:40 -04:00
michael.i.calderero bae1ee69ba updated tests based on changes 2017-07-10 15:03:16 -05:00
michael.i.calderero 9aaa49dd94 add test to show issue #659 2017-07-10 14:35:06 -05:00
James Agnew c9fcef0372 Clean up handling of searches nested in batch and transaction 2017-06-30 16:20:32 -04:00
James Agnew 7632cfa991 Fix local dependency 2017-06-09 19:21:04 -04:00
James Agnew 7588a2ecff Modify patch for #655 so that it fixes #604 without causing us to allow
invalid values
2017-06-09 16:30:20 -04:00
James Agnew e1cfc8212e Merge in patch from #655 2017-06-09 15:36:19 -04:00
christian ohr 872d72629c #604:allow MINUTE precision for datetimes 2017-06-09 15:21:53 -04:00
James 14edc79ac1 Version bump to 2.6-SNAPSHOT 2017-06-09 07:28:29 -04:00
James 8b5209ff67 Version bump to 2.5 2017-06-08 06:34:44 -04:00
James Agnew c04146a76a Revert "Allow MINUTE precision for datetimes. Closes #604" 2017-06-07 21:42:52 -04:00
christian ohr aafde2eceb #604:allow MINUTE precision for datetimes 2017-05-26 15:27:58 +02:00
Eugene Lubarsky 5bbf8686f8 Fix for ResponseHighlightingInterceptorTest breakage 2017-05-19 20:28:05 +10:00
James Agnew 45041830bc Server now respects the If-Modified-Since header for read operations 2017-05-17 14:57:05 -04:00
James Agnew 2a89ff88f7 Merge pull request #630 from Jaypeg85/concurrency_issue
concurrency_issue
2017-05-01 15:20:45 -04:00
James 716fa56b8f Merge branch 'jpa_perf_enhancements' 2017-04-21 06:30:22 -04:00
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 cbc652d226 Version bump to 2.5-SNAPSHOT 2017-04-20 16:13:15 -04:00
James Agnew 8887f57577 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2017-04-20 16:12:02 -04:00
James Agnew bc545f8e3c Issue #590 - Handle paging requests for AuthorizationInterceptor 2017-04-20 16:11:09 -04:00
James 9d3d15ce6f Version bump to 2.4 2017-04-19 21:38:36 -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 91ff109300 Fix #608 - Don't include SupportingDocumentation resource in DSTU2 2017-03-26 09:56:33 +08: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 40848b1beb Version bump to 2.4-SNAPSHOT 2017-03-18 12:24:39 -04:00
James e18ab206d7 Version bump to 2.3 2017-03-17 21:21:59 -04: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 9501ea0961 Merge branch 'master' of https://github.com/hugosoares/hapi-fhir into hugosoares-master 2017-03-16 21:32:51 -04:00
James Agnew a867890554 585 authorizationinterceptor wildcards (#586)
* Add wildcards for authorizationinterceptor

* Add changelog
2017-03-14 22:26:45 -04:00
James Agnew 5811702a92 Merge branch 'master' into master 2017-02-17 17:39:55 -05: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
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
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 dd0e47afc3 Make projects import cleanly into eclipse 2017-02-04 16:31:18 -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
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 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 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 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 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 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