You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Fabian Cretton <Fa...@hevs.ch> on 2014/11/17 08:13:30 UTC

LDClient configuration interface

Hi,
 
Is that right that there is no configuration interface for LDClient ?
If so, is it on purpose or a feature that could be implemented in the future ?
 
thanks
Fabian

Re: LDClient configuration interface

Posted by Sergio Fernández <wi...@apache.org>.
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.fernandez@redlink.co
w: http://redlink.co

Re: LDClient configuration interface

Posted by Fabian Cretton <Fa...@hevs.ch>.
Hello Sergio,
 
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.
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).
 
>> 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 ?
 
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.
 
Thank you
Fabian
 
 
 


>>> On 17.11.2014 at 11:10, in message <54...@apache.org>,
Sergio Fernández<wi...@apache.org> wrote:

Hi Fabian,

On 17/11/14 08:13, Fabian Cretton wrote:
> Is that right that there is no configuration interface for LDClient
?
> If so, is it on purpose or a feature that could be implemented in the
future ?

LDClient providers themselves not, but they are used in the platform
for 
configuring LDCache.

What other configuration scenario do you have in mind for LDClient?

Cheers,

-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernandez@redlink.co
w: http://redlink.co

Re: LDClient configuration interface

Posted by Sergio Fernández <wi...@apache.org>.
Hi Fabian,

On 17/11/14 08:13, Fabian Cretton wrote:
> Is that right that there is no configuration interface for LDClient ?
> If so, is it on purpose or a feature that could be implemented in the future ?

LDClient providers themselves not, but they are used in the platform for 
configuring LDCache.

What other configuration scenario do you have in mind for LDClient?

Cheers,

-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernandez@redlink.co
w: http://redlink.co