If you make a draft PR I am happy to provide input. I presently do not have any customers using JDBCStore but I am happy to support your troubleshooting.
If I remember it really just wants a data structure for configuration; and it needs to callback to the geoserver catalogue to look up data stores being referenced. Good fun. — Jody On Fri, Aug 19, 2022 at 08:53 Alexandre Gacon <alexandre.ga...@gmail.com> wrote: > Thanks Jody for the input. I have already implemented a first version > (which of course does not work) and I will have a look at the examples to > see what I did wrong. > > Alexandre > > Le ven. 19 août 2022 à 08:49, Jody Garnett <jody.garn...@gmail.com> a > écrit : > >> Alexandre: >> >> The original proposal had example code snippets; and I did my best to add >> very good javadocs for using ResourceStore. >> - >> https://github.com/geoserver/geoserver/wiki/GSIP-106 >> - >> https://github.com/geoserver/geoserver/wiki/ResourceStore-API-Examples >> >> As shown in the examples it is really nice if you can adapt your code to >> use input streams directly; but the method file() is available that unpacks >> the file to the local data directory location for code (such as our >> freemarker template engine which really wanted a local file). >> >> -- >> Jody >> >> On Wed, Aug 17, 2022 at 4:07 PM Alexandre Gacon < >> alexandre.ga...@gmail.com> wrote: >> >>> Hello, >>> >>> Is there any guideline on how to evolve an existing module to make it >>> compatible with the jdbcstore community extension? >>> >>> I need to use the feature-pregeneralized extension with this store and >>> for the moment it does not work. >>> >>> The extension currently uses the Resources.find method to find a >>> reference to the configuration file: I assume I shall change the code to >>> use a class derived from >>> org.geoserver.platform.resource.ResourceStore >>> >>> instead >>> >>> -- >>> Alexandre Gacon >>> _______________________________________________ >>> Geoserver-devel mailing list >>> Geoserver-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel >>> >> -- >> -- >> Jody Garnett >> > > > -- > Alexandre Gacon > -- -- Jody Garnett
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel