EDS Preship test - fetch query does not respect wildcard syntax
As discussed with @AshishSaxenaAccenture , we found that the following query failed to fetch single record (test case - fetch from AWS/Preship to Azure/Preship).
POST {{osduonaws_base_url}}/api/search/v2/query
{
"kind": "osdu:wks:master-data--Basin:1.0.0",
"query": "DCAWS*",
"returnedFields": ["id"]
}
After troubleshooting the Dev team found out that fetch will bring data if more precise search criteria is specified.
Hi Debasis,
You are giving the wrong Filter criteria.
We have updated the filter criteria in CSDJ as below:
"Filter": "(data.BasinName: \"DCAWSBASIN1\")"
And it successfully fetched one record. run id : manual__2022-10-07T06:35:32+00:00 eds_ingest - Graph - Airflow (msft-osdu-test.org)
Regards, Ashish