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

add cache policy parameter to ldap user federation #376

Merged

Conversation

cgroschupp
Copy link
Contributor

No description provided.

@cgroschupp cgroschupp force-pushed the feat/add-ldap-cache-policy-parameter branch 4 times, most recently from a1d6c95 to 8bcb857 Compare September 3, 2020 12:48
@mrparkers
Copy link
Owner

Hey @cgroschupp, thanks for the PR. These changes look good. What would you think about deprecating the existing cache_policy attribute in favor of this new schema you've created? I figure the updated version could look something like this:

cache {
  policy          = "EVICT_WEEKLY"
  eviction_day    = 2
  eviction_hour   = 0
  eviction_minute = 0
}

If you like this, I can push some changes to your branch to get it implemented, or you could take a stab at it yourself.

@cgroschupp cgroschupp force-pushed the feat/add-ldap-cache-policy-parameter branch 3 times, most recently from ae83c44 to 9b1742b Compare September 4, 2020 13:19
@cgroschupp cgroschupp force-pushed the feat/add-ldap-cache-policy-parameter branch from 9b1742b to 1f1c4bd Compare September 4, 2020 13:49
@cgroschupp
Copy link
Contributor Author

@mrparkers thank you for your feedback. I have deprecated cache_policy and added it to the cache schema.

@cgroschupp
Copy link
Contributor Author

@mrparkers Is the change ok?

Copy link
Owner

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

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

Yup this looks good, thanks for the PR!

@mrparkers mrparkers merged commit 2507e3d into mrparkers:master Sep 18, 2020
hcl31415 pushed a commit to hcl31415/terraform-provider-keycloak that referenced this pull request Oct 12, 2020
hcl31415 pushed a commit to hcl31415/terraform-provider-keycloak that referenced this pull request Oct 12, 2020
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