Bug 817152 - RFE: [as7] Support retrieving content on exploded deployments
Summary: RFE: [as7] Support retrieving content on exploded deployments
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-04-27 20:40 UTC by Lukas Krejci
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Lukas Krejci 2012-04-27 20:40:05 UTC
Description of problem:
Currently (as of resolving bug 816593) we support working with content of archived deployments. It would be good, if more complex, to add support for retrieving content of exploded deployments, too.

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


How reproducible:
always

Steps to Reproduce:
1. Deploy a WAR file to AS7 exploded
2. Let RHQ discover it
3. in the CLI, try:
PackageFactory.getResource(<ID_OF_THE_WAR_RESOURCE>).retrieveBackingContent('file_to_save');
  
Actual results:
The content is not retrieved

Expected results:
The plugin should clever enough to zip up the exploded deployment and return the zip as the content of the deployment.

Additional info:
The initial implementation (in bug 816593) didn't take this into account. We don't support deploying exploded. It is also not very clear, what should we report as the list of discovered packages when discovering packages of an exploded deployment - should it be just the top level directory or every file underneath?


Note You need to log in before you can comment on or make changes to this bug.