Bug 957288 - Add EAP base/home directory bundle target to EAP 6 plug-in
Summary: Add EAP base/home directory bundle target to EAP 6 plug-in
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.1.2
Hardware: All
OS: Unspecified
high
high
Target Milestone: ER01
: JON 3.2.0
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 957282
Blocks: 958980
TreeView+ depends on / blocked
 
Reported: 2013-04-26 21:08 UTC by Larry O'Leary
Modified: 2018-12-01 15:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 957282
: 958980 (view as bug list)
Environment:
Last Closed:
Type: Feature Request
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 356283 0 None None None Never

Description Larry O'Leary 2013-04-26 21:08:29 UTC
+++ 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.

Comment 1 John Mazzitelli 2013-04-29 15:16:08 UTC
git commit to master: fabce76

Comment 2 Larry O'Leary 2013-05-16 00:08:17 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


Although it makes sense that "Install Directory" use homeDir it doesn't allow the bundle to get deployed in the servers deployment directory. The server in this case is in <homeDir>/standalone/ and <homeDir>/standalone02/. The property we want is baseDir.

Not sure if we should add both of these or change "Installation Directory" to "Base Directory" with the description "Base directory for server content."

Comment 3 John Mazzitelli 2013-05-16 17:12:23 UTC
git commit to master: b9ce1ee

Added this:

<destination-base-dir name="Base Directory" description="The base directory for server content, such as '[install-dir]/standalone' (i.e. the value found in the 'Base Directory' connection property)">
   <value-context>pluginConfiguration</value-context>
   <value-name>baseDir</value-name>
</destination-base-dir>

Comment 4 Larry O'Leary 2013-09-06 14:31:32 UTC
As this is MODIFIED or ON_QA, setting milestone to ER1.

Comment 5 Libor Zoubek 2013-11-18 17:29:05 UTC
verified on ER05


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