-
Notifications
You must be signed in to change notification settings - Fork 9
[OSDEV-1581] Add Geohex grid aggregation support to the production locations endpoint #488
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
Merged
mazursasha1990
merged 37 commits into
main
from
OSDEV-1581-add-geohex-grid-aggregation-support-to-the-production-locations-endpoint
Jan 29, 2025
Merged
Changes from 31 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
657c2a3
Add aggregation and precision values to the V1_PARAMETERS_LIST
mazursasha1990 873086b
Add add_specific_queries to the builders and move methods related to …
mazursasha1990 c60f32a
Add aggregation_data list to the opensearch response if it present
mazursasha1990 66d7c8d
Merge branch 'main' into OSDEV-1581-add-geohex-grid-aggregation-suppo…
mazursasha1990 779726f
Add cooment line to the add_specific_queries of ModerationEventsQuery…
mazursasha1990 fa7d987
Add tests for ProductionLocationsQueryBuilder
mazursasha1990 0dd3ffe
Fix opensearch response object
mazursasha1990 30fd3db
Add test_prepare_opensearch_response_with_aggregation_data test case
mazursasha1990 44bd1da
Add additional test cases for ProductionLocationsQueryBuilder
mazursasha1990 a258184
Remove rudundand import of unittest from test_production_locations_qu…
mazursasha1990 f4f1f1a
Add additional test cases for TestProductionLocationsQueryBuilder
mazursasha1990 2fe7276
Fix linter issue
mazursasha1990 e6ee9fa
Add integration test_production_locations_aggregations test case
mazursasha1990 442482f
Add default precision value and modify test cases
mazursasha1990 a0df1a0
Remove test_add_aggregations_without_precision test case
mazursasha1990 f88903b
Add test_add_specific_queries_with_aggregation_only test case and add…
mazursasha1990 382d5e4
Add validation for aggregation and precision parameters
mazursasha1990 96b046a
Change implementation of __add_aggregations method and change tests f…
mazursasha1990 c5958f8
Add test cases related to the aggregation and precision parameters to…
mazursasha1990 ee12ffd
Add address and description fields to the ProductionLocationsSerializer
mazursasha1990 0114f6c
Change title() to capitalize() for error messages and fix tests
mazursasha1990 3954031
Replace the unused local variable serialized_params with _ in the tes…
mazursasha1990 784ea15
Fix tests
mazursasha1990 832e3c4
Fix spelling mistake in the test_invalid_moderation_id
mazursasha1990 0ed37f8
Add max value for precision
mazursasha1990 87b6f7c
Add release notes
mazursasha1990 31dfd1f
Change the structure of response if aggregations are present
mazursasha1990 875af2f
Rename parameter precision to geohex_grid_precision
mazursasha1990 93c5248
Rename valid value for parameter aggregation from hexgrid to geohex_grid
mazursasha1990 bd31809
Update the release notes
mazursasha1990 80c4645
Fix tests
mazursasha1990 16e5d1b
Remove add_specific_queries method and use add_multi_match and add_ag…
mazursasha1990 61b0fb9
Remove commented code
mazursasha1990 a38dae2
Add empty line in the end of test_production_locations_query_builder.py
mazursasha1990 675acd9
Refactor the add_aggregations method
mazursasha1990 68442df
Refactor OpenSearchQueryDirector to avoid cognitive complexity error
mazursasha1990 5a9790a
Fix __process_multi_match
mazursasha1990 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.