|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.vremanagement.softwarerepository.impl.SoftwareRepository
public class SoftwareRepository
| Constructor Summary | |
|---|---|
SoftwareRepository()
Clients must pass through createInstance methods. |
|
| Method Summary | |
|---|---|
java.lang.String |
approve(java.lang.String serviceID)
Approve Service method. |
java.lang.String |
delete(java.lang.String serviceID)
Delete Service method. |
java.lang.String |
get(GetMessage servicePackage)
Get Package method. |
boolean |
isDeployable(java.lang.String serviceID)
Check if the Service is deployable |
java.lang.String |
listPending()
List Services to be approved. |
java.lang.String |
listPluginsByServiceData(ListPluginsByServiceDataMessage message)
Lists the plugins belonging the a gCube Service |
java.lang.String |
listPluginsByServiceID(ListPluginsByServiceIDMessage message)
Lists the plugins belonging the a gCube Service |
java.lang.String |
listScopedPackages(ListScopedPackagesMessage serviceIDscope)
List the dependency with a certain scope of the Service with ID=serviceID. |
java.lang.String |
listScopedPackagesByServiceData(ListScopedPackagesByServiceDataMessage serviceInfoScope)
List the dependency with a certain scope of the Service with ID=serviceID. |
StringArray |
listServicePackages(ListServicePackagesMessage listServicePackagesMessage)
List the packages a service is composed |
StringArray |
listUniquesServicePackages(ListServicePackagesMessage listServicePackagesMessage)
List the packages a service is composed (unique packages) |
java.lang.String |
store(Store store)
Store Service method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoftwareRepository()
| Method Detail |
|---|
public java.lang.String store(Store store)
throws GCUBEFault
store - each element contains service class, service name, service version, URL where package to upload is available, description and scope of the Service
GCUBEFault - if the store of the Service Package fails
public java.lang.String approve(java.lang.String serviceID)
throws GCUBEFault
serviceID - to approve
GCUBEFault - if the approve of the Service Package fails
public java.lang.String delete(java.lang.String serviceID)
throws GCUBEFault
serviceID - to delete
GCUBEFault - if the delete of the Service Package fails
public java.lang.String get(GetMessage servicePackage)
throws GCUBEFault
servicePackage - (serviceClass, serviceName, serviceVersion, packageName and version) to get from Repository
GCUBEFault - if the get of the Package fails
public java.lang.String listPending()
throws GCUBEFault
GCUBEFault - if the list of service package to be approved fails
public boolean isDeployable(java.lang.String serviceID)
throws GCUBEFault
serviceID - to check
GCUBEFault - if fails
public java.lang.String listScopedPackagesByServiceData(ListScopedPackagesByServiceDataMessage serviceInfoScope)
throws GCUBEFault
serviceInfoScope - contains serviceClass, serviceName, serviceVersion and scope(GHN, VRE, VO) for resolution
GCUBEFault - if the list fails
public java.lang.String listScopedPackages(ListScopedPackagesMessage serviceIDscope)
throws GCUBEFault
serviceIDscope - contains serviceID and scope(GHN, VRE, VO) for resolutionserviceIDscope -
GCUBEFault - if the list fails
GCUBEFault
public StringArray listServicePackages(ListServicePackagesMessage listServicePackagesMessage)
throws GCUBEFault
listServicePackagesMessage - contains service class, service name, service version.
GCUBEFault - if fails
public StringArray listUniquesServicePackages(ListServicePackagesMessage listServicePackagesMessage)
throws GCUBEFault
listServicePackagesMessage - contains service class, service name, service version.
GCUBEFault - if fails
public java.lang.String listPluginsByServiceID(ListPluginsByServiceIDMessage message)
throws ServiceNotFoundFaultType
message - a message with the Service ID
ServiceNotFoundFaultType - if the service does not exist
public java.lang.String listPluginsByServiceData(ListPluginsByServiceDataMessage message)
throws ServiceNotFoundFaultType
message - a message with ServiceClass, ServiceName, ServiceVersion
ServiceNotFoundFaultType - if the service does not exist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||