Skip to content

Commit ebe9a82

Browse files
FINERACT-2481: Remove Pentaho reports from initial sample data
Removes deprecated Pentaho report entries from both sample data and existing installations. Changes: - Added Liquibase migration 0210_remove_pentaho_reports.xml * Deletes 26 Pentaho permission entries from m_permission table * Deletes 44 Pentaho report entries from stretchy_report table - Updated sample data files (barebones_db.sql and load_sample_data.sql) * Prevents new installations from including legacy Pentaho reports The Liquibase migration ensures existing installations are cleaned up, while the sample data changes prevent new installations from including these entries. The Pentaho reporting framework is being deprecated in favor of modern reporting solutions.
1 parent 6269cbb commit ebe9a82

File tree

4 files changed

+36
-140
lines changed

4 files changed

+36
-140
lines changed

fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,5 @@
228228
<include file="parts/0207_add_allow_full_term_for_tranche.xml" relativeToChangelogFile="true" />
229229
<include file="parts/0208_trial_balance_summary_with_asset_owner_journal_entry_aggregation_fix.xml" relativeToChangelogFile="true" />
230230
<include file="parts/0209_transaction_summary_with_asset_owner_and_from_asset_owner_id_for_asset_sales.xml" relativeToChangelogFile="true" />
231+
<include file="parts/0210_remove_pentaho_reports.xml" relativeToChangelogFile="true" />
231232
</databaseChangeLog>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<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">
23+
<changeSet author="fineract" id="1">
24+
<comment>Remove deprecated Pentaho report permissions</comment>
25+
<delete tableName="m_permission">
26+
<where>id IN (567,568,569,570,571,572,573,574,575,576,578,587,588,589,593,594,595,596,600,601,602,603,604,606,607,664)</where>
27+
</delete>
28+
</changeSet>
29+
<changeSet author="fineract" id="2">
30+
<comment>Remove deprecated Pentaho reports from stretchy_report table</comment>
31+
<delete tableName="stretchy_report">
32+
<where>id IN (48,49,50,91,92,94,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,157,158,159,160,161,162,163,164)</where>
33+
</delete>
34+
</changeSet>
35+
</databaseChangeLog>

0 commit comments

Comments
 (0)