FINERACT-2481: Remove Pentaho reports from initial sample data#5491
FINERACT-2481: Remove Pentaho reports from initial sample data#5491AshharAhmadKhan wants to merge 1 commit intoapache:developfrom
Conversation
|
@AshharAhmadKhan I think that it is better to add a new liquibase migration file, so then we can track the historical changes |
5271dc9 to
ebe9a82
Compare
|
@IOhacker Thank you for the feedback! I've updated the PR to include a Liquibase migration file as requested. Changes made:
The Liquibase migration ensures existing installations are cleaned up, while the sample data changes prevent new installations from including these legacy Pentaho entries. Ready for re-review! |
ebe9a82 to
9b9bcf2
Compare
|
@AshharAhmadKhan run ./gradlew :spotlessApply and squash and commit your changes (only 1 commit per PR) |
cdbfc51 to
6293e50
Compare
IOhacker
left a comment
There was a problem hiding this comment.
Exclude the sample_data sql files from this PR
6293e50 to
7bff1d8
Compare
|
@IOhacker Updated as requested! Changes made: The migration now handles:
Ready for review! |
4c38001 to
770146e
Compare
|
@IOhacker Rebased onto latest develop and renamed migration to 0211_remove_pentaho_reports.xml to avoid conflict with the recently merged 0210. Ready for re-review! |
|
@AshharAhmadKhan Please rebase the PR. |
adamsaghy
left a comment
There was a problem hiding this comment.
@AshharAhmadKhan @IOhacker I am having concerns here...
I dont think we should remove blindly the permissions, the role permissions and the reports as well.
I think the story is rather aiming to not add the stretchy_reports and the permissions and role permissions in the 1st place (remove them from the liquibase scripts).
Creating new liquibase scripts which explicitly deletes them would harm any installations who is in fact using pentaho reports... we should not do that.
@IOhacker What do you think?
|
Thanks for the clarification. |
|
Hello @adamsaghy we are going to stop the maintenance of Pentaho reports. This is because over two years the access to the Pentaho libraries have been restricted. The Pentaho Plugin will be in maintenance mode for the rest of the year (I have been updating the Fineract libraries - the reason that I have set the Github actions in another repository --- ) but it is not possible to continue to support them. Instead of that we will use Eclipse BIRT. But we are not going to to touch this data. If this change is not possible to be done here then it will be done in the Plugin repository. But seems contradictory to keep Pentaho reports if the Apache Fineract doesn't support them. |
I am not saying to keep them. I am merely recommending to remove them from the initial (existing) liquibase scripts, instead of creating new liquibase scripts which deletes them. The difference is with the 1st option, anyone who is using them, not bothered, but new deployments will not have it. The end result for both of them is the same, but less destructive. What do you think? |
770146e to
ae3e2a6
Compare
|
@adamsaghy @IOhacker —thank you both for the feedback. |
adamsaghy
left a comment
There was a problem hiding this comment.
You need to set a "new" valid checksum since existing changesets were changed.
Also since you are touching these files, please fix the "falsee" value to "false" ;)
ea45331 to
f510cef
Compare
|
@adamsaghy @IOhacker Updated! Changes made: ✅ Removed all 121 Pentaho references from initial data (0002 & 0003 files) Total changes: -1,359 lines, +95 lines Ready for review! |
|
@AshharAhmadKhan Please rebase with latest |
Remove deprecated Pentaho report and permission entries from initial Liquibase data. Changes: - Removed 44 Pentaho reports from stretchy_report table - Removed 26 Pentaho permissions from m_permission table - Fixed 52 instances of 'falsee' typo → 'false' - Added validCheckSum=ANY to modified changeSets (id=24, 41-mysql, 1-postgresql) - Applied to both 0002_initial_data.xml (MySQL/MariaDB) and 0003_postgresql_specific_initial_data.xml (PostgreSQL) Impact: - New deployments: No Pentaho data included (clean slate) - Existing deployments: Unaffected (non-destructive approach) - Total changes: -1310 lines, +46 lines
f510cef to
9179226
Compare
|
@adamsaghy Rebased with latest develop! ✅ Picked up 10 new upstream commits. |
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
m_permissiontablestretchy_reporttablebarebones_db.sqlload_sample_data.sqlImpact & Risk Analysis
m_report_mailing_jobcontains zero rows referencingstretchy_reportVerification
Checklist
Addresses FINERACT-2481