Class SDIManager
- java.lang.Object
-
- org.gcube.application.cms.sdi.engine.SDIManager
-
- Direct Known Subclasses:
SDIManagerWrapper
public class SDIManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static PatternDB_NAME_PATTERNstatic PatternHOSTNAME_PATTERNstatic PatternPORT_PATTERN
-
Constructor Summary
Constructors Constructor Description SDIManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateStore(it.geosolutions.geoserver.rest.encoder.datastore.GSPostGISDatastoreEncoder encoder, String workspace)protected StringcreateStoreFromPostgisDB(String workspace, String storeName, org.gcube.application.geoportal.common.model.rest.DatabaseConnection connection)StringcreateWorkspace(String toCreate)protected StringpublishStyle(File sldFile, String name)
-
-
-
Constructor Detail
-
SDIManager
public SDIManager() throws SDIInteractionException- Throws:
SDIInteractionException
-
-
Method Detail
-
createWorkspace
public String createWorkspace(String toCreate) throws SDIInteractionException
- Throws:
SDIInteractionException
-
createStore
protected String createStore(it.geosolutions.geoserver.rest.encoder.datastore.GSPostGISDatastoreEncoder encoder, String workspace) throws SDIInteractionException
- Throws:
SDIInteractionException
-
createStoreFromPostgisDB
protected String createStoreFromPostgisDB(String workspace, String storeName, org.gcube.application.geoportal.common.model.rest.DatabaseConnection connection) throws SDIInteractionException
- Throws:
SDIInteractionException
-
publishStyle
protected String publishStyle(File sldFile, String name) throws SDIInteractionException
- Throws:
SDIInteractionException
-
-