-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
10.0.0.Beta2
-
None
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]
"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\") ]
- clones
-
JBEAP-947 [Migration operation] [Web to Undertow] Unable to migrate rewrite conditions
- Closed