Skip to content

Fineract 1510#2046

Merged
avikganguly01 merged 1 commit into
apache:developfrom
fynmanoj:FINERACT-1510
Feb 22, 2022
Merged

Fineract 1510#2046
avikganguly01 merged 1 commit into
apache:developfrom
fynmanoj:FINERACT-1510

Conversation

@fynmanoj
Copy link
Copy Markdown
Contributor

@fynmanoj fynmanoj commented Feb 21, 2022

Description

Describe the changes made and why they were made.

Ignore if these details are present on the associated Apache Fineract JIRA ticket.

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests

  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

  • Create/update unit or integration tests for verifying the changes made.

  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@vidakovic
Copy link
Copy Markdown
Contributor

@fynmanoj looks like a ./gradlew spotlessApply will fix this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@avikganguly01
Copy link
Copy Markdown
Contributor

@fynmanoj : Some checkstyle errors are there in SavingsAccount files which is failing the basicauth build.

@fynmanoj fynmanoj force-pushed the FINERACT-1510 branch 3 times, most recently from ff2bdfa to 90025dd Compare February 22, 2022 12:40
@avikganguly01
Copy link
Copy Markdown
Contributor

testApplyAnnualFeeForSavingsJobOutcome seems to be failing. Is it passing if you run that test separate from all the other integration tests?

@fynmanoj
Copy link
Copy Markdown
Contributor Author

I have changed migration script to liquibase format. Also this migration script is running fine in my local when ran separately

@avikganguly01
Copy link
Copy Markdown
Contributor

@fynmanoj : testAccountBalanceAfterSavingsTransactionReversalPosting() FAILED
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <404>.

@fynmanoj fynmanoj force-pushed the FINERACT-1510 branch 2 times, most recently from dcd5107 to b0c8e14 Compare February 22, 2022 17:23
@avikganguly01 avikganguly01 merged commit d7d9a83 into apache:develop Feb 22, 2022
<changeSet author="fineract" id="1">
<addColumn tableName="m_savings_account_transaction">
<column name="original_transaction_id" type="BIGINT"/>
<column name="is_reversal" type="TINYINT" defaultValueNumeric="0">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This got merged before I could take a look. Could you please modify this column to be type of BOOLEAN instead of TINYINT? The PostgreSQL support just got merged an hour before this and TINYINT -> BOOLEAN conversion is not automatic for PostgreSQL.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok, I shall send a new PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@galovics , hope the change TINYINT -> BOOLEAN will not affect MySQL migration

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

REF: #2049

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @fynmanoj. It's not gonna be an issue for MySQL for sure.

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.

4 participants