Justin Deoliveira ha scritto: > Hi Lucas, > > I looked into it and I see the issue. The simple solution is attach > service=WCS to the wcs kvp parser so it does not conflict. However... > both the kvp readers return a CodeType instance from the ows model... so > it would be duplication. However... the wcs parser uses the identifier > to do a validation check against it to look up a coverage in the catalog. > > So... here is an idea (Andrea I would like your feedback on what you think). > > 1. Move IdentifierKvpParser to the ows model > 2. Move the validation check to a KvpRequestReader > 3. Have both wcs and wps modules declare an instance of the reader in > the app context > > I suspect the only issue will be that in order to move the validation > check to a request reader it would need to be duplicated for multiple > requests... so lets rework a bit :). > > 1. Move IdentifierKvpParser to the ows model > 2. Create a subclass in wcs which does the validation check > 3. Have both wcs and wps modules declare an instance of the reader in > the app context > > Andrea: what do you think?
Sure thing, works for me: http://jira.codehaus.org/browse/GEOS-1967 (working on it) Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
