Skip to content

[Notifier][GatewayApi] - Way to use EU host #59636

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

Closed
ramon25 opened this issue Jan 28, 2025 · 3 comments
Closed

[Notifier][GatewayApi] - Way to use EU host #59636

ramon25 opened this issue Jan 28, 2025 · 3 comments

Comments

@ramon25
Copy link

ramon25 commented Jan 28, 2025

Description

We are currently using the GatewayAPI Transport with the Notifier bundle.
Since we want to use the EU version of the platform, we need to use the host gatewayapi.eu instead of gatewayapi.com.
As far as I can tell, the host is hardcoded as a constant in this file.
Is there a way to make the host configurable?

Example

No response

@xabbuh
Copy link
Member

xabbuh commented Jan 28, 2025

That's indeed not possible right now. PR welcome to make this possible in 7.3 I guess (maybe something like #58264 will do it).

@xabbuh xabbuh added the Feature label Jan 28, 2025
@xabbuh
Copy link
Member

xabbuh commented Jan 28, 2025

in fact, as a workaround you should be able to call setHost() on the GatewayApiTransport class for now

@ramon25
Copy link
Author

ramon25 commented Jan 29, 2025

I discovered that changing "default" in the DSN to "gatewayapi.eu" automatically sets the host in the GatewayApiTransportFactory.

@ramon25 ramon25 closed this as completed Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants