Package org.acumos.portal.be.service
Interface PushAndPullSolutionService
-
- All Known Implementing Classes:
PullAndPushSolutionServiceImpl
public interface PushAndPullSolutionService
Interface to support downloading of Docker Images and Artifacts for the Machine Learning Model
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
downloadModelArtifact(String artifactId)
void
downloadModelArtifact(String artifactId, javax.servlet.http.HttpServletResponse respose)
File
downloadModelDockerImage(String modelName, String imageName, String version)
void
downloadModelDocument(String documentId, javax.servlet.http.HttpServletResponse response)
String
getFileNameByArtifactId(String artifactId)
String
getFileNameByDocumentId(String documentId)
MLSolutionDownload
getSolutionDownload(String solutionId, String artifactId, String userId)
boolean
uploadLicense(org.springframework.web.multipart.MultipartFile file, String userId, String solutionId, String revisionId, String versionId)
-
-
-
Method Detail
-
downloadModelDockerImage
File downloadModelDockerImage(String modelName, String imageName, String version)
-
downloadModelArtifact
InputStream downloadModelArtifact(String artifactId)
-
getSolutionDownload
MLSolutionDownload getSolutionDownload(String solutionId, String artifactId, String userId)
-
downloadModelArtifact
void downloadModelArtifact(String artifactId, javax.servlet.http.HttpServletResponse respose)
-
downloadModelDocument
void downloadModelDocument(String documentId, javax.servlet.http.HttpServletResponse response)
-
uploadLicense
boolean uploadLicense(org.springframework.web.multipart.MultipartFile file, String userId, String solutionId, String revisionId, String versionId) throws AcumosServiceException
- Throws:
AcumosServiceException
-
-