What this PR does / why we need it:
This pull request implements a flag to add an "ALL" option to the ListAssociatedAssets query. Listing children in this way currently isn't supported natively by the SiteWise API, so we work around this by first getting all the asset hierarchies, and requesting them individually, and unifying them at the end. This is temporary, as this API change will be added on the SiteWise end next year to improve scalability. It essentially enables the user to setup navigation through their asset hierarchies in the same way as the SiteWise Console Asset explorer does (and this uses the same approach as the console).
Which issue(s) this PR fixes:
This is a critical feature request for one of our customers.
What this PR does / why we need it: This pull request implements a flag to add an "ALL" option to the ListAssociatedAssets query. Listing children in this way currently isn't supported natively by the SiteWise API, so we work around this by first getting all the asset hierarchies, and requesting them individually, and unifying them at the end. This is temporary, as this API change will be added on the SiteWise end next year to improve scalability. It essentially enables the user to setup navigation through their asset hierarchies in the same way as the SiteWise Console Asset explorer does (and this uses the same approach as the console).
Which issue(s) this PR fixes: This is a critical feature request for one of our customers.
Fixes #
Special notes for your reviewer: