asam-ev / qc-framework

Mozilla Public License 2.0
13 stars 6 forks source link

Add rule to issue #78

Closed romanodanilo closed 1 month ago

romanodanilo commented 1 month ago

Description

Add ruleUID to Issue class and xsd definition

If not specified, it defaults to ""

How was the PR tested?

  1. Added unit test specific for this new field. OK Notes

Output example of demo checker bundle

Beginning of XML file: 
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<CheckerResults version="1.0.0">

  <CheckerBundle build_date="" description="" name="DemoCheckerBundle" summary="Found 3 issues" version="">
    <Checker checkerId="exampleIssueRuleChecker" description="This is a description of checker with issue and the involved ruleUID" summary="">
      <Issue description="This is an information from the demo usecase" issueId="2" level="1" ruleUID="test.com::qwerty.qwerty"/>
    </Checker>
  </CheckerBundle>

</CheckerResults>