Skip to content

fix(asf): post-process the public JSON endpoint - #291

Open
Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/257-publicjson-postprocess
Open

Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/257-publicjson-postprocess

Conversation

@Anurag-S1ngh

Copy link
Copy Markdown

Summary

Applies the same post-processing that the CVE5 and publish flows use to the /publicjson/:id endpoint.

Changes

  • Load textUtil and the browser helpers in custom/asf.js
  • Run reduceJSON for public CVE5 and CVE4 records
  • Add unittest/publicjson.js and include it in the unittest script

Testing

  • node unittest/publicjson.js: passes
  • npm run unittest: passes

Closes #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

apply CVE post-processings to /publicjson

1 participant