Author: [email protected]
Date: Tue Mar 13 15:58:30 2012
New Revision: 2142

Log:


Added:
   
branches/cassandra-platform-0.3.0/config/src/main/resources/amdatu-cassandra-persistencemanager-hector-config.xml
Modified:
   branches/cassandra-platform-0.3.0/cassandra-listener/pom.xml
   branches/cassandra-platform-0.3.0/cassandra-persistencemanager-hector/pom.xml

Modified: branches/cassandra-platform-0.3.0/cassandra-listener/pom.xml
==============================================================================
--- branches/cassandra-platform-0.3.0/cassandra-listener/pom.xml        
(original)
+++ branches/cassandra-platform-0.3.0/cassandra-listener/pom.xml        Tue Mar 
13 15:58:30 2012
@@ -61,7 +61,11 @@
         <artifactId>maven-bundle-plugin</artifactId>
         <configuration>
           <instructions>
-            
<Bundle-Activator>org.amdatu.cassandra.listener.osgi.Activator</Bundle-Activator>
+            <X-MultiTenant-Version>1</X-MultiTenant-Version>
+            
<X-MultiTenant-Bundle-Activator>org.amdatu.cassandra.listener.osgi.Activator</X-MultiTenant-Bundle-Activator>
+            <X-MultiTenant-Binding>PLATFORM</X-MultiTenant-Binding>
+            
<X-MultiTenant-Scope>(|(org.amdatu.tenant.pid=%TENANTPID%)(objectClass=org.osgi.service.log.LogService))</X-MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.tenant.adapter.MultiTenantBundleActivator</Bundle-Activator>
             
<Bundle-SymbolicName>org.amdatu.cassandra.listener</Bundle-SymbolicName>
             <Import-Package>
               org.amdatu.cassandra.listener,

Modified: 
branches/cassandra-platform-0.3.0/cassandra-persistencemanager-hector/pom.xml
==============================================================================
--- 
branches/cassandra-platform-0.3.0/cassandra-persistencemanager-hector/pom.xml   
    (original)
+++ 
branches/cassandra-platform-0.3.0/cassandra-persistencemanager-hector/pom.xml   
    Tue Mar 13 15:58:30 2012
@@ -60,7 +60,11 @@
         <artifactId>maven-bundle-plugin</artifactId>
         <configuration>
           <instructions>
-            
<Bundle-Activator>org.amdatu.cassandra.persistencemanager.hector.osgi.Activator</Bundle-Activator>
+            <X-MultiTenant-Version>1</X-MultiTenant-Version>
+            
<X-MultiTenant-Bundle-Activator>org.amdatu.cassandra.persistencemanager.hector.osgi.Activator</X-MultiTenant-Bundle-Activator>
+            <X-MultiTenant-Binding>PLATFORM</X-MultiTenant-Binding>
+            
<X-MultiTenant-Scope>(|(org.amdatu.tenant.pid=%TENANTPID%)(objectClass=org.osgi.service.log.LogService))</X-MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.tenant.adapter.MultiTenantBundleActivator</Bundle-Activator>
             
<Bundle-SymbolicName>org.amdatu.cassandra.persistencemanager.hector</Bundle-SymbolicName>
             <Import-Package>
               org.amdatu.cassandra.persistencemanager.hector,

