public class VendorSoftwareProductManagerImpl extends Object implements VendorSoftwareProductManager
Constructor and Description |
---|
VendorSoftwareProductManagerImpl(VersioningManager versioningManager,
VendorSoftwareProductDao vendorSoftwareProductDao,
OrchestrationTemplateDao orchestrationTemplateDataDao,
VendorSoftwareProductInfoDao vspInfoDao,
VendorLicenseFacade vendorLicenseFacade,
ServiceModelDao<ToscaServiceModel,ServiceElement> serviceModelDao,
EnrichedServiceModelDao<ToscaServiceModel,ServiceElement> enrichedServiceModelDao,
HealingManager healingManager,
VendorLicenseArtifactsService licenseArtifactsService,
InformationArtifactGenerator informationArtifactGenerator,
PackageInfoDao packageInfoDao,
ActivityLogManager activityLogManager,
DeploymentFlavorDao deploymentFlavorDao,
NicDao nicDao,
ManualVspToscaManager manualVspToscaManager)
Instantiates a new Vendor software product manager.
|
public VendorSoftwareProductManagerImpl(VersioningManager versioningManager, VendorSoftwareProductDao vendorSoftwareProductDao, OrchestrationTemplateDao orchestrationTemplateDataDao, VendorSoftwareProductInfoDao vspInfoDao, VendorLicenseFacade vendorLicenseFacade, ServiceModelDao<ToscaServiceModel,ServiceElement> serviceModelDao, EnrichedServiceModelDao<ToscaServiceModel,ServiceElement> enrichedServiceModelDao, HealingManager healingManager, VendorLicenseArtifactsService licenseArtifactsService, InformationArtifactGenerator informationArtifactGenerator, PackageInfoDao packageInfoDao, ActivityLogManager activityLogManager, DeploymentFlavorDao deploymentFlavorDao, NicDao nicDao, ManualVspToscaManager manualVspToscaManager)
versioningManager
- the versioning managervendorSoftwareProductDao
- the vendor software product daoorchestrationTemplateDataDao
- the orchestration template data daovspInfoDao
- the vsp info daovendorLicenseFacade
- the vendor license facadeserviceModelDao
- the service model daoenrichedServiceModelDao
- the enriched service model daohealingManager
- the healing managerlicenseArtifactsService
- the license artifacts serviceinformationArtifactGenerator
- the information artifact generatorpackageInfoDao
- the package info daoactivityLogManager
- the activity log managerdeploymentFlavorDao
- the deployment flavor daonicDao
- the nic daopublic Version checkout(String vendorSoftwareProductId, String user)
checkout
in interface VendorSoftwareProductManager
public Version undoCheckout(String vendorSoftwareProductId, String user)
undoCheckout
in interface VendorSoftwareProductManager
public Version checkin(String vendorSoftwareProductId, String user)
checkin
in interface VendorSoftwareProductManager
public ValidationResponse submit(String vspId, String user) throws IOException
submit
in interface VendorSoftwareProductManager
IOException
public String fetchValidationVsp(String user)
fetchValidationVsp
in interface VendorSoftwareProductManager
public VspDetails createVsp(VspDetails vspDetails, String user)
createVsp
in interface VendorSoftwareProductManager
public List<VersionedVendorSoftwareProductInfo> listVsps(String versionFilter, String user)
listVsps
in interface VendorSoftwareProductManager
public void updateVsp(VspDetails vspDetails, String user)
updateVsp
in interface VendorSoftwareProductManager
public VspDetails getVsp(String vspId, Version version, String user)
getVsp
in interface VendorSoftwareProductManager
public Version callAutoHeal(String vspId, VersionInfo versionInfo, VspDetails vendorSoftwareProductInfo, String user) throws Exception
callAutoHeal
in interface VendorSoftwareProductManager
Exception
public void deleteVsp(String vspId, String user)
deleteVsp
in interface VendorSoftwareProductManager
public void heal(String vspId, Version version, String user)
heal
in interface VendorSoftwareProductManager
public List<PackageInfo> listPackages(String category, String subCategory)
listPackages
in interface VendorSoftwareProductManager
public File getTranslatedFile(String vspId, Version version, String user)
getTranslatedFile
in interface VendorSoftwareProductManager
public byte[] getOrchestrationTemplateFile(String vspId, Version version, String user)
getOrchestrationTemplateFile
in interface VendorSoftwareProductManager
public PackageInfo createPackage(String vspId, Version version, String user) throws IOException
createPackage
in interface VendorSoftwareProductManager
IOException
public QuestionnaireResponse getVspQuestionnaire(String vspId, Version version, String user)
getVspQuestionnaire
in interface VendorSoftwareProductManager
public void updateVspQuestionnaire(String vspId, Version version, String questionnaireData, String user)
updateVspQuestionnaire
in interface VendorSoftwareProductManager
public File getInformationArtifact(String vspId, Version version, String user)
getInformationArtifact
in interface VendorSoftwareProductManager
public Collection<ComputeEntity> getComputeByVsp(String vspId, Version version, String user)
getComputeByVsp
in interface VendorSoftwareProductManager
Copyright © 2017. All rights reserved.