This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 16ab49112 [FINERACT-1669] Store business step configuration
16ab49112 is described below
commit 16ab491120ceaed8357beb9861ea3109936fd616
Author: taskain7 <[email protected]>
AuthorDate: Wed Jul 20 12:56:56 2022 +0200
[FINERACT-1669] Store business step configuration
---
.github/workflows/build-postgresql.yml | 9 +++-
.../db/changelog/tenant/changelog-tenant.xml | 1 +
...add_batch_business_step_configuration_table.xml | 48 ++++++++++++++++++++++
integration-tests/build.gradle | 2 +-
4 files changed, 58 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build-postgresql.yml
b/.github/workflows/build-postgresql.yml
index b09b96dbb..24fd1f265 100644
--- a/.github/workflows/build-postgresql.yml
+++ b/.github/workflows/build-postgresql.yml
@@ -72,4 +72,11 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-results
- path:
home/runner/work/fineract/fineract/integration-tests/build/reports/
+ path: integration-tests/build/reports/
+
+ - name: Archive server logs
+ if: always()
+ uses: actions/upload-artifact@v3
+ with:
+ name: test-results
+ path: integration-tests/build/cargo/
diff --git
a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
index 281885e02..7f3d90b79 100644
---
a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
+++
b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
@@ -41,4 +41,5 @@
<include file="parts/0019_refactor_loan_transaction.xml"
relativeToChangelogFile="true"/>
<include file="parts/0020_add_audit_entries.xml"
relativeToChangelogFile="true"/>
<include file="parts/0021_add_spring_batch_db_structure.xml"
relativeToChangelogFile="true"/>
+ <include file="parts/0022_add_batch_business_step_configuration_table.xml"
relativeToChangelogFile="true"/>
</databaseChangeLog>
diff --git
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0022_add_batch_business_step_configuration_table.xml
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0022_add_batch_business_step_configuration_table.xml
new file mode 100644
index 000000000..97a0987f3
--- /dev/null
+++
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0022_add_batch_business_step_configuration_table.xml
@@ -0,0 +1,48 @@
+<?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.
+
+-->
+<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd">
+ <changeSet author="fineract" id="1">
+ <createTable tableName="m_batch_business_steps">
+ <column autoIncrement="true" name="id" type="BIGINT">
+ <constraints nullable="false" primaryKey="true"/>
+ </column>
+ <column name="job_name" type="VARCHAR(100)">
+ <constraints nullable="false"/>
+ </column>
+ <column name="step_name" type="VARCHAR(100)">
+ <constraints nullable="false"/>
+ </column>
+ <column name="step_order" type="SMALLINT">
+ <constraints nullable="false"/>
+ </column>
+ </createTable>
+ </changeSet>
+ <changeSet id="2" author="fineract">
+ <insert tableName="m_batch_business_steps">
+ <column name="job_name" value="LOAN_CLOSE_OF_BUSINESS"/>
+ <column name="step_name" value="APPLY_CHARGE_TO_OVERDUE_LOANS"/>
+ <column name="step_order" value="1"/>
+ </insert>
+ </changeSet>
+</databaseChangeLog>
diff --git a/integration-tests/build.gradle b/integration-tests/build.gradle
index 060d317e7..c2bce95b5 100644
--- a/integration-tests/build.gradle
+++ b/integration-tests/build.gradle
@@ -51,7 +51,7 @@ cargo {
local {
logLevel = 'low'
- // outputFile = file('build/output.log')
+ outputFile = file("$buildDir/cargo/output.log")
installer {
installConfiguration = configurations.tomcat
downloadDir = file("$buildDir/download")