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

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