<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 &quot;result&quot; field of the migrate<br>
operation response:<br>
<br>
{<br>
   &quot;migration-warnings&quot;=&gt;[<br>
     &quot;WFXXX1234: the blah is blah&quot;,<br>
     &quot;WFXXX2345: the foo is barred&quot;<br>
    ]<br>
}<br><br></blockquote><div><br></div><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>    &quot;outcome&quot; =&gt; &quot;success&quot;,</div><div>    &quot;result&quot; =&gt; {</div><div>        &quot;step-1&quot; =&gt; {&quot;outcome&quot; =&gt; &quot;success&quot;},</div><div>        &quot;step-2&quot; =&gt; {&quot;outcome&quot; =&gt; &quot;success&quot;},</div><div>        &quot;step-3&quot; =&gt; {&quot;outcome&quot; =&gt; &quot;success&quot;},</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><br></div><div>Stuart</div><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>