Upgrade amf-client-js to v5 for api-lint

Description

We have been using AMF (AML Modeling Framework) v4 for our api-lint. This major version change to v5 now has a couple of patch releases, so it is time to upgrade our use of its amf-client-js.

Our JavaScript will need a complete re-write. The client is now much more easily configured. Access to the results of parsing and validation can now be handled separately. See documentation.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

David CrossleyJanuary 17, 2022 at 6:29 AM

Done.

David CrossleyJanuary 13, 2022 at 3:29 AM

The upgrade to AMF v5 was successfully completed.

Tested with in-development GitHub Workflow at mod-notes .

Updated jenkins-pipeline-libs to configure buildMvn to enable new option 'apiWarnings'.

Rebuilt and redeployed the folio-tools/jenkins-slave-docker image to include this upgraded folio-tools/api-lint. Tested via mod-notes and mod-eusage-reports.

Still need to update docs at api-lint

 

Done

Details

Assignee

Reporter

Labels

Priority

Sprint

Development Team

FOLIO DevOps

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 10, 2022 at 1:33 AM
Updated April 28, 2022 at 4:40 AM
Resolved January 17, 2022 at 6:30 AM
TestRail: Cases
TestRail: Runs