I propose the following format for the "result" field of the migrate
operation response:

{
   "migration-warnings"=>[
     "WFXXX1234: the blah is blah",
     "WFXXX2345: the foo is barred"
    ]
}


The current implementation use a composite operation, so the results look like:

/subsystem=web:migrate
{
    "outcome" => "success",
    "result" => {
        "step-1" => {"outcome" => "success"},
        "step-2" => {"outcome" => "success"},
        "step-3" => {"outcome" => "success"},
....
    }
}

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?

Stuart
 

--
Brian Stansberry
Senior Principal Software Engineer
JBoss by Red Hat
_______________________________________________
wildfly-dev mailing list
wildfly-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev