1. Modified visualization request handlers so that they can handle privileges i.e. give access to users who have the right permissions to view that visualization related page.

2. Improved how short url parameters were extracted.
3. Added a new feature "Refresh Visualziation Cache" which reconstructs all the models that are currently saved. This so that the admin can rebuild the vis cache instead of having to restart the server to rebuilding the cache.
This commit is contained in:
tankchintan 2011-07-12 19:30:05 +00:00
parent 5a64d388c8
commit f2148a785c
33 changed files with 490 additions and 27 deletions

View file

@ -43,6 +43,9 @@
<bean id="map_of_science"
class="edu.cornell.mannlib.vitro.webapp.visualization.mapofscience.MapOfScienceVisualizationRequestHandler" />
<bean id="regenerate_vis_models"
class="edu.cornell.mannlib.vitro.webapp.visualization.modelconstructor.ModelConstructorRequestHandler" />
<bean id="visualizationInjector"
class="edu.cornell.mannlib.vitro.webapp.controller.visualization.VisualizationInjector">
<property name="visualizations">
@ -111,6 +114,10 @@
<entry key="map-of-science">
<ref bean="map_of_science"></ref>
</entry>
<entry key="refresh-cache">
<ref bean="regenerate_vis_models"></ref>
</entry>
</map>