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

Rebuild UMAPI Cache Tables After Version Change #213

Conversation

ddybvig-perf
Copy link

Summary

This pull request adds a new method to the UMAPICache class, rebuild_tables, that will drop existing tables in the UMAPI cache and then rebuild them. This method gets called when the version number is incremented.

Testing Steps

I added one test to test_cache.py to check that the method successfully drops the tables and then rebuilds them.

Fixes #212

add version check in UmapiCache init. add rebuild_tables method to call if version has been updated
@adorton-adobe
Copy link

@ddybvig-perf please resolve the merge conflicts and I'll take a look.

@adorton-adobe adorton-adobe merged commit 129391d into adobe-dmeservices:feature/umapi-cache May 3, 2022
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