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

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