Skip to content

Conversation

somasorosdpc
Copy link
Contributor

@somasorosdpc somasorosdpc commented Jan 24, 2025

Description

Fix Interest Payment Waiver reverse-replay transaction on transaction creation.
Also fixed Interest PAyment Waiver null external Id caused by reverse replay.
Created a specific Integration test case + refactor use less @depricated features from integration tests.
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/legacy-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.

@somasorosdpc somasorosdpc force-pushed the FINERACT-2081/fix-interest-payment-waiver-reverse-replay-issue branch from 1478961 to 332b18a Compare January 24, 2025 18:41
import org.apache.fineract.integrationtests.common.ExternalEventConfigurationHelper;
import org.apache.fineract.integrationtests.common.Utils;
import org.junit.jupiter.api.Assertions;

@Slf4j
public final class ExternalEventHelper {
public final class ExternalEventHelper extends IntegrationTest {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any tests i this class? If no, then let's not start inheriting from the base test class.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm just following a pattern as many Helper class extends IntegrationTest to access to fineract() client. And the purpose here is to use less depricated ( marked for removal ) api on helpers.

@somasorosdpc somasorosdpc force-pushed the FINERACT-2081/fix-interest-payment-waiver-reverse-replay-issue branch from 332b18a to ea07023 Compare January 28, 2025 09:10
@somasorosdpc somasorosdpc requested a review from galovics January 29, 2025 07:59
@galovics galovics merged commit 66f3de8 into apache:develop Jan 29, 2025
10 checks passed
@somasorosdpc somasorosdpc deleted the FINERACT-2081/fix-interest-payment-waiver-reverse-replay-issue branch January 31, 2025 10:34
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