<div dir="ltr">I have added this to the Undertow op here: <a href="https://github.com/wildfly/wildfly/pull/7926/files">https://github.com/wildfly/wildfly/pull/7926/files</a><div><br></div><div>The approach I took was to add the warnings to the describe-migration op, and when running the migrate op make the describe-migration operation the first step in the composite, so the output looks like this: <a href="http://pastebin.com/B01KNAHX">http://pastebin.com/B01KNAHX</a></div><div><br></div><div>I am not sure how much I like it, but it also has the advantage than it displays what has been done when you are running the migrate op. I don't know much about the internals of composite operations, so I am not sure how hard it would be to somehow add this information directly. </div><div><br></div><div>Stuart</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 13 Aug 2015 at 15:27 Stuart Douglas <<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I propose the following format for the "result" field of the migrate<br>
operation response:<br>
<br>
{<br>
"migration-warnings"=>[<br>
"WFXXX1234: the blah is blah",<br>
"WFXXX2345: the foo is barred"<br>
]<br>
}<br><br></blockquote><div><br></div></div></div><div dir="ltr"><div class="gmail_quote"><div>The current implementation use a composite operation, so the results look like:</div><div><br></div><div><div>/subsystem=web:migrate</div><div>{</div><div> "outcome" => "success",</div><div> "result" => {</div><div> "step-1" => {"outcome" => "success"},</div><div> "step-2" => {"outcome" => "success"},</div><div> "step-3" => {"outcome" => "success"},</div><div>....</div><div> }</div><div>}</div></div><div><br></div><div>Because this is using a composite op, I am not sure how the migration-warnings should be displayed? Possibly as the results of the first step?</div></div></div><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Stuart</div></div></div><div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Brian Stansberry<br>
Senior Principal Software Engineer<br>
JBoss by Red Hat<br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></blockquote></div></div></blockquote></div>