[jboss-jira] [JBoss JIRA] (WFLY-5237) [Migration operation] [Web to Undertow] Unable to migrate rewrite conditions

Radim Hatlapatka (JIRA) issues at jboss.org
Mon Aug 31 04:33:05 EDT 2015


Radim Hatlapatka created WFLY-5237:
--------------------------------------

             Summary: [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)
            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
(v6.3.15#6346)


More information about the jboss-jira mailing list