[jboss-jira] [JBoss JIRA] (AS7-5505) Cannot overlay in a single composite operation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Sep 7 06:38:33 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler reassigned AS7-5505:
-----------------------------------

    Assignee: Stuart Douglas  (was: Brian Stansberry)

    
> Cannot overlay in a single composite operation
> ----------------------------------------------
>
>                 Key: AS7-5505
>                 URL: https://issues.jboss.org/browse/AS7-5505
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Server
>            Reporter: Thomas Diesler
>            Assignee: Stuart Douglas
>             Fix For: 7.2.0.Alpha1
>
>
> In order to support AS7-3694 I need to associate a META-INF/jboss-all.xml descriptor with bundle deployments. This I currently do in six discrete steps
> {code}
> {
>     "address" => ("deployment-overlay" => "bundle-b.jar/META-INF/jboss-all.xml"),
>     "operation" => "add"
> }
> {
>     "address" => undefined,
>     "operation" => "upload-deployment-stream",
>     "input-stream-index" => 0
> }
> {
>     "address" => [
>         ("deployment-overlay" => "bundle-b.jar/META-INF/jboss-all.xml"),
>         ("content" => "META-INF/jboss-all.xml")
>     ],
>     "operation" => "add",
>     "content" => {"hash" => bytes {
>         0xdb, 0x79, 0x11, 0xff, 0xdf, 0x8f, 0xfc, 0x65,
>         0xc2, 0xe3, 0x6b, 0x20, 0xa5, 0x89, 0xa7, 0xdb,
>         0x10, 0xed, 0xcc, 0xc0
>     }}
> }
> {
>     "address" => [
>         ("deployment-overlay" => "bundle-b.jar/META-INF/jboss-all.xml"),
>         ("deployment" => "bundle-b.jar")
>     ],
>     "operation" => "add"
> }
> {
>     "operation" => "add",
>     "address" => [("deployment" => "bundle-b.jar")],
>     "runtime-name" => "bundle-b.jar",
>     "content" => [{"input-stream-index" => 0}]
> }
> {
>     "operation" => "deploy",
>     "address" => [("deployment" => "bundle-b.jar")]
> }
> {code}
> As far as I know these cannot be combined in a composite operation because step #3 uses the result of #2.
> The management API should allow this to happen in a single composite operation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list