-
Notifications
You must be signed in to change notification settings - Fork 6
feat: JBDA import #1407
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
feat: JBDA import #1407
Conversation
|
*Lighthouse ran on https://mobility-feeds-dev--pr-1407-3zugjph7.web.app/ * (Desktop)
*Lighthouse ran on https://mobility-feeds-dev--pr-1407-3zugjph7.web.app/feeds * (Desktop)
*Lighthouse ran on https://mobility-feeds-dev--pr-1407-3zugjph7.web.app/feeds/gtfs/mdb-2126 * (Desktop)
*Lighthouse ran on https://mobility-feeds-dev--pr-1407-3zugjph7.web.app/feeds/gtfs_rt/mdb-2585 * (Desktop)
*Lighthouse ran on https://mobility-feeds-dev--pr-1407-3zugjph7.web.app/gbfs/gbfs-flamingo_porirua * (Desktop)
|
|
Preview Firebase Hosting URL: https://mobility-feeds-dev--pr-1407-3zugjph7.web.app |
|
[Question] For the |
It can be any related link. From the JBDA api i was only able to retrieve |
When I see 'Related links' I assume it could mean anything ex: social media urls, feeds, news about them, etc. If this is about feeds, I'd rename it to |
It could be social media. I think the goal was to keep it generic enough. |
functions-python/tasks_executor/src/tasks/data_import/data_import_utils.py
Outdated
Show resolved
Hide resolved
functions-python/tasks_executor/src/tasks/data_import/import_jbda_feeds.py
Outdated
Show resolved
Hide resolved
functions-python/tasks_executor/src/tasks/data_import/import_jbda_feeds.py
Outdated
Show resolved
Hide resolved
functions-python/tasks_executor/src/tasks/data_import/import_jbda_feeds.py
Outdated
Show resolved
Hide resolved
functions-python/tasks_executor/src/tasks/data_import/import_jbda_feeds.py
Show resolved
Hide resolved
Ah ok if it can be anything (even outside of feed related stuff) then related links as a title makes sense. I still think that "Future / Previous Feed" would be a better more descriptive title vs "next_1" "prev_1" |
|
functions-python/tasks_executor/src/tasks/data_import/import_jbda_feeds.py
Outdated
Show resolved
Hide resolved
emmambd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cka-y Discussed changes written here. @Alessandro100 let me know if you have any additional thoughts.
functions-python/tasks_executor/src/tasks/data_import/import_jbda_feeds.py
Show resolved
Hide resolved
davidgamez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work! 🥇
Summary:

Closes https://github.com/MobilityData/product-tasks/issues/154
Closes https://github.com/MobilityData/product-tasks/issues/132
This PR support for "related links" on feeds, adds a new JBDA import task, and includes associated model, API, and test updates. The most significant changes are the addition of the
FeedRelatedLinkmodel and its integration into feed objects, updates to the API schema and database handling, and the implementation and testing of the JBDA import workflow.Schedule feed:
Realtime feed:

Please make sure these boxes are checked before submitting your pull request - thanks!
./scripts/api-tests.shto make sure you didn't break anything