[jboss-jira] [JBoss JIRA] (WFCORE-1872) deploy/undeploy archive and attachments issue
Jean-Francois Denise (JIRA)
issues at jboss.org
Tue Oct 18 08:26:00 EDT 2016
Jean-Francois Denise created WFCORE-1872:
--------------------------------------------
Summary: deploy/undeploy archive and attachments issue
Key: WFCORE-1872
URL: https://issues.jboss.org/browse/WFCORE-1872
Project: WildFly Core
Issue Type: Bug
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
When an archive is used to deploy/undeploy, an internal batch is created. All commands/operations located in the CLI archive script file are then added to the batch. The attachments associated to this internal batch are not taken into account.
When deploy/undeploy archive is executed, these attachments should be added to the executed operation.
When deploy/undeploy archive are added to a batch, the files attached by commands/operations located in the CLI script should be attached to the parent batch.
I also noticed that deploy <file> called in a batch context doesn't make use of attachment. It reads the file content and inline it in the request content. This does create a duplication of logic (execution and batch are handled differently).
NB: Fixing this issue in current WildFly CLI would be quite complex. It has been fixed in the CLI.next project. Files are now all the time attached, deploy/undeploy archive attachments are properly handled.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list