2021-02-16 18:03:10 +01:00
|
|
|
package org.gcube.spatial.data.clients.geoserver;
|
|
|
|
|
2021-02-19 12:25:00 +01:00
|
|
|
import org.gcube.spatial.data.clients.AbstractGenericClient;
|
2021-04-21 12:48:12 +02:00
|
|
|
import org.gcube.spatial.data.clients.SDIGenericPlugin;
|
2021-02-16 18:03:10 +01:00
|
|
|
import org.gcube.spatial.data.clients.model.ClientInfo;
|
2021-02-18 18:12:58 +01:00
|
|
|
import org.gcube.spatial.data.clients.model.engine.Engine;
|
|
|
|
import org.gcube.spatial.data.clients.model.engine.Range;
|
2021-02-16 18:03:10 +01:00
|
|
|
|
2021-04-21 17:47:48 +02:00
|
|
|
public class GeoServerPlugin extends AbstractGenericClient implements SDIGenericPlugin{
|
2021-02-16 18:03:10 +01:00
|
|
|
|
|
|
|
|
2021-04-21 17:47:48 +02:00
|
|
|
public GeoServerPlugin() {
|
2021-02-19 12:25:00 +01:00
|
|
|
super(GSRESTClientImpl.class);
|
|
|
|
}
|
|
|
|
|
2021-02-16 18:03:10 +01:00
|
|
|
@Override
|
|
|
|
public ClientInfo getInfo() {
|
2021-04-21 17:47:48 +02:00
|
|
|
return new ClientInfo("gs-rest", "GeoServer REST", "GeoServer REST client", GSRESTClientImpl.class.getCanonicalName(),
|
2021-02-18 18:12:58 +01:00
|
|
|
new Engine(Engine.GS_ENGINE, "Default GeoServerVersion", new Range("2.0.0", null)));
|
2021-02-16 18:03:10 +01:00
|
|
|
}
|
|
|
|
|
2021-02-19 12:25:00 +01:00
|
|
|
|
2021-02-16 18:03:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
}
|