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

Ft locate redisgn #1564

Open
wants to merge 7 commits into
base: staging
Choose a base branch
from
Open

Ft locate redisgn #1564

wants to merge 7 commits into from

Conversation

sserurich
Copy link
Contributor

@sserurich sserurich commented May 19, 2023

WHAT DOES THIS PR DO?

  • PR contains modifications in the locate microservice that enables recommendation for sensor placement utelising the smallest admin level for each country instead of restricting it to Parishes which are mainly in Uganda.
    WHAT ISSUES ARE RELATED TO THIS PR?

  • Jira cards

  • GitHub issues

    • Closes #

HOW DO I TEST OUT THIS PR?

  • Fetch branch locally
  • cd to the src/locate directory
  • activate the virtual environment
  • install packages incase you're creating virtual environment for the first time
  • Ensure you have local db setup[staging access was disabled]
  • run the flask app
  • hit the endpoint below [check for sample in postman] /or relatedly run through the frontend interface for sensor placement

WHICH ENDPOINTS SHOULD BE READY FOR TESTING?:

ARE THERE ANY RELATED PRs?

sserurich added 4 commits May 10, 2023 10:01

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Comment on lines +65 to +68
return {
"message": f"missing parameter: {str(err)}. please refer to API documentation for details",
"success": False,
}, 400

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
Comment on lines +70 to +73
return {
"message": f"Some errors occurred: {str(err)}",
"success": False,
}, 400

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
Comment on lines +169 to +172
return {
"message": f"missing parameter: {str(err)}. please refer to API documentation for details",
"success": False,
}, 400

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
Comment on lines +174 to +177
return {
"message": f"Some errors occurred: {str(err)}",
"success": False,
}, 400

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
@Baalmart Baalmart deleted the branch staging June 10, 2023 20:16
@Baalmart Baalmart closed this Jun 10, 2023
@Baalmart Baalmart reopened this Jun 10, 2023
@Baalmart
Copy link
Contributor

Hi @sserurich , what is the actual status of this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants