Skip to content

FINERACT-2454: Migrate ClientExternalIdTest from RestAssured to fineract-client-feign#5659

Open
Dpk376 wants to merge 1 commit intoapache:developfrom
Dpk376:feature/FINERACT-2441-feign-migration-clientexternalid
Open

FINERACT-2454: Migrate ClientExternalIdTest from RestAssured to fineract-client-feign#5659
Dpk376 wants to merge 1 commit intoapache:developfrom
Dpk376:feature/FINERACT-2441-feign-migration-clientexternalid

Conversation

@Dpk376
Copy link

@Dpk376 Dpk376 commented Mar 20, 2026

What this PR does

Migrates ClientExternalIdTest from the deprecated RestAssured-based helpers to the typed fineract-client-feign client, as part of FINERACT-2454.

Changes

  • ClientHelper: Added no-arg feign-based helper methods — addClientAsPerson(), getClientByExternalId(), updateClientByExternalId(), deleteClientByExternalId(), getClientAccounts(), getProposedTransferDate(), and getObligeeData() — using FineractClientHelper and Calls.ok()
  • ClientExternalIdTest: Removed all RestAssured boilerplate (requestSpec, responseSpec, getBasicClientAsJSON()); migrated all client create/get/update/delete calls to the new feign-based helpers; replaced manual JSON payload construction with typed request objects (e.g. PutClientsClientIdRequest)

Checklist

  • ./gradlew spotlessApply passed
  • ./gradlew :integration-tests:compileTestJava passed
  • No new RestAssured dependencies introduced

closes FINERACT-2441
gsoc-fineract-evidence

@Dpk376 Dpk376 changed the title Migrate ClientExternalIdTest from RestAssured to fineract-client FINERACT-2441: Migrate ClientExternalIdTest from RestAssured to fineract-client Mar 20, 2026
@Dpk376 Dpk376 force-pushed the feature/FINERACT-2441-feign-migration-clientexternalid branch from 951ebad to 0133a7b Compare March 20, 2026 11:28
@Dpk376 Dpk376 changed the title FINERACT-2441: Migrate ClientExternalIdTest from RestAssured to fineract-client FINERACT-2454: Migrate ClientExternalIdTest from RestAssured to fineract-client-feign Mar 20, 2026
@Dpk376 Dpk376 force-pushed the feature/FINERACT-2441-feign-migration-clientexternalid branch 2 times, most recently from c0f12f8 to bdd501e Compare March 20, 2026 12:07
@Dpk376 Dpk376 force-pushed the feature/FINERACT-2441-feign-migration-clientexternalid branch from bdd501e to 0f84a76 Compare March 20, 2026 12:13
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.

1 participant