Hi all,

We are trying to use this component in AF to provide a notification wall
for AF notifications such as application creation failures, build failures
and so on.

What we noticed is, we have achieved the tenant isolation by looking at the
payload of the JSON message with 'actor' element consisted of form
'actor@tenantDomain' where all the JSON messages are stored in above
mentioned Cassandra keyspace. This might be a reason why we have tenant
domain as a parameter in 'SocialActivityService' interface. Anyhow this
provide the notion of tenancy as we are filtering based on 'actor' element.

Lets update the interface with sample JSON object as it expect a particular
set of elements to be present. So this will helpful the users of
'SocialActivityService' interface.

thank you.




On Wed, Mar 5, 2014 at 6:42 PM, Udara Rathnayake <[email protected]> wrote:

> Hi all,
>
> At the moment commenting/rating feature of enterprise store is powered by
> the social engine. App-Factory team also going to use this engine to
> facilitate their system generated messages now.
>
> We have following data-source[1] configured and using this to store social
> activities of all the tenants within a single key-space. Going forward is
> this model of using single key-space feasible?
>
> [1].
> <datasource>
>             <name>SOCIAL_CASSANDRA_DB</name>
>             <description>The cassandra  datasource used for storing social
> activities</description>
>             <definition type="RDBMS">
>                 <configuration>
>                     <url>jdbc:cassandra://localhost:9160/EVENT_KS</url>
>                     <username>username</username>
>                     <password>password</password>
>
> <driverClassName>org.apache.cassandra.cql.jdbc.CassandraDriver</driverClassName>
>                 </configuration>
>             </definition>
>  </datasource>
>
> Regards,
> UdaraR
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 772207239
> Twitter : http://twitter.com/udarakr
> Blog    : http://udarakr.blogspot.com
>
>


-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to