konveyor / analyzer-lsp

Add-on that is focused on providing analysis based on the Language Server Protocol.
Apache License 2.0
12 stars 45 forks source link

[BUG] Conditions with location ANNOTATION and an asterisk are not matched #508

Open jmle opened 9 months ago

jmle commented 9 months ago

Is there an existing issue for this?

Konveyor version

0.3.0

Priority

Critical

Current Behavior

A condition like the following:

  when:
    java.referenced:
      location: ANNOTATION
      pattern: javax.ejb*

or also

  when:
    java.referenced:
      location: ANNOTATION
      pattern: javax.ejb.*

does not match.

Expected Behavior

Condition should match.

How Reproducible

Always (Default)

Steps To Reproduce

Run the analyzer against a project with a matching annotation.

Environment

No response

Anything else?

No response

konveyor-ci-bot[bot] commented 9 months ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.

pranavgaikwad commented 8 months ago

/triage accepted /priority backlog