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

Change API response schema to be a valid GeoJSON #100

Merged
merged 10 commits into from
Aug 9, 2021

Conversation

matthiasschaub
Copy link
Collaborator

@matthiasschaub matthiasschaub commented Jul 20, 2021

Corresponding issue

Closes #46
Closes #88

Checklist

@matthiasschaub matthiasschaub force-pushed the api-response-schema branch 2 times, most recently from 914cef5 to 3fee9a8 Compare July 26, 2021 11:37
@matthiasschaub matthiasschaub marked this pull request as ready for review July 26, 2021 11:42
@matthiasschaub matthiasschaub changed the title Change API response to return a GeoJSON Change API response schema to be a valid GeoJSON Jul 26, 2021
@matthiasschaub matthiasschaub added the waiting for review This pull request urgently needs a code review label Jul 26, 2021
@matthiasschaub matthiasschaub added this to the Release 0.5.0 milestone Jul 28, 2021
Copy link
Member

@joker234 joker234 left a comment

Choose a reason for hiding this comment

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

Very good work, especially on the refactoring of the tests. Apart from the few comments I made, I think it would be good to redo all the vcr_cassettes. Some have to be deleted since you renamed tests and the User Agent changed for all requests (see #62).

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
workers/ohsome_quality_analyst/api.py Outdated Show resolved Hide resolved
workers/ohsome_quality_analyst/oqt.py Outdated Show resolved Hide resolved
workers/ohsome_quality_analyst/oqt.py Show resolved Hide resolved
workers/ohsome_quality_analyst/oqt.py Outdated Show resolved Hide resolved
workers/tests/integrationtests/test_api_report.py Outdated Show resolved Hide resolved
@joker234 joker234 removed the waiting for review This pull request urgently needs a code review label Jul 29, 2021
@matthiasschaub
Copy link
Collaborator Author

Very good work, especially on the refactoring of the tests. Apart from the few comments I made, I think it would be good to redo all the vcr_cassettes. Some have to be deleted since you renamed tests and the User Agent changed for all requests (see #62).

Thanks! Good idea. I recreated the VCR cassettes and integrated you suggestions.
Could you take another look? I left the small commit messages as they are for the review, but will rebase after you viewed the changes again.

@matthiasschaub matthiasschaub force-pushed the api-response-schema branch 2 times, most recently from ab2c647 to 13fa61c Compare August 4, 2021 08:58
@joker234 joker234 added the enhancement New feature or request label Aug 4, 2021
joker234
joker234 previously approved these changes Aug 4, 2021
matthiasschaub and others added 10 commits August 5, 2021 12:26
Reformating and rewording of the CHANGELOG
Minor changes to logging message formatting

Add missing type hints

Minor changes to string concatenation syntax

Renamed variable to avoid overwriting existing var
Recreate VCR cassette

Recreate VCR casssettes

Recreate VCR cassette
function. Rename url to request_url.
@matthiasschaub matthiasschaub merged commit 8f6677d into main Aug 9, 2021
@matthiasschaub matthiasschaub deleted the api-response-schema branch August 9, 2021 09:59
joker234 added a commit that referenced this pull request Aug 10, 2021
joker234 added a commit that referenced this pull request Aug 10, 2021
joker234 added a commit that referenced this pull request Aug 10, 2021
joker234 added a commit that referenced this pull request Aug 10, 2021
joker234 added a commit that referenced this pull request Aug 10, 2021
joker234 added a commit that referenced this pull request Aug 11, 2021
matthiasschaub pushed a commit that referenced this pull request Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants