-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Automated migration test data #5218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
902df2d
version bump
tadgh 9a996ce
Bump to core release 6.0.22 (#5028)
dotasek 1697783
Resolve 5126 hfj res ver prov might cause migration error on db that …
TynerGjs ff507cd
5123 - Use DEFAULT partition for server-based requests if none specif…
steve-corbett-smilecdr 4820759
consent remove all suppresses next link in bundle (#5119)
fil512 e077393
5117 MDM Score for No Match Fields Should Not Be Included in Total Sc…
jdar8 03e7d73
wip run 5.2.0 migrations and then add test data
nathandoef 0be8da4
Fix h2
SouradeepSahaSmile 8676556
Fix postgres
SouradeepSahaSmile dcbf8e2
Complete until v5.4
SouradeepSahaSmile e9298ee
add sql migration scripts:
SouradeepSahaSmile fb13ec2
Temp
SouradeepSahaSmile a1353cf
Add v6_0_0
SouradeepSahaSmile 4229c86
Add v6_8_0
SouradeepSahaSmile 38b6988
Final changes
SouradeepSahaSmile d2209ce
clean up
nathandoef 4ec17c9
_source search parameter needs to support modifiers (#5095)
volodymyr-korzh ca2c7bd
Fix HFQL docs (#5151)
nathandoef b816844
Expunge operation on codesystem may throw 500 internal error with pre…
epeartree d970ca5
documentation update (#5154)
TipzCM f82da96
Fix hsql jdbc driver deps (#5168)
michaelabuckley 4fc99e7
$delete-expunge over 10k resources will now delete all resources (#5144)
f6f855b
updating documentation (#5170)
TipzCM 4cd93fd
_source search parameter modifiers for Subscription matching (#5159)
volodymyr-korzh 112dfcd
Complete Oracle
SouradeepSahaSmile 91ba93c
Remove V6_8_0
SouradeepSahaSmile 4b04bc8
apply mvn: spotless
SouradeepSahaSmile a6d64bf
Removal of meta tags during updates do not trigger subscription (#5181)
epeartree 7a13fcc
Issue 5173 get gateway everything doesnt return all patients (#5174)
jmarchionatto 5e30780
Do not 500 and continue IG ingestion when different IGs try to save d…
2ee1268
Merge remote-tracking branch 'origin/rel_6_8' into nd-ss-2023-07-27-a…
SouradeepSahaSmile f2e6d29
Merge branch 'master' into ss-automated-migration
SouradeepSahaSmile 5be847d
Update CDR insert tables
SouradeepSahaSmile 6fc4943
Update CDR insert tables
SouradeepSahaSmile File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...paserver-test-utilities/src/main/resources/migration/releases/V5_2_0/data/H2_EMBEDDED.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| INSERT INTO MPI_LINK ( | ||
| PID, | ||
| CREATED, | ||
| EID_MATCH, | ||
| TARGET_TYPE, | ||
| LINK_SOURCE, | ||
| MATCH_RESULT, | ||
| NEW_PERSON, | ||
| PERSON_PID, | ||
| SCORE, | ||
| TARGET_PID, | ||
| UPDATED, | ||
| VECTOR, | ||
| VERSION, | ||
| GOLDEN_RESOURCE_PID, | ||
| RULE_COUNT | ||
| ) VALUES ( | ||
| 1, | ||
| '2023-04-05 15:16:26.43', | ||
| 1, | ||
| 'PATIENT', | ||
| 0, | ||
| 2, | ||
| 1, | ||
| 1906, | ||
| NULL, | ||
| 1905, | ||
| '2023-04-05 15:16:26.43', | ||
| NULL, | ||
| '1', | ||
| 1906, | ||
| 1 | ||
| ); |
33 changes: 33 additions & 0 deletions
33
...jpaserver-test-utilities/src/main/resources/migration/releases/V5_2_0/data/MSSQL_2012.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| INSERT INTO MPI_LINK ( | ||
| PID, | ||
| CREATED, | ||
| EID_MATCH, | ||
| TARGET_TYPE, | ||
| LINK_SOURCE, | ||
| MATCH_RESULT, | ||
| NEW_PERSON, | ||
| PERSON_PID, | ||
| SCORE, | ||
| TARGET_PID, | ||
| UPDATED, | ||
| VECTOR, | ||
| VERSION, | ||
| GOLDEN_RESOURCE_PID, | ||
| RULE_COUNT | ||
| ) VALUES ( | ||
| 1, | ||
| '2023-04-05 15:16:26.43', | ||
| 1, | ||
| 'PATIENT', | ||
| 0, | ||
| 2, | ||
| 1, | ||
| 1906, | ||
| NULL, | ||
| 1905, | ||
| '2023-04-05 15:16:26.43', | ||
| NULL, | ||
| '1', | ||
| 1906, | ||
| 1 | ||
| ); |
33 changes: 33 additions & 0 deletions
33
...jpaserver-test-utilities/src/main/resources/migration/releases/V5_2_0/data/ORACLE_12C.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| INSERT INTO MPI_LINK ( | ||
| PID, | ||
| CREATED, | ||
| EID_MATCH, | ||
| TARGET_TYPE, | ||
| LINK_SOURCE, | ||
| MATCH_RESULT, | ||
| NEW_PERSON, | ||
| PERSON_PID, | ||
| SCORE, | ||
| TARGET_PID, | ||
| UPDATED, | ||
| VECTOR, | ||
| VERSION, | ||
| GOLDEN_RESOURCE_PID, | ||
| RULE_COUNT | ||
| ) VALUES ( | ||
| 1, | ||
| SYSDATE, | ||
| 1, | ||
| 'PATIENT', | ||
| 0, | ||
| 2, | ||
| 1, | ||
| 1906, | ||
| NULL, | ||
| 1905, | ||
| SYSDATE, | ||
| NULL, | ||
| '1', | ||
| 1906, | ||
| 1 | ||
| ); |
33 changes: 33 additions & 0 deletions
33
...aserver-test-utilities/src/main/resources/migration/releases/V5_2_0/data/POSTGRES_9_4.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| INSERT INTO MPI_LINK ( | ||
| PID, | ||
| CREATED, | ||
| EID_MATCH, | ||
| TARGET_TYPE, | ||
| LINK_SOURCE, | ||
| MATCH_RESULT, | ||
| NEW_PERSON, | ||
| PERSON_PID, | ||
| SCORE, | ||
| TARGET_PID, | ||
| UPDATED, | ||
| VECTOR, | ||
| VERSION, | ||
| GOLDEN_RESOURCE_PID, | ||
| RULE_COUNT | ||
| ) VALUES ( | ||
| 1, | ||
| '2023-04-05 15:16:26.43', | ||
| true, | ||
| 'PATIENT', | ||
| 0, | ||
| 2, | ||
| true, | ||
| 1906, | ||
| NULL, | ||
| 1905, | ||
| '2023-04-05 15:16:26.43', | ||
| NULL, | ||
| '1', | ||
| 1906, | ||
| 1 | ||
| ); |
68 changes: 68 additions & 0 deletions
68
...paserver-test-utilities/src/main/resources/migration/releases/V5_3_0/data/H2_EMBEDDED.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| INSERT INTO HFJ_RESOURCE ( | ||
| RES_ID, | ||
| RES_VERSION, | ||
| HAS_TAGS, | ||
| RES_PUBLISHED, | ||
| RES_UPDATED, | ||
| SP_HAS_LINKS, | ||
| HASH_SHA256, | ||
| SP_INDEX_STATUS, | ||
| SP_CMPSTR_UNIQ_PRESENT, | ||
| SP_COORDS_PRESENT, | ||
| SP_DATE_PRESENT, | ||
| SP_NUMBER_PRESENT, | ||
| SP_QUANTITY_NRML_PRESENT, | ||
| SP_QUANTITY_PRESENT, | ||
| SP_STRING_PRESENT, | ||
| SP_TOKEN_PRESENT, | ||
| SP_URI_PRESENT, | ||
| RES_TYPE, | ||
| RES_VER | ||
| ) VALUES ( | ||
| 1702, | ||
| 'R4', | ||
| 0, | ||
| '2023-06-15 09:58:42.92', | ||
| '2023-06-15 09:58:42.92', | ||
| 0, | ||
| '6beed652b77f6c65d776e57341a0b5b0596ac9cfb0e8345a5a5cfbfaa59e2b62', | ||
| 1, | ||
| 0, | ||
| 0, | ||
| 0, | ||
| 0, | ||
| 0, | ||
| 0, | ||
| 0, | ||
| 1, | ||
| 1, | ||
| 'Observation', | ||
| 1 | ||
| ); | ||
|
|
||
|
|
||
| INSERT INTO HFJ_SPIDX_QUANTITY_NRML ( | ||
| RES_ID, | ||
| RES_TYPE, | ||
| SP_UPDATED, | ||
| SP_MISSING, | ||
| SP_NAME, SP_ID, | ||
| SP_SYSTEM, | ||
| SP_UNITS, | ||
| HASH_IDENTITY_AND_UNITS, | ||
| HASH_IDENTITY_SYS_UNITS, | ||
| HASH_IDENTITY, | ||
| SP_VALUE | ||
| ) VALUES ( | ||
| 1702, | ||
| 'Observation', | ||
| '2023-04-05 15:16:26.43', | ||
| 0, 'value-quantity', | ||
| 2, | ||
| 'https://unitsofmeasure.org', | ||
| 'g', | ||
| -864931808150710347, | ||
| 6382255012744790145, | ||
| -1901136387361512731, | ||
| 0.012 | ||
| ); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.