Krishna Mewara created FINERACT-2888:
----------------------------------------
Summary: Migrate the bulk import and smoke integration tests to
the Feign client
Key: FINERACT-2888
URL: https://issues.apache.org/jira/browse/FINERACT-2888
Project: Apache Fineract
Issue Type: Improvement
Components: Test
Affects Versions: 1.15.0
Reporter: Krishna Mewara
Assignee: Krishna Mewara
Fix For: 1.16.0
Part of FINERACT-2609 (roadmap row 15).
The bulk import tests, the smoke tests and a few stragglers still use REST
Assured.
Scope:
- Move to the Feign client: the 8 bulk import tests, ActuatorIntegrationTest,
ApiDocsTest, SwaggeruiTest, AuthenticationIntegrationTest,
DisallowBackdatedTransactionsIntegrationTest, WorkingDaysTest,
PasswordPreferencesIntegrationTest and DatatableUniqueAndIndexColumnTest.
- Add a hand-written Feign API for the bulk import workbooks. The generated
template download methods return void, so the workbook is lost, and the upload
methods send their form fields as JSON.
- Fix FineractErrorDecoder losing the body of errors that are not in Fineract's
error format (a 401 arrived with an empty body).
- Fix the loan product schema: five enum options are documented as
"description", but the server sends "value".
- Remove the legacy helper code these tests were the last users of, and their
restassured-baseline.xml entries.
Not included: the share tests (FINERACT-2165 is migrating them), InteropTest
(it is being changed under FINERACT-2751), and DateValidationTest (needs schema
fixes first).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)