<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" xmlns:context="http://www.springframework.org/schema/context"
  xmlns:task="http://www.springframework.org/schema/task"
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
    http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.3.xsd">

  <!-- Flyway configuration -->
  <beans profile="!test">
    <bean id="flywayConfig"
      class="org.flywaydb.core.api.configuration.ClassicConfiguration" depends-on="databaseInfoProvider">
      <property name="dataSource" ref="dataSource" />
      <property name="baselineOnMigrate" value="true" />
      <property name="outOfOrder" ref="flywayOutOfOrder" />
      <property name="locations">
        <bean class="org.flywaydb.core.api.Location">
          <constructor-arg index="0"
            value="org/hisp/dhis/db/migration" />
        </bean>
      </property>
    </bean>

    <bean id="flywayOutOfOrder"
      class="org.hisp.dhis.external.conf.ConfigurationPropertyFactoryBean">
      <constructor-arg value="FLYWAY_OUT_OF_ORDER_MIGRATION" />
    </bean>

    <bean id="flyway" class="org.flywaydb.core.Flyway" init-method="migrate">
      <constructor-arg ref="flywayConfig" /><commit_msg>Use single transaction for all pending migrations and ignore missing migration (#2651)<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" xmlns:context="http://www.springframework.org/schema/context"
  xmlns:task="http://www.springframework.org/schema/task"
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
    http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.3.xsd">

  <!-- Flyway configuration -->
  <beans profile="!test">
    <bean id="flywayConfig"
      class="org.flywaydb.core.api.configuration.ClassicConfiguration" depends-on="databaseInfoProvider">
      <property name="dataSource" ref="dataSource" />
      <property name="baselineOnMigrate" value="true" />
      <property name="outOfOrder" ref="flywayOutOfOrder" />
      <property name="ignoreMissingMigrations" value="true" />
      <property name="group" value="true" />
      <property name="locations">
        <bean class="org.flywaydb.core.api.Location">
          <constructor-arg index="0"
            value="org/hisp/dhis/db/migration" />
        </bean>
      </property>
    </bean>

    <bean id="flywayOutOfOrder"
      class="org.hisp.dhis.external.conf.ConfigurationPropertyFactoryBean">
      <constructor-arg value="FLYWAY_OUT_OF_ORDER_MIGRATION" />
    </bean>

    <bean id="flyway" class="org.flywaydb.core.Flyway" init-method="migrate">
      <constructor-arg ref="flywayConfig" />
{'fraction_non_alphanumeric': 0.16489523231096265, 'fraction_numerical': 0.01032493167324628, 'mean_word_length': 4.021341463414634, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 2, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 20, 'xml': 10}, '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': '6082447', 'n_tokens_mistral': 1046, 'n_tokens_neox': 1017, 'n_words': 123}