Bug 1002647

Summary: Deleting deployed war file does not remove 'Applications' folder and underlying resources under 'Switchyard'
Product: [JBoss] JBoss Operations Network Reporter: Varun Khurana <vkhurana>
Component: Plugin -- SOA 6Assignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: ckannan, lzoubek
Target Milestone: ---   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 14:05:19 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:

Description Varun Khurana 2013-08-29 16:08:40 UTC
Description of problem:
Deleting deployed war file does not remove 'Applications' folder and underlying resources under 'Switchyard'. Instead some of the underlying resources become unavailable.

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


How reproducible:
always

Steps to Reproduce:
1. Deploy a sample SOA quickstart SOAP application into JON.
2. Go to EAP under JBossAS7 Standalone Servers. Go to Inventory->Child Resources.
3. Select the war file and click on Delete.

Actual results:
Under 'Switchyard', 'Applications' folder and underlying resources can still be seen, though some of the underlying resources become unavailable.

Expected results:
The 'Applications' folder and underlying resources should be removed.

Additional info:

Comment 1 Libor Zoubek 2013-09-04 12:54:28 UTC
This is not a plugin bug, but RHQ "feature". RHQ has does not have any reference between regular deployment and switchyard application, thatswhy it cannot know, what should be removed when deployment is removed. There is currently no simple way of soloving it in general.