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

[CLOSED LOOP for] Analysis is failing to trigger builtin filecontent rules for binaries

XMLWordPrintable

    • Icon: Closed Loop Closed Loop
    • Resolution: Unresolved
    • Icon: Major Major
    • MTA 7.3.0
    • MTA 7.2.0
    • QE-Task
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      When running analysis of a binary application in containerless mode; any rules that leverage a builtin `filecontent` condition are not being executed. This is because the exploded binary path is not being searched.

      To reproduce; we need a binary application that has source code which will trigger any builtin rule.

      Example: Use application with `.xml` file present in the source code that will trigger https://github.com/konveyor/rulesets/blob/4198c48c60a0bdff297ff718134bcf8933c8b962/default/generated/eap8/161-javaee-to-jakarta-namespaces.windup.yaml#L19. Run analysis of the application with target `eap8` which should trigger this rule. We could take any application and simply add an xml file with a line in it with the content:
      ```
      http://xmlns.jcp.org/xml/ns/javaee
      ```
      and the rule should be triggered.

              ibragins@redhat.com Igor Braginsky
              istein@redhat.com Ilanit Stein
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: