Commit Graph

4835 Commits

Author SHA1 Message Date
Jacob Stampe Mikkelsen 1e640718c0 Merge branch 'master' of https://github.com/jasmdk/hapi-fhir into BaseParserFix 2019-04-26 08:33:40 +02:00
Ken Stevens 130e879d04
Delete performance (#1286)
* move expunge out

* move to prototype

* turns parameters into fields

* cleanup control flow

* moved transactions outside of loops

* add expungeeverything

* moved daos out

* add expungeThreadCount

* add expungeBatchSize

* added partition runner to run in separate threads

* all done.  just need to consolidate test code.

* Moar tests

* consolidated pointcutlatch into hapi-fhir-jpaserver-model

* final cleanup

* update javadoc

* change log

* failing test

* added delete
also @Transactional

* remove unused parameter

* fix compile

* race condition

(cherry picked from commit e1940d2fb20838859a205f2b96c833b0ce9f05eb)

# Conflicts:
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/expunge/PartitionRunnerTest.java

* ja feedback

* ja feedback
2019-04-25 15:38:37 -04:00
James Agnew 9e9a1ed06d ndle special params correctly 2019-04-25 13:25:57 -04:00
James Agnew b8e24ed01c Refactoring the registry a bit 2019-04-25 10:19:51 -04:00
Matti Uusitalo b95b4cf110 Merge with master 2019-04-25 10:44:07 +03:00
James Agnew b6bf7cc2db Two more build failures 2019-04-24 22:00:18 -04:00
James Agnew 42b8d7a134 One more build tweak 2019-04-24 21:41:23 -04:00
James Agnew efebe6d77a Typo in pom 2019-04-24 21:37:41 -04:00
James Agnew 7847400cc1 t Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-24 21:36:07 -04:00
James Agnew f3f5c570b1 A couple of compile glitches 2019-04-24 21:35:49 -04:00
jamesagnew 72de35b10d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-24 21:20:25 -04:00
jamesagnew abd53c0cbe License header updates 2019-04-24 21:20:11 -04:00
James Agnew 5a9fa4e549 Interceptor tweaks 2019-04-24 21:19:47 -04:00
James Agnew c8c81c2ebc FIx invalid patch syntax 2019-04-24 15:00:03 -04:00
James Agnew da962b8c10 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-24 14:33:28 -04:00
James Agnew 738c2c1797
Interceptor framework refactoring (#1287)
Interceptor framework overhaul
2019-04-24 14:32:30 -04:00
James Agnew f2e382a132 Swap JSON Patch provider 2019-04-24 14:10:21 -04:00
James Agnew 349b16786a Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-17 16:51:47 -04:00
James Agnew 210d99d121 Correct validation of questionnaire enableWhen 2019-04-17 16:50:37 -04:00
Ken Stevens a57e50317d
Websocket cleanup (#1275)
* fix bug in websocket subscription (It wasn't destroying the channel when there are no subscribers)

* add support for removing channel.  Also synchronize removal (there was a race condition between sync and queue)

* keep deprecated method for backwards compatibility

* make websocket endpoint configurable

* make websocket context path configurable

* make websocket context path configurable

* trying mvn clean test instead of mvn clean install to see if the build goes faster

* that didn't work at all.  reverting.

* change log
2019-04-17 15:03:35 -04:00
James Agnew f6335ebd83
Merge pull request #1281 from jamesagnew/1280-support-money-type
Fix #1280: Support Money type on R4 resources
2019-04-17 10:18:09 -04:00
jamesagnew 08a9844066 Work on #1280 2019-04-17 09:10:17 -04:00
Ken Stevens 38dd7f0687 missing tag 2019-04-16 13:28:54 -04:00
Ken Stevens 36f81731be Merge remote-tracking branch 'origin/master' 2019-04-16 12:01:34 -04:00
Ken Stevens dfcdb2b53e updating downloads page 2019-04-16 12:01:17 -04:00
James Agnew 4512c3d895 Credit for #1255 2019-04-15 17:05:56 -04:00
James Agnew 311246e5f0
Merge pull request #1255 from jamesagnew/addFetchValueSet
added fetchValueSet to IValidationSupport and made it public
2019-04-15 17:03:56 -04:00
James Agnew 2ed9b39ff4 Remove useless test case 2019-04-15 16:55:54 -04:00
James Agnew 1e4a497181 Add some tests 2019-04-15 14:44:25 -04:00
jamesagnew a9cfce3615 Header updates 2019-04-15 12:31:11 -04:00
James Agnew f7ad0bc0d8 Fix a test regression 2019-04-15 11:34:13 -04:00
James Agnew cff79e6aef PortUtil fixes from my working branch to avoid test failures 2019-04-15 10:34:27 -04:00
James Agnew 0848fdf1eb Fix broken test 2019-04-15 10:29:55 -04:00
James Agnew c8f2e4bbc9 Return HTTP 400 for missing body on POST and PUT 2019-04-14 12:32:09 -04:00
James Agnew 380644d19d Add a bit of logging for search parameters when they can't be found 2019-04-14 12:32:09 -04:00
Ken Stevens bb98ded1fa
Websocket improvements (#1272)
* subscription loader now only pulls active subscriptions
only allow websocket connections to subscriptions of type websocket

* Added a "flag for deletion" to ActiveSubscription in the SubscriptionRegistry to handle the race condition of a scheduled sync overlapping with a subscription creation.  We could have used a package-scoped semaphore or a pre-remove FHIR read, but this seemed like the safest, simplest and most performant way to handle it.

* ActiveSubscriptionCacheTest

* WebsocketConnectionValidatorTest

* fix compile error in jpa example
2019-04-12 08:36:49 -04:00
ahn 3f15100a45 Removing irrelevant super call to preProcessValues 2019-04-10 12:03:32 +02:00
jamesagnew ca8b6acdf9 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-07 07:52:40 -04:00
jamesagnew 884b80c1d7 Improve ability to select active resources 2019-04-07 07:52:21 -04:00
James Agnew 706af5d579 Don't update modified time when performing NOOP update in JPA 2019-04-05 14:36:18 -04:00
Ken Stevens bfd6066e99 Merge remote-tracking branch 'origin/master' 2019-04-04 10:26:34 -04:00
Ken Stevens 5299479143 fix broken test 2019-04-04 10:26:09 -04:00
James Agnew 6528980662 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-04 09:26:15 -04:00
James Agnew 75b6857902 Add ability to execute arbitrary SQL to migrator tool 2019-04-04 09:24:51 -04:00
jamesagnew 859bc7d71b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2019-04-03 20:15:19 -04:00
jamesagnew 54e3c50ad7 FIx a build failure 2019-04-03 20:15:07 -04:00
James Agnew 242e138a1b
Merge pull request #1263 from jamesagnew/expunge-testing
Expunge testing
2019-04-03 16:42:08 -04:00
Ken Stevens 081ae89a46 changelog 2019-04-03 13:42:24 -04:00
Ken Stevens 1d5f648070 fixed second expunge bug reported by FMCNA 2019-04-03 13:32:10 -04:00
Ken Stevens de4cc89568 bug fixed 2019-04-03 12:20:49 -04:00