Skip to content

Commit 953977c

Browse files
remove unneeded fields
1 parent 3442793 commit 953977c

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

tools/spectral/ipa/__tests__/metrics/metricCollection.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ describe('tools/spectral/ipa/metrics/metricCollection.js runMetricCollectionJob'
4545
const violations = [
4646
{
4747
code: 'xgen-IPA-104-valid-operation-id',
48-
message: 'IPA rule xgen-IPA-104-valid-operation-id violated',
49-
path: 'paths./api/atlas/v2/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}.get',
50-
source: null,
5148
},
5249
];
5350
expect(results.warnings.violations).toEqual(violations);

tools/spectral/ipa/metrics/metricCollection.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ export async function runMetricCollectionJob(
3838

3939
const processedWarnings = warningViolations.map((violation) => ({
4040
code: violation.ipa_rule,
41-
message: `IPA rule ${violation.ipa_rule} violated`,
42-
path: violation.component_id,
43-
source: null,
4441
}));
4542

4643
console.log(`Found ${warningViolations.length} warning-level violations`);

tools/spectral/ipa/metrics/outputs/warning-violations.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)