Added: 
branches/cassandra-platform-0.3.0/config/src/main/resources/amdatu-cassandra-persistencemanager-hector-config.xml
==============================================================================
--- (empty file)
+++ 
branches/cassandra-platform-0.3.0/config/src/main/resources/amdatu-cassandra-persistencemanager-hector-config.xml
   Tue Mar 13 15:58:30 2012
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.1.0"; 
filter="(|(!(org.amdatu.tenant.pid=*))(org.amdatu.tenant.pid=org.amdatu.tenant.PLATFORM))">
+  <OCD name="Apache Cassandra Client" 
id="org.amdatu.cassandra.persistencemanager.hector">
+    <AD id="clustername" type="STRING" cardinality="0" />
+    <AD id="consistency_level_read" type="STRING" cardinality="0" />
+    <AD id="consistency_level_write" type="STRING" cardinality="0" />
+    <AD id="hector.hosts" type="STRING" cardinality="0" />
+    <AD id="hector.port" type="STRING" cardinality="0" />
+    <AD id="hector.maxActive" type="STRING" cardinality="0" />
+    <AD id="hector.maxWaitTimeWhenExhausted" type="STRING" cardinality="0" />
+    <AD id="hector.cassandraThriftSocketTimeout" type="STRING" cardinality="0" 
/>
+    <AD id="hector.useThriftFramedTransport" type="STRING" cardinality="0" />
+    <AD id="hector.retryDownedHosts" type="STRING" cardinality="0" />
+    <AD id="hector.retryDownedHostsQueueSize" type="STRING" cardinality="0" />
+    <AD id="hector.retryDownedHostsDelayInSeconds" type="STRING" 
cardinality="0" />
+    <AD id="hector.autoDiscoverHosts" type="STRING" cardinality="0" />
+    <AD id="hector.autoDiscoveryDelayInSeconds" type="STRING" cardinality="0" 
/>
+    <AD id="hector.runAutoDiscoveryAtStartup" type="STRING" cardinality="0" />
+    <AD id="hector.useHostTimeoutTracker" type="STRING" cardinality="0" />
+    <AD id="hector.hostTimeoutCounter" type="STRING" cardinality="0" />
+    <AD id="hector.hostTimeoutWindow" type="STRING" cardinality="0" />
+    <AD id="hector.hostTimeoutSuspensionDurationInSeconds" type="STRING" 
cardinality="0" />
+    <AD id="hector.hostTimeoutUnsuspendCheckDelay" type="STRING" 
cardinality="0" />
+    <AD id="hector.useSocketKeepalive" type="STRING" cardinality="0" />
+  </OCD>
+
+  <Designate pid="org.amdatu.cassandra.persistencemanager.hector" bundle="*">
+    <Object ocdref="org.amdatu.cassandra.persistencemanager.hector">
+      <Attribute adref="clustername">
+        <Value>Amdatu Cluster</Value>
+      </Attribute>
+      <Attribute adref="consistency_level_read">
+        <Value>ONE</Value>
+      </Attribute>
+      <Attribute adref="consistency_level_write">
+        <Value>ONE</Value>
+      </Attribute>
+      <Attribute adref="hector.hosts">
+        <Value>127.0.0.1</Value>
+      </Attribute>
+      <Attribute adref="hector.port">
+        <Value>9160</Value>
+      </Attribute>
+      <Attribute adref="hector.maxActive">
+        <Value>50</Value>
+      </Attribute>
+      <Attribute adref="hector.maxWaitTimeWhenExhausted">
+        <Value>-1</Value>
+      </Attribute>
+      <Attribute adref="hector.cassandraThriftSocketTimeout">
+        <Value>0</Value>
+      </Attribute>
+      <Attribute adref="hector.useThriftFramedTransport">
+        <Value>true</Value>
+      </Attribute>
+      <Attribute adref="hector.retryDownedHosts">
+        <Value>true</Value>
+      </Attribute>
+      <Attribute adref="hector.retryDownedHostsQueueSize">
+        <Value>-1</Value>
+      </Attribute>
+      <Attribute adref="hector.retryDownedHostsDelayInSeconds">
+        <Value>10</Value>
+      </Attribute>
+      <Attribute adref="hector.autoDiscoverHosts">
+        <Value>false</Value>
+      </Attribute>
+      <Attribute adref="hector.autoDiscoveryDelayInSeconds">
+        <Value>30</Value>
+      </Attribute>
+      <Attribute adref="hector.runAutoDiscoveryAtStartup">
+        <Value>false</Value>
+      </Attribute>
+      <Attribute adref="hector.useHostTimeoutTracker">
+        <Value>false</Value>
+      </Attribute>
+      <Attribute adref="hector.hostTimeoutCounter">
+        <Value>10</Value>
+      </Attribute>
+      <Attribute adref="hector.hostTimeoutWindow">
+        <Value>500</Value>
+      </Attribute>
+      <Attribute adref="hector.hostTimeoutSuspensionDurationInSeconds">
+        <Value>10</Value>
+      </Attribute>
+      <Attribute adref="hector.hostTimeoutUnsuspendCheckDelay">
+        <Value>10</Value>
+      </Attribute>
+      <Attribute adref="hector.useSocketKeepalive">
+        <Value>false</Value>
+      </Attribute>
+    </Object>
+  </Designate>
+</MetaData>
\ No newline at end of file
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits

Reply via email to