-
Notifications
You must be signed in to change notification settings - Fork 107
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
feature/es-phase-2 #3785
Draft
jennyhliu
wants to merge
65
commits into
master
Choose a base branch
from
feature/es-phase-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feature/es-phase-2 #3785
Conversation
This file contains 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
…sic queries (#3637) * CUMULUS-3692:Granule list endpoint for basic postgres query
…er by field value (#3656) * CUMULUS-3692:Granule list endpoint for basic postgres query * refactor * refactor * typing * add changelog entry * skip search_after * skip searchafter unit tests * add granule list test * rename * refactor * build query parameters * update comment * add field-mapping * update jsdoc * use type over interface,add log * update test description * build term/terms * buildDbQueryParameters * add unit test no terms search * add doc * rename * add unit test * add fields test * add more unit tests * support error.Error search * fix lint * rename functions * ignore files * add convert query unit tests * add all types * add unit test for fieldmapping types fix timestamp * update timestamp test * add multiple term field test * ignore execution in granule list record
…se psql (#3659) * first commit on new branch * CHANGELOG change * small fix * PR feedback * adding jsdoc + fixing spelling/grammar
#3660) * add range query support
* first committ * CHANGELOG change * fixing sortQueryMethod * simplifying code * PR feedback * merge conflicts + improving code * small jsdoc fix * PR feedback * PR feedback * PR feedback * fixing test * PR feedback * PR feedback
#3674) * add methods to convert terms,not,exists
…ic (#3681) * reopening PR * PR feedback * small test fix * small PR feedbacks * adding new tests from match queries * PR feedback/formatting * temporary reversion to list endpoint for reconreport tests * reverting changes * adding logging * more logging * more logging * removing logging + commenting reconrep test temp * commenting out failing createReconReport spec * removing comment * reverting changes to reconReport test * reverting previous change * adding ts-check * PR feedback * PR feedback * adding in test * PR feedback fix * PR feedback
…ncludeStats (#3688) * first commit * CHANGELOG * fixing small things * changes + fixes * PR feedback * splitting queries separately * PR feedback * PR feedback * PR feedback
…ollections (#3693) * CUMULUS-3639:Add support to db/CollectionSearch to retrieve active collections * add test active collections * add ts-check * update /collections/active unit test * test snyk * fix field mapping * parallel search and fix urlPath * add cumulus-lp stack * add limit 1 to subquery
#3684) * first commit * adding changes * storing changes * updating progress * linting + small fixes * small fix * changing timestamp to string in tests * fixing timestamp * commenting out tests failing in CI but not locally * saving changes * collection support * adding async_ops support * changing endpoint + tests * fixing test * uncommenting tests + adding var * commenting out tests failing in CI but not locally * adding parentArn support + changing tests * added parentArn support + fixing tests * small endpoint test fix * Pr feedback + code improvements * small CHANGELOG fix * PR feedback * PR feedback + linting * PR feedback * PR feedback * fixing test * fixing execution tests after removing asyncCumulusOPId from mapping * PR feedback * removed includeFullRecord from search classes * PR feedback * PR feedback * reverting change
…e related es queries to query postgres (#3727) * removing granules * fixing lint * fixing test * small change * adding back in some deleted things * removing more * lint fix * removing tests * skipping execution search-by-granules tests * skipping execution tests * removing tests * more removing * adding in deleted test * removing more * adding back in needed code * removing ES_HOST, query, and index from bulk_ops * fixing bulk_ops tests * adding back in ELK stack refs * changing reconreports test to skip/adding back in getGranulesByPayload * PR feedback * adding back in skipped tests * CHANGELOG * PR feedback * PR feedback' . ; * PR feedback + syntax check * adding back sort to write-granules test
…ts (#3723) * CUMULUS-3240:Remove ElasticSearch dependency from Executions endpoints * update test-executions * remove es dependencies for execution * update changelog * fix lint and warning * address PR feedback * remove esClient from createExecutionRecords
* estimate table row count * add more indexes * use count * * fix test * fix test * fix lint and add file index * add more index * fix lint * fix lint update test * execution asyncOperationId is optional * defautl stats last day * fix granule patchByGranuleId put logic back * vaccum tables * update changelog * remove sql script to another pr * update changelog * update active collection query * Revert "update active collection query" This reverts commit 88024c2.
…UT, and DEL endpoints (#3746) * first commit * CHANGELOG change * PR feedback * PR feedback
* CUMULUS-3792:Add table indexes to improve search performance
…ostgres (#3771) * Update PR mentioned endpoints to not write to ES * Update POST units to not use ES * Fix/manage broken tests * Update package/async-operations to not use ES * Remove ES update from async-operations image * Update async image to use v53, which includes removal of ES code * Fix broken ecs package tests/logic * Minor refactor * Update CHANGELOG * Remove additional unneeded test * Fix CHANGELOG * Modify unit ratchet to match after removal of code Code was removed, not refactored - this change did not degrade/improve units so much as change the denominator of lines/methods tested * Fix integration test/make it not rely on list endpoint * Refactor/PR feedback * Update example/spec/serial/AsyncOperationRunnerSuccessfulLambdaSpec.js Co-authored-by: jennyhliu <[email protected]> * Remove unneeded transaction * Remove unneeded type assertion/error handling * Remove transaction * Address PR comments --------- Co-authored-by: jennyhliu <[email protected]>
…3768) * CUMULUS-3235: Updated asyncOperations api endpoint to query postgres * id::text * revert uuid for term search update unit tests * update unit test * refact basic search * raw-parameter-binding * deconstruct response * deconstruct fields * whereRaw parameter binding * remove extra knex parameter * fix unit test conflict
* Update PR mentioned endpoints to not write to ES * Update POST units to not use ES * Fix/manage broken tests * Update package/async-operations to not use ES * Remove ES update from async-operations image * Update async image to use v53, which includes removal of ES code * Fix broken ecs package tests/logic * Minor refactor * Update CHANGELOG * Remove additional unneeded test * Fix CHANGELOG * Modify unit ratchet to match after removal of code Code was removed, not refactored - this change did not degrade/improve units so much as change the denominator of lines/methods tested * Fix integration test/make it not rely on list endpoint * Refactor/PR feedback * Update example/spec/serial/AsyncOperationRunnerSuccessfulLambdaSpec.js Co-authored-by: jennyhliu <[email protected]> * Remove unneeded transaction * Remove unneeded type assertion/error handling * Remove transaction * Address PR comments * Remove ES calls from DEL/GET PDR endpoints * Update CHANGELOG * Remove unneede deps * Fix bad merge * Fix lint/etc --------- Co-authored-by: jennyhliu <[email protected]>
…arch dependency and query Postgres instead (#3764) * first commit * fixing CHANGELOG entry * PR feedback * PR feedback
…econciliation-report
* CUMULUS-3231:Update PDRs LIST endpoint to query RDS * Unit test on PdrSearch * test description * pdr endpoint test * fix tsc:listEmittedFiles error * fix test typo
…nd address some ts-check issues in endpoint file, shorten translate func name
…nd address some ts-check issues in endpoint file, shorten translate func name
…s, and translate files
CUMULUS-3837: Create ReconciliationReportsTable in RDS and add indexes
This reverts commit 1a7a104.
…tgres (#3797) * CUMULUS-3833: Migrate ReconciliationReports to RDS * Update ReconciliationReportsMigration lambda * update lambda readme * correct names * update reconciliation-report-migration * revert migration-helper-async-operation no need async * update lambda * fix terraform * update test coverage number * remove unused variable * add used variable back * update package description
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary: Summary of changes
Addresses CUMULUS-3225: Replace ElasticSearch (Phase 2)
Changes
PR Checklist