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

Feature BGDIINF_SB-1814: get_id route implementation #9

Merged
merged 1 commit into from
Jul 12, 2021

Conversation

ltkum
Copy link
Contributor

@ltkum ltkum commented Jul 8, 2021

Issue : We want to have a route that gives us the ids of a given kml, in particular, which url leads to the kml when calling a given route

Fix :
implementation of the route
implementation of two unit tests

@ltkum ltkum marked this pull request as ready for review July 8, 2021 07:34
@ltkum ltkum requested review from ltshb and IsabelleBzr and removed request for IsabelleBzr July 8, 2021 07:34
@ltkum ltkum self-assigned this Jul 8, 2021
@ltkum ltkum requested a review from IsabelleBzr July 8, 2021 07:52
app/routes.py Outdated Show resolved Hide resolved
app/routes.py Outdated Show resolved Hide resolved
app/routes.py Outdated Show resolved Hide resolved
app/routes.py Outdated Show resolved Hide resolved
app/routes.py Outdated Show resolved Hide resolved
app/routes.py Outdated Show resolved Hide resolved
tests/unit_tests/test_routes.py Outdated Show resolved Hide resolved
app/__init__.py Outdated Show resolved Hide resolved
@ltkum ltkum requested a review from ltshb July 9, 2021 08:07
Copy link
Contributor

@ltshb ltshb left a comment

Choose a reason for hiding this comment

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

The 'code': 201 needs to be removed from response.

@ltkum ltkum requested a review from ltshb July 12, 2021 06:13
Copy link
Contributor

@IsabelleBzr IsabelleBzr left a comment

Choose a reason for hiding this comment

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

👍

using the correct keys in the responses

corrections to logs, making messages clearer, small correction to test to account for changes

adding base test class for unit tests in routes

added missing underscore

removing unused field in json response
@ltkum ltkum force-pushed the feature_BGDIINF_SB-1814_fetch_id branch from 41a9256 to 66d78fa Compare July 12, 2021 07:29
@ltshb ltshb merged commit f0b3949 into develop Jul 12, 2021
@ltshb ltshb deleted the feature_BGDIINF_SB-1814_fetch_id branch September 21, 2021 15:33
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.

3 participants