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

feat(proxy):add fallback to proxy base_url #1873

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hassan254-prog
Copy link
Collaborator

Describe your changes

Continuing from this, #1770 (comment). We need to have a fallback incase api_base_url_for_customer field is not populated in the connection configuration. I have also added a unit test for this..

template: {
auth_mode: AuthModes.OAuth2,
proxy: {
base_url: '${connectionConfig.api_base_url_for_customer} || https://api.gong.io'
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think I have the full context but I would not go this way and add a new attributes to avoid this pseudo-js syntax. I'll let the others weigh on this

@TBonnin
Copy link
Collaborator

TBonnin commented Mar 19, 2024

how many customers use the gong integration in prod. If number is small, can we coordinate with them to update their connection instead of making the providers definition and code more complicated?

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

Successfully merging this pull request may close these issues.

None yet

3 participants