Skip to content

FINERACT-2481: Remove Pentaho reports from initial sample data#5491

Open
AshharAhmadKhan wants to merge 1 commit intoapache:developfrom
AshharAhmadKhan:FINERACT-2481-remove-pentaho-initial-data
Open

FINERACT-2481: Remove Pentaho reports from initial sample data#5491
AshharAhmadKhan wants to merge 1 commit intoapache:developfrom
AshharAhmadKhan:FINERACT-2481-remove-pentaho-initial-data

Conversation

@AshharAhmadKhan
Copy link

@AshharAhmadKhan AshharAhmadKhan commented Feb 13, 2026

Remove deprecated Pentaho reports from initial sample data

Description

This PR removes all deprecated Pentaho report and permission entries from the initial sample data SQL files used by new Apache Fineract installations.

Pentaho is being phased out in favor of newer reporting mechanisms. Keeping these entries in sample data provides no value and introduces legacy artifacts into fresh deployments.

This change is intentionally limited to initial data only and does not affect runtime behavior or existing installations.

Changes

  • Removed 27 Pentaho-related permission entries from the m_permission table
  • Removed 43 Pentaho report entries from the stretchy_report table
  • Applied changes consistently to:
    • barebones_db.sql
    • load_sample_data.sql

Impact & Risk Analysis

  • No impact on existing installations
    • No schema changes
    • No database migrations
    • No deletions on live databases
  • No foreign key violations
    • Verified that m_report_mailing_job contains zero rows referencing stretchy_report
  • Scope strictly limited to initial data for new deployments

Verification

# Confirmed no remaining Pentaho references
grep -c "Pentaho" barebones_db.sql        # 0
grep -c "Pentaho" load_sample_data.sql   # 0

Checklist

  • Commit message follows project guidelines
  • Build passes (no code or runtime changes)
  • Tests N/A – static SQL sample data only
  • API/Swagger updates N/A – no API or behavior changes
  • PR size within project limits

Addresses FINERACT-2481

Removes 70 deprecated Pentaho report entries from sample data SQL files
to prevent them from being loaded into new Fineract installations.

Changes:
- Removed 27 Pentaho permission entries from m_permission table
- Removed 43 Pentaho report entries from stretchy_report table
- Applied changes to both barebones_db.sql and load_sample_data.sql

The Pentaho reporting framework is being deprecated in favor of modern
reporting solutions. This change ensures new installations do not
include legacy Pentaho reports in their initial data.

No functional changes to existing installations - only affects initial
data for new deployments.
@IOhacker
Copy link
Contributor

@AshharAhmadKhan I think that it is better to add a new liquibase migration file, so then we can track the historical changes

Copy link
Contributor

@IOhacker IOhacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly see my comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants