[jboss-jira] [JBoss JIRA] (WFCORE-800) Support file in management operation
Jean-Francois Denise (JIRA)
issues at jboss.org
Wed Jan 11 09:46:00 EST 2017
[ https://issues.jboss.org/browse/WFCORE-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Francois Denise resolved WFCORE-800.
-----------------------------------------
Resolution: Done
Thank you [~jmesnil], the current support for streams could be used in this case.
JF
> Support file in management operation
> ------------------------------------
>
> Key: WFCORE-800
> URL: https://issues.jboss.org/browse/WFCORE-800
> Project: WildFly Core
> Issue Type: Feature Request
> Components: CLI, Domain Management
> Affects Versions: 2.0.0.Alpha6
> Reporter: Jeff Mesnil
> Assignee: Jean-Francois Denise
> Labels: affects_elytron
>
> Working on WFLY-4683, I want to add 2 management operations :export-journal and :import-journal that export/import the journal from the messaging-activemq server resource.
> The :export-journal operation is similar to the :take-snapshot operation and it is acceptable that the dumped file (created internally by Artemis) is stored on the server-side in a well-know location
> However, I'd like to pass such a file to the :import-journal (specified by a dump attribute) so that the admin does not need to copy the dumped file to the server's host (or many hosts in domain mode) before calling the :import-journal operation.
> Currently, this is not doable since we can not add a stream to a management operation *from the CLI*. Instead, I have to implement a global command that will execute the client code to create the management operation, read the file and attach it to the operation as a stream.
> Ideally, I would like to specify that my :import-journal takes a dump attribute with the ModelType.FILE (or .URL ?) so that our management clients (both CLI and Web) know that they must attach the stream of the file to the management operation.
> This RFE is to simplify this use case and make it possible to use directly the CLI (and Web) console to upload files without having to create a dedicated client command for that.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list