-
Notifications
You must be signed in to change notification settings - Fork 3
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: transitFeedSyncProcessor implmentation #760
base: main
Are you sure you want to change the base?
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a452a0 - Browse repository at this point
Copy the full SHA 2a452a0View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9b77034 - Browse repository at this point
Copy the full SHA 9b77034View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a1f8c6 - Browse repository at this point
Copy the full SHA 9a1f8c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ab1120 - Browse repository at this point
Copy the full SHA 5ab1120View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f99509 - Browse repository at this point
Copy the full SHA 1f99509View commit details
Commits on Oct 8, 2024
-
feat: Implement Transit Feed Sync
- Added logic to determine if a feed is "new" or requires an "update" based on database checks. - Integrated new `payload_type` field in `TransitFeedSyncPayload` to track the status of each feed ("new" or "update"). - Implemented checks for `external_id` in `public.externalid` table and corresponding `feed_url` in `public.feed` table. - Filtered out feeds with HTTP status codes 404 and 500, as well as those from Japan and France. - Added methods for fetching and extracting data from the TransitLand API, combining operator and feed data to prepare payloads.
Configuration menu - View commit details
-
Copy full SHA for d6f0832 - Browse repository at this point
Copy the full SHA d6f0832View commit details -
feat: Implement Transit Feed Sync with feed status tracking and exter…
…nal ID checks - Added logic to determine if a feed is "new" or requires an "update" based on database checks. - Integrated new `payload_type` field in `TransitFeedSyncPayload` to track the status of each feed ("new" or "update"). - Implemented checks for `external_id` in `public.externalid` table and corresponding `feed_url` in `public.feed` table. - Filtered out feeds with HTTP status codes 404 and 500, as well as those from Japan and France. - Added methods for fetching and extracting data from the TransitLand API, combining operator and feed data to prepare payloads.
Configuration menu - View commit details
-
Copy full SHA for da98956 - Browse repository at this point
Copy the full SHA da98956View commit details -
feat: Implement Transit Feed Sync with feed status tracking and exter…
…nal ID checks - Added logic to determine if a feed is "new" or requires an "update" based on database checks. - Integrated new `payload_type` field in `TransitFeedSyncPayload` to track the status of each feed ("new" or "update"). - Implemented checks for `external_id` in `public.externalid` table and corresponding `feed_url` in `public.feed` table. - Filtered out feeds with HTTP status codes 404 and 500, as well as those from Japan and France. - Added methods for fetching and extracting data from the TransitLand API, combining operator and feed data to prepare payloads.
Configuration menu - View commit details
-
Copy full SHA for 46be537 - Browse repository at this point
Copy the full SHA 46be537View commit details -
feat: Implemented process_sync(),get_data(),extract_feeds_data()
- Added logic to determine if a feed is "new" or requires an "update" based on database checks. - Integrated new `payload_type` field in `TransitFeedSyncPayload` to track the status of each feed ("new" or "update"). - Implemented checks for `external_id` in `public.externalid` table and corresponding `feed_url` in `public.feed` table. - Filtered out feeds with HTTP status codes 404 and 500, as well as those from Japan and France. - Added methods for fetching and extracting data from the TransitLand API, combining operator and feed data to prepare payloads.
Configuration menu - View commit details
-
Copy full SHA for acdd782 - Browse repository at this point
Copy the full SHA acdd782View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8433a5 - Browse repository at this point
Copy the full SHA d8433a5View commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2486dfa - Browse repository at this point
Copy the full SHA 2486dfaView commit details -
1. updated external_id to refrence: feed_onestop_id from operator_one…
…stop_id 2. adjusted payload to reflect external_id update
Configuration menu - View commit details
-
Copy full SHA for cab14e8 - Browse repository at this point
Copy the full SHA cab14e8View commit details
Commits on Oct 16, 2024
-
Add URL check and pandas integration to feed sync
Incorporated URL status check and merged feed sync data using pandas DataFrames for enhanced processing. Refactored process_sync() function to include filtering, grouping, and data extraction improvements, leading to more efficient and accurate feed sync operations.
Configuration menu - View commit details
-
Copy full SHA for f164c9d - Browse repository at this point
Copy the full SHA f164c9dView commit details -
Merge remote-tracking branch 'origin/feat/transitland-feed-sync' into…
… feat/transitland-feed-sync
Configuration menu - View commit details
-
Copy full SHA for 86478e9 - Browse repository at this point
Copy the full SHA 86478e9View commit details -
Added unit tests for TransitFeedSyncProcessor methods
Unit tests to verify the functionality of TransitFeedSyncProcessor, covering data retrieval, rate limit handling, synchronization processing, URL status checks, data extraction, and merging/filtering of data.
Configuration menu - View commit details
-
Copy full SHA for d2c6d47 - Browse repository at this point
Copy the full SHA d2c6d47View commit details -
Added unit tests for TransitFeedSyncProcessor methods
Unit tests to verify the functionality of TransitFeedSyncProcessor, covering data retrieval, rate limit handling, synchronization processing, URL status checks, data extraction, and merging/filtering of data.
Configuration menu - View commit details
-
Copy full SHA for b0ca74f - Browse repository at this point
Copy the full SHA b0ca74fView commit details -
Standardized comments and docstrings for better clarity and consistency. Improved code readability by cleaning up unnecessary lines and aligning comment styles.
Configuration menu - View commit details
-
Copy full SHA for 7f34d23 - Browse repository at this point
Copy the full SHA 7f34d23View commit details
Commits on Oct 17, 2024
-
Add missing newline at end of files
Ensured that all modified files include a newline at the end
Configuration menu - View commit details
-
Copy full SHA for a3855a2 - Browse repository at this point
Copy the full SHA a3855a2View commit details -
Renamed variables and improved code formatting
Updated README.md
Configuration menu - View commit details
-
Copy full SHA for c4060d2 - Browse repository at this point
Copy the full SHA c4060d2View commit details -
Reformatted the
get_data
method call foroperators_data
to improv……e readability and maintain consistency.
Configuration menu - View commit details
-
Copy full SHA for 2a769d8 - Browse repository at this point
Copy the full SHA 2a769d8View commit details
Commits on Oct 18, 2024
-
Update feed sync logic and refactor tests
Added 'source' attribute to payload and implemented new logic for determining feed updates or new entries based on 'external_id' and 'source'. Refactored test cases to align with these changes.
Configuration menu - View commit details
-
Copy full SHA for de385d6 - Browse repository at this point
Copy the full SHA de385d6View commit details -
Increase URL check timeout to 25 seconds.
Extended the timeout for the `requests.head` call from 10 to 25 seconds to accommodate slower server responses.
Configuration menu - View commit details
-
Copy full SHA for f512066 - Browse repository at this point
Copy the full SHA f512066View commit details
Commits on Oct 21, 2024
-
Refactor and format feed_sync_dispatcher_transitland code
Added 'source' parameter in README.md and reformat function arguments in main.py and test_feed_sync.py for better readability. Ensure consistent indentation and correct minor formatting issues.
Configuration menu - View commit details
-
Copy full SHA for 5b0d28f - Browse repository at this point
Copy the full SHA 5b0d28fView commit details -
Refactor and format feed_sync_dispatcher_transitland code
Added 'source' parameter in README.md and reformat function arguments in main.py and test_feed_sync.py for better readability. Ensure consistent indentation and correct minor formatting issues.
Configuration menu - View commit details
-
Copy full SHA for 59bc0f9 - Browse repository at this point
Copy the full SHA 59bc0f9View commit details -
Add source field and fix whitespace in feed_sync_dispatcher
Added the 'source' field to the payload dictionary in the README.md example and made minor whitespace adjustments in the main source and test files.
Configuration menu - View commit details
-
Copy full SHA for 7c13963 - Browse repository at this point
Copy the full SHA 7c13963View commit details
Commits on Oct 22, 2024
-
Update functions-python/feed_sync_dispatcher_transitland/README.md
Co-authored-by: David Gamez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 584df25 - Browse repository at this point
Copy the full SHA 584df25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3416fa1 - Browse repository at this point
Copy the full SHA 3416fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e6586 - Browse repository at this point
Copy the full SHA 76e6586View commit details -
Configuration menu - View commit details
-
Copy full SHA for f929048 - Browse repository at this point
Copy the full SHA f929048View commit details