| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cacheEnabled |
protected org.gcube.common.core.utils.logging.GCUBELog |
logger |
| Constructor and Description |
|---|
ISManager(org.gcube.common.core.scope.GCUBEScope gCubeScope) |
| Modifier and Type | Method and Description |
|---|---|
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
|
protected boolean cacheEnabled
protected final org.gcube.common.core.utils.logging.GCUBELog logger
public abstract MavenCoordinates getMavenCoordinates(Coordinates gcubeC) throws org.gcube.common.core.informationsystem.ISException
gcubeC - org.gcube.common.core.informationsystem.ISExceptionpublic 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<GCubePackage> getPluginCoordinates(Coordinates gcubeC) throws org.gcube.common.core.informationsystem.ISException
gcubeC - org.gcube.common.core.informationsystem.ISExceptionprotected 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.ISExceptionprotected 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.ISExceptionprotected 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.ISExceptionprotected 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.ISExceptionprotected 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.ISExceptionpublic 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.ISExceptionpublic 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.ISExceptionpublic 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 - Exceptionorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic 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 scopeExceptionorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic String checkResourceOnIS(org.gcube.common.core.resources.GCUBEService resource) throws org.gcube.common.core.informationsystem.ISException
resource - org.gcube.common.core.informationsystem.ISExceptionpublic GCubeCoordinates queryGCubeCoordinates(String groupId, String artifactId, String version) throws org.gcube.common.core.informationsystem.ISException, BadCoordinatesException
groupId - artifactId - version - org.gcube.common.core.informationsystem.ISExceptionBadCoordinatesExceptionprotected 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 - Copyright © 2015. All Rights Reserved.