Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-194

Check if all jndi-name elements in jboss.xml are recognized

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 4.1.0.Final
    • None
    • None
    • None

    Description

      Check if the following example is recognized with

      jndi-name
      
      <jboss xmlns="http://www.jboss.com/xml/ns/javaee" 
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                 xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd">
      
          <enterprise-beans>
              <session>
                  <ejb-name>Hahahahaha</ejb-name>
                  <remote-binding>
                      <jndi-name>THIS_JNDI_NAME_SHOULD_BE_DETECTED</jndi-name>
                 </remote-binding>
               </session>
           </enterprise-beans>
      

      This should be recognized at some point in https://github.com/windup/windup/blob/master/rules-java-ee/addon/src/main/java/org/jboss/windup/rules/apps/javaee/rules/jboss/ResolveJBossLegacyEjbXmlRuleProvider.java

      Attachments

        Issue Links

          Activity

            People

              mnovotny@redhat.com Marek Novotny
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: