<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
	Copyright 2005-2010 The Kuali Foundation.

	Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php

	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" 
       xmlns:p="http://www.springframework.org/schema/p" 
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                           http://www.springframework.org/schema/tx
                           http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
                           http://www.springframework.org/schema/aop
                           http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"> 
                           
	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="properties" ref="configProperties" />
	</bean>

	<bean id="config" class="org.kuali.rice.core.config.spring.ConfigFactoryBean">
		<property name="configLocations">
			<list>
				<value>classpath:META-INF/kc-config.xml</value>
			</list>
		</property>
	</bean>

	<bean id="configProperties" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
		<property name="targetObject" ref="config" />
		<property name="targetMethod" value="getProperties" />
	</bean>
	
	<bean id="baseModuleConfiguration" parent="baseModuleConfiguration-parentBean" />
	
    <bean id="baseModuleConfiguration-parentBean" class="org.kuali.rice.kns.bo.ModuleConfiguration" abstract="true">
		<property name="initializeDataDictionary" value="true" />
		
		<!-- Rice hack this isn't really the right namespace but we cannot set it correctly until we address modularity
		(breaking up our DD files, SpringBeans, namespaces, etc. -->
		<property name="namespaceCode" value="KC-SYS" />
		<property name="dataDictionaryPackages">
			<list>
                <value>org/kuali/kra/datadictionary</value>
                <value>org/kuali/kra/datadictionary/docs</value>
			</list>
		</property>
		<property name="databaseRepositoryFilePaths">
			<list>
				<value>repository.xml</value>
			</list>
		</property>
	</bean>
	
	      <!--  JOTM JTA configuration -->
      <bean id="jotm" class="org.springframework.transaction.jta.JotmFactoryBean">
      	<property name="defaultTimeout" value="${transaction.timeout}"/> 
      </bean>
      
      <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager" lazy-init="true">
            <property name="userTransaction">
                  <ref local="jotm" />
            </property>
            <property name="transactionManager">
                  <ref local="jotm" />
            </property>
      </bean>
      
      <bean id="dataSource" class="org.kuali.rice.core.database.XAPoolDataSource">
            <property name="transactionManager" ref="jotm" />
            <property name="driverClassName" value="${datasource.driver.name}" />
            <property name="url" value="${datasource.url}" /><commit_msg>KCINFR-20: Unit lookup error in Person Maintenance<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
	Copyright 2005-2010 The Kuali Foundation.

	Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php

	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" 
       xmlns:p="http://www.springframework.org/schema/p" 
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                           http://www.springframework.org/schema/tx
                           http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
                           http://www.springframework.org/schema/aop
                           http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"> 
                           
	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="properties" ref="configProperties" />
	</bean>

	<bean id="config" class="org.kuali.rice.core.config.spring.ConfigFactoryBean">
		<property name="configLocations">
			<list>
				<value>classpath:META-INF/kc-config.xml</value>
			</list>
		</property>
	</bean>

	<bean id="configProperties" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
		<property name="targetObject" ref="config" />
		<property name="targetMethod" value="getProperties" />
	</bean>
	
	<bean id="baseModuleConfiguration" parent="baseModuleConfiguration-parentBean" />
	
    <bean id="baseModuleConfiguration-parentBean" class="org.kuali.rice.kns.bo.ModuleConfiguration" abstract="true">
		<property name="initializeDataDictionary" value="true" />
		
		<!-- Rice hack this isn't really the right namespace but we cannot set it correctly until we address modularity
		(breaking up our DD files, SpringBeans, namespaces, etc. -->
		<property name="namespaceCode" value="KC-SYS" />
		<property name="packagePrefixes">
            <list>
                <value>org.kuali.kra</value>
            </list>
        </property>
		<property name="dataDictionaryPackages">
			<list>
                <value>org/kuali/kra/datadictionary</value>
                <value>org/kuali/kra/datadictionary/docs</value>
			</list>
		</property>
		<property name="databaseRepositoryFilePaths">
			<list>
				<value>repository.xml</value>
			</list>
		</property>
	</bean>
	
	      <!--  JOTM JTA configuration -->
      <bean id="jotm" class="org.springframework.transaction.jta.JotmFactoryBean">
      	<property name="defaultTimeout" value="${transaction.timeout}"/> 
      </bean>
      
      <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager" lazy-init="true">
            <property name="userTransaction">
                  <ref local="jotm" />
            </property>
            <property name="transactionManager">
                  <ref local="jotm" />
            </property>
      </bean>
      
      <bean id="dataSource" class="org.kuali.rice.core.database.XAPoolDataSource">
            <property name="transactionManager" ref="jotm" />
            <property name="driverClassName" value="${datasource.driver.name}" />
            <property name="url" value="${datasource.url}" />
{'fraction_non_alphanumeric': 0.1340461598643891, 'fraction_numerical': 0.006780545051506063, 'mean_word_length': 2.992712129099427, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 2, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 24, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2212993', 'n_tokens_mistral': 2302, 'n_tokens_neox': 2133, 'n_words': 444}