FINERACT-2081: Fetch configurations by name

This commit is contained in:
Adam Saghy
2024-10-02 01:20:04 +02:00
parent 03d320e513
commit 39d95f393b
87 changed files with 1540 additions and 1727 deletions
@@ -167,4 +167,5 @@
<include file="parts/0145_job_short_name.xml" relativeToChangelogFile="true" />
<include file="parts/0147_enable_payment_hub_integration.xml" relativeToChangelogFile="true" />
<include file="parts/0148_transaction_summary_with_asset_owner_report_performance_improvement.xml" relativeToChangelogFile="true" />
<include file="parts/0149_update_global_configuration_names.xml" relativeToChangelogFile="true" />
</databaseChangeLog>
@@ -28,8 +28,8 @@
</sql>
</changeSet>
<changeSet author="fineract" id="2">
<validCheckSum>9:64863870bbd61795b1a8ced20a6dd7a3</validCheckSum>
<insert tableName="c_configuration">
<column name="id" valueNumeric="60"/>
<column name="name" value="enable-payment-hub-integration"/>
<column name="value" valueNumeric="0"/>
<column name="date_value"/>
@@ -0,0 +1,30 @@
<?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.3.xsd">
<changeSet author="fineract" id="1">
<sql>
UPDATE c_configuration SET name = REPLACE(REPLACE(LOWER(name), '_', '-'), ' ', '-');
</sql>
</changeSet>
</databaseChangeLog>