From 87ca5a6bc251b9959b818f3d3b16045f622387c1 Mon Sep 17 00:00:00 2001 From: Vincent Privat Date: Wed, 13 Nov 2024 14:53:00 +0100 Subject: [PATCH] RSPY-506 - fix AUXIP OData queries --- services/adgs/config/adgs_ws_config.yaml | 8 ++++---- services/adgs/config/adgs_ws_config_token_module.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/services/adgs/config/adgs_ws_config.yaml b/services/adgs/config/adgs_ws_config.yaml index b23003151..246b5945e 100644 --- a/services/adgs/config/adgs_ws_config.yaml +++ b/services/adgs/config/adgs_ws_config.yaml @@ -40,7 +40,7 @@ adgs: type: ODataV4Search api_endpoint: 'http://127.0.0.1:5000/Products' need_auth: true - results_entry: responses | $ + results_entry: $.value metadata_mapping: id: - null @@ -100,7 +100,7 @@ adgs: free_text_search_operations: $filter: union: ' OR ' - wrapper: '"{}"' + wrapper: '{}' operations: and: - 'PublicationDate gt {startTimeFromAscendingNode#to_iso_utc_datetime}' @@ -151,7 +151,7 @@ adgs2: type: ODataV4Search api_endpoint: 'http://127.0.0.1:5001/Products' need_auth: true - results_entry: responses | $ + results_entry: $.value metadata_mapping: id: - null @@ -211,7 +211,7 @@ adgs2: free_text_search_operations: $filter: union: ' OR ' - wrapper: '"{}"' + wrapper: '{}' operations: and: - 'PublicationDate gt {startTimeFromAscendingNode#to_iso_utc_datetime}' diff --git a/services/adgs/config/adgs_ws_config_token_module.yaml b/services/adgs/config/adgs_ws_config_token_module.yaml index 79c69494f..7d6ad3850 100644 --- a/services/adgs/config/adgs_ws_config_token_module.yaml +++ b/services/adgs/config/adgs_ws_config_token_module.yaml @@ -29,7 +29,7 @@ adgs: type: ODataV4Search api_endpoint: 'http://127.0.0.1:5000/Products' need_auth: true - results_entry: responses | $ + results_entry: $.value metadata_mapping: id: - null @@ -89,7 +89,7 @@ adgs: free_text_search_operations: $filter: union: ' OR ' - wrapper: '"{}"' + wrapper: '{}' operations: and: - 'PublicationDate gt {startTimeFromAscendingNode#to_iso_utc_datetime}' @@ -129,7 +129,7 @@ adgs2: type: ODataV4Search api_endpoint: 'http://127.0.0.1:5001/Products' need_auth: true - results_entry: responses | $ + results_entry: $.value metadata_mapping: id: - null @@ -189,7 +189,7 @@ adgs2: free_text_search_operations: $filter: union: ' OR ' - wrapper: '"{}"' + wrapper: '{}' operations: and: - 'PublicationDate gt {startTimeFromAscendingNode#to_iso_utc_datetime}'