move optimized geoquery builder to core
Issue: https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/20
In the Search service, there is duplicated code for building Elasticsearch queries present in CSP modules. This MR refactors Geo query building, moving it to the Core, Azure version is used as a sample.
Type of change
-
Bug Fix -
Feature
Please provide link to gitlab issue or ADR(Architecture Decision Record)
Does this introduce a change in the core logic?
- [YES/NO]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
Google Cloud -
IBM -
Common code
Does this introduce a breaking change?
- [NO]
What is the current behavior?
Code for Geo query building duplicated (with differences) in each CSP module.
What is the new/expected behavior?
Code for Geo query building extracted to the core, Azure optimized query builder is used.
Have you added/updated Unit Tests and Integration Tests?
Yes
Any other useful information
Edited by Rustam Lotsmanenko (EPAM)