This is an automated email from the ASF dual-hosted git repository. eamonford pushed a commit to branch bug_fixes in repository https://gitbox.apache.org/repos/asf/incubator-sdap-ingester.git
commit bb8aea4f9cfc6678c5fe1b45e1ca4b3e729f5846 Author: Eamon Ford <[email protected]> AuthorDate: Mon Jun 22 11:59:12 2020 -0700 fixed bugs --- .../tests/resources/collections_bad_schema.yml | 17 +++++++++++++++++ .../tests/resources/collections_bad_syntax.yml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/collection_manager/tests/resources/collections_bad_schema.yml b/collection_manager/tests/resources/collections_bad_schema.yml new file mode 100644 index 0000000..37c6ad3 --- /dev/null +++ b/collection_manager/tests/resources/collections_bad_schema.yml @@ -0,0 +1,17 @@ +bad_key: + - id: TELLUS_GRACE_MASCON_CRI_GRID_RL05_V2_LAND + path: /opt/data/grace/*land*.nc + variable: lwe_thickness + priority: 1 + forward-processing-priority: 5 + + - id: TELLUS_GRACE_MASCON_CRI_GRID_RL05_V2_OCEAN + path: /opt/data/grace/*ocean*.nc + variable: lwe_thickness + priority: 2 + forward-processing-priority: 6 + + - id: AVHRR_OI-NCEI-L4-GLOB-v2.0 + path: /opt/data/avhrr/*.nc + variable: analysed_sst + priority: 1 diff --git a/collection_manager/tests/resources/collections_bad_syntax.yml b/collection_manager/tests/resources/collections_bad_syntax.yml new file mode 100644 index 0000000..cac6a32 --- /dev/null +++ b/collection_manager/tests/resources/collections_bad_syntax.yml @@ -0,0 +1,17 @@ +collections: + - id: TELLUS_GRACE_MASCON_CRI_GRID_RL05_V2_LAND + path: /opt/data/grace/*land*.nc + variable: lwe_thickness + priority: 1 + forward-processing-priority: 5 +BAD SYNTAX! + - id: TELLUS_GRACE_MASCON_CRI_GRID_RL05_V2_OCEAN + path: /opt/data/grace/*ocean*.nc + variable: lwe_thickness + priority: 2 + forward-processing-priority: 6 + + - id: AVHRR_OI-NCEI-L4-GLOB-v2.0 + path: /opt/data/avhrr/*.nc + variable: analysed_sst + priority: 1
