Hi Ivo,

That seems to work great!

Of course, then I find out we dont' have a tenant for ourselves yet. oops =:-)

The adapter creates services for each tenant; however,
Is there a tenant-aware dependencymanager which we can use to get the proper 
services?
or, how do I ensure that the services which I retrieve from the 
servicerepository(?) are the one for my tenant?

Regards,

Koos Gadellaa

On 9 nov 2010, at 09:02, Ivo Ladage-van Doorn wrote:

Hi Koos,

The SesameService is indeed not (yet) Tenant aware. There is only one service 
instance, which stores data of all tenants in a single RDF store. Creating a 
Tenant aware version of the Sesame service however would be extremely easy. The 
only thing you would need to do:
-          Define the Sesame service as a Tenant adapter service (use 
createAdapterService(Tenant.class, null) instead of just createService()) in 
the activator of this bundle
-          The Sesame would have the Tenant injected and the id of the tenant 
could be appended to the filename of the RDF storage, making it Tenant specific.

So within a few minutes with minor adjustments you could make it Tenant 
specific.

Regards, Ivo

From: amdatu-users-bounces at amdatu.org<mailto:amdatu-users-bounces at 
amdatu.org> [mailto:[email protected]] On Behalf Of Koos Gadellaa
Sent: maandag 8 november 2010 17:03
To: amdatu-users at amdatu.org<mailto:amdatu-users at amdatu.org>
Subject: [Amdatu-users] Sesame-application bundle not tenant aware

Hello,

I'm looking at using a triple store, and I see Amdatu has the 
sesame-application bundle, whichi would be exactly what I need.

However, looking at the code I don't see anything tenant-aware in there; as is, 
it 'just' stores it to a file which is global to amdatu.
So, two questions:
1) am I seeing things correct? Is the sesame-service not tenant aware, and
2) assuming it isn't, is it going to, or is it part of the 'amdatu internals', 
and tenants should create and maintain their own opensesame instance?


Kind regards,

Koos Gadellaa | Software Engineer
+31 6 317 658 01

My world is: ever expanding

Luminis KIS B.V.
Prins Willem Alexanderlaan 715
7311 ST  Apeldoorn
+31 88 586 46 25
http://kis.luminis.eu
http://www.luminis.eu
KvK (CoC) 09 14 31 09
BTW (VAT) NL8135.18.556.B.01

<ATT00001..c>

Beste,


Met vriendelijke groeten,

Koos Gadellaa | Software Engineer
+31 6 317 658 01

My world is: ever expanding

Luminis KIS B.V.
Prins Willem Alexanderlaan 715
7311 ST  Apeldoorn
+31 88 586 46 25

http://kis.luminis.eu
http://www.luminis.eu

KvK (CoC) 09 14 31 09
BTW (VAT) NL8135.18.556.B.01

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.amdatu.org/pipermail/amdatu-users/attachments/20101109/04cf7f1b/attachment.html
 

Reply via email to