[FINERACT-1669] Store business step configuration

This commit is contained in:
taskain7
2022-07-28 15:24:46 +02:00
committed by Arnold Gálovics
parent ff9181cc47
commit 16ab491120
4 changed files with 58 additions and 2 deletions
+8 -1
View File
@@ -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/
@@ -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>
@@ -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>
+1 -1
View File
@@ -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")