* initial attempt
* cleanup
* add other databases
* fix test
* fix dangling connection
* the HapiMigratorTest passes when all the tests are run, but not individual tests. Methinks the locking just isn't working.
* omg it was autoCommit all along ugh! it works now
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* documentation
* javadoc
* cleanup
* final cleanup
* simple solution is working
* fix tests
* final fixmes. this is actually a merge candidate
* pre-review cleanup
* changelog
* pre-review cleanup
* pre-review cleanup
* fix test
* review feedback
Co-authored-by: Ken Stevens <ken@smilecdr.com>
* Fix ForcedId criteria query
* wip parameterizing tests
* Refactor almost all APIs to use ResourcePersistentId. Convert to fhir resource id when necessary (at search time)
* run tests in ANY id mode
* Test fix
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
Co-authored-by: Tadgh <garygrantgraham@gmail.com>
Co-authored-by: jamesagnew <jamesagnew@gmail.com>
* Change to a minimal first pre-fetch to avoid latency on the async path.
The "async" path is now synchronous, and was causing latency for first page by loading 500 results.
We avoid pre-fetch on the first page, and only pre-fetch after users fetch the second page.
* Fix a nasty bug continuing a pre-fetched search.
* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/3664-shorten-first-prefetch.yaml
* Patch up tests that assumed 500 pre-fetch first step
* Revert TermConceptProperty indexing to not-nested type to avoid hitting elastic default maximums and
fix regexp issue which was main reason to change indexing way in the first place.
* Add changelog
* Document that terminology reindexing is required.
* Implement revision suggestions. Fix file name typo.
* Adjust and enable test created to reproduce bug
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
* Add r4b stuff
* Work on R4B
* Core version bump
* Revert some changes
* Add R4B
* Docs
* Test fixes
* Work on R4B
* Tests passgin
* Add config
* Work on merging
* Work
* Work
* Work
* Test fix
* Fixes
* Test fixes
* Test fix
* Work
* Work
* Fixes
* Test fixes
* Fixes
* Test fix
* Test fix
* Test fix
* Version bump
* Test fix
* Test fix
* ompile fixes
* Fix
* Resolve build warnings
* Updates
* Test fixes
* Fix docs
* Add count to batch export admin page results and new add new unit test.
* Fix failing unit test in WriteBinaryStepTest.
* Add changelog.
* Small changelog fix.
* Fix hashCode() to reflect equals() contract in ResourceIndexedSearchParamString. Write ResourceIndexedSearchParamStringTest with new tests for normalized hashCode.
* Add un-hashed normalized value to ResourceIndexedSearchParamString equals() and hashCode() with comments about potential performance implications.
* Add changelog. Remove TODOs.
* Inline hashCode.
* Fix comment and issue number and rename changelog.
* 3052 Changed IBinaryStorageSvc MaximumBinarySize from int to long.
* 3052 Added changelog
* 3052 Bumped version
* 3052 Remove mysterious +1 on maximum binary size causing overflow.
* Bumping version to 6.2.0-PRE16-SNAPSHOT
* Adding + 1L as original implementation.
* Getting all tests to pass dealing with + 1L.
* Getting all tests to pass dealing with + 1L.
* Adding migration definition and removing unnecessary comment.
* Preventing register overflow when setting maxBinaryStorage.
* Mering relevant test.
* Fixing typo in migration script
Co-authored-by: kylejule <kyle.jule@smilecdr.com>
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
* added validation for family name and birthdate
* making changes to tests
* update patient identifer return and validatePatientMember
* update patient identifer type for test
* update method name
* update test comment
* Add test reproducing the issue.
* Adding solution and changelog.
* Modification following code review.
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
* Allow for easier override of DataSource and dialect
* Add debug logging
* Load AskAtOrderEntry and AssociatedObservations properties from loinc.cvs.
Add changelog.
* Add disabled sandbox test used to develop loinc upload modifications
* Add flags to easily select running mode
* Add validation counters and use gziped csv input to save space in repo
* Implement revision suggestions.
As test is a sandbox remove large files and add readme and test notes to locate them before running the test.
* Add new CODING property handler to run after all TermConcepts are created, to have them accessible for extracting display value
* Add small test file to ease setup
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
* Standardize on one Transactional annotation
* Add changelog
* Disable checkstyle rule
* Fix up transactions
* Test fixes
* Test cleanup
* License headers
* One more dep bump
* Resolve commit issue
* Test fixes
* Test fix
* Dep bump
* Fix
* Fix test
* Version bump
* Test fixes
* Adding initial test reproducing the issue.
* some comments and small refactoring to run pipeline to see the extent of the damage that this can cause.
* Parsing dstu3 expression with FHIRpath parser
* fixed code.
* omitting searchParameter expression(xpath) validation for DSTU2
* Added test for search parameter with many expressions
* changed deprecated method.
* removed and modified custom search parameters tests for DSTU3 and DSTU2.
* fixed code
* Added change log
* Test testIndexFailsIfInvalidSearchParameterExists() is back.
* Update createResourceSearchParameter_withExpressionMetaSecurity_succeeds() test
* Update createResourceSearchParameter_withExpressionMetaSecurity_succeeds() test
* Refactoring if statement and exception message.
* Refactoring tests and rewording changelog.
* Fixing tests.
* Fixing more tests.
* Addressing comments from first code review.
* Fixing issue number.
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
* Added Test
* Added Integration Test
* Made changes based on comments
* Implemented solution
* Implemented solution
* Debug
* Changelog
* Changes made based on comments
* Changelog
* Made changes based on comments
* Made changes based on comments
Co-authored-by: Karneet Kaur <karneet.kaur@smilecdr.com>
* added attribute to Operation annotation
* add find operation id
* update readOperationDefinition method
* add example to canonicalUrl
* adding more examples
* Implemented a new setting for Bulk Export that changes how many resources are stored in each binary file
* Addressing suggestions
* Fixing test
* Fixing test
* Add broken test
* Finished writing test
* Add in parameterized test to show it works with one
* Adding extra test asserting sort results when providing short chain
* Providing fix to search with sorting.4098-sort-missing-parameter
* Adding ChangeLog.
* Improving, cleaning up and commenting tests.
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
* Add unit tests and supporting classes from gitlab issue.
* Commit with changes thus far to be reviewed. Namely, add savepoint capabilities to HapiTransactionService, inject HapiTransactionService into CascadingDeleteInterceptor, add savepoint capabilities to the TransactionDetails, and catch an Exception in BaseHapiFhirResourceDao.delete() then rollback to the checkpoint.
* Fix compile error.
* hapi transaction service test
* hapi transaction service test
* hapi transaction service test
* First draft of RetryTemplate and flush() logic. Try unit testing with PointcutLatch.
* hapi transaction service test
* Latest changes including moving RetryTemplate, cleaning up unit tests.
* First attempt at correct design. Fix compile errors.
* Add failed rollback savepoint test.
* fix propogation
* interesting test failure in SafeDeleterTest
* Latest code
* move delete
* test passing
* all tests pass
* yay we're done just cleanup
* First round of cleanup: Get rid of all exploratory logging, remove unneeded dependencies, move creation of RetryTemplate to SafeDeleter.
* More cleanup. Add changelog.
* Bump to 6.2.0-PRE13-SNAPSHOT.
* Code review feedback: Refactor SafeDeleter to a service and bean. Add comments.
* Code review feedback: Comments on unit test assertions.
* Code review feedback: Rename SafeDeleterSvc to ThreadSafeResourceDeleterSvc. Add javadoc. Add logger to DelayListener. Remove useless commented out code.
* Fix unit test failure in CascadingDeleteInterceptorTest.
Co-authored-by: Ken Stevens <ken@smilecdr.com>
* 3240 Added test case. Currently does not reproduce bug.
* 3552 Fixed test case.
* 3552 Added StrictErrorHandler validation before applying patch.
* 3552 Use logger instead of sysout.
* 3552 Use try blocks.
* 3552 Better test name.
Co-authored-by: kylejule <kyle.jule@smilecdr.com>
* removed flyway, started coding persistence
* started wiring up new dao service
* replace jpa with sqlbuilder
* down to 16 failed tests
* remove outOfOrder test. We no longer support validating order.
* Removed noFlyway mode. It is no longer a thing.
* merge migrator
* down to 1 failing test
* cleanup
* removed unused noflyway cli arguments
* cleanup
* cleanup
* cleanup
* cleanup
* create MigrationTaskList to replace the List<BaseTask> that gets passed around a lot. This allows us to add a bunch of behaviour to that as a first-order thing
* fix test
* fix test
* improve migration table detection to use the catalogue
* Msg.code()
* cleanup
* save version in same format as flyway
* cleanup
* add migration result to migration result class
* failed migrations stay in the table and don't really affect anything.
* change log
* docs
* ugh Flyway requires lower-case column names
* integration test fixes
* log
* fix oracle issue
* lowercase tablenames for postgres. fussy fussy!
* Revert "lowercase tablenames for postgres. fussy fussy!"
This reverts commit 92c9cb263b.
* revert to capital table names. surround table name by quotes for Postgres.
* added log message before executing find all query
* changed log message from info to debug
* javadoc
* pom cleanup
* review feedback
* Update hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/MigrationTaskList.java
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* review feedback
* review feedback. Use prepared statement.
* Change installedOn insert from timestamp to date
* Change installedOn column type from timestamp to date
* bump hapi version
* fix poms
* fix poms and cdr compile
* add exclusions to clean up build
Co-authored-by: Ken Stevens <ken@smilecdr.com>
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* add failing test
* Fix history search bug and add tests for two more scenarios
* Fix history search bug and add tests for two more scenarios
* - added failing test condition
* Fix history search bug and add tests for two more scenarios
* Fix build test failures
* Fix build test failures
* Add extra verifications for scenarios of _since
* Refactor dao.history interface to add overload method and shall come back to remove old method once cdr is refactored.
* Update with new hapi interface
* Add depreciate comment
* Add depreciate comment
* Version bump to mvn 6.2.0-PRE11-SNAPSHOT
Co-authored-by: nathaniel.doef <nathaniel.doef@smilecdr.com>
* Allow for easier override of DataSource and dialect
* Add debug logging
* Load AskAtOrderEntry and AssociatedObservations properties from loinc.cvs.
Add changelog.
* Add disabled sandbox test used to develop loinc upload modifications
* Add flags to easily select running mode
* Add validation counters and use gziped csv input to save space in repo
* Implement revision suggestions.
As test is a sandbox remove large files and add readme and test notes to locate them before running the test.
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
* remove spring batch
it compiles
expect test failures
* fix test transaction manager bean name (wow that was quite the hunt the wumpus!)
* fix test and fix build
* fix test and fix build
* fix test
* remove spring batch schema initialization
* bump hapi version
* fix schema migrator
* bump to PRE-10
* merge master
* change logs
Co-authored-by: Ken Stevens <ken@smilecdr.com>