Skip to content

Problems with Method DestinationAccessor.tryGetDestination and DwC #1145

@davidfoerderer

Description

@davidfoerderer

Describe the Bug

We are actually migrate some jobs to a new job lib. And now we've encountered a problem that we're currently stuck on. It concerns our DataCollection jobs. These jobs need to retrieve the destination via the Cloud SDK during execution. This worked perfectly until recently.
However, since the job change, we keep running into the issue that the DwCHeaders aren't being passed correctly when calling DestinationAccessor.tryGetDestination. We've tried several things to get the DwCHeaders included in the call, but unfortunately without success.

We hope you can help us with this? Do yo know this problem? Or is the a default way for it?

Steps to Reproduce

  • A DataCollectionJob is executed.
  • During the execution we use the Method 'DestinationAccessor.tryGetDestination'
  • A BAD Request Exception from this method (see Log)

Expected Behavior

The method is working and gives us back a destination like before.

Screenshots

No response

Used Versions

  • SAP Cloud SDK version: com.sap.cloud.sdk:sdk-core:jar:5.27.0
  • Spring Boot or CAP version: com.sap.dwc:util-cap:jar:2.13.6

Code Examples

We could not paste SAP internal coding in a public github issue. If you need we could send these via mail or have a short Teams session.

Stack Trace

No response

Log File

Image

Affected Development Phase

Development

Impact

Blocked

Timeline

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions