From 049d078d8abbe637b213a2f14c2192379208c168 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Wed, 15 Dec 2021 19:44:06 +0000 Subject: Onboarding upload control Brings the initial structure to control asynchronously a VSP package upload during the onboarding. Instead of blocking the UI, the upload and processing status will be controlled by the backend, so the frontend can query it and control the behaviour of the UI. Updates the upload endpoint to obtain/verify an upload lock, and creates a second endpoint to check for the upload status. Change-Id: If1c43fb4f0b11e1d8a5627578bafc75f266393c2 Issue-ID: SDC-3826, SDC-3827 Signed-off-by: andre.schmid --- .../src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactInfo.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common-app-api/src/main/java') diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactInfo.java b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactInfo.java index 91426537ef..54bf03bd4e 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactInfo.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactInfo.java @@ -26,5 +26,7 @@ package org.openecomp.sdc.be.csar.storage; public interface ArtifactInfo { String getInfo(); + byte[] getBytes(); + void setBytes(byte[] bytes); } -- cgit 1.2.3-korg