<div dir="ltr">I don't think it should fail, imagine how frustrating that would be from a users perspective, as the only course of action they have is to delete the relevant resource and try again. It would be much more user friendly IMHO to just let the op complete and then they can fix up any issues, they will still end up in the same situation, just with less work on their part.<div><br></div><div>Stuart</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 11 Aug 2015 at 10:40 Jason Greene <<a href="mailto:jason.greene@redhat.com">jason.greene@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Aug 10, 2015, at 5:23 PM, Stuart Douglas <<a href="mailto:stuart.w.douglas@gmail.com" target="_blank">stuart.w.douglas@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
> 3. What is the expected behavior when part which was configured as part of the legacy subsystem is now configured outside of new subsystem having just reference to it? Should the migration operation create the additional configuration even when it is manipulating with configuration parts outside of the subsystem?<br>
> -- For example ssl configuration of https connector/listener. In Web subsystem it is part of the connector configuration, in Undertow it is just reference to security realm and it is defined as part of the security realms, should new security realm be created with equivalent configuration to the one in legacy Web subsystem?<br>
><br>
<br>
</span>I'll let Stuart respond to this. Looking at the WebMigrateOperation (the<br>
handler for the web subsystem migrate op) it looks to be adding a<br>
security realm.<br></blockquote><div><br></div><div>Yes, at the moment I do create new security realms, and also add the IO subsystem with a default config if it is not already present. The names for the security realm will be jbossweb-migration-security-realm(n), where n is the lowest number that does not result in a name collision.</div><div><br></div></div></div></div></div></blockquote><br></div></div><div style="word-wrap:break-word"><div>As an example of the fail-or-warn question, unless I am reading the code wrong, it looks like things which don’t have a mapping (e.g. tomcat valves) are ignored. Should the migration op fail if one is used, or should it return a warning?</div></div><div style="word-wrap:break-word"><br><div>
--<br>Jason T. Greene<br>WildFly Lead / JBoss EAP Platform Architect<br>JBoss, a division of Red Hat
</div>
<br></div></blockquote></div>