cloud-sdk-js icon indicating copy to clipboard operation
cloud-sdk-js copied to clipboard

How to fetch destinations from a specific BTP subaccount different from the current one?

Open ptesny opened this issue 2 years ago • 2 comments

How do I tell cloud-sdk to go and fetch destinations from a specific BTP subaccount and different from the one used for users authentication ?

ptesny avatar Mar 07 '23 09:03 ptesny

I don't think this is currently intended in the SAP Cloud SDK. You can change the selection strategy and adjust whether to use the subscriber or provider. I assume this is not enough for your case? Could you please describe your use case?

marikaner avatar Mar 07 '23 10:03 marikaner

@marikaner, indeed, as you have guessed, my use case is not a classic multi-tenancy one-to-many relationship, with a single instance of a provider and multiple subscribers (consumers, data sources, etc);

What I am aiming at is to be able to share a number static resources (destinations, html5 repo, cloud connectors) that reside or are hooked into a single master BTP subaccount among a number of providers for enhanced resilience. There can of course be mutlitenancy for each of the providers....and consumers can subscribe to multiple providers as well;

What I would like to have is a shared and static pool of destinations....and if dynamic changes were required then the off-spring destinations would be set up on the fly as instance level or inline destinations....

ptesny avatar Mar 07 '23 11:03 ptesny