-
-
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.
OSEO admin REST API, products read only portion
- Loading branch information
Showing
12 changed files
with
623 additions
and
89 deletions.
There are no files selected for viewing
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
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
39 changes: 39 additions & 0 deletions
39
...ommunity/oseo/oseo-rest/src/main/java/org/geoserver/opensearch/rest/ProductReference.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,39 @@ | |||
/* (c) 2017 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.opensearch.rest; | |||
|
|||
/** | |||
* Bean used for JSON serialization | |||
* | |||
* @author Andrea Aime - GeoSolutions | |||
*/ | |||
class ProductReference { | |||
|
|||
String id; | |||
|
|||
String href; | |||
|
|||
String rss; | |||
|
|||
public ProductReference(String id, String href, String search) { | |||
super(); | |||
this.id = id ; | |||
this.href = href; | |||
this.rss = search; | |||
} | |||
|
|||
public String getId() { | |||
return id; | |||
} | |||
|
|||
public String getHref() { | |||
return href; | |||
} | |||
|
|||
public String getRss() { | |||
return rss; | |||
} | |||
|
|||
} |
22 changes: 22 additions & 0 deletions
22
...mmunity/oseo/oseo-rest/src/main/java/org/geoserver/opensearch/rest/ProductReferences.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,22 @@ | |||
/* (c) 2017 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.opensearch.rest; | |||
|
|||
import java.util.List; | |||
|
|||
class ProductReferences { | |||
|
|||
List<ProductReference> products; | |||
|
|||
public ProductReferences(List<ProductReference> products) { | |||
super(); | |||
this.products = products; | |||
} | |||
|
|||
public List<ProductReference> getProducts() { | |||
return products; | |||
} | |||
|
|||
} |
Oops, something went wrong.