Author: [email protected]
Date: Mon Dec 12 16:23:06 2011
New Revision: 1834

Log:
AMDATU-473 Added multi tenant wrappers for several core services

Added:
   trunk/amdatu-core/configadmin/
   trunk/amdatu-core/configadmin/pom.xml
   trunk/amdatu-core/eventadmin/
   trunk/amdatu-core/eventadmin/pom.xml
   trunk/amdatu-core/logservice/
   trunk/amdatu-core/logservice/pom.xml
   trunk/amdatu-core/preferences/
   trunk/amdatu-core/preferences/pom.xml
   trunk/amdatu-core/useradmin/
   trunk/amdatu-core/useradmin/pom.xml
   trunk/amdatu-core/useradminstore-prefs/
   trunk/amdatu-core/useradminstore-prefs/pom.xml
Modified:
   trunk/amdatu-core/pom.xml

Added: trunk/amdatu-core/configadmin/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-core/configadmin/pom.xml       Mon Dec 12 16:23:06 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010, 2011 The Amdatu Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.verning permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.core</groupId>
+    <artifactId>org.amdatu.core</artifactId>
+    <version>0.3.0-SNAPSHOT</version>
+  </parent>
+    <version>0.3.1-SNAPSHOT</version>
+  <artifactId>org.amdatu.core.configadmin</artifactId>
+  <packaging>bundle</packaging>
+  <name>Amdatu Core - Multi-Tenant ConfigAdmin</name>
+  <description></description>
+
+  <dependencies> 
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.configadmin</artifactId>
+      <version>1.2.4</version>
+      <scope>compile</scope>
+    </dependency>    
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            
<MultiTenant-Bundle-Activator>org.apache.felix.cm.impl.ConfigurationManager</MultiTenant-Bundle-Activator>
+            <MultiTenant-Scope>platform,tenant</MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.core.tenant.MultiTenantBundleActivator</Bundle-Activator>
+            
<Bundle-SymbolicName>org.amdatu.core.configadmin</Bundle-SymbolicName>
+            
<Embed-Dependency>*;scope=compile;inline=org/apache/felix/**</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Import-Package>
+               org.amdatu.core.tenant;version="[1.0,2)",
+               *
+            </Import-Package>
+            <Export-Package>
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build> 
+</project>

Added: trunk/amdatu-core/eventadmin/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-core/eventadmin/pom.xml        Mon Dec 12 16:23:06 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010, 2011 The Amdatu Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.verning permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.core</groupId>
+    <artifactId>org.amdatu.core</artifactId>
+    <version>0.3.0-SNAPSHOT</version>
+  </parent>
+    <version>0.3.1-SNAPSHOT</version>
+  <artifactId>org.amdatu.core.eventadmin</artifactId>
+  <packaging>bundle</packaging>
+  <name>Amdatu Core - Multi-Tenant EventAdmin</name>
+  <description></description>
+
+  <dependencies> 
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.eventadmin</artifactId>
+      <version>1.2.8</version>
+      <scope>compile</scope>
+    </dependency>    
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            
<MultiTenant-Bundle-Activator>org.apache.felix.eventadmin.impl.Activator</MultiTenant-Bundle-Activator>
+            <MultiTenant-Scope>platform,tenant</MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.core.tenant.MultiTenantBundleActivator</Bundle-Activator>
+            
<Bundle-SymbolicName>org.amdatu.core.eventadmin</Bundle-SymbolicName>
+            
<Embed-Dependency>*;scope=compile;inline=org/apache/felix/**|EDU/oswego/**</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Import-Package>
+               org.amdatu.core.tenant;version="[1.0,2)",
+               *
+            </Import-Package>
+            <Export-Package>
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build> 
+</project>

Added: trunk/amdatu-core/logservice/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-core/logservice/pom.xml        Mon Dec 12 16:23:06 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010, 2011 The Amdatu Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.verning permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.core</groupId>
+    <artifactId>org.amdatu.core</artifactId>
+    <version>0.3.0-SNAPSHOT</version>
+  </parent>
+    <version>0.3.1-SNAPSHOT</version>
+  <artifactId>org.amdatu.core.logservice</artifactId>
+  <packaging>bundle</packaging>
+  <name>Amdatu Core - Multi-Tenant LogService</name>
+  <description></description>
+
+  <dependencies> 
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.log</artifactId>
+      <version>1.0.0</version>
+      <scope>compile</scope>
+    </dependency>    
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            
<MultiTenant-Bundle-Activator>org.apache.felix.log.Activator</MultiTenant-Bundle-Activator>
+            <MultiTenant-Scope>platform,tenant</MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.core.tenant.MultiTenantBundleActivator</Bundle-Activator>
+            
<Bundle-SymbolicName>org.amdatu.core.logservice</Bundle-SymbolicName>
+            
<Embed-Dependency>*;scope=compile;inline=org/apache/felix/**</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Import-Package>
+               org.amdatu.core.tenant;version="[1.0,2)",
+               *
+            </Import-Package>
+            <Export-Package>
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build> 
+</project>

Modified: trunk/amdatu-core/pom.xml
==============================================================================
--- trunk/amdatu-core/pom.xml   (original)
+++ trunk/amdatu-core/pom.xml   Mon Dec 12 16:23:06 2011
@@ -78,6 +78,13 @@
   </dependencyManagement>
 
   <modules>
+    <module>configadmin</module>
+    <module>eventadmin</module>
+    <module>logservice</module>
+    <module>preferences</module>
+    <module>useradmin</module>
+    <module>useradminstore-prefs</module>
+    
     <module>tenantuseradmindecorator</module>
     <module>config-templates</module>
     <module>log-console</module>

Added: trunk/amdatu-core/preferences/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-core/preferences/pom.xml       Mon Dec 12 16:23:06 2011
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010, 2011 The Amdatu Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.verning permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.core</groupId>
+    <artifactId>org.amdatu.core</artifactId>
+    <version>0.3.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>org.amdatu.core.preferences</artifactId>
+  <packaging>bundle</packaging>
+  <name>Amdatu Core - Multi-Tenant Preferences</name>
+  <description></description>
+
+  <dependencies> 
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.prefs</artifactId>
+      <version>1.0.4</version>
+      <scope>compile</scope>
+    </dependency>    
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            
<MultiTenant-Bundle-Activator>org.apache.felix.prefs.impl.PreferencesManager</MultiTenant-Bundle-Activator>
+            <MultiTenant-Scope>platform,tenant</MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.core.tenant.MultiTenantBundleActivator</Bundle-Activator>
+            
<Bundle-SymbolicName>org.amdatu.core.preferences</Bundle-SymbolicName>
+            
<Embed-Dependency>*;scope=compile;inline=org/apache/**</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Import-Package>
+               org.amdatu.core.tenant;version="[1.0,2)",
+               *
+            </Import-Package>
+            <Export-Package>
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build> 
+</project>

Added: trunk/amdatu-core/useradmin/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-core/useradmin/pom.xml Mon Dec 12 16:23:06 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010, 2011 The Amdatu Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.verning permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.core</groupId>
+    <artifactId>org.amdatu.core</artifactId>
+    <version>0.3.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>org.amdatu.core.useradmin</artifactId>
+  <packaging>bundle</packaging>
+  <name>Amdatu Core - Multi-Tenant UserAdmin</name>
+  <description></description>
+
+  <dependencies> 
+    <dependency>
+      <groupId>org.ops4j.pax.useradmin</groupId>
+      <artifactId>pax-useradmin-service</artifactId>
+      <version>0.0.1-amdatu1</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            
<MultiTenant-Bundle-Activator>org.ops4j.pax.useradmin.service.internal.Activator</MultiTenant-Bundle-Activator>
+            <MultiTenant-Scope>platform,tenant</MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.core.tenant.MultiTenantBundleActivator</Bundle-Activator>
+            
<Bundle-SymbolicName>org.amdatu.core.useradmin</Bundle-SymbolicName>
+            
<Embed-Dependency>*;scope=compile;inline=org/ops4j/pax/useradmin/**</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Import-Package>
+               org.amdatu.core.tenant;version="[1.0,2)",
+               *
+            </Import-Package>
+            <Export-Package>
+               org.ops4j.pax.useradmin.service.spi
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build> 
+</project>

Added: trunk/amdatu-core/useradminstore-prefs/pom.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-core/useradminstore-prefs/pom.xml      Mon Dec 12 16:23:06 2011
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010, 2011 The Amdatu Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.verning permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.amdatu.core</groupId>
+    <artifactId>org.amdatu.core</artifactId>
+    <version>0.3.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>org.amdatu.core.useradminstore.prefs</artifactId>
+  <packaging>bundle</packaging>
+  <name>Amdatu Core - Multi-Tenant UserAdmin Preferences storage</name>
+  <description></description>
+
+  <dependencies> 
+    <dependency>
+      <groupId>org.ops4j.pax.useradmin</groupId>
+      <artifactId>pax-useradmin-provider-preferences</artifactId>
+      <version>0.0.1-SNAPSHOT</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            
<MultiTenant-Bundle-Activator>org.ops4j.pax.useradmin.provider.preferences.internal.Activator</MultiTenant-Bundle-Activator>
+            <MultiTenant-Scope>platform,tenant</MultiTenant-Scope>
+            
<Bundle-Activator>org.amdatu.core.tenant.MultiTenantBundleActivator</Bundle-Activator>
+            
<Bundle-SymbolicName>org.amdatu.core.useradminstore.prefs</Bundle-SymbolicName>
+            
<Embed-Dependency>*;scope=compile;inline=org/ops4j/pax/useradmin/provider/preferences/**</Embed-Dependency>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Import-Package>
+               org.amdatu.core.tenant;version="[1.0,2)",
+               *
+            </Import-Package>
+            <Export-Package>
+            </Export-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      
+    </plugins>
+  </build> 
+</project>
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits

Reply via email to