Blame SOURCES/0009-add-Java-reporting-workflows.patch

27390d
From 5fbeff7b002d0ac0b0fedfd380e3c72ac09be66e Mon Sep 17 00:00:00 2001
27390d
From: Jakub Filak <jfilak@redhat.com>
27390d
Date: Fri, 17 Jan 2014 12:00:56 +0100
27390d
Subject: [LIBREPORT PATCH 09/11] add Java reporting workflows
27390d
27390d
Related to rhbz#1054713
27390d
27390d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
27390d
---
27390d
 po/POTFILES.in                                 |  3 +++
27390d
 src/workflows/Makefile.am                      | 14 ++++++++++----
27390d
 src/workflows/report_fedora.conf               |  4 ++++
27390d
 src/workflows/report_rhel.conf                 |  4 ++++
27390d
 src/workflows/report_rhel_bugzilla.conf        |  4 ++++
27390d
 src/workflows/workflow_FedoraJava.xml.in       | 12 ++++++++++++
27390d
 src/workflows/workflow_RHELBugzillaJava.xml.in | 12 ++++++++++++
27390d
 src/workflows/workflow_RHELJava.xml.in         | 10 ++++++++++
27390d
 8 files changed, 59 insertions(+), 4 deletions(-)
27390d
 create mode 100644 src/workflows/workflow_FedoraJava.xml.in
27390d
 create mode 100644 src/workflows/workflow_RHELBugzillaJava.xml.in
27390d
 create mode 100644 src/workflows/workflow_RHELJava.xml.in
27390d
27390d
diff --git a/po/POTFILES.in b/po/POTFILES.in
27390d
index 426cfcf..26acba1 100644
27390d
--- a/po/POTFILES.in
27390d
+++ b/po/POTFILES.in
27390d
@@ -54,6 +54,7 @@ src/workflows/workflow_FedoraPython.xml.in
27390d
 src/workflows/workflow_FedoraVmcore.xml.in
27390d
 src/workflows/workflow_FedoraXorg.xml.in
27390d
 src/workflows/workflow_FedoraLibreport.xml.in
27390d
+src/workflows/workflow_FedoraJava.xml.in
27390d
 src/workflows/workflow_Upload.xml.in
27390d
 src/workflows/workflow_RHELCCpp.xml.in
27390d
 src/workflows/workflow_RHELKerneloops.xml.in
27390d
@@ -61,9 +62,11 @@ src/workflows/workflow_RHELPython.xml.in
27390d
 src/workflows/workflow_RHELvmcore.xml.in
27390d
 src/workflows/workflow_RHELxorg.xml.in
27390d
 src/workflows/workflow_RHELLibreport.xml.in
27390d
+src/workflows/workflow_RHELJava.xml.in
27390d
 src/workflows/workflow_RHELBugzillaCCpp.xml.in
27390d
 src/workflows/workflow_RHELBugzillaKerneloops.xml.in
27390d
 src/workflows/workflow_RHELBugzillaPython.xml.in
27390d
 src/workflows/workflow_RHELBugzillaVmcore.xml.in
27390d
 src/workflows/workflow_RHELBugzillaXorg.xml.in
27390d
 src/workflows/workflow_RHELBugzillaLibreport.xml.in
27390d
+src/workflows/workflow_RHELBugzillaJava.xml.in
27390d
diff --git a/src/workflows/Makefile.am b/src/workflows/Makefile.am
27390d
index 4a8fb82..54a6f31 100644
27390d
--- a/src/workflows/Makefile.am
27390d
+++ b/src/workflows/Makefile.am
27390d
@@ -7,13 +7,15 @@ dist_workflows_DATA = \
27390d
     workflow_FedoraVmcore.xml \
27390d
     workflow_FedoraXorg.xml \
27390d
     workflow_FedoraLibreport.xml \
27390d
+    workflow_FedoraJava.xml \
27390d
     workflow_Upload.xml \
27390d
     workflow_RHELCCpp.xml \
27390d
     workflow_RHELKerneloops.xml \
27390d
     workflow_RHELPython.xml \
27390d
     workflow_RHELvmcore.xml \
27390d
     workflow_RHELxorg.xml \
27390d
-    workflow_RHELLibreport.xml
27390d
+    workflow_RHELLibreport.xml \
27390d
+    workflow_RHELJava.xml
27390d
 
27390d
 if BUILD_BUGZILLA
27390d
 dist_workflows_DATA += \
27390d
@@ -26,7 +28,8 @@ dist_workflows_DATA += \
27390d
     workflow_RHELBugzillaPython.xml \
27390d
     workflow_RHELBugzillaVmcore.xml \
27390d
     workflow_RHELBugzillaXorg.xml \
27390d
-    workflow_RHELBugzillaLibreport.xml
27390d
+    workflow_RHELBugzillaLibreport.xml \
27390d
+    workflow_RHELBugzillaJava.xml
27390d
 endif
27390d
 
27390d
 workflowsdefdir = $(WORKFLOWS_DEFINITION_DIR)
27390d
@@ -50,13 +53,15 @@ EXTRA_DIST = \
27390d
     workflow_FedoraVmcore.xml.in \
27390d
     workflow_FedoraXorg.xml.in \
27390d
     workflow_FedoraLibreport.xml.in \
27390d
+    workflow_FedoraJava.xml.in \
27390d
     workflow_Upload.xml.in \
27390d
     workflow_RHELCCpp.xml.in \
27390d
     workflow_RHELKerneloops.xml.in \
27390d
     workflow_RHELPython.xml.in \
27390d
     workflow_RHELvmcore.xml.in \
27390d
     workflow_RHELxorg.xml.in \
27390d
-    workflow_RHELLibreport.xml.in
27390d
+    workflow_RHELLibreport.xml.in \
27390d
+    workflow_RHELJava.xml.in
27390d
 
27390d
 if BUILD_BUGZILLA
27390d
 EXTRA_DIST += \
27390d
@@ -69,5 +74,6 @@ EXTRA_DIST += \
27390d
     workflow_RHELBugzillaPython.xml.in \
27390d
     workflow_RHELBugzillaVmcore.xml.in \
27390d
     workflow_RHELBugzillaXorg.xml.in \
27390d
-    workflow_RHELBugzillaLibreport.xml.in
27390d
+    workflow_RHELBugzillaLibreport.xml.in \
27390d
+    workflow_RHELBugzillaJava.xml.in
27390d
 endif
27390d
diff --git a/src/workflows/report_fedora.conf b/src/workflows/report_fedora.conf
27390d
index e935b16..8494661 100644
27390d
--- a/src/workflows/report_fedora.conf
27390d
+++ b/src/workflows/report_fedora.conf
27390d
@@ -21,3 +21,7 @@ EVENT=workflow_FedoraVmcore analyzer=vmcore
27390d
 EVENT=workflow_FedoraXorg analyzer=xorg
27390d
 # this is just a meta event which consists of other events
27390d
 # the list is defined in the xml file
27390d
+
27390d
+EVENT=workflow_FedoraJava analyzer=Java
27390d
+# this is just a meta event which consists of other events
27390d
+# the list is defined in the xml file
27390d
diff --git a/src/workflows/report_rhel.conf b/src/workflows/report_rhel.conf
27390d
index 870db3f..38ee231 100644
27390d
--- a/src/workflows/report_rhel.conf
27390d
+++ b/src/workflows/report_rhel.conf
27390d
@@ -21,3 +21,7 @@ EVENT=workflow_RHELvmcore analyzer=vmcore
27390d
 EVENT=workflow_RHELxorg analyzer=xorg
27390d
 # this is just a meta event which consists of other events
27390d
 # the list is defined in the xml file
27390d
+
27390d
+EVENT=workflow_RHELJava analyzer=Java
27390d
+# this is just a meta event which consists of other events
27390d
+# the list is defined in the xml file
27390d
diff --git a/src/workflows/report_rhel_bugzilla.conf b/src/workflows/report_rhel_bugzilla.conf
27390d
index b986959..08f307b 100644
27390d
--- a/src/workflows/report_rhel_bugzilla.conf
27390d
+++ b/src/workflows/report_rhel_bugzilla.conf
27390d
@@ -21,3 +21,7 @@ EVENT=workflow_RHELBugzillaVmcore analyzer=vmcore
27390d
 EVENT=workflow_RHELBugzillaXorg analyzer=xorg
27390d
 # this is just a meta event which consists of other events
27390d
 # the list is defined in the xml file
27390d
+
27390d
+EVENT=workflow_RHELBugzillaJava analyzer=Java
27390d
+# this is just a meta event which consists of other events
27390d
+# the list is defined in the xml file
27390d
diff --git a/src/workflows/workflow_FedoraJava.xml.in b/src/workflows/workflow_FedoraJava.xml.in
27390d
new file mode 100644
27390d
index 0000000..650197e
27390d
--- /dev/null
27390d
+++ b/src/workflows/workflow_FedoraJava.xml.in
27390d
@@ -0,0 +1,12 @@
27390d
+
27390d
+<workflow>
27390d
+    <_name>Report to Fedora</_name>
27390d
+    <_description>Process the Java exception using the Fedora infrastructure</_description>
27390d
+
27390d
+    <events>
27390d
+        <event>report_uReport</event>
27390d
+        <event>collect_*</event>
27390d
+        <event>report_Bugzilla</event>
27390d
+        <event>post-report</event>
27390d
+    </events>
27390d
+</workflow>
27390d
diff --git a/src/workflows/workflow_RHELBugzillaJava.xml.in b/src/workflows/workflow_RHELBugzillaJava.xml.in
27390d
new file mode 100644
27390d
index 0000000..3ef7619
27390d
--- /dev/null
27390d
+++ b/src/workflows/workflow_RHELBugzillaJava.xml.in
27390d
@@ -0,0 +1,12 @@
27390d
+
27390d
+<workflow>
27390d
+    <_name>Report to Red Hat Bugzilla</_name>
27390d
+    <_description>Process the Java exception using the Red Hat infrastructure</_description>
27390d
+
27390d
+    <events>
27390d
+        <event>report_uReport</event>
27390d
+        <event>collect_*</event>
27390d
+        <event>report_Bugzilla</event>
27390d
+        <event>post-report</event>
27390d
+    </events>
27390d
+</workflow>
27390d
diff --git a/src/workflows/workflow_RHELJava.xml.in b/src/workflows/workflow_RHELJava.xml.in
27390d
new file mode 100644
27390d
index 0000000..23ef0cb
27390d
--- /dev/null
27390d
+++ b/src/workflows/workflow_RHELJava.xml.in
27390d
@@ -0,0 +1,10 @@
27390d
+
27390d
+<workflow>
27390d
+    <_name>Report to Red Hat Customer Portal</_name>
27390d
+    <_description>Process the Java exception using the Red Hat infrastructure</_description>
27390d
+
27390d
+    <events>
27390d
+        <event>collect_*</event>
27390d
+        <event>report_RHTSupport</event>
27390d
+    </events>
27390d
+</workflow>
27390d
-- 
27390d
1.8.3.1
27390d