Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-6291

Some patterns (bea.*, com.oracle.*, oracle.*, weblogic) does not seem to be detected.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • MTA 8.1.0
    • MTA 8.0.0
    • MTA CLI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Customer Facing
    • None

      Description of problem:

       Some patterns(bea., com.oracle., oracle.*, weblogic) in the ruleID "weblogic-catchall-01000" and "weblogic-catchall-06000" in "129-weblogic-catchall.windup.yaml" does not seem to be detected.

          21    ruleID: weblogic-catchall-01000
          22    when:
          23      or:
          24      - java.referenced:
          25          location: IMPORT
          26          pattern: com.weblogic*
          27      - java.referenced:
          28          location: IMPORT
          29          pattern: com.bea*
          30      - java.referenced:
          31          location: IMPORT
      =>  32          pattern: bea*
          33      - java.referenced:
          34          location: IMPORT
      =>  35          pattern: weblogic*
          ..
         107    ruleID: weblogic-catchall-06000
         108    when:
         109      java.referenced:
         110        location: PACKAGE
      => 111        pattern: (com.)?oracle.* 

      The attached sample application(weblogic/src/main/java/com/sample/Sample.java) contains some import statements that match the patterns above. But the analysis report(weblogic_out/static-report/index.html#/applications/0000/issues) does not contain the issues.

      Version-Release number of selected component (if applicable):

      MTA 8.0.0 

      How reproducible:

      Steps to Reproduce:
      mta-cli analyze --input /path/to/weblogic --output /path/to/weblogic_out --target eap8

       

      Expected results:

      Patterns (bea., com.oracle., oracle.*, weblogic) can be detected as issues.

      Additional info:

      weblogic.zip

      weblogic_out.zip

        1. weblogic_out.zip
          2.86 MB
        2. weblogic.zip
          9 kB

              emcmulla@redhat.com Emily McMullan
              rhn-support-mkawakam Manabu Kawakami
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: