You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/07/11 23:02:12 UTC

[GitHub] [incubator-superset] robdiciuccio opened a new pull request #7856: Adds the ability to replace/extend caching backend

robdiciuccio opened a new pull request #7856: Adds the ability to replace/extend caching backend
URL: https://github.com/apache/incubator-superset/pull/7856
 
 
   ### CATEGORY
   
   - [ ] Bug Fix
   - [X] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   Adds the ability to replace or extend the caching backend in Superset by passing a function via the `CACHE_CONFIG` configuration option. The initialization function should return a custom caching module instance that is compatible with the Flask-Caching API.
   
   This extension of functionality allows additional processing to be performed in the cache lifecycle to accommodate additional use cases, such as (de)serialization or encryption.
   
   ### TEST PLAN
   
   1. Configure Superset with no `CACHE_CONFIG` value, ensure proper operation
   2. Configure Superset with standard `dict` `CACHE_CONFIG` value, ensure proper operation
   3. Configure Superset with custom init function `CACHE_CONFIG` value (see included documentation), ensure proper operation
   
   ### ADDITIONAL INFORMATION
   - [X] Has associated issue: https://github.com/apache/incubator-superset/issues/7855
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   ### REVIEWERS
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org