stable

Clone or download

Read-only

chore: Move artifact formatting to dedicated lib

It will be needed when we will have to generate artifacts in another apps (like TestPlan). xref property from RESTΒ response has been added to ArtifactResponse|ArtifactFromReport so that we don't need to pass tracker_shortname, artifact already knows its xref. It will be useful when we will need to transform artifacts from various trackers. No functional changes in tracker report nor testplan. Part story #23462: export test plan as a docx document Change-Id: I44913993ae6c8b5fbf37dbbdefa28a7057074e6f

Modified Files

Name
A plugins/document_generation/scripts/lib/docx/src/Artifact/artifact-formatter.ts +334 βˆ’0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/index.ts +1 βˆ’0 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/type.ts +280 βˆ’0 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/artifacts-retriever.test.ts +5 βˆ’1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/artifacts-retriever.ts +14 βˆ’266 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.test.ts +4 βˆ’2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-export-document.ts +7 βˆ’308 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-traceability-matrix.test.ts +12 βˆ’6 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/create-traceability-matrix.ts +5 βˆ’4 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/DocumentBuilder/rest-querier.test.ts +2 βˆ’1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts +4 βˆ’2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.ts +2 βˆ’1 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/type.ts +5 βˆ’14 Go to diff View file