]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-60, name of the file changed to service-config from common
authorSanjay Dalal <sanjay.dalal@berkeley.edu>
Tue, 26 May 2009 17:04:12 +0000 (17:04 +0000)
committerSanjay Dalal <sanjay.dalal@berkeley.edu>
Tue, 26 May 2009 17:04:12 +0000 (17:04 +0000)
services/common/src/main/resources/service-config.xsd [new file with mode: 0644]

diff --git a/services/common/src/main/resources/service-config.xsd b/services/common/src/main/resources/service-config.xsd
new file mode 100644 (file)
index 0000000..0dd79cf
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+    Document   : service-config.xsd
+    Created on : May 19, 2009, 1:31 PM
+    Author     :
+    Copyright 2009 University of California at Berkeley
+    Description:
+        Schema for service layer configuration
+-->
+<xs:schema 
+  xmlns:xs="http://www.w3.org/2001/XMLSchema"
+  xmlns="http://collectionspace.org/services/common"
+  targetNamespace="http://collectionspace.org/services/common"
+  version="0.1"
+>
+
+    <xs:element name="service-config">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="nuxeo-client-config" minOccurs="1"  maxOccurs="1">
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="host" type="xs:string" minOccurs="1"  maxOccurs="1" />
+                            <xs:element name="port" type="xs:int" minOccurs="1"  maxOccurs="1" />
+                            <xs:element name="user" type="xs:string" minOccurs="1"  maxOccurs="1" />
+                <!-- password should not be in cleartext -->
+                            <xs:element name="password" type="xs:string" minOccurs="1"  maxOccurs="1" />
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+                <xs:element name="nuxeo-workspace" minOccurs="0"  maxOccurs="1" >
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="workspace" maxOccurs="unbounded" >
+                                <xs:complexType>
+                                    <xs:sequence>
+                                        <xs:element name="service-name" type="xs:string" minOccurs="1"  maxOccurs="1" />
+                                        <xs:element name="workspace-name" type="xs:string" minOccurs="1"  maxOccurs="1" />
+                                    </xs:sequence>
+                                </xs:complexType>
+                            </xs:element>
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+
+
+</xs:schema>
+