[jboss-jira] [JBoss JIRA] (WFLY-5237) [Migration operation] [Web to Undertow] Unable to migrate rewrite conditions
Stuart Douglas (JIRA)
issues at jboss.org
Sun Nov 5 22:04:00 EST 2017
[ https://issues.jboss.org/browse/WFLY-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved WFLY-5237.
----------------------------------
Resolution: Won't Fix
There are no plans to implement this at ths stage
> [Migration operation] [Web to Undertow] Unable to migrate rewrite conditions
> ----------------------------------------------------------------------------
>
> Key: WFLY-5237
> URL: https://issues.jboss.org/browse/WFLY-5237
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 10.0.0.Beta2
> Reporter: Radim Hatlapatka
> Assignee: Stuart Douglas
> Priority: Critical
>
> Reewrite conditions are not migrated as :migrate operation currently marks them as resources, which is not able to migrate see migration warning [].
> In Undertow it is possible to create equivalent configuration by using filters (predicate attributes and handlers, see [http://undertow.io/undertow-docs/undertow-docs-1.2.0/index.html#predicates-attributes-and-handlers]).
> I thus believe that rewrite conditions from Web should be also automatically migrated to Undertow via :migrate management operation.
> [1]
> {noformat}
> "result" => {"migration-warnings" => [
> "WFLYWEB0002: Could not migrate resource {
> \"pattern\" => \"(.*)/toberewritten/(.*)\",
> \"substitution\" => \"$1/rewritten/$2\",
> \"flags\" => \"NC\",
> \"operation\" => \"add\",
> \"address\" => [
> (\"subsystem\" => \"web\"),
> (\"virtual-server\" => \"default\"),
> (\"rewrite\" => \"test\")
> ]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list