RESTConnector: Log exception when errorMessage not mapped

Assignee

Reporter

Sprint

Description

When the API root URL contains a leading space, the graph executes successfully, but no calls are made.

There are two main issues:

  • How to handle the API root URL when it contains a leading space.

  • Why the graph did not fail when an exception occurred during the call.

The problem was that I had defined a default mapping. It might be a good idea that if an error mapping is not mapped, the component should fail.

Steps to reproduce

None

Activity

Oľga Píšová January 9, 2025 at 2:31 PM
Edited

Re-testing - cloveretl-release-CLO-30986 #3

  • if there is any component-level exception and the errorMesaage is not actively mapped in Default mapping, the warning will be shown

    • does not apply to different levels of exceptions (e.g. failed connection, no response) - OK

  • 1 RCPTT test keeps failing in custom test - checkHttpConnection.test. This is not directly relevant to the cope of this issue, but should probably be checked. It also fails in master custom RCPTT, will not consider this a blocker for the issue.

Generally OK and ready to merge.

Fixed

Details

Time tracking

4h logged

Priority

Fix versions

QA Testing

UNDECIDED

Created December 20, 2024 at 1:07 PM
Updated last month
Resolved January 9, 2025 at 12:46 PM