Ravi Nori has posted comments on this change. Change subject: engine, webadmin: Webadmin read reports.xml from remote reports app ......................................................................
Patch Set 22: (6 comments) http://gerrit.ovirt.org/#/c/29723/22/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/ReportInit.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/ReportInit.java: Line 25: Line 26: private static final ReportInit INSTANCE = new ReportInit(); Line 27: private static final int MAX_RETRY_COUNTS = 20; Line 28: private static final int RETRY_INTERVAL = 30000; Line 29: public static final String ReportRedirectService = "/ovirt-engine/services/reports-redirect"; //$NON-NLS-1$ > how come this has /ovirt-engine/ while the bellow not? I think the root par done Line 30: public static final String ReportStatusService = "services/reports-proxy?command=status"; //$NON-NLS-1$ Line 31: public static final String ReportXmlService = "services/reports-proxy?command=webadmin-ui-xml"; //$NON-NLS-1$ Line 32: private int retryCount; Line 33: private boolean reportsWebappDeployed; http://gerrit.ovirt.org/#/c/29723/22/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabReportsView.java File frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/MainTabReportsView.java: Line 24 Line 25 Line 26 Line 27 Line 28 > unrelated Done http://gerrit.ovirt.org/#/c/29723/22/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql File packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql: Line 543 Line 544 Line 545 Line 546 Line 547 > don't you need to remove it? Done http://gerrit.ovirt.org/#/c/29723/22/packaging/services/ovirt-engine/ovirt-engine.conf.in File packaging/services/ovirt-engine/ovirt-engine.conf.in: Line 213: # Line 214: # Reports Line 215: # by default serv 404. Line 216: # Line 217: ENGINE_REPORTS_COMMAND_INTERFACE_URL= > this should be the base url for the entire reports, not only command interf Will change to ENGINE_REPORTS_BASE_URL, sounds okay? Line 218: ENGINE_REPORTS_DASHBOARD_URL=${ENGINE_REPORTS_COMMAND_INTERFACE_URL}/flow.html?viewAsDashboardFrame=true Line 219: ENGINE_REPORTS_PROXY_URL=${ENGINE_REPORTS_COMMAND_INTERFACE_URL}/ReportsProxy Line 220: Line 221: Line 214: # Reports Line 215: # by default serv 404. Line 216: # Line 217: ENGINE_REPORTS_COMMAND_INTERFACE_URL= Line 218: ENGINE_REPORTS_DASHBOARD_URL=${ENGINE_REPORTS_COMMAND_INTERFACE_URL}/flow.html?viewAsDashboardFrame=true > the flow is jasper's, right? so it is not command interface. if it is the i This is the URL on Jasper to which the servlet at reports-redirect should redirect to. flow.html is a resource on Jasper, so I don't think we can that Line 219: ENGINE_REPORTS_PROXY_URL=${ENGINE_REPORTS_COMMAND_INTERFACE_URL}/ReportsProxy Line 220: Line 221: Line 215: # by default serv 404. Line 216: # Line 217: ENGINE_REPORTS_COMMAND_INTERFACE_URL= Line 218: ENGINE_REPORTS_DASHBOARD_URL=${ENGINE_REPORTS_COMMAND_INTERFACE_URL}/flow.html?viewAsDashboardFrame=true Line 219: ENGINE_REPORTS_PROXY_URL=${ENGINE_REPORTS_COMMAND_INTERFACE_URL}/ReportsProxy > the remote should not be called proxy :) Will change the remote to ReportsServlet is that okay? Line 220: Line 221: -- To view, visit http://gerrit.ovirt.org/29723 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I76db7ab889f21de083bb3c8276e8abb77b68fdb3 Gerrit-PatchSet: 22 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ravi Nori <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Alona Kaplan <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: Ravi Nori <[email protected]> Gerrit-Reviewer: Shirly Radco <[email protected]> Gerrit-Reviewer: Yaniv Dary <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
