Yaniv Dary has uploaded a new change for review.

Change subject: Revert "reports: provide reports.xml to engine over http"
......................................................................

Revert "reports: provide reports.xml to engine over http"

This reverts commit 1cef17b7217494e1a90a374d749ab09f651f86d6.

Change-Id: I8736651ea01f72d3ae11de404ae81bef76924b27
Signed-off-by: Yaniv Dary <[email protected]>
---
M ovirt-engine-reports.spec.in
M 
packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/config/engine.py
2 files changed, 2 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/23/30723/1

diff --git a/ovirt-engine-reports.spec.in b/ovirt-engine-reports.spec.in
index 57e78db..4a63efc 100644
--- a/ovirt-engine-reports.spec.in
+++ b/ovirt-engine-reports.spec.in
@@ -203,6 +203,7 @@
 %endif
 if [ "$1" -eq 0 ]; then
        rm -rf /var/lib/ovirt-engine-reports/%{reports_name}.war
+       rm -f /var/lib/ovirt-engine/reports.xml
 fi
 
 %files
diff --git 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/config/engine.py
 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/config/engine.py
index 5e5d442..ffd841d 100644
--- 
a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/config/engine.py
+++ 
b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine-reports/config/engine.py
@@ -63,10 +63,7 @@
             self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append(
                 filetransaction.FileTransaction(
                     name=os.path.join(
-                        (
-                            oreportscons.FileLocations.
-                            OVIRT_ENGINE_REPORTS_JASPER_WAR
-                        ),
+                        oreportscons.FileLocations.OVIRT_ENGINE_LOCALSTATEDIR,
                         'reports.xml',
                     ),
                     content=content.read(),


-- 
To view, visit http://gerrit.ovirt.org/30723
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8736651ea01f72d3ae11de404ae81bef76924b27
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Yaniv Dary <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to