[jboss-jira] [JBoss JIRA] (WFCORE-1896) Deployment operation browse-content(archive=true) does not return archives in archived deployments
Michal Jurc (JIRA)
issues at jboss.org
Wed Oct 26 05:47:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Jurc updated WFCORE-1896:
--------------------------------
Description:
Deployment operation browse-content(archive=true) does not return archives in archived deployments:
{code}[standalone at 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 at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:browse-content(archive=true)
{"outcome" => "success"}
{code}
It works correctly with exploded deployments:
{code}[standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:undeploy
{"outcome" => "success"}
[standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:explode
{"outcome" => "success"}
[standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:deploy
{"outcome" => "success"}
[standalone at 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}
was:
Deployment operation browse-content(archive=true) does not return archives in archived deployments:
{code}[standalone at 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 at 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 at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:undeploy
{"outcome" => "success"}
[standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:explode
{"outcome" => "success"}
[standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:deploy
{"outcome" => "success"}
[standalone at 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}
> 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 at 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 at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:browse-content(archive=true)
> {"outcome" => "success"}
> {code}
> It works correctly with exploded deployments:
> {code}[standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:undeploy
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:explode
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /deployment=jboss-kitchensink-ear.ear:deploy
> {"outcome" => "success"}
> [standalone at 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}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
More information about the jboss-jira
mailing list