-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b2d622
commit 1d6ddea
Showing
24 changed files
with
424 additions
and
414 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
src/extension/csw/core/src/main/java/org/geoserver/csw/CSWResourceVoter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
src/extension/wps/wps-core/src/main/java/org/geoserver/wps/WPSResourceVoter.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
src/gwc/src/main/java/org/geoserver/gwc/wmts/GWCResourceServiceVoter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
Oops, something went wrong.