-
Notifications
You must be signed in to change notification settings - Fork 13
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
Rewrite MBTA Api using Req instead of HTTPoison #1999
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4866bfc
swap req in for httpoison
anthonyshull abd3f3e
collect stats from finch
anthonyshull 251fccc
cleanup module
anthonyshull d9b7c80
lower coveralls back down to 60 since it keeps fluctuating below 62
anthonyshull 6598372
100% test coverage for mbta api module
anthonyshull b6d53c0
docs
anthonyshull 786504f
make test more generic
anthonyshull b5cbf5a
correct schema type
anthonyshull 053d5a9
flaky test
anthonyshull 2183b08
make async
anthonyshull a6ba0d9
one more try
anthonyshull ddb282a
remove tests causing flakiness
anthonyshull 590cf8c
...
anthonyshull ed1f8b7
change monitor env var
anthonyshull 93d7bdc
rename file
anthonyshull 8f06d9f
update docs with new env vars
anthonyshull e7d504d
typo
anthonyshull ae91939
correct link in README
anthonyshull 521f342
trigger rerun
anthonyshull File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import Config | ||
|
||
config :dotcom, :cache, Dotcom.Cache.TestCache | ||
|
||
config :dotcom, :httpoison, HTTPoison.Mock | ||
|
||
config :dotcom, :mbta_api_module, MBTA.Api.Mock | ||
|
||
config :dotcom, :redis, Dotcom.Redis.Mock | ||
config :dotcom, :redix, Dotcom.Redix.Mock | ||
config :dotcom, :redix_pub_sub, Dotcom.Redix.PubSub.Mock | ||
config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TestCache | ||
|
||
config :dotcom, :httpoison, HTTPoison.Mock | ||
config :dotcom, :req_module, Req.Mock | ||
|
||
config :dotcom, :mbta_api, MBTA.Api.Mock | ||
config :dotcom, :trip_plan_feedback_cache, Dotcom.Cache.TestCache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
integration/health_checks/v3-api.js → integration/health_checks/mbta-api.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
📓 I am renaming all of these ENV vars to be in line with what they do