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

Rtorre/ch57809/rui store bq and gcs user settings in redis #15453

Merged

Conversation

rafatower
Copy link
Contributor

Pretty much the design we talked about: central -> rui -> redis <- do.

It doesn't break much of the existing code (see limits for instance)

The plan is to make Central synchronize updates by adding gcloud_account to ATTRIBUTES_FOR_CLOUD so that it can enjoy the facilities there (with a little bit of massaging? otherwise I'll make an explicit call with the attributes we're interested in).

FTM I excluded the instant_licensing flag synchronization, which would complicate matters unnecessarily at this point.

Copy link
Contributor

@gonzaloriestra gonzaloriestra left a comment

Choose a reason for hiding this comment

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

LGTM! Just some minor suggestions, the main one regarding user management in the specs.

lib/carto/gcloud_user_settings.rb Show resolved Hide resolved
lib/carto/gcloud_user_settings.rb Outdated Show resolved Hide resolved
lib/carto/gcloud_user_settings.rb Outdated Show resolved Hide resolved
spec/requests/superadmin/users_spec.rb Outdated Show resolved Hide resolved
spec/requests/superadmin/users_spec.rb Outdated Show resolved Hide resolved
@rafatower rafatower force-pushed the rtorre/ch57809/rui-store-bq-and-gcs-user-settings-in-redis branch from 8f2876c to 65543ea Compare February 4, 2020 12:26
Copy link
Contributor

@gonzaloriestra gonzaloriestra left a comment

Choose a reason for hiding this comment

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

👌

@rafatower rafatower merged commit 1f28929 into master Feb 4, 2020
@rafatower rafatower deleted the rtorre/ch57809/rui-store-bq-and-gcs-user-settings-in-redis branch February 4, 2020 17:11
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.

2 participants