|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.vremanagement.softwaregateway.impl.is.ISManager
public abstract class ISManager
Manages the interactions with InformationSystem service
| Field Summary | |
|---|---|
protected boolean |
cacheEnabled
|
protected org.gcube.common.core.utils.logging.GCUBELog |
logger
|
| Constructor Summary | |
|---|---|
ISManager(org.gcube.common.core.scope.GCUBEScope gCubeScope)
|
|
| Method Summary | |
|---|---|
protected org.gcube.common.core.informationsystem.client.queries.GCUBEServiceQuery |
buildServiceQuery(String serviceName,
String serviceClass,
String serviceVersion,
org.gcube.common.core.informationsystem.client.queries.GCUBEServiceQuery serviceQuery)
prepare a query for Information System. |
String |
checkResourceOnIS(org.gcube.common.core.resources.GCUBEService resource)
Check if the resource is present on Information system service |
abstract List<URL> |
getMavenConfiguration()
|
abstract MavenCoordinates |
getMavenCoordinates(Coordinates gcubeC)
If not found a Element in cache, query the IS in order to harvest the profile matching such gCube coordinates |
abstract List<MavenPackage> |
getMavenPackagesCoordinates(GCubeCoordinates gcubeC)
If not found a Element in cache, query the IS in order to harvest the profile matching such gCube coordinates |
abstract List<GCubePackage> |
getPluginCoordinates(Coordinates gcubeC)
If not found a Element in cache, query the IS in order to harvest the profile matching such gCube coordinates |
String |
publicResourceIS(org.gcube.common.core.resources.GCUBEService resource,
org.gcube.common.core.scope.GCUBEScope scope)
Publish a resource in the InformationSystem service, in the scope specified in input. |
void |
publicResourceIS(org.gcube.common.core.resources.GCUBEService newResource,
List<org.gcube.common.core.resources.service.Package> packageToRemove)
updates and publics a new resource on the IS |
GCubeCoordinates |
queryGCubeCoordinates(String groupId,
String artifactId,
String version)
Query to IS for converts Maven Coordinates in GCube Coordinates |
protected List<GCubePackage> |
queryGCubePackagesCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
build a query to the IS for retrieving a List of gCube Coordinates |
protected MavenCoordinates |
queryMavenCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
build a query to the IS for retrieving mavenCoordinates |
protected List<MavenPackage> |
queryMavenPackagesCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
build a query to the IS for retrieving a List of Maven Coordinates |
List<org.gcube.common.core.resources.service.Package> |
queryPackagesCoordinates(String serviceName,
String serviceClass,
String serviceVersion)
build a query to the IS for retrieving a List of Package |
protected List<GCubePackage> |
queryPluginCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
build a query to the IS for retrieving a List of gCube Coordinates |
protected MavenCoordinates |
querySAMavenCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
build a query to the IS for retrieving SA mavenCoordinates |
List<GCubePackage> |
updatePackageResource(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
Remove package that matches with input coordinates from a profile. |
abstract void |
updateProfile(String xml)
update the profile in the IS |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean cacheEnabled
protected final org.gcube.common.core.utils.logging.GCUBELog logger
| Constructor Detail |
|---|
public ISManager(org.gcube.common.core.scope.GCUBEScope gCubeScope)
| Method Detail |
|---|
public abstract MavenCoordinates getMavenCoordinates(Coordinates gcubeC)
throws org.gcube.common.core.informationsystem.ISException
gcubeC -
org.gcube.common.core.informationsystem.ISException
public abstract List<MavenPackage> getMavenPackagesCoordinates(GCubeCoordinates gcubeC)
throws org.gcube.common.core.informationsystem.ISException
gcubeC -
org.gcube.common.core.informationsystem.ISExceptionpublic abstract void updateProfile(String xml)
xml - public abstract List<URL> getMavenConfiguration()
public abstract List<GCubePackage> getPluginCoordinates(Coordinates gcubeC)
throws org.gcube.common.core.informationsystem.ISException
gcubeC -
org.gcube.common.core.informationsystem.ISException
protected MavenCoordinates queryMavenCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
protected MavenCoordinates querySAMavenCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
protected List<GCubePackage> queryPluginCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
protected List<MavenPackage> queryMavenPackagesCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
protected List<GCubePackage> queryGCubePackagesCoordinates(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
public List<org.gcube.common.core.resources.service.Package> queryPackagesCoordinates(String serviceName,
String serviceClass,
String serviceVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
public List<GCubePackage> updatePackageResource(String serviceName,
String serviceClass,
String serviceVersion,
String packageName,
String packageVersion)
throws org.gcube.common.core.informationsystem.ISException
serviceName - serviceClass - serviceVersion - packageName - packageVersion -
org.gcube.common.core.informationsystem.ISException
public void publicResourceIS(org.gcube.common.core.resources.GCUBEService newResource,
List<org.gcube.common.core.resources.service.Package> packageToRemove)
throws Exception,
org.gcube.common.core.informationsystem.publisher.ISPublisherException
newResource -
Exception
org.gcube.common.core.informationsystem.publisher.ISPublisherException
public String publicResourceIS(org.gcube.common.core.resources.GCUBEService resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws Exception,
org.gcube.common.core.informationsystem.publisher.ISPublisherException
resource - scope - a gCube scope
Exception
org.gcube.common.core.informationsystem.publisher.ISPublisherException
public String checkResourceOnIS(org.gcube.common.core.resources.GCUBEService resource)
throws org.gcube.common.core.informationsystem.ISException
resource -
org.gcube.common.core.informationsystem.ISException
public GCubeCoordinates queryGCubeCoordinates(String groupId,
String artifactId,
String version)
throws org.gcube.common.core.informationsystem.ISException,
BadCoordinatesException
groupId - artifactId - version -
org.gcube.common.core.informationsystem.ISException
BadCoordinatesException
protected org.gcube.common.core.informationsystem.client.queries.GCUBEServiceQuery buildServiceQuery(String serviceName,
String serviceClass,
String serviceVersion,
org.gcube.common.core.informationsystem.client.queries.GCUBEServiceQuery serviceQuery)
serviceName - serviceClass - serviceVersion - serviceQuery -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||