You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by je...@apache.org on 2011/10/23 22:01:10 UTC
svn commit: r1187962 - in
/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources:
./ log4j.properties types.xml
Author: jens
Date: Sun Oct 23 20:01:10 2011
New Revision: 1187962
URL: http://svn.apache.org/viewvc?rev=1187962&view=rev
Log:
InMemory: add example types.xml
Added:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/log4j.properties
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml
Added: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/log4j.properties?rev=1187962&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/log4j.properties (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/log4j.properties Sun Oct 23 20:01:10 2011
@@ -0,0 +1,37 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+# sample log4j.properties
+
+log4j.rootCategory=DEBUG, R, O
+
+# Stdout
+log4j.appender.O=org.apache.log4j.ConsoleAppender
+
+# File
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.R.File=log4j.log
+
+# Control the maximum log file size
+log4j.appender.R.MaxFileSize=100KB
+
+# Archive log files (one backup file here)
+log4j.appender.R.MaxBackupIndex=1
+log4j.appender.R.layout=org.apache.log4j.PatternLayout
+log4j.appender.O.layout=org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c: %m%n
+log4j.appender.O.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c: %m%n
+
+log4j.logger.org.apache.chemistry.opencmis.client.provider.spi=O
Added: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml?rev=1187962&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/resources/types.xml Sun Oct 23 20:01:10 2011
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+-->
+<chem:typeDefinitions xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"
+ xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:chem="http://chemistry.apache.org/schemas/TypeDefnitions">
+<cmisra:type xsi:type="cmisTypeDocumentDefinitionType">
+ <id>myTestDocumentType</id>
+ <localName>myTestDocumentType</localName>
+ <localNamespace>http://opencmis.org/demo/</localNamespace>
+ <parentId>cmis:document</parentId>
+ <displayName>My Test Document Type</displayName>
+ <queryName>TESTDOCTYPE</queryName>
+ <description>My Test Document Type</description>
+ <baseId>cmis:document</baseId>
+ <creatable>true</creatable>
+ <fileable>true</fileable>
+ <queryable>false</queryable>
+ <fulltextIndexed>false</fulltextIndexed>
+ <includedInSupertypeQuery>true</includedInSupertypeQuery>
+ <controllablePolicy>false</controllablePolicy>
+ <controllableACL>false</controllableACL>
+ <versionable>false</versionable>
+ <contentStreamAllowed>required</contentStreamAllowed>
+ <propertyStringDefinition>
+ <id>testProperty</id>
+ <localName>testProperty</localName>
+ <displayName>A test property</displayName>
+ <queryName>testProperty</queryName>
+ <description>Just a string</description>
+ <propertyType>string</propertyType>
+ <cardinality>single</cardinality>
+ <updatability>readwrite</updatability>
+ <inherited>false</inherited>
+ <required>false</required>
+ <queryable>false</queryable>
+ <orderable>false</orderable>
+ </propertyStringDefinition>
+ <propertyStringDefinition>
+ <id>testProperty2</id>
+ <localName>testProperty2</localName>
+ <displayName>Another test property</displayName>
+ <queryName>testProperty2</queryName>
+ <description>Another string</description>
+ <propertyType>string</propertyType>
+ <cardinality>single</cardinality>
+ <updatability>readwrite</updatability>
+ <inherited>false</inherited>
+ <required>true</required>
+ <queryable>false</queryable>
+ <orderable>false</orderable>
+ <defaultValue>
+ <value>default value</value>
+ </defaultValue>
+ </propertyStringDefinition>
+</cmisra:type>
+
+<cmisra:type xsi:type="cmisTypeDocumentDefinitionType">
+ <id>myTestDocumentType2</id>
+ <localName>myTestDocumentType2</localName>
+ <localNamespace>http://opencmis.org/demo/</localNamespace>
+ <parentId>cmis:document</parentId>
+ <displayName>My Test Document Type2</displayName>
+ <queryName>TESTDOCTYPE2</queryName>
+ <description>My Test Document Type2</description>
+ <baseId>cmis:document</baseId>
+ <creatable>true</creatable>
+ <fileable>true</fileable>
+ <queryable>false</queryable>
+ <fulltextIndexed>false</fulltextIndexed>
+ <includedInSupertypeQuery>true</includedInSupertypeQuery>
+ <controllablePolicy>false</controllablePolicy>
+ <controllableACL>false</controllableACL>
+ <versionable>false</versionable>
+ <contentStreamAllowed>required</contentStreamAllowed>
+ <propertyStringDefinition>
+ <id>testProperty</id>
+ <localName>testProperty</localName>
+ <displayName>A test property</displayName>
+ <queryName>testProperty</queryName>
+ <description>Just a string</description>
+ <propertyType>string</propertyType>
+ <cardinality>single</cardinality>
+ <updatability>readwrite</updatability>
+ <inherited>false</inherited>
+ <required>false</required>
+ <queryable>false</queryable>
+ <orderable>false</orderable>
+ </propertyStringDefinition>
+ <propertyStringDefinition>
+ <id>testProperty2</id>
+ <localName>testProperty2</localName>
+ <displayName>Another test property</displayName>
+ <queryName>testProperty2</queryName>
+ <description>Another string</description>
+ <propertyType>string</propertyType>
+ <cardinality>single</cardinality>
+ <updatability>readwrite</updatability>
+ <inherited>false</inherited>
+ <required>true</required>
+ <queryable>false</queryable>
+ <orderable>false</orderable>
+ <defaultValue>
+ <value>default value</value>
+ </defaultValue>
+ </propertyStringDefinition>
+</cmisra:type>
+</chem:typeDefinitions>
\ No newline at end of file