extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Combine the ComplianceReports and MetricDefinitions generators

Open danmoseley opened this issue 2 years ago • 2 comments

Let's combine both of these generators into MetadataExtractor which produces a single json document containing:

All logging methods in the assembly, with their data compliance annotations All data models in the assembly which are annotation with data compliance annotations. All metrics defined in the assembly Along with any other schematized information we can extract programmatically.

danmoseley avatar May 25 '23 01:05 danmoseley

I will work on it

IbrahimMNada avatar Oct 16 '24 11:10 IbrahimMNada

Fixed at https://github.com/dotnet/extensions/pull/5531

I have added a new generator called MetadataExtractor which handle both generators into one json. its just a wrapper on top of the emitter of both Metric ,Compliance

I have also written full unit tests for it Image

handled the three cases in which Metric was enabled or Compliance or both
Image

I have added new properties for them as well

MetadataReportOutputPath GenerateMetadataReport

IbrahimMNada avatar Oct 17 '24 19:10 IbrahimMNada