nasa / Common-Metadata-Repository

Apache License 2.0
337 stars 92 forks source link

CMR-10010: Fix db-migrate #2147

Closed jmaeng72 closed 1 month ago

jmaeng72 commented 1 month ago

Overview

What is the feature/fix?

DB-migrate endpoints for bootstrap, ingest and metadata were not working as expected in Local, SIT, UAT, and PROD

What is the Solution?

Changed the file path of where to find the migration files for each application to make sure drift can find them

What areas of the application does this impact?

Bootstrap, ingest, bootstrap database migration changes

Checklist

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 17.10526% with 63 lines in your changes missing coverage. Please review.

Project coverage is 58.04%. Comparing base (1d39616) to head (c44e8d5). Report is 1 commits behind head on master.

Files Patch % Lines
bootstrap-app/src/cmr/bootstrap/api/routes.clj 5.00% 19 Missing :warning:
metadata-db-app/src/cmr/metadata_db/api/routes.clj 22.22% 12 Missing and 2 partials :warning:
ingest-app/src/cmr/ingest/api/routes.clj 25.00% 10 Missing and 2 partials :warning:
ingest-app/src/config/ingest_migrate_config.clj 0.00% 6 Missing and 2 partials :warning:
...tstrap-app/src/config/bootstrap_migrate_config.clj 28.57% 5 Missing :warning:
metadata-db-app/src/config/mdb_migrate_config.clj 28.57% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2147 +/- ## ========================================== - Coverage 58.13% 58.04% -0.09% ========================================== Files 1044 1044 Lines 70261 71132 +871 Branches 2008 2059 +51 ========================================== + Hits 40843 41292 +449 - Misses 27546 27939 +393 - Partials 1872 1901 +29 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.