I looked deeper at the problem with ValidationRunnable class and the missing 
getFeatureSources method from the repository. 

The problem here is that the semantics is not clear to me. There are data 
store names, ids, namespaces, workspaces, prefixes and I have no idea what 
is what for geotools and geoserver. 

Sorry, I will leave up this problem to Jody. 

The only thing I could do is to add a method "getDataStores" returning all 
datastores and ValidationRunner can do his job. 

Jody, for my registry implementations you could simply implement a method 
throwing an "UnsupportedOperationException", I will investigate later. 

 

 


Andrea Aime writes: 

> Hi,
> something changed in the Repository interface of GeoTools
> that broke the build in the GeoServer validation extension.
> In particular, the Repository.getFeatureSources() method
> seems to be gone (along quite a bit of others I see). 
> 
> I understand this was an attempt to be useful for Christian
> work and get some use of the Repository interface in
> GeoServer but... it's also a change in the interfaces
> in the stable series... 
> 
> Can you please fix this? I guess the same job can be
> obtained by iterating over the available stores... 
> 
> (and yes, I know that you discussed this in a thread
>   but it was about feature pre-generalized and I did
>   not follow it closely, especially because I thought
>   it was about the gt-repository module, did not know
>   there was a Repository interface in gt-api) 
> 
> Cheers
> Andrea 
> 
> -- 
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers. 
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables 
> unlimited royalty-free distribution of the report engine 
> for externally facing server and web deployment. 
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
 


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to