public class ConfigurationManager extends Object
| Constructor and Description |
|---|
ConfigurationManager() |
| Modifier and Type | Method and Description |
|---|---|
protected static ArrayList<org.gcube.common.core.scope.GCUBEScope> |
findAvailableScopes(org.gcube.common.core.scope.GCUBEScope Infrastructure)
Finds accessible scopes from current ghn context
|
protected static ArrayList<org.gcube.common.core.scope.GCUBEScope> |
getChildren(org.gcube.common.core.scope.GCUBEScope scope)
Queries IS for generic resources describing children of the given scope
|
protected static List<DataSourceDescriptor> |
getGeoNetwork()
Query passed scope for RuntimeResources describing valid geoNetworks
AtomicConditions : //Profile/Category = Constants.get().getGeoNetworkCategoryName()
//Profile/Platform/Name = Constants.get().getGeoNetworkPlatformName()
Valid Access Points :
EntryName = Constants.get().getGeoNetworkEntryName()
|
protected static List<GeoServerDescriptor> |
getGeoServers()
Query passed scope for RuntimeResources describing valid geoServers
AtomicConditions : //Profile/Category = Constants.get().getGeoServerCategoryName()
//Profile/Platform/Name = Constants.get().getGeoServerPlatformName()
Valid Access Points :
EntryName = Constants.get().getGeoServerEntryName()
Mandatory properties :
Constants.get().getGeoServerAquaMapsWorkspace()
Constants.get().getGeoServerAquaMapsDataStore()
Constants.get().getGeoServerAquaMapsDefaultDistributionStyle()
|
protected static List<DBDescriptor> |
getGISDBDescriptor()
Query passed scope for RuntimeResources describing valid GIS Database
AtomicConditions : //Profile/Category = Constants.get().getGeoServerDBCategory()
//Profile/Platform/Name = Constants.get().getGeoServerDBPlatformName()
Valid Access Points :
EntryName = Constants.get().getGeoServerDBEntryName()
Mandatory properties:
Constants.get().getGeoServerDBAquaMapsDataStore() : boolean = true
Constants.get().getDBMaxConnection() : integer
DBDescriptor.AQUAMAPS_WORLD_TABLE
|
protected static List<DBDescriptor> |
getInternalDB()
Query passed scope for RuntimeResources describing valid Internal Database
AtomicConditions : //Profile/Category = Constants.get().getInternalDBCategoryName()
//Profile/Platform/Name = Constants.get().getInternalDBPlatformName()
Valid Access Points :
EntryName = Constants.get().getInternalDBEntryName()
Mandatory properties:
Constants.get().getInternalDBSchemaName() : boolean = true
Constants.get().getDBMaxConnection() : integer
DBDescriptor.TABLESPACE_PREFIX
DBDescriptor.TABLESPACE_COUNT
|
protected static ArrayList<DBDescriptor> |
getPublisherDB()
Query passed scope for RuntimeResources describing valid Publisher Database
AtomicConditions : //Profile/Category = Constants.get().getPublisherDBCategoryName()
//Profile/Platform/Name = Constants.get().getPublisherDBPlatformName()
Valid Access Points :
EntryName = Constants.get().getPublisherDBEntryName()
Mandatory properties:
Constants.get().getPublisherDBSchemaName() : boolean = true
Constants.get().getDBMaxConnection() : integer
|
static VODescriptor |
getVODescriptor() |
static String |
init(org.gcube.common.core.scope.GCUBEScope infrastructureScope)
Finds suitable scopes among available ones
|
public static VODescriptor getVODescriptor() throws Exception
Exceptionpublic static String init(org.gcube.common.core.scope.GCUBEScope infrastructureScope) throws Exception
Exceptionprotected static ArrayList<org.gcube.common.core.scope.GCUBEScope> findAvailableScopes(org.gcube.common.core.scope.GCUBEScope Infrastructure) throws Exception
Exceptionprotected static ArrayList<org.gcube.common.core.scope.GCUBEScope> getChildren(org.gcube.common.core.scope.GCUBEScope scope) throws Exception
scope - Exceptionprotected static List<DBDescriptor> getGISDBDescriptor() throws NumberFormatException, Exception
scope - NumberFormatExceptionExceptionprotected static List<DBDescriptor> getInternalDB() throws NumberFormatException, Exception
scope - NumberFormatExceptionExceptionprotected static List<GeoServerDescriptor> getGeoServers() throws Exception
scope - Exceptionprotected static List<DataSourceDescriptor> getGeoNetwork() throws Exception
scope - Exceptionprotected static ArrayList<DBDescriptor> getPublisherDB() throws Exception
scope - ExceptionCopyright © 2016. All Rights Reserved.