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

DB connectors appear in the UI if they are configured #15399

Merged
merged 3 commits into from
Jan 17, 2020

Conversation

alejandraarri
Copy link
Contributor

@alejandraarri alejandraarri commented Jan 16, 2020

We should display only the connectors that are configured in the app_config.yml.

Related issue

https://github.com/CartoDB/support/issues/2332#issuecomment-575101514
https://github.com/CartoDB/support/issues/2332

@alejandraarri alejandraarri marked this pull request as ready for review January 16, 2020 14:36
Copy link
Contributor

@jesusbotella jesusbotella left a comment

Choose a reason for hiding this comment

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

It looks good. We need to make sure that we have default values in platform repository.

@@ -35,6 +35,10 @@ def frontend_config_hash(user = current_user)
oauth_mechanism_bigquery: Cartodb.get_config(:oauth, 'bigquery', 'oauth_mechanism'),
arcgis_enabled: Cartodb.get_config(:datasources, 'arcgis_enabled'),
salesforce_enabled: Cartodb.get_config(:datasources, 'salesforce_enabled'),
mysql_enabled: Cartodb.get_config(:connectors, 'mysql', 'enabled'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Have we set default values for this in the platform repo? :)

Copy link
Contributor

@jesusbotella jesusbotella left a comment

Choose a reason for hiding this comment

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

Great!

@alejandraarri alejandraarri merged commit 0ad4846 into master Jan 17, 2020
@alejandraarri alejandraarri deleted the connectors-ui-config branch January 17, 2020 12:10
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

2 participants