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

New API (helper) to retrieve Kill Bill region #11

Closed
pierre opened this issue Jul 12, 2017 · 0 comments
Closed

New API (helper) to retrieve Kill Bill region #11

pierre opened this issue Jul 12, 2017 · 0 comments
Assignees

Comments

@pierre
Copy link
Member

pierre commented Jul 12, 2017

Kill Bill should export the region it's deployed in (colo, us-east-1, etc.).

Implementation could be as easy as expecting a system property org.killbill.server.region (which we could also expose in KillbillServerConfig) and retrieving it from OSGIConfigProperties.

Plugins could then use it for region-specific properties, e.g. the Adyen plugin could look for org.killbill.billing.plugin.adyen.{region}.paymentUrl on top of org.killbill.billing.plugin.adyen.paymentUrl to see if a region-specific URL is defined.

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

No branches or pull requests

1 participant