<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 8, 2019 at 9:07 AM Kabir Khan <<a href="mailto:kkhan@redhat.com">kkhan@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>TL;DR: It looks like we may be missing transformer tests in the following subsystems: ejb3, infinispan, jca, logging, undertow. I've not dug in beyond that.</div><div><br></div><div>Full:</div><div dir="ltr">We have been using ModelTestControllerVersion.EAP_7_2_0_TEMP (containing WF14) for transformer testing until EAP 7.2.0 was released. [1] renames this to be EAP_7_2_0 and points to EAP 7.2.0.</div><div dir="ltr"><br></div><div>In addition I have some WIP to update the full mixed domain and subsystem tests to do the same. When doing this I noticed that the only subsystem that had transformer tests referencing EAP_7_2_0_TEMP was modcluster. I knew messaging-activemq had some changes, which Emmanuel is looking at.</div><div><br></div><div>I've run the model comparison tool against master/7.2.0: and see changes which might be significant:</div><div><br></div><div><div>====== Resource root address: ["subsystem" => "ejb3"] - Current version: 0.0.0; legacy version: 5.0.0 =======</div><div>--- Problems for relative address to root ["passivation-store" => "*"]:</div><div>Different 'access-type' for attribute 'bean-cache'. Current: "read-write"; legacy: "read-only"</div><div>Different 'access-type' for attribute 'cache-container'. Current: "read-write"; legacy: "read-only"</div><div><br></div><div>====== Resource root address: ["subsystem" => "infinispan"] - Current version: 0.0.0; legacy version: 8.0.0 =======</div><div>* --- Problems for relative address to root ["remote-cache-container" => "*"]:</div><div>Different 'default' for attribute 'protocol-version'. Current: "2.9"; legacy: "2.8"</div><div><br></div><div><br></div><div>====== Resource root address: ["subsystem" => "jca"] - Current version: 0.0.0; legacy version: 5.0.0 =======</div><div>--- Problems for relative address to root ["distributed-workmanager" => "*","long-running-threads" => "*"]:</div><div>* Missing attributes in current: [handoff-executor]; missing in legacy []</div><div>* Missing parameters for operation 'add' in current: [handoff-executor]; missing in legacy []</div><div>--- Problems for relative address to root ["distributed-workmanager" => "*","short-running-threads" => "*"]:</div><div>* Missing attributes in current: [handoff-executor]; missing in legacy []</div><div>* Missing parameters for operation 'add' in current: [handoff-executor]; missing in legacy []</div><div>--- Problems for relative address to root ["workmanager" => "*","long-running-threads" => "*"]:</div><div>* Missing attributes in current: [handoff-executor]; missing in legacy []</div><div>* Missing parameters for operation 'add' in current: [handoff-executor]; missing in legacy []</div><div>--- Problems for relative address to root ["workmanager" => "*","short-running-threads" => "*"]:</div><div>* Missing attributes in current: [handoff-executor]; missing in legacy []</div><div>* Missing parameters for operation 'add' in current: [handoff-executor]; missing in legacy []</div><div>--- Problems for relative address to root ["workmanager" => "default","long-running-threads" => "*"]:</div><div>* Missing attributes in current: [handoff-executor]; missing in legacy []</div><div>* Missing parameters for operation 'add' in current: [handoff-executor]; missing in legacy []</div><div>--- Problems for relative address to root ["workmanager" => "default","short-running-threads" => "*"]:</div><div>* Missing attributes in current: [handoff-executor]; missing in legacy []</div><div>* Missing parameters for operation 'add' in current: [handoff-executor]; missing in legacy []</div><div><br></div><div><br></div><div>====== Resource root address: ["subsystem" => "logging"] - Current version: 0.0.0; legacy version: 7.0.0 =======</div><div>* --- Problems for relative address to root ["json-formatter" => "*"]:</div><div>Different 'default' for attribute 'record-delimiter'. Current: "</div><div>"; legacy: ""</div><div>* --- Problems for relative address to root ["logging-profile" => "*","json-formatter" => "*"]:</div><div>Different 'default' for attribute 'record-delimiter'. Current: "</div><div>"; legacy: ""</div><div>* --- Problems for relative address to root ["logging-profile" => "*","xml-formatter" => "*"]:</div><div>Different 'default' for attribute 'record-delimiter'. Current: "</div><div>"; legacy: ""</div><div>* --- Problems for relative address to root ["xml-formatter" => "*"]:</div><div>Different 'default' for attribute 'record-delimiter'. Current: "</div><div>"; legacy: ""</div><div><br></div><div><br></div><div>====== Resource root address: ["subsystem" => "undertow"] - Current version: 0.0.0; legacy version: 7.0.0 =======</div><div>--- Problems for relative address to root ["application-security-domain" => "*"]:</div><div>* Missing attributes in current: []; missing in legacy [enable-jaspi, integrated-jaspi]</div><div>* Missing parameters for operation 'add' in current: []; missing in legacy [enable-jaspi, integrated-jaspi]</div></div><div><br></div><div>Although WF16 doesn't provide any domain mode guarantees for previous releases, this will one day end up as a product release and then it is important that we have these tests in place. It is easier to add them as we go along than to retrofit them when that time comes.</div></div></div></div></div></blockquote><div><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks, Kabir for running the check and for the heads up!</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">This needs to be correct in WildFly regardless of any EAP requirements. I believe the domain mode transformation chain from WF 14 all the way back to at least 11 is correct. There is no reason it shouldn't be extended to 16.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Even though any fix would only come in 16, the correct way to write the transformation for something that changed in 15 is as if it had been done in 15. Write the transformation code for 15 -> 14 (constants, method names etc) and then if there are further changes for 16 -> 15, do those. Let future readers of the code read code that reflects the history of the management API.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Thanks,</div><div><br></div><div>Kabir</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">[1] <a href="https://github.com/wildfly/wildfly-core/pull/3664" target="_blank">https://github.com/wildfly/wildfly-core/pull/3664</a></div></div></div></div></div>
_______________________________________________<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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Brian Stansberry<div>Manager, Senior Principal Software Engineer</div><div>Red Hat</div></div></div></div>