Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandor777 committed Nov 30, 2018
1 parent 0b2d622 commit 1d6ddea
Show file tree
Hide file tree
Showing 24 changed files with 424 additions and 414 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions doc/en/user/source/data/webadmin/layers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,24 @@ Cache parameters that apply to the HTTP response from client requests.

* **Response Cache Headers**— If selected, GeoServer will not request the same tile twice within the time specified in :guilabel:`Cache Time`. One hour measured in seconds (3600), is the default value for :guilabel:`Cache Time`.

Services Settings
^^^^^^^^^^^^^^^^^

Sets services configuration on layer level.

.. figure:: img/service_enable_layer.png

Services Settings

* **Selectively enable services for layer**—Activate/deactivate service enable/disable configuration for the layer.
* **Enabled Services**—Selects enabled services list for this layer.
* **Disabled Services**—Selects disabled services list for this layer.

.. note::

It is also possible to set by-default disabled services to all layers using the ``org.geoserver.service.disabled`` system/env/servlet context variable. This variable accepts a comma separated list of services that should be disabled by default, in case the resource in question has no explicit configuration.


WMS Settings
^^^^^^^^^^^^

Expand Down
2 changes: 0 additions & 2 deletions src/extension/csw/core/src/main/java/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,4 @@
<bean id="zipResponse" class="org.geoserver.csw.response.ZipOutputFormat" />

<bean id="DirectDownloadXStreamInitializer" class="org.geoserver.csw.DirectDownloadSettingsXStreamInitializer" />

<bean id="cswResourceVoter" class="org.geoserver.csw.CSWResourceVoter" />
</beans>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,4 @@
<bean id="rawDataSizeEstimator" class="org.geoserver.wps.validator.RawDataSizeEstimator"/>
<bean id="geometrySizeEstimator" class="org.geoserver.wps.validator.GeometrySizeEstimator"/>
<bean id="processStartupFilter" class="org.geoserver.wps.executor.ProcessStartupFilter"/>

<bean id="wpsResourceVoter" class="org.geoserver.wps.WPSResourceVoter"/>
</beans>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.geoserver.gwc.wmts;

import org.geoserver.catalog.ResourceInfo;
import org.geoserver.catalog.ServiceResourceVoter;

public class GWCResourceServiceVoter implements ServiceResourceVoter {

@Override
public boolean hideService(String service, ResourceInfo resource) {
// on WMTS service request hide service from list, because it isn't useful for Service
// disable GUI
if ("WMTS".equalsIgnoreCase(service)) {
return true;
}
return false;
}
}

0 comments on commit 1d6ddea

Please sign in to comment.