Hi,

we are trying to do 2 things

 * replicate the fuseki-webapp with fuseki main, keep different data
   services in separate ttl files in the configuration directory
 * externally from another module, enrich each data services with a
   geoindex operation

for the 1st step, we added 

FusekiConfig.readConfigurationDirectory(FusekiWebapp.dirConfiguration.toString())
 .forEach((dap) -> builder.add(dap.getName(), 
DataService.newBuilder(dap.getDataService())));

to the FusekiModule.prepare lifecycle.

This works fine!

for the 2nd step, what we want to do is something like:

 datasetNames.forEach(name -> builder.addEndpoint(name, "spatial", 
spatialOperation));

however, if we try to do this in another module's prepare method, the
datasets aren't there yet. So maybe to it from the
FusekiModule.configured method? But there, the DataAccessPoints are
already finished building.

For now, we remove all DAPs and register new copies of them, but I was
wondering if you see a better way? Could it be worth to / or does there
exist another hook which we missed?

Thanks,

Reply via email to