Skip to content
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

Bug/DES-2185: Fix filtering query. #76

Merged
merged 5 commits into from
Apr 13, 2022
Merged

Conversation

duckonomy
Copy link
Contributor

Overview:

Changed db query to allow multiple asset parameters instead of a single one at a time.

PR Status:

  • Ready.
  • Work in Progress.
  • Hold.

Related Jira tickets:

Summary of Changes:

Modified the sql query to adjust to multiple asset type selection.

Testing Steps:

  1. Test with Bug/DES-2185: Fix filtering query. hazmapper#82
  2. Ensure that the everything is properly filtered.

Notes:

Copy link
Collaborator

@nathanfranklin nathanfranklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@duckonomy and I talked on slack about how to incorporate features without assets in the frontend and the behavior if non asset type was selected.

Copy link
Collaborator

@nathanfranklin nathanfranklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I just added some suggestions.

geoapi/services/projects.py Outdated Show resolved Hide resolved
geoapi/services/projects.py Outdated Show resolved Hide resolved
geoapi/services/projects.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@nathanfranklin nathanfranklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 just some suggested changes related to requests where there is no assetType query.

duckonomy and others added 3 commits April 12, 2022 09:33
Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>
Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>
Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>
Copy link
Collaborator

@nathanfranklin nathanfranklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@duckonomy duckonomy merged commit 1d44ce9 into master Apr 13, 2022
duckonomy added a commit that referenced this pull request Apr 27, 2022
…ew routes (#86)

* Bug/DES-2185: Fix filtering query. (#76)

* Fix filtering query.

* Include filter for no_asset_vector.

* Update geoapi/services/projects.py

Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>

* Update geoapi/services/projects.py

Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>

* Update geoapi/services/projects.py

Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>

Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>

* Update relase notes for v2.6

* Fix nullable value (#84)

Autogenerated migration was edited and this column need to be updated
to match that

* Fix changelog

* Add delete instance tests

* Add additional tests

* Remove as unused

* Fix notification tests

* Update tests to match recent route changes

* Add publish test

* Ensure user is authed

* Check access on some streetview service-related routes

* Add more access control and related tests

* Add test for publish without service

* task/DES-1828 Streetview (#46)

* Basic authentication for streetview services.

* Basic uploading

* Implement api for exposing mapillary sequences and fix file transfer.

* Improve mapillary uploads.

* Fix streetview tests

* Add progress notification tests.

* Upload sequence typo.

* Fix notification logs.

* Fix streetview sequence update request

* Add organization uploads.

* Add kube variable for mapillary.

* Add progress cleanup after aborting on error.

* Fix organization temporarily.

* Refactor and fix.

* Fixes.

* Resolve merge conflict.

* Fix notification route delete test.

* Add better logs for streetview related exceptions.

* Port to mapillary v4 and cleanup.

* Adjust changes to mapillary_tools.

* Fix comments and api docs

* New Migrations

* Revert changes for migration.

* Revert unnecessary changes.

* New migrations.

* string env variable

* Delete streetview if it exists.

* Remove uniqueness constraint from streetview service name

* Add merge migration

* Handle different mapillary keys and add project link for streetview instances.

* Make streetview sequences map features.

* Fix kube/Makefile.

* Add surrounding quotes for mapillary env vars.

* Asset uuid for streetview features.

* Use correct sequence_id for creating feature assets.

* Make add organization_id field for streetivew sequences.

* Remove unused route

* Update some docstr and variables for streetview service objects

* Remove public routes for streetview endpoints.

* Update unit tests related to streeetview service resources

* Rename variables and docstr to use streetview service resource wording

* Rename things related to resources

* Add tests for creating and delting organizations

* Skip two tests

* Fix formatting

* Fix linting issue

* Add image id for streetview assets.

* Task/DES-2240 access to streetview (#85)

* Remove unused route

* Update some docstr and variables for streetview service objects

* Update unit tests related to streeetview service resources

* Rename variables and docstr to use streetview service resource wording

* Rename things related to resources

* Add tests for creating and delting organizations

* Skip two tests

* Fix formatting

* Fix linting issue

* Add delete instance test

* Add additional tests

* Remove as unused

* Revert "Merge branch 'task/DES-2240-access-to-streetview2' into DES-1828-streetview-authentication"

This reverts commit 963b87d, reversing
changes made to 3544c56.

* Change routes to make easier maintenance.

* Fix organization routes.

* Groundwork for process task notifications.

* Move streetview tasks back to streetview task file.

* Change docstring for streetview exceptions.

* Remove unnecessary text.

* Resolve feedback.

* Remove file.

* Remove file.

* Remove file.

* Remove file.

* Remove file.

* Correct wording.

* Update tasks for streetview progress.

* Remove unused function.

* Remove unused get user route.

* Remove unused get progress methods.

* Move streetview api exception handling to app.py.

* Error in app.py.

* Update mapillary tools to pin hash

Co-authored-by: Nathan Franklin <nathan.franklin@gmail.com>

Co-authored-by: Ian Park <contact@duckonomy.com>
@taoteg taoteg deleted the bug/DES-2185-filtering-bug branch July 6, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants