Hi all, 
We have the need to update the schema.xsd associated with layers in order to 
define a domain / list of string values that are "allowed" for a particular 
string attribute. For GeoSHAPE, we are currently generating drop down menus and 
validating the entries based on the .xsd file we place in the following  
location:
data_folder/<workspace>/<datastore>/<featuretype>/schema.xsd
The issue is that the user has to ssh in and update the file directly (and then 
restart tomcat). We would like to post new/updated .xsd files using the rest 
API but it currently doesn't exist.  Is this something others would like to see 
in the API? If we have to implement it, I'd like us to implement it such that 
the pull request can be accepted so I'd appreciate any feedback.  The route 
should perhaps look something like:http://<server 
url>/geoserver/rest/workspaces/<workspace>/datastores/<datastore>/featuretypes/<featuretype>/schema.xsd
Also, maybe the API can be used to get the schema as well similar to WFS 
DescribeFeatureType but the actual file as opposed to the serialized version of 
corresponding object. 
Regards,Syrus Mesdaghi                                    
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to