Hi Fabian,
On 21/11/14 09:27, Fabian Cretton wrote:
I have to say I am not totally familiar with LDCache, and when
investigating it a while ago, it seemed to me a little obscure what was
going on behind the scene, as for instance "when is LDCache triggered",
etc.
Keeping it short: LDClient implements the access to the data (retrieval,
content negotiation and so on), while LDCache configures how
(periodicity, target uris, etc) in the platform.
http://marmotta.apache.org/platform/ldcache-module.html
If the documentation is not clear enough, we are open how it could
describe better the modules.
As discussed in other posts, we did developp a somewhat similar but
still different "External Data Sources" module in OverLOD, based on
LDClient too (but not LDCache).
So basically your "External Data Sources" module in OverLOD is a kind of
LDCache module, isn't it? It'd be great to gather the requirements that
led you to provide a new module in order to find synergism and
extensions to LDCache.
LDClient providers themselves not, but they are used in the platform
for configuring LDCache.
Here you mean that the LDClient providers are visible in the "Kind /
Provider" dropbox of "/cache/admin/configuration.html"-"LDCache
end-points" configuration, is that right ?
Exactly that. Take a look to the documentation, please, and any feedback
would be welcomed.
So there is currently no way to configure the LDClient providers and
end-points from Marmotta's interface, but only by code, is it correct ?
For instance, modifying the configuration files from
"marmotta\libraries\ldclient\ldclient-provider-rdf\src\main\resources\META-INF\services\":
org.apache.marmotta.ldclient.api.endpoint.Endpoint
org.apache.marmotta.ldclient.api.provider.DataProvider
Or managing the setPriority() and addContentType() currently called by
the Endpoint's constructor.
No, there is not way to enable/disable LDClient provider, that's right.
Currently Marmotta will load, via ServiceLoader, all providers available
in the classpath. But I can see as an interesting feature a admin page
to enable/disable them.
Cheers,
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co