Yaniv Dary has uploaded a new change for review.

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

reports: provide reports.xml to engine over http

this is to support reports integration to webadmin on separate
servers.

Change-Id: Ifa975703496318f10a73845a94f86b3966ad13da
Bug-Url: https://bugzilla.redhat.com/1116851
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, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/24/30724/1

diff --git a/ovirt-engine-reports.spec.in b/ovirt-engine-reports.spec.in
index 4a63efc..57e78db 100644
--- a/ovirt-engine-reports.spec.in
+++ b/ovirt-engine-reports.spec.in
@@ -203,7 +203,6 @@
 %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 ffd841d..5e5d442 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,7 +63,10 @@
             self.environment[otopicons.CoreEnv.MAIN_TRANSACTION].append(
                 filetransaction.FileTransaction(
                     name=os.path.join(
-                        oreportscons.FileLocations.OVIRT_ENGINE_LOCALSTATEDIR,
+                        (
+                            oreportscons.FileLocations.
+                            OVIRT_ENGINE_REPORTS_JASPER_WAR
+                        ),
                         'reports.xml',
                     ),
                     content=content.read(),


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa975703496318f10a73845a94f86b3966ad13da
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