@Component @Path(value="/GeoserverManagement") public class GeoServerManagementResource extends Object
| Constructor and Description |
|---|
GeoServerManagementResource(gr.cite.geoanalytics.dataaccess.geoserverbridge.GeoServerBridge geoserverBridge,
gr.cite.geoanalytics.context.GeoServerBridgeConfig configuration,
gr.cite.geoanalytics.dataaccess.geoserverbridge.geoservermanager.geowebcache.GwcClient gwcClient) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addDataStore(String dataStoreJSON) |
javax.ws.rs.core.Response |
addGeoserverLayer(String geoserverLayerJSON,
String ftJSON,
String sldsJSON,
Integer minScale,
Integer maxScale) |
javax.ws.rs.core.Response |
addGeoserverLayerFromConfig(String layerConfigJSON,
String sldsJSON,
String crs,
String style) |
javax.ws.rs.core.Response |
addLayerStyle(String layerName,
String styleName,
String sld,
Integer minScale,
Integer maxScale) |
javax.ws.rs.core.Response |
addStyle(String styleName,
String sld,
Integer minScale,
Integer maxScale) |
javax.ws.rs.core.Response |
addStyleIcons(org.glassfish.jersey.media.multipart.FormDataMultiPart multiPart) |
javax.ws.rs.core.Response |
addWorkspace(String name,
String uri) |
javax.ws.rs.core.Response |
coveragestoreExists(String coverageId) |
javax.ws.rs.core.Response |
dataStoreExists(String workspaceName,
String dataStoreName) |
javax.ws.rs.core.Response |
deleteCoverageStore(String coverageId) |
javax.ws.rs.core.Response |
deleteLayer(String layerName,
String layerId,
gr.cite.geoanalytics.dataaccess.entities.layer.DataSource dataSource) |
javax.ws.rs.core.Response |
getAllStyles() |
javax.ws.rs.core.Response |
getCachedLayers() |
javax.ws.rs.core.Response |
getDataStore(String dataStoreName) |
javax.ws.rs.core.Response |
getFeatureType(String name) |
javax.ws.rs.core.Response |
getGeoserverLayer(String name) |
javax.ws.rs.core.Response |
getGeoserverLayers() |
javax.ws.rs.core.Response |
getGeoserverLayersOfDataStore(String datastoreName) |
javax.ws.rs.core.Response |
getGeoTIFFPublishConfig(String layerId) |
javax.ws.rs.core.Response |
getLayerType(String name) |
javax.ws.rs.core.Response |
getStyle(String name) |
javax.ws.rs.core.Response |
initializeEnvironment(String layerConfigsJSON,
String systemPresentationConfigJSON,
String stylesJSON) |
javax.ws.rs.core.Response |
listDataStores() |
javax.ws.rs.core.Response |
listLayers() |
javax.ws.rs.core.Response |
listLayersOfDataStore(String name) |
javax.ws.rs.core.Response |
publishGeoTIFF(InputStream geotiff,
String fileMetaData,
String publishConfigJson) |
javax.ws.rs.core.Response |
publishNetCDF(InputStream netcdf,
String fileMetaData,
String publishConfigJson) |
javax.ws.rs.core.Response |
removeLayerStyle(String layerName,
String styleName,
Integer minScale,
Integer maxScale) |
javax.ws.rs.core.Response |
removeStyle(String styleName,
Integer minScale,
Integer maxScale) |
javax.ws.rs.core.Response |
seedGeoTIFFToGCW(String seedRequest,
String layerName) |
javax.ws.rs.core.Response |
setDefaultLayerStyle(String layerName,
String styleName,
String sld,
Integer minScale,
Integer maxScale) |
void |
setEnvironmentInitializer(EnvironmentInitializer environmentInitializer) |
javax.ws.rs.core.Response |
workspaceExists(String workspaceName) |
public GeoServerManagementResource(gr.cite.geoanalytics.dataaccess.geoserverbridge.GeoServerBridge geoserverBridge,
gr.cite.geoanalytics.context.GeoServerBridgeConfig configuration,
gr.cite.geoanalytics.dataaccess.geoserverbridge.geoservermanager.geowebcache.GwcClient gwcClient)
throws Exception
Exception@Inject public void setEnvironmentInitializer(EnvironmentInitializer environmentInitializer)
@POST
@Path(value="initializeEnvironment")
public javax.ws.rs.core.Response initializeEnvironment(@FormParam(value="layerConfigsJSON")
String layerConfigsJSON,
@FormParam(value="systemPresentationConfigJSON")
String systemPresentationConfigJSON,
@FormParam(value="stylesJSON")
String stylesJSON)
@DELETE
@Path(value="deleteGeoserverLayer/{layerName}/{layerId}/{dataSource}")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteLayer(@PathParam(value="layerName")
String layerName,
@PathParam(value="layerId")
String layerId,
@PathParam(value="dataSource")
gr.cite.geoanalytics.dataaccess.entities.layer.DataSource dataSource)
throws IOException
IOException@POST
@Path(value="addDataStore")
public javax.ws.rs.core.Response addDataStore(@FormParam(value="dataStore")
String dataStoreJSON)
@DELETE
@Path(value="coverage/{coverageId}/coveragestore/delete")
public javax.ws.rs.core.Response deleteCoverageStore(@PathParam(value="coverageId")
String coverageId)
@POST
@Path(value="addGeoserverLayerFromConfig")
public javax.ws.rs.core.Response addGeoserverLayerFromConfig(@FormParam(value="layerConfigJSON")
String layerConfigJSON,
@FormParam(value="slds")
String sldsJSON,
@FormParam(value="crs")
String crs,
@FormParam(value="style")
String style)
@POST
@Path(value="addGeoserverLayer")
public javax.ws.rs.core.Response addGeoserverLayer(@FormParam(value="geoserverLayer")
String geoserverLayerJSON,
@FormParam(value="ft")
String ftJSON,
@FormParam(value="slds")
String sldsJSON,
@FormParam(value="minScale")
Integer minScale,
@FormParam(value="maxScale")
Integer maxScale)
@POST
@Path(value="addLayerStyle")
public javax.ws.rs.core.Response addLayerStyle(@FormParam(value="layerName")
String layerName,
@FormParam(value="styleName")
String styleName,
@FormParam(value="sld")
String sld,
@FormParam(value="minScale")
Integer minScale,
@FormParam(value="maxScale")
Integer maxScale)
@POST
@Path(value="addStyle")
public javax.ws.rs.core.Response addStyle(@FormParam(value="styleName")
String styleName,
@FormParam(value="sld")
String sld,
@FormParam(value="minScale")
Integer minScale,
@FormParam(value="maxScale")
Integer maxScale)
@POST @Path(value="addStyleIcons") @Consumes(value="multipart/form-data") public javax.ws.rs.core.Response addStyleIcons(org.glassfish.jersey.media.multipart.FormDataMultiPart multiPart)
@POST
@Path(value="addWorkspace")
public javax.ws.rs.core.Response addWorkspace(@FormParam(value="name")
String name,
@FormParam(value="uri")
String uri)
@POST
@Path(value="dataStoreExists")
public javax.ws.rs.core.Response dataStoreExists(@FormParam(value="workspaceName")
String workspaceName,
@FormParam(value="dataStoreName")
String dataStoreName)
@GET
@Path(value="getDataStore/{dataStoreName}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getDataStore(@PathParam(value="dataStoreName")
String dataStoreName)
@GET
@Path(value="coverage/{coverageid}/coeveragestore/exists")
@Produces(value="application/json")
public javax.ws.rs.core.Response coveragestoreExists(@PathParam(value="coverageid")
String coverageId)
@GET
@Path(value="getFeatureType/{name}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getFeatureType(@PathParam(value="name")
String name)
@GET
@Path(value="getLayerType/{name}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getLayerType(@PathParam(value="name")
String name)
@GET
@Path(value="getGeoserverLayer/{name}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getGeoserverLayer(@PathParam(value="name")
String name)
@GET
@Path(value="getGeoserverLayers")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getGeoserverLayers()
@GET
@Path(value="getGeoserverLayers/{datastoreName}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getGeoserverLayersOfDataStore(@PathParam(value="datastoreName")
String datastoreName)
@GET
@Path(value="getStyle/{name}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getStyle(@PathParam(value="name")
String name)
@GET
@Path(value="getAllStyles")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response getAllStyles()
@GET
@Path(value="listDataStores")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response listDataStores()
@GET
@Path(value="listLayers")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response listLayers()
@GET
@Path(value="listLayersOfDataStore/{name}")
@Produces(value={"application/xml","application/json"})
public javax.ws.rs.core.Response listLayersOfDataStore(@PathParam(value="name")
String name)
@POST
@Path(value="removeLayerStyle")
public javax.ws.rs.core.Response removeLayerStyle(@FormParam(value="layerName")
String layerName,
@FormParam(value="styleName")
String styleName,
@FormParam(value="minScale")
Integer minScale,
@FormParam(value="maxScale")
Integer maxScale)
@POST
@Path(value="removeStyle")
public javax.ws.rs.core.Response removeStyle(@FormParam(value="styleName")
String styleName,
@FormParam(value="minScale")
Integer minScale,
@FormParam(value="maxScale")
Integer maxScale)
@POST
@Path(value="setDefaultLayerStyle")
public javax.ws.rs.core.Response setDefaultLayerStyle(@FormParam(value="layerName")
String layerName,
@FormParam(value="styleName")
String styleName,
@FormParam(value="sld")
String sld,
@FormParam(value="minScale")
Integer minScale,
@FormParam(value="maxScale")
Integer maxScale)
@POST
@Path(value="workspaceExists")
public javax.ws.rs.core.Response workspaceExists(@FormParam(value="workspaceName")
String workspaceName)
@GET
@Path(value="getGeoTIFFPublishConfig/{layerId}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getGeoTIFFPublishConfig(@PathParam(value="layerId")
String layerId)
@POST @Path(value="publishGeoTIFF") @Consumes(value="multipart/form-data") public javax.ws.rs.core.Response publishGeoTIFF(InputStream geotiff, String fileMetaData, String publishConfigJson) throws Exception
Exception@POST @Path(value="publishNetCDF") @Consumes(value="multipart/form-data") public javax.ws.rs.core.Response publishNetCDF(InputStream netcdf, String fileMetaData, String publishConfigJson) throws Exception
Exception@POST
@Path(value="seedGeoTIFF/{layerName}")
public javax.ws.rs.core.Response seedGeoTIFFToGCW(@FormParam(value="seedRequest")
String seedRequest,
@PathParam(value="layerName")
String layerName)
throws Exception
Exception@GET @Path(value="getCachedLayers") public javax.ws.rs.core.Response getCachedLayers()
Copyright © 2019. All Rights Reserved.