Repository navigation
CCCT-2687 Migrate Connect Network Stack To ConnectRepository #3871
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5dca348
Migrate ConnectJobIntroFragment to ConnectJobIntroViewModel
shubham1g5 ed3ce5f
Migrate claim-job flow from ConnectJobClaimController into ConnectLea…
shubham1g5 4245662
Add network access methods to ConnectRepository
shubham1g5 5698d6f
Migrate all Connect network call sites from ConnectApiHandler/Connect…
shubham1g5 16f66d6
Delete ConnectApiHandler, ApiConnect, ConnectApiClient; clean up ApiS…
shubham1g5 f4a86ef
Replace ConnectRepository mocks with real HTTP mocks in fragment and …
shubham1g5 b3dec0c
minor fixes on tests
shubham1g5 1b2be3e
natural language for test names
shubham1g5 95f1bfe
Merge ConnectJobHelper with ConnectJobUtils
shubham1g5 f836fcb
Merge branch 'master' into ccct-2687_connect_network_stack
shubham1g5 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 hidden or 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 hidden or 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 hidden or 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.
To consider: There's almost nothing left in this class and I'm thinking it would make sense for the remaining methods to be merged into ConnectJobUtils. There are a couple static helper methods at the end of that class already, and two of the remaining three methods in this class lean pretty heavily on ConnectJobUtils anyway.
One downside to that though is that Helper is Kotlin and Utils is Java, so maybe better would be to prioritize converting Utils to Kotlin in a separate ticket and then merging the Helper functions over.
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.
good call - 95f1bfe