[FOLIO-2539] Enable the lint-raml tool to ignore some specific errors Created: 26/Mar/20  Updated: 03/Jun/20  Resolved: 17/Apr/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: David Crossley Assignee: David Crossley
Resolution: Done Votes: 0
Labels: raml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-2561 Update jenkins-slave-all Jenkins dock... Closed
relates to FOLIO-1497 Improve the lint-raml CI job Closed
Sprint: DevOps: sprint 85, DevOps: sprint 86
Story Points: 0.5
Development Team: FOLIO DevOps

 Description   

The "lint-raml" FOLIO CI job ( FOLIO-1497 Closed ) needs to be able to ignore some certain errors.

One such case might be "ERROR JSON schema contains circular references" as encountered in mod-data-import-converter-storage/pull/94.

We did have this once before with RMB-265 Closed . Solved with a fix in RMB, and upgrade of the dependencies underlying "lint-raml".

Perhaps this new situation is more convoluted.

Anyway, provide a mechanism in the outer "lint-raml" calling script to detect specific errors issued by the underlying "raml-1-parser" and convert those messages to warnings.



 Comments   
Comment by David Crossley [ 17/Apr/20 ]

Now that the ( FOLIO-2561 Closed ) new jenkins-slave-all image is released, this script change is in production.

Verified that mod-data-import-converter-storage lint-raml report in Jenkins now has Warnings rather than Errors.

Generated at Thu Feb 08 23:21:23 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.