Closed LukasHeimann closed 1 week ago
Hi @LukasHeimann,
Thanks for reaching out to us. This is a valid ask and we will try to provide this feature in our upcoming release.
Regards, Kavitha
Hi @LukasHeimann, glad to let you know the improvement has been implemented and shipped with version 5.12.0. Please let us know if something doesn't work as expected 😉
Hi @MatKuhr -- really great, that was way faster than expected! Looks good and works like a breeze!
Issue Description
https://github.com/SAP/cloud-sdk-java/pull/199 deprecated some old destination list retrieval APIs in favor of
getAllDestinationProperties()
on the destination service. However, the old method allowed to pass in DestinationOptions, while the new version doesn't.In our code, we want to make sure to now accidentally respond with the list of destinations of the provider tenant when requests should be happening in the subscriber tenants only. In the past, this was possible with:
The behavior is as expected -- go in as the provider tenant, and the request fails.
The new API is to be used in a similar fashion, it just doesn't fail when in the context of the provider tenant:
Ideally, the new API
getAllDestinationProperties()
would also allow to receiveDestinationOptions
.Impact / Priority
Affected development phase: Production (degraded second line of defense for productive deployments)
Impact: Inconvenience
Timeline: Go-live planned for this year
Project Details
Checklist