Bug 958980

Summary: Add EAP base/home directory bundle target to EAP 6 plug-in
Product: [JBoss] JBoss Operations Network Reporter: Larry O'Leary <loleary>
Component: Plugin -- JBoss EAP 6Assignee: Larry O'Leary <loleary>
Status: CLOSED NEXTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: JON 3.1.2CC: mazz
Target Milestone: ER01Keywords: FutureFeature
Target Release: JON 3.1.3   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 957288
: 958981 (view as bug list) Environment:
Last Closed: 2013-09-06 02:24:54 UTC Type: Feature Request
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: 957288    
Bug Blocks: 958981    

Description Larry O'Leary 2013-05-02 20:41:51 UTC
Back-port this feature/request to the latest 3.1.x release.

+++ This bug was initially created as a clone of JBoss ON 3.2 Bug #957288 +++

+++ This bug was initially created as a clone of Bug #957282 +++

had discussions with larry l, charles c and alan s.

came to the conclusion we should support the same bundle target that the other jboss plugins support - being able to deploy anywhere under the base install dir of the AS installation.

--- Additional comment from John Mazzitelli on 2013-04-26 16:22:40 EDT ---

we want to add something like this:

      <bundle-target>
         <destination-base-dir name="Install Directory" description="The top directory where the application server is installed.">
            <value-context>pluginConfiguration</value-context>
            <value-name>homeDir</value-name>
         </destination-base-dir>
      </bundle-target>

We can keep the original destination-base-dir in here if we want (keeping the metric "deploy dir" target) and add any others we want in the future.

--- Additional comment from John Mazzitelli on 2013-04-29 11:16:08 EDT ---

git commit to master: fabce76

Comment 1 Larry O'Leary 2013-05-09 23:51:13 UTC
Committed to release/jon3.1.x as https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=a214605ec9abd53cc20b0a3eeeed34465b54e9f1

commit a214605ec9abd53cc20b0a3eeeed34465b54e9f1
Author: John Mazzitelli <mazz>
Date:   Mon Apr 29 11:15:34 2013 -0400

    BZ 957282 957288 add bundle target of "Install Directory"
    (cherry picked from commit fabce7666b08f73ea113807ec42b47a3d3eb5929)

Comment 2 Larry O'Leary 2013-05-16 00:04:01 UTC
Test failed.

The deployment does not end up in the standalone installation but instead is rooted at JBOSS_HOME. The expectation was to specify the deployment directory as the path prefix. For example:

    deployments/my-bundle-dest.war

Comment 3 Larry O'Leary 2013-05-16 18:32:28 UTC
Committed to release/jon3.1.x as https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=79cf09367563622891b75d5f0f06f4b86d14a5d2

commit 79cf09367563622891b75d5f0f06f4b86d14a5d2
Author: John Mazzitelli <mazz>
Date:   Thu May 16 13:11:14 2013 -0400

    BZ 957282 957288 add bundle target of "Base Directory"
    (cherry picked from commit b9ce1ee3cc01fd2bf5614f10e164a1f4cebfe42c)

Comment 4 Larry O'Leary 2013-09-06 02:24:54 UTC
Closing as there will not be a 3.1.3 release. This is being tracked for 3.2 in the 'depends on' field.