You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2016/12/15 09:21:10 UTC

[04/18] ignite git commit: IGNITE-4410 .NET: Provide default-config-dotnet.xml

IGNITE-4410 .NET: Provide default-config-dotnet.xml


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/9762643f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/9762643f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/9762643f

Branch: refs/heads/ignite-4371
Commit: 9762643f8fad8c2b2b9a2c7bd5692b716c50b2b1
Parents: b13841d
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Mon Dec 12 13:41:45 2016 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Mon Dec 12 13:41:45 2016 +0300

----------------------------------------------------------------------
 assembly/release-base.xml        |  5 ++++
 config/dotnet/default-dotnet.xml | 45 +++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/9762643f/assembly/release-base.xml
----------------------------------------------------------------------
diff --git a/assembly/release-base.xml b/assembly/release-base.xml
index 6870284..a2a9382 100644
--- a/assembly/release-base.xml
+++ b/assembly/release-base.xml
@@ -46,6 +46,11 @@
             <source>config/java.util.logging.properties</source>
             <outputDirectory>/config</outputDirectory>
         </file>
+
+        <file>
+            <source>config/dotnet/default-dotnet.xml</source>
+            <outputDirectory>/config/dotnet</outputDirectory>
+        </file>
     </files>
 
     <fileSets>

http://git-wip-us.apache.org/repos/asf/ignite/blob/9762643f/config/dotnet/default-dotnet.xml
----------------------------------------------------------------------
diff --git a/config/dotnet/default-dotnet.xml b/config/dotnet/default-dotnet.xml
new file mode 100644
index 0000000..897c4e5
--- /dev/null
+++ b/config/dotnet/default-dotnet.xml
@@ -0,0 +1,45 @@
+<?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.
+-->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans
+       http://www.springframework.org/schema/beans/spring-beans.xsd">
+    <!--
+        Default configuration that .NET nodes use.
+    -->
+    <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
+		<property name="binaryConfiguration">
+			<bean class="org.apache.ignite.configuration.BinaryConfiguration">
+				<property name="idMapper">
+					<bean class="org.apache.ignite.binary.BinaryBasicIdMapper">
+						<property name="lowerCase" value="true"/>
+					</bean>
+				</property>
+				<property name="nameMapper">
+					<bean class="org.apache.ignite.binary.BinaryBasicNameMapper">
+						<property name="simpleName" value="true"/>
+					</bean>
+				</property>
+				<property name="compactFooter" value="true"/>
+			</bean>
+		</property>
+	</bean>
+</beans>