Skip to content

Commit ff9a0d6

Browse files
authored
Merge pull request #950 from CDCgov/main
Merging #947, #946 and #937 into release_7.13
2 parents 66eb448 + 8d3d4e6 commit ff9a0d6

545 files changed

Lines changed: 50568 additions & 401 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

containers/db/initialize/004-prep-for-masterEtl-trace.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
------------------------------------------------
44
USE [RDB]
55

6+
-- IF EXISTS so the script is idempotent and tolerant of RDB images where
7+
-- these tables are absent (the unguarded drops aborted nbs-mssql init on
8+
-- the latest image, exiting the container before liquibase could run).
69
drop table if exists D_INVESTIGATION_REPEAT;
710
drop table if exists L_INVESTIGATION_REPEAT;
811
drop table if exists S_INVESTIGATION_REPEAT;

documentation/FunctionalTestValidation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ These instructions should be performed in the order displayed here.
1515
### 2) Prepare for tracing and execute SQL in sequence
1616
4. Run `trace_db_logical_changes.py` pointing to RDB.
1717
```shell
18-
python utilities/local-db-tracing/trace_db_logical_changes.py --database RDB --user sa --password PizzaIsGood33\!
18+
python testing-tools/local-db-tracing/trace_db_logical_changes.py --database RDB --user sa --password PizzaIsGood33\!
1919
```
2020
5. Using `sqlcmd`, execute the SQL files in the most logical order (e.g., first patient, then morbidity report).
2121
```shell
@@ -104,7 +104,7 @@ DECLARE @dbo_Person_local_id nvarchar(40) = N'PSN20100000GA02'
104104
```
105105
4. `trace_db_logical_changes.py` was executed pointing to the RDB.
106106
```shell
107-
python utilities/local-db-tracing/trace_db_logical_changes.py --database RDB --user sa --password PizzaIsGood33\!
107+
python testing-tools/local-db-tracing/trace_db_logical_changes.py --database RDB --user sa --password PizzaIsGood33\!
108108
```
109109
5. The following commands were executed to first create the patient, then create their morbidity report:
110110
```shell
@@ -114,7 +114,7 @@ sqlcmd -S localhost,3433 -U sa -P "PizzaIsGood33\!" -b -C -i 010-addPatient/setu
114114
sqlcmd -S localhost,3433 -U sa -P "PizzaIsGood33\!" -b -C -i 020-addMorbidityReport/setup.sql
115115
```
116116
6. Press **ENTER** in the python tracing program...
117-
7. Review the results in `utilities/local-db-tracing/output/20260423-183127-RDB/logical-changes.md`. Sample below:
117+
7. Review the results in `testing-tools/local-db-tracing/output/20260423-183127-RDB/logical-changes.md`. Sample below:
118118
## 113. INSERT dbo.MORBIDITY_REPORT
119119

120120
| Metric | Value |

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/000-rdbmodern-db-general-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/000-rdbmodern-db-general-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/001-fn_get_record_status-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/001-fn_get_record_status-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/002-fn_get_proper_case-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/002-fn_get_proper_case-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/003-fn_get_value_by_cd_ques-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/003-fn_get_value_by_cd_ques-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/004-fn_get_value_by_cvg-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/004-fn_get_value_by_cvg-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/005-fn_get_user_name-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/005-fn_get_user_name-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/006-fn_get_value_by_cd_codeset-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/006-fn_get_value_by_cd_codeset-001.sql

File renamed without changes.

reporting-pipeline-service/src/main/resources/db/changelog/migrations/v17.3/rdb/functions/007-fn_get_record_status-001.sql renamed to reporting-pipeline-service/src/main/resources/db/changelog/migrations/v7.13/rdb/functions/007-fn_get_record_status-001.sql

File renamed without changes.

0 commit comments

Comments
 (0)