Change in ovirt-engine[master]: webadmin: add background cache update to dashboard data servlet

From Greg Sheremeta <gshereme@redhat.com>:
Greg Sheremeta has submitted this change and it was merged. Change subject: webadmin: add background cache update to dashboard data servlet ...................................................................... webadmin: add background cache update to dashboard data servlet Using JSR-236 JavaEE 7 Concurrency APIs, setup two background tasks that will query the engine and DWH databases as needed to satisfy DashboardDataServlet data requirements. The tasks are scheduled at periodic intervals based on their cache lifespan intervals. This will also warm up the cache at start up time so the first user to load dashboard data does not need to incur first query penalties. Configuration options have been added to ovirt-engine.conf to: - enable/disable the background cache update - control the interval between updates for the inventory cache - control the interval between updates for the utilization cache Change-Id: I2bb9e41835759e4c16aec801801e7f9149977b40 Bug-Url: https://bugzilla.redhat.com/1344428 Signed-off-by: Scott J Dickerson <sdickers@redhat.com> --- M ear/src/main/application/META-INF/jboss-deployment-structure.xml M frontend/webadmin/modules/frontend/pom.xml M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/dashboard/DashboardDataServlet.java M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/dashboard/fake/FakeDataGenerator.java M frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml M packaging/services/ovirt-engine/ovirt-engine.conf.in M packaging/services/ovirt-engine/ovirt-engine.xml.in M pom.xml 8 files changed, 251 insertions(+), 54 deletions(-) Approvals: Jenkins CI: Passed CI tests Greg Sheremeta: Looks good to me, approved Scott Dickerson: Verified -- To view, visit https://gerrit.ovirt.org/67709 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2bb9e41835759e4c16aec801801e7f9149977b40 Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Scott Dickerson <sdickers@redhat.com> Gerrit-Reviewer: Alexander Wels <awels@redhat.com> Gerrit-Reviewer: Greg Sheremeta <gshereme@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Martin Peřina <mperina@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Scott Dickerson <sdickers@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vszocs@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review