-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APIv2: align geo-location queries with last changes in spec #1677
Comments
As with former NGSIv2 geo-query parameters, the idea is to translate them to a NGSIv1 FIWARE::Location scope, then process that FIWARE::Location at mongoBackend to render the query. As (positive) side effect, NGSIv1 geo-query functionality will be enhanced. In fact, let's use "FIWARE::Location::NGSIv2". Trying to "fit" NGSIv2 geo-queries in the original FIWARE::Location containers can be hard.
Note that "georel" can't be a simple property, due to the near operation has minRadius and maxRadius that we need also to take into account. Probably a new class to hold this information will be needed as interface between serivceRoutines and mongoBackend. |
Scope/areas implemented in PR #1677. Next, mongoBackend processing the new types is needed. |
mongoBackend part (along with some adjust in other layers) in PR #1801 What is missing yet to close this issue is the processing of FIWARE::Location::NGSIv2 scopes as part of the payload of /v1/queryContext |
The branch to complete the work is feature/1677_ngsi2_geoqueries_as_payload_scope. It currently includes doc changes and .test (only the SHELL part... the REGEXEPCT part would need to be adjusted to the NGSIv1 format). |
Finished (the last part regarding NGSIv1) in PR #1828 |
QA Acceptance Test pending. Reopened and asigned to QATestPending milestone. |
pending tests are created in its feature associated |
E2E covered in: |
Issues in milestone QATestPendingE2ECovered are going to be closed (it is not realistic to think we would have people working on behave testing at the present moment). However, issue is labeled with QATestPending label in the case things change and we need to recover it. |
PR #1524 introduced some changes in the way geolocation queries work regarding the first implementation (e.g. new
georel
parameter). This issue is about modifying Orion in order to align with that new approach.The text was updated successfully, but these errors were encountered: