@Path(value="/v1.0/vendor-software-products") @Produces(value="application/json") @Consumes(value="application/json") @Validated public interface VendorSoftwareProducts extends VspEntities
versioningManager
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
actOnVendorSoftwareProduct(String vspId,
String versionId,
VersionSoftwareProductActionRequestDto request,
String user) |
javax.ws.rs.core.Response |
createVsp(VspDescriptionDto vspDescriptionDto,
String user) |
javax.ws.rs.core.Response |
deleteVsp(String vspId,
String user) |
javax.ws.rs.core.Response |
getOrchestrationTemplate(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
getQuestionnaire(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
getTranslatedFile(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
getValidationVsp(String user) |
javax.ws.rs.core.Response |
getVsp(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
getVspInformationArtifact(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
heal(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
listCompute(String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
listPackages(String category,
String subCategory,
String user) |
javax.ws.rs.core.Response |
listVsps(String versionFilter,
String user) |
javax.ws.rs.core.Response |
updateQuestionnaire(String questionnaireData,
String vspId,
String versionId,
String user) |
javax.ws.rs.core.Response |
updateVsp(String vspId,
String versionId,
VspDescriptionDto vspDescriptionDto,
String user) |
getVersionInfo, resolveVspVersion
@POST @Path(value="/") javax.ws.rs.core.Response createVsp(VspDescriptionDto vspDescriptionDto, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/") javax.ws.rs.core.Response listVsps(@QueryParam(value="versionFilter") String versionFilter, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{vspId}/versions/{versionId}") javax.ws.rs.core.Response getVsp(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@PUT @Path(value="/{vspId}/versions/{versionId}") javax.ws.rs.core.Response updateVsp(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, VspDescriptionDto vspDescriptionDto, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@DELETE @Path(value="/{vspId}") javax.ws.rs.core.Response deleteVsp(@PathParam(value="vspId") String vspId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/packages") javax.ws.rs.core.Response listPackages(@QueryParam(value="category") String category, @QueryParam(value="subCategory") String subCategory, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{vspId}/versions/{versionId}/orchestration-template") @Produces(value="application/octet-stream") javax.ws.rs.core.Response getOrchestrationTemplate(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/validation-vsp") javax.ws.rs.core.Response getValidationVsp(@NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user) throws Exception
Exception
@PUT @Path(value="/{vspId}/versions/{versionId}/actions") javax.ws.rs.core.Response actOnVendorSoftwareProduct(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, VersionSoftwareProductActionRequestDto request, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user) throws IOException
IOException
@GET @Path(value="/packages/{vspId}") @Produces(value="application/octet-stream") javax.ws.rs.core.Response getTranslatedFile(@PathParam(value="vspId") String vspId, @QueryParam(value="versionId") String versionId, @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{vspId}/versions/{versionId}/questionnaire") javax.ws.rs.core.Response getQuestionnaire(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@PUT @Path(value="/{vspId}/versions/{versionId}/questionnaire") javax.ws.rs.core.Response updateQuestionnaire(@NotNull @IsValidJson String questionnaireData, @PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@PUT @Path(value="/{vspId}/versions/{versionId}/heal") javax.ws.rs.core.Response heal(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{vspId}/versions/{versionId}/vspInformationArtifact") @Produces(value="text/plain") javax.ws.rs.core.Response getVspInformationArtifact(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
@GET @Path(value="/{vspId}/versions/{versionId}/compute-flavors") javax.ws.rs.core.Response listCompute(@PathParam(value="vspId") String vspId, @PathParam(value="versionId") String versionId, @NotNull(message="Field does not conform to predefined criteria : user : may not be null") @HeaderParam(value="USER_ID") String user)
Copyright © 2017. All rights reserved.