Commit f7e2ec8
CUMULUS-4534 -- Ecarton/multi provider db (#4252)
* first-pass WIP
* lint
* testing override of cmr.provider
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* small name change
* changelog
* linting
* shouldn't have removed test
* pr feedback
* simplify sf-scheduler merge
* lint
* no undefined cmrProvider
* alphabetizing things
* typo in scheduler
* add index
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* lint
* cmr_provider not optional in types
* keep it optional in types, but mandatory in schedule-sf for compat with other pieces
* fix tests
* linting
* looking at index creation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* default null intemplate
* non-optional cmr_provider in db
* bugfix and testing for bug
* needs fixed infake collection
* passthrough of cmr_provider in test, and notNullable
* unneeded drop index
* changelog
* fixes in other unit tests
* s3 duck db update for test
* add cmrProviders to these test files
* ad provider in api again
* mistaken name
* more places where the cmr_provider belongs
* linting
* add cmrProviders to integration test collections
* add cmr_provider here too
* adding cmrProvider in more needed places
* lint
* fix producerGranuleId in changeGranuleCollectionPg
* add default cmrProvider to template in integration
* lint
* turn off tests for this
* checking for weirdness at runtime within api
* get hyrax to tell me what it's cmrProvider is
* how about cmr settings coming through
* what about checking this?
* checking CMR IO
* WIP some hardcoded stuff
* lint
* fix hardcode
* lint
* try this half-measure
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint
* bugfix
* fixing more unit tests
* fix more tests
* rearrange default CUMULUS integration tests provider
* fix provider hardcode in changeGranuleCollection
* lint
* cleanup
* queue-granules needs a collection cmrprovider in test
* lint
* fix queue test
* mistakencmrProvider in generator
* console logs removed
* addding buildAndStartWorkflow cmrProvider
* lint
* log removed
* dependency not needed
* small cleanups
* remove debug log
* getting some logs to check what's happening in collections api
* invalidSigException?
* collection can be undefined in certain tests
* typo
* lint
* cleanup and pr review
* Revert "typo"
This reverts commit 560e230.
* Revert "collection can be undefined in certain tests"
This reverts commit 4bb3656.
* Revert "cleanup and pr review"
This reverts commit 813e8e5.
* Revert "lint"
This reverts commit 5f5a702.
* lint
* CSD-100: ensure env vars are initialized once per Lambda container by caching initialization promise
* initEnvVars === undefined
* Revert "invalidSigException?"
This reverts commit 22282d2.
* trying to get sf-scheudler workign right
* cleanup and pr review
* check that cmr field is an object
* new and improved changelog
* lets try this in ci, it doesn't work locally
* add upgrade notes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* smal simplification and typing
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* linting
* fix update note
* correct partialtype
* typo in changelog
* rework this test
* cmrProvider added to schemas.js
* add sinble quotes for string
* typo
* CSD-100 off master
* small further update toverification
* does this work in ci?
* try this in ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Cumulus Bot <cumulus.bot@gmail.com>
Co-authored-by: jennyhliu <jenny.h.liu@nasa.gov>
Co-authored-by: Nnaga1 <nnagavenkata@yahoo.com>1 parent 81a11ef commit f7e2ec8
51 files changed
Lines changed: 394 additions & 78 deletions
File tree
- docs/upgrade-notes
- example
- data/collections
- ASCATB-L2-Coastal
- L2_HR_PIXC-000-unique
- L2_HR_PIXC-000
- L2_HR_PIXC-099
- http_testcollection_001
- http_testcollection_002
- https_testcollection_001
- s3_MOD09GQ-AZ_006_full_ingest_move
- s3_MOD09GQ_006-umm
- s3_MOD09GQ_006-unique
- s3_MOD09GQ_006_full_ingest_unique
- s3_MOD09GQ_006_full_ingest
- s3_MOD09GQ_006_no_cmr
- s3_MOD09GQ_006
- s3_MOD14A1_006
- s3_MYD13Q1_006
- spec
- helpers
- parallel/granuleInvalidator
- packages
- api
- app
- endpoints
- lambdas
- lib
- tests
- endpoints
- collections
- providers
- lambdas
- sf-event-sqs-to-db-records
- db
- src
- migrations
- s3search
- search
- translate
- types
- tests/translate
- ingest
- src
- test
- integration-tests
- types/api
- scripts/generate_records
- tasks
- change-granule-collection-pg/tests/data
- queue-granules/tests
- queue-pdrs/tests
- queue-workflow/tests
- tf-modules/ingest
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
40 | 57 | | |
41 | 58 | | |
42 | 59 | | |
| |||
90 | 107 | | |
91 | 108 | | |
92 | 109 | | |
| 110 | + | |
93 | 111 | | |
94 | 112 | | |
95 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
0 commit comments