Skip to content
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

Google FCM: Forward proxy #2451

Merged
merged 1 commit into from
Oct 23, 2020
Merged

Google FCM: Forward proxy #2451

merged 1 commit into from
Oct 23, 2020

Conversation

atyutin90
Copy link
Contributor

Purpose

Akka HTTP has support for forward proxies via its Pluggable Client Transports. The functionality is used in this update in order to support forward proxies when integrating with Google FCM.

References

Changes

Background Context

@lightbend-cla-validator

Hi @atyutin90,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

https://www.lightbend.com/contribute/cla

Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

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

This is copied in from the Google BigQuery connector AFAICS.
LGTM.

import akka.http.scaladsl.model.headers.BasicHttpCredentials
import akka.http.scaladsl.settings.{ClientConnectionSettings, ConnectionPoolSettings}

private[fcm] object ForwardProxyPoolSettings {
Copy link
Member

Choose a reason for hiding this comment

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

@InternalApi

@ennru ennru added this to the 2.0.3 milestone Oct 23, 2020
@ennru ennru changed the title Forward proxy for Google FCM. Google FCM: Forward proxy Oct 23, 2020
@ennru ennru merged commit c0d644b into akka:master Oct 23, 2020
@ennru
Copy link
Member

ennru commented Oct 23, 2020

Thank you for applying this to Google FCM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants