-
Notifications
You must be signed in to change notification settings - Fork 664
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
find a better way to manage cache #43
Comments
Same for updating the schema itself as well. --Dan |
implemented http://localhost:8080/saiku/rest/saiku/admin/discover/refresh |
Awesome! A refresh button within the main interface for users with appropriate permissions (in addition to or instead of an admin console) would be nice. |
there is a button now. just download the latest build. we dont do permissions in the ui yet, but we will get there! let me know what you think |
Hi everyone, I implemented the plugin on Pentaho Bi Sever 4.5 and I need to find the way to "auto refresh" the saiku schema cache, I already did it with the mondrian cache executing the xaction, but I still didn't find the way to do the same that saiku UI does. Could somebody tell me which is the command that the refresh button from saiku execute? Thanks a lot! |
you can check the url thats called when you hit the refresh button.... something like /discover/refresh i think then you can use that anywhere to refresh the cache |
Thanks for your reply, but i did it and didn't work. I call the url called by the button: http://localhost:8080/pentaho/content/saiku-ui/index.html?biplugin=true#refresh_cubes I need to find a walk around to this, I'll aprreciate any idea. Thanks! |
its not that url, its a backend URL and will look like that: http://dev.analytical-labs.com/saiku/rest/saiku/admin/discover/refresh curl --user "admin:admin" http://dev.analytical-labs.com/saiku/rest/saiku/admin/discover/refresh curl --user "joe:password" http://localhost:8080/pentaho/content/saiku/rest/saiku/admin/discover/refresh |
Hi Paul, thank for your quick response! I tried the url you told me but i got an error HTTP 404 - Not Found Sorry that I bother you, but can you tell me how do I must look for that content? To know if i going through the right URL. Thanks again. |
ah sorry thats a typo: curl --user "joe:password" http://localhost:8080/pentaho/content/saiku/admin/discover/refresh |
Great, that works! Thanks a lot Paul! |
see brief discussion in IRC:
codek: for the time being, you could switch of caching at schema level
it had dawned on me that we have no way to flush the cache at the mo
cool, we need that admin console asap ;)
what we should create is a rest endpoint for cache clearing, so when your ETL is complete it can hit a Saiku URL and flush the cache for you
The text was updated successfully, but these errors were encountered: