Bug 1258870

Summary: It is not possible to delete events using JBoss ON CLI
Product: [JBoss] JBoss Operations Network Reporter: bkramer <bkramer>
Component: CLIAssignee: Michael Burman <miburman>
Status: CLOSED ERRATA QA Contact: Prachi <pyadav>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.3.2CC: fbrychta, lzoubek, mfoley, miburman, pyadav
Target Milestone: ER01Keywords: Triaged
Target Release: JON 3.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-28 14:37:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1258873    
Bug Blocks:    

Description bkramer 2015-09-01 12:40:29 UTC
Description of problem:

Methods: 

    ** int deleteEventsForContext(Subject subject, EntityContext context, List<Integer> eventIds);
    ** int purgeEventsForContext(Subject subject, EntityContext context);

are not exposed in EventManagerRemote so it is not possible to delete events using JBoss ON CLI.

Version-Release number of selected component (if applicable):
JBoss ON 3.3.2

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Michael Burman 2015-09-29 15:50:20 UTC
Fixed in the msater:

commit fc3849c64739399d95c76c01316775e2b7b044f2
Author: Michael Burman <miburman>
Date:   Tue Sep 29 18:49:42 2015 +0300

    [BZ 1258870] Expose purgeEventForContext and deleteEventsForContext to remote API

Comment 4 Libor Zoubek 2015-09-30 19:34:30 UTC
branch:  release/jon3.3.x
link:    https://github.com/rhq-project/rhq/commit/5419181f4
time:    2015-09-30 21:34:00 +0200
commit:  5419181f4f88e6e4b4dd4de492598f4acf43c5a0
author:  Michael Burman - miburman
message: [BZ 1258870] Expose purgeEventForContext and deleteEventsForContext to
         remote API

         (cherry picked from commit
         fc3849c64739399d95c76c01316775e2b7b044f2) Signed-off-by: Libor
         Zoubek <lzoubek>

Comment 6 Simeon Pinder 2015-10-09 04:40:25 UTC
Moving to ON_QA as available to test with the following build:
https://brewweb.devel.redhat.com/buildinfo?buildID=460382

 *Note: jon-server-patch-3.3.0.GA.zip maps to ER01 build of
 jon-server-3.3.0.GA-update-04.zip.

Comment 11 errata-xmlrpc 2015-10-28 14:37:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1947.html