New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get all the destination from subaccout #2538
Comments
|
Hi @luckyliwen, Thanks for raising this up.
Best regards, |
|
Good morning @luckyliwen, I just want to understand the issue a bit better. Should the This would be an easy thing to do as @marikaner mentioned in the stack issue - we have the code anyway and just need to export it. If you would need the full objects, I am a bit concerned that method could run into performance problems if you have many destinations and I would prefer to keep it simple. So you just get a list of names and it is your responsibility to filter and make the following calls in chunks so that it is not overloading the destination service. Best |
|
I had a call with the colleague and they have the requirement:
|
|
I am building a SaaS solution using NodeJS in BTP. This tool needs to connect to various external systems via 'BTP Destinations'. I see that the Java flavor already has this API. Can you please provide it in Javascript flavor as well? |
|
Hey, @krisho007 thank you for your feedback, I'm currently implementing this function, however, there are many possible sources for destinations, some of which won't serve a purpose for the user unless they have a very specific use case, such as provider- or service-binding destinations. |
|
For my use case I just need subscriber destinations. Hope that answers your question. |
|
Hey @krisho007 and @luckyliwen we've just added the requested function, as documented here. It will be available to you with the next release, which will come later in the afternoon. |
|
I'll close the issue. If you have further requests or issues with the function, feel free to reopen it. |
Is your feature request related to a problem? Please describe.
-Not a problem, just for some use cases that needs to get all the destinations.
Describe the solution you'd like
Provide API to get all the destinations such as getAllDestinations(DestinationFetchOptions). In some case, we need do some filter based on the destination name. So the return value can be a string array of the destination name. Then we can filter by ourselves, then call the getDestination() to get the detailed information.
Describe alternatives you've considered
As discussed in the StackOverflow question, it should be quite easy to implement such a function
Impact / Priority
Highly demand
Additional context
N/A
The text was updated successfully, but these errors were encountered: