[jboss-jira] [JBoss JIRA] (WFCORE-1545) File path to file content replacement is bound to validation

Jean-Francois Denise (Jira) issues at jboss.org
Thu Jan 24 13:20:00 EST 2019


    [ https://issues.jboss.org/browse/WFCORE-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687284#comment-13687284 ] 

Jean-Francois Denise commented on WFCORE-1545:
----------------------------------------------

The current logic makes sense. In order to be able to do file path to BYTES replacement, we need to retrieve the operation metadata. Introduce new options to cover this corner case would be overkill. We shouldn't fix it and keep the current behavior.


> File path to file content replacement is bound to validation
> ------------------------------------------------------------
>
>                 Key: WFCORE-1545
>                 URL: https://issues.jboss.org/browse/WFCORE-1545
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Jean-Francois Denise
>            Assignee: Jean-Francois Denise
>            Priority: Major
>
> DefaultBatch and OperationRequestHandler are making the replacement only if validation is enabled. 
> It seems that users are expecting the replacement to be done in all cases. 
> Doing so we would make operation description retrieval mandatory for all requests. This could have an impact on the CLI performance.
> We should have a configuration option to disable the replacement. By default the replacement should be enabled. With validation OFF and replacement OFF, we would have no extra requests sent by the CLI.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list