<commit_before><?xml version="1.0" encoding="UTF-8"?>
<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">

	
  <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
    <property name="locations">
      <list>
        <value>classpath:/org/opennms/web/rest/configuration.properties</value>
        <value>file:${opennms.home}/etc/model-importer.properties</value>
      </list>
    </property>
  </bean>
  
  <bean id="locationMonitorConfigResourceLocation" class="java.lang.String">
    <constructor-arg value="file:target/test/opennms-home/etc/monitoring-locations.xml" />
  </bean>

  <bean id="locationMonitorDao" class="org.opennms.netmgt.dao.hibernate.LocationMonitorDaoHibernate">
    <property name="sessionFactory" ref="sessionFactory" />
    <property name="monitoringLocationConfigResource" ref="locationMonitorConfigResourceLocation" />
  </bean>

</beans>
<commit_msg>fix finding monitoring-locations.xml in the test context<commit_after><?xml version="1.0" encoding="UTF-8"?>
<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">

	
  <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
    <property name="locations">
      <list>
        <value>classpath:/org/opennms/web/rest/configuration.properties</value>
        <value>file:${opennms.home}/etc/model-importer.properties</value>
      </list>
    </property>
  </bean>
  
  <bean id="locationMonitorConfigResourceLocation" class="java.lang.String">
    <constructor-arg value="file:${opennms.home}/etc/monitoring-locations.xml" />
  </bean>

  <bean id="locationMonitorDao" class="org.opennms.netmgt.dao.hibernate.LocationMonitorDaoHibernate">
    <property name="sessionFactory" ref="sessionFactory" />
    <property name="monitoringLocationConfigResource" ref="locationMonitorConfigResourceLocation" />
  </bean>

</beans>

{'fraction_non_alphanumeric': 0.15450121654501217, 'fraction_numerical': 0.006488240064882401, 'mean_word_length': 5.374677002583979, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 2, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 9}, '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': '2280642', 'n_tokens_mistral': 775, 'n_tokens_neox': 749, 'n_words': 84}