-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EDSC-3773: Some adjustments to the EDSC-3773 merge (#1798)
* EDSC-3773: - Moved out all the logic bocks in buildAccessMethods into their one files (1 for each logic block). - Created tests for each of those logic blocks and updated the buildAccessMethods to test that those methods get called the correct number of times and with the correct params. * removed dangling cammas * EDSC-3773: a bit of cleanup * EDSC-3773: added some code coverage * EDSC-3773: updated documentation and how we run buildAccessMethods. * EDSC-3773: changed lodash to lodash-es * EDSC-3773: fixed the indexing issue and cleaned up some stuff * EDSC-3773: fixed harmony tests * EDSC-3773: addressed matthew's comments * EDSC-3773: added some comments and pushed a small lint fix * EDSC-3773: fixed some eslint issues * fixed some wording * EDSC-3773: added a test that needs to be finished in buildAccessMethods * EDSC-3773: fixed up the format and tests of Harmony, Opendap, and Swodlr results to match Esi and Echo Orders * EDSC-3773: removed console.logs * EDSC-3773: fixed up syntax/linting so it matches our standards * EDSC-3773: forgot a couple of the lint changes * adding test and seeing weirdness * fixed up the test * EDSC-3773: merged new test and removed console.logs and fixed the order of checking results so they are accurate to the indexing of echoIndex, esiIndex, & harmonyIndex * EDSC-3773: split ESI and ECHO ORDERS and updated the way we build the accessMethods in buildAccessMethods such that now we create a list of them and reduce them into a single object. * small linter fix * EDSC-3773: addressed some issues brought up by Trevor and added some constants for the accessMethods * EDSC-3773: added this check to account for serviceItems = null * EDSC-3773: fixed some tests that had items: null and updated buildAccessMethods to be cleaner * EDSC-3773: added a check such that we don't push setDataQualitySummaries action when there is an empty set of dqsItems. * EDSC-3773: fixed up the tests to match the expected results * forgot to remove a console.log * EDSC-3773: Added one last test to cover the default switch statement
- Loading branch information
Showing
18 changed files
with
1,792 additions
and
849 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const ECHO_ORDERS = 'echoOrders' | ||
export const ESI = 'esi' | ||
export const OPENDAP = 'opendap' | ||
export const HARMONY = 'harmony' | ||
export const SWODLR = 'swodlr' |
Oops, something went wrong.