[jboss-jira] [JBoss JIRA] (WFLY-669) Use OperationBuilder.addFileAsAttachment in the ServerDeploymentManager and DomainDeploymentManager impls

Jason Greene (JIRA) jira-events at lists.jboss.org
Tue Apr 23 15:46:57 EDT 2013


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

Jason Greene moved AS7-4699 to WFLY-669:
----------------------------------------

          Project: WildFly  (was: Application Server 7)
              Key: WFLY-669  (was: AS7-4699)
      Component/s: Domain Management
                       (was: Domain Management)
    Fix Version/s: 8.0.0.Alpha1
                       (was: 8.0.0.Alpha1)

    
> Use OperationBuilder.addFileAsAttachment in the ServerDeploymentManager and DomainDeploymentManager impls
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-669
>                 URL: https://issues.jboss.org/browse/WFLY-669
>             Project: WildFly
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>             Fix For: 8.0.0.Alpha1
>
>
> The ServerDeploymentManager and DomainDeploymentManager interfaces allow users to pass in a File. Currently we immediate convert that File to a FileInputStream and use that IS in the resulting operation. That will force an in-memory copy. Instead, use the OperationBuilder.addFileAsAttachment method introduced in the parent task. 

--
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