Author: [email protected]
Date: Thu Nov 24 20:18:33 2011
New Revision: 1773

Log:
AMDATU-397 Converted existing platform config to metatype

Added:
   trunk/amdatu-release/src/main/resources/config/amdatu-core-config.xml
   trunk/amdatu-release/src/main/resources/config/amdatu-web-config.xml
Removed:
   
trunk/amdatu-release/src/main/resources/config/org.amdatu.core.config.templates.cfg
   trunk/amdatu-release/src/main/resources/config/org.amdatu.core.loghandler.cfg
   
trunk/amdatu-release/src/main/resources/config/org.amdatu.core.useradminstore.fs.cfg
   trunk/amdatu-release/src/main/resources/config/org.apache.felix.http.cfg

Added: trunk/amdatu-release/src/main/resources/config/amdatu-core-config.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-release/src/main/resources/config/amdatu-core-config.xml       
Thu Nov 24 20:18:33 2011
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0";>
+  <Designate pid="org.amdatu.core.config.templates" bundle="*">
+    <Object ocdref="org.amdatu.core.config.templates">
+      <Attribute adref="workdir">
+        <Value>config-template-manager</Value>
+      </Attribute>
+    </Object>
+  </Designate>
+  <Designate pid="org.amdatu.core.log.console" bundle="*">
+    <Object ocdref="org.amdatu.core.log.console">
+      <Attribute adref="loglevel">
+        <Value>INFO</Value>
+      </Attribute>
+    </Object>
+  </Designate>
+  <Designate pid="org.amdatu.core.useradminstore.fs" bundle="*">
+    <Object ocdref="org.amdatu.core.useradminstore.fs">
+      <Attribute adref="datadir">
+        <Value>work/useradminstore</Value>
+      </Attribute>
+    </Object>
+  </Designate>
+</MetaData>
\ No newline at end of file

Added: trunk/amdatu-release/src/main/resources/config/amdatu-web-config.xml
==============================================================================
--- (empty file)
+++ trunk/amdatu-release/src/main/resources/config/amdatu-web-config.xml        
Thu Nov 24 20:18:33 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0";>
+  <OCD name="Apache Felix Http Config" id="org.osgi.service.http">
+    <AD id="org.osgi.service.http.port" type="STRING" cardinality="0" />
+  </OCD>
+  <Designate pid="org.apache.felix.http" bundle="*">
+    <Object ocdref="org.osgi.service.http">
+      <Attribute adref="org.osgi.service.http.port">
+        <Value>8080</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