-
-
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.
[GEOS-8869] Importer REST should not override default LayerInfo Rest …
…converter
- Loading branch information
1 parent
1366aee
commit 249eae0
Showing
5 changed files
with
88 additions
and
13 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/extension/importer/rest/src/main/java/org/geoserver/importer/rest/ImportLayer.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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,23 @@ | |||
/* (c) 2018 Open Source Geospatial Foundation - all rights reserved | |||
* This code is licensed under the GPL 2.0 license, available at the root | |||
* application directory. | |||
*/ | |||
package org.geoserver.importer.rest; | |||
|
|||
import org.geoserver.catalog.LayerInfo; | |||
|
|||
/** | |||
* Wrapper for {@link org.geoserver.catalog.LayerInfo} to be used when converting the importer JSON | |||
* representation to a Layer | |||
*/ | |||
public class ImportLayer { | |||
LayerInfo layer; | |||
|
|||
public ImportLayer(LayerInfo layer) { | |||
this.layer = layer; | |||
} | |||
|
|||
public LayerInfo getLayer() { | |||
return layer; | |||
} | |||
} |
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
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