Skip to content

Adding http client to call fis backend service #659

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 31 commits into from
Jul 30, 2019
Merged

Conversation

ankitaj224
Copy link
Contributor

No description provided.

@ankitaj224 ankitaj224 requested a review from diwu-arete July 24, 2019 20:42
@googlebot googlebot added the cla: yes Override cla label Jul 24, 2019
@ankitaj224 ankitaj224 closed this Jul 24, 2019
@ankitaj224 ankitaj224 reopened this Jul 24, 2019
@ankitaj224 ankitaj224 changed the base branch from fis_sdk to MakeShutdownPublic July 24, 2019 20:54
@ankitaj224 ankitaj224 changed the base branch from MakeShutdownPublic to fis_sdk July 24, 2019 20:54
}

@NonNull
public Code createFirebaseInstallation(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we would have to eventually return the response rather than just the Code. This is the initial structure.

Copy link
Contributor Author

@ankitaj224 ankitaj224 Jul 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diwu-arete does this way of reading response seem
right?

Another way could be to use OkHttpClient

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You code actually doesn't read any content from the response, instead, only reads the response code.
So I recommend (Vlad recommended me, hah) to just use the java class HttpsURLConnection

Although it seems that you write more code by using HttpsURLConnection, but for SDK development, a very important goal is to make the SDK smaller in size, I believe okhttpclient(or some other 3P libraries) will make the SDK much bigger, because they have much more functions than our simple use case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL. Let me know if this is the right way. Thanks.

* Adding an interface library for Firebase Installations SDK

* Adding Firebase Installations module

* Adding Firebase Installations module.

* Readding .idea files that were deleted in previous commit

* Revert "Adding Firebase Installations module"

This reverts commit 2ec4aef.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Add firebase installations project path

* Adding Firebase Installations module.

* Readding .idea files that were deleted in previous commit

* Revert "Adding Firebase Installations module"

This reverts commit 2ec4aef.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Add firebase installations project path

* Fixing formattinf issues.

* Revert "Adding Firebase Installations module" with hidden files

This reverts commit 2ec4aef.

* Addressing review comments.

* Making InstallationTokenResult an AutoValue class.
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 29, 2019

@ankitaj224: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
build-plugins-check 22ab75f link /test build-plugins-check

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@diwu-arete diwu-arete self-requested a review July 30, 2019 00:26
@ankitaj224 ankitaj224 merged commit 8665301 into fis_sdk Jul 30, 2019
ankitaj224 added a commit that referenced this pull request Sep 5, 2019
* Adding Firebase Installations module

* Readding .idea files that were deleted in previous commit

* Revert "Adding Firebase Installations module"

This reverts commit 2ec4aef.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Adding Firebase Installations module.

* Readding .idea files that were deleted in previous commit

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Revert "Adding Firebase Installations module" with hidden files

This reverts commit 2ec4aef.

* Addressing review comments.

* Http client to call FIS backend service.

* Http client to call FIS backend service.

* Http client to call FIS backend service.

* Adding Firebase Installations module

* Adding Firebase Installations module.

* Readding .idea files that were deleted in previous commit

* Readding .idea files that were deleted in previous commit

* Revert "Adding Firebase Installations module"

This reverts commit 2ec4aef.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Revert "Adding Firebase Installations module" with hidden files

This reverts commit 2ec4aef.

* Addressing review comments.

* Http client to call FIS backend service.

* Http client to call FIS backend service.

* Initial Code structure for FIS Android SDK (#648)

* Adding an interface library for Firebase Installations SDK

* Adding Firebase Installations module

* Adding Firebase Installations module.

* Readding .idea files that were deleted in previous commit

* Revert "Adding Firebase Installations module"

This reverts commit 2ec4aef.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Add firebase installations project path

* Adding Firebase Installations module.

* Readding .idea files that were deleted in previous commit

* Revert "Adding Firebase Installations module"

This reverts commit 2ec4aef.

* Revert "Readding .idea files that were deleted in previous commit"

This reverts commit 7b4ebcf.

* Add firebase installations project path

* Fixing formattinf issues.

* Revert "Adding Firebase Installations module" with hidden files

This reverts commit 2ec4aef.

* Addressing review comments.

* Making InstallationTokenResult an AutoValue class.

* Http client to call FIS backend service.

* Addresing comments and introducing new FirebaseInstallationService
Exception.
@firebase firebase locked and limited conversation to collaborators Oct 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants