]
Michal Jurc moved JBEAP-6633 to WFCORE-1896:
--------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1896 (was: JBEAP-6633)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
Affects Version/s: 3.0.0.Alpha10
(was: 7.1.0.DR6)
(was: 7.1.0.DR7)
Deployment operation browse-content(archive=true) does not return
archives in archived deployments
--------------------------------------------------------------------------------------------------
Key: WFCORE-1896
URL:
https://issues.jboss.org/browse/WFCORE-1896
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha10
Reporter: Michal Jurc
Assignee: ehsavoie Hugonnet
Deployment operation browse-content(archive=true) does not return archives in archived
deployments:
{code}[standalone@localhost:9990 /]
/deployment=jboss-kitchensink-ear.ear:browse-content()
{
"outcome" => "success",
"result" => [
{
"path" => "jboss-kitchensink-ear-web.war",
"directory" => false,
"file-size" => 63190L
},
{
"path" => "jboss-kitchensink-ear-ejb.jar",
"directory" => false,
"file-size" => 12256L
},
{
"path" =>
"META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink-ear-ear/pom.xml",
"directory" => false,
"file-size" => 5582L
},
{
"path" =>
"META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink-ear-ear/pom.properties",
"directory" => false,
"file-size" => 143L
},
{
"path" =>
"META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink-ear-ear/",
"directory" => true
},
{
"path" =>
"META-INF/maven/org.jboss.quickstarts.eap/",
"directory" => true
},
{
"path" => "META-INF/maven/",
"directory" => true
},
{
"path" => "META-INF/MANIFEST.MF",
"directory" => false,
"file-size" => 130L
},
{
"path" => "META-INF/application.xml",
"directory" => false,
"file-size" => 802L
},
{
"path" =>
"META-INF/kitchensink-ear-quickstart-ds.xml",
"directory" => false,
"file-size" => 1955L
},
{
"path" => "META-INF/",
"directory" => true
}
]
}
[standalone@localhost:9990 /]
/deployment=jboss-kitchensink-ear.ear:browse-content(archive=true)
{
"outcome" => "success",
"result" => [
{
"path" => "jboss-kitchensink-ear-web.war",
"directory" => false,
"file-size" => 63190L
},
{
"path" => "jboss-kitchensink-ear-ejb.jar",
"directory" => false,
"file-size" => 12256L
}
]
}
{code}
It works correctly with exploded deployments:
{code}[standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:undeploy
{"outcome" => "success"}
[standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:explode
{"outcome" => "success"}
[standalone@localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:deploy
{"outcome" => "success"}
[standalone@localhost:9990 /]
/deployment=jboss-kitchensink-ear.ear:browse-content(archive=true)
{
"outcome" => "success",
"result" => [
{
"path" => "jboss-kitchensink-ear-web.war",
"directory" => false,
"file-size" => 63190L
},
{
"path" => "jboss-kitchensink-ear-ejb.jar",
"directory" => false,
"file-size" => 12256L
}
]
}
{code}