Added documentation test changes as well

Signed-off-by: Shruthi Manavalli Ramanna <shruthimanavalli.ramanna@bosch-si.com>
This commit is contained in:
Shruthi Manavalli Ramanna
2023-06-06 10:42:39 +02:00
parent 0759fd80b0
commit 80c471cf80
5 changed files with 30 additions and 6 deletions

View File

@@ -169,7 +169,7 @@ public final class MgmtSoftwareModuleMapper {
systemManagement.getTenantMetadata().getId(), null, null,
new URLPlaceholder.SoftwareData(artifact.getSoftwareModule().getId(), artifact.getFilename(),
artifact.getId(), artifact.getSha1Hash())), ApiType.MGMT, null);
response.add(Link.of(urls.get(0).getRef()).withRel("cdn-download").expand());
response.add(Link.of(urls.get(0).getRef()).withRel("download").expand());
}
static List<MgmtArtifact> artifactsToResponse(final Collection<Artifact> artifacts) {