Hi Chris (& all) us refractions types have been fixing bugs today:
- the "everything works till I save bug" has been fixed (the xml loading process failed w/ empty DataStore parameters). None of our in house DataStores made use of empty parameters so we did not catch this one.
- The Validation Processor has been changed. The validation processor was working based on typeName, the validation plug-ins were working based on typeRef (dataStoreId:typeName) so only the "all" tests were being run.
And of course we have added a couple of things - some of which are in userBasic.
The welcome page has developed a "Demo" link. Any files placed into your conf directories "demo" folder may be used with the TestServlet. The files are dragged into a text area so you can edit your request prior to use.
UserBasic includes a several sample requests. My hope is that this can beuseful as part of the installation/quickstart instructions?
Using the requests currently in the UserData demo directory once can:
- GetCapabilieis
- describe topp:bc_roads
- getFeature bc_roads.1
- modify a shapefile (changing the NUMBER of bc_roads.1 to 3.13159)
- getFeature bc_roads.1 again to see that it has changed
Currently UserBasic checks the following:
- check that all attributes named "id" are non null
- check that all pointProperty attributes are non null
- check that all Features have a valid Geometry
- check that all attribtues named "id" are unique within their FeatureType
I will add one more entry to bc_roads - trying to insert an invalid Geometry which will fail the above checks.
I figure a invalid geometry check is a good validation to have as part of UserBasic. I can'd decide if the others are too annoying for those using UserBasic as a starting point, or valuable as an example.
Chris: I will be back in a couple of hours and should be able to meet up on the geotools irc. Now that the peices are in place we should end up with a fairly complete demo. It will be made available to all as citeDemo (although citeDemoPostgis is what we will actually run - we need to run a mapserver off the data since GeoServer/wms will not be ready for Monday).
Cheers,
Jody