-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
bradsdavis commented 7 months ago
Attached is a JBoss Cache 3.x configuration that would be migrated to Infinispan (leveraging the Inifinspan migration XSLT). We would also want to make sure that Windup classifies any JBoss Cache configurations. Here is how the classification works:
<winduppath-classification description="Weblogic Entity EJB Configuration" xpath="/*[local-name()='weblogic-rdbms-jar']" effort="3"> <windup:namespace prefix="wle" uri="http://xmlns.oracle.com/weblogic/weblogic-ejb-jar" /> <windupecorators> <windupslt-transform location="transformations/xslt/weblogic-entity2-to-jboss.xsl" description="JBoss EJB CMP Descriptor (Windup-Generated)" extension="-jbosscmp-jdbc.xml"/> </windupecorators> </winduppath-classification>
You would need to create an XPath expression that matches the jbosscache root tag. Then by nesting your XSLT that you pull from the Infinispan project into Windup, you can generate the Infinispan file. Let me know if you have any questions.
Feeling lucky? Add the ones for EHCache and Coherence too for bonus points.
Here is a link to all of the XSLTs already created by the JBoss Infinispan team! Thanks!
https://github.com/infinispan/infinispan/tree/master/core/src/main/resources/xslt
PS. Here is the example configuration.
https://dl.dropboxusercontent.com/u/9117090/windup/cache-configuration.xml
github link https://github.com/windup/windup/issues/45