Bug 817152 - RFE: [as7] Support retrieving content on exploded deployments
RFE: [as7] Support retrieving content on exploded deployments
Status: NEW
Product: RHQ Project
Classification: Other
Component: Plugins (Show other bugs)
4.4
Unspecified Unspecified
medium Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
: FutureFeature
Depends On:
Blocks: as7-plugin
  Show dependency treegraph
 
Reported: 2012-04-27 16:40 EDT by Lukas Krejci
Modified: 2012-04-30 11:36 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Lukas Krejci 2012-04-27 16:40:05 EDT
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.