-
Notifications
You must be signed in to change notification settings - Fork 131
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
Outline Routes to Flask app #4634
Comments
|
WIP for Harvster UI routes here: https://docs.google.com/document/d/1XzfTrPxu-asJ_55GoeZ2UOJsie9CuCegStS28BAL_40/edit#heading=h.njcvzj6q25gg |
this isn't a set list. just brainstorming. notes:
|
adding an access pattern section above our table definitions in the harvester 2.0 doc |
no routes should return a massive amount of data ( i.e. getting all records from a table ). how many organization/sources/records/errors do we have now?
|
What are our access patterns?
This is more of what's expected from the db but since the api talks to the db it could be valuable to include this? |
going to break this out into 2 tickets since the content here involves designing our routes ( 1 ticket ) and implementing the design ( 1 ticket ). we have an existing implementation ( i.e @Jin-Sun-tts work ) but it seems there's still need for clarity on the design. we should talk about this as a stay-after or pairing tomorrow ( 03/11 ) because if the group feels that our current flask app covers everything that we need then maybe we don't go back to design |
talking with @FuhuXia yesterday about a simple manual harvest workflow which looks like...
considering just this workflow, the sole purpose of the flask app at this moment is to facilitate CRUD operations in a database. these operations are reflected by the routes we choose. |
one outcome of our route design discussion is finalizing the anatomy of the route. I like the pattern of using only nouns in the route and letting the http method provide the action/verb but if adding a verb like |
User Story
In order to facilitate the creation, reading, updating, and deletion of records in our harvest source database, datagovteam wants to design the routes of a flask app.
Links:
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
AND a list of potential routes
THEN a group discussion will occur to determine what routes will be implemented.
Background
In continuation of flask app ticket(#4619 ) where we created GET and POST methods.
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch
The text was updated successfully, but these errors were encountered: