Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Upgrade GCM/ADM bridges to use twisted async http #1291

Closed
jrconlin opened this issue Aug 28, 2018 · 4 comments
Closed

Upgrade GCM/ADM bridges to use twisted async http #1291

jrconlin opened this issue Aug 28, 2018 · 4 comments
Assignees

Comments

@jrconlin
Copy link
Member

jrconlin commented Aug 28, 2018

Older code is using the old thread post model. We should standardize from requests.post where possible.

@jrconlin
Copy link
Member Author

@jrconlin jrconlin self-assigned this Aug 29, 2018
jrconlin added a commit that referenced this issue Sep 29, 2018
jrconlin added a commit that referenced this issue Oct 1, 2018
jrconlin added a commit that referenced this issue Oct 1, 2018
@jrconlin jrconlin removed the ready label Oct 1, 2018
jrconlin added a commit that referenced this issue Oct 2, 2018
jrconlin added a commit that referenced this issue Oct 4, 2018
jrconlin added a commit that referenced this issue Oct 5, 2018
jrconlin added a commit that referenced this issue Oct 6, 2018
@pjenvey
Copy link
Member

pjenvey commented Oct 8, 2018

Reopening as ADM still needs the same treatment

@pjenvey pjenvey reopened this Oct 8, 2018
@jrconlin
Copy link
Member Author

jrconlin commented Oct 9, 2018

👍 In big ways. I figured doing one bridge at a time would save y'all's sanity.

@jrconlin
Copy link
Member Author

Argh.

Looks like FCM introduced an "HTTP v1" that requires their admin console, a private key and what looks like a suite of HTTP2 calls to perform the actual message sends. Need to figure out the likelihood of them dropping the "legacy" access method in favor of only HTTP v1, if the HTTP/2 access also binds like requests does, and all the other fun things that this may bring.

jrconlin added a commit that referenced this issue Dec 13, 2018
With the new FCM migration, it makes some sense to switch to the new
FCM HTTPv1 API. In addition, this uses twisted async.

Closes #1291
jrconlin added a commit that referenced this issue Dec 13, 2018
With the coming switch to FCM, it makes sense to also switch to the new
FCM HTTPv1 protocol.

Closes #1291
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants