[
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11467#comment-11467
]
Ivo Ladage - van Doorn edited comment on AMDATUCASSANDRA-90 at 9/23/11 9:57 AM:
--------------------------------------------------------------------------------
The problem is that the tenant awareness of
CassandraConsumerStorageProviderImpl is not properly implemented. Of in fact,
it was implemented to store consumers only in the default keyspace. By the REST
service defined a dependency on the store for a specific tenant, so could only
be used for the default tenant hostname.
Analyzing the other stores it seems that also the other stores do not implement
tenant awareness properly either. This is how it should have been implemented:
- Define the service to be an adapter of Tenant
- Leave out all tenant aware service dependencies in the Activator (including
ColumnFamilyAvailable)
- in the init() if the service, add the tenant aware service dependencies
was (Author: ivol):
The problem is that the tenant awareness of
CassandraConsumerStorageProviderImpl is not properly implemented. Of in fact,
it was implemented to store consumers only in the default keyspace. By the REST
service defined a dependency on the store for a specific tenant, so could only
be used for the default tenant hostname.
Analyzing the other stores it seems that also the other stores do not implement
tenant awareness properly. This how it should have been implemented:
- Define the service to be an adapter of Tenant
- Leave out all tenant aware service dependencies in the Activator (including
ColumnFamilyAvailable)
- in the init() if the service, add the tenant aware service dependencies
> CassandraConsumerStorageProviderImpl should be tenant aware
> -----------------------------------------------------------
>
> Key: AMDATUCASSANDRA-90
> URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-90
> Project: Amdatu Cassandra
> Issue Type: Bug
> Components: Storage implementations
> Reporter: Arthur Meijer
> Fix For: 0.2.1
>
>
> OAuthServiceConsumerRegistryREST doesn't start without a corresponding
> tentant aware CassandraConsumerStorageProviderImpl service
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers