Skip to content
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

List Associated Assets supports hierarchyId, not property alias #334

Open
hwandersman opened this issue Jun 28, 2024 · 0 comments
Open

List Associated Assets supports hierarchyId, not property alias #334

hwandersman opened this issue Jun 28, 2024 · 0 comments
Labels
datasource/Sitewise type/bug Something isn't working

Comments

@hwandersman
Copy link
Collaborator

hwandersman commented Jun 28, 2024

What happened:
The List Associated Assets query has a field for Property Alias but this is not supported in the API.

What you expected to happen:
This query should instead have a field for 'Hierarchy ID` as supported by the SiteWise.ListAssociatedAssets API.

The Asset field should be marked as required, with the optional field to specify a hierarchyId. We should list available hierarchies for the specified asset.

How to reproduce it (as minimally and precisely as possible):

  1. Add a List associated assets query in the query editor
  2. Try to set the property alias
  3. The asset field disappears and running the query leads to an error: failed to fetch query data: InvalidParameter: 1 validation error(s) found. - missing required field, ListAssociatedAssetsInput.AssetId.

Screenshots

Anything else we need to know?:

Environment:

  • Grafana version: 10.1.1
  • Plugin version: 1.22.1
  • OS Grafana is installed on: MacOS
  • User OS & Browser: Sonoma 14.5, Chrome
  • Others: Self Managed Grafana environment
@hwandersman hwandersman added type/bug Something isn't working datasource/Sitewise labels Jun 28, 2024
@idastambuk idastambuk moved this from Incoming to Next in AWS Datasources Jul 1, 2024
@iwysiu iwysiu self-assigned this Aug 13, 2024
@iwysiu iwysiu moved this from Next to In Progress in AWS Datasources Aug 13, 2024
@iwysiu iwysiu removed their assignment Aug 14, 2024
@iwysiu iwysiu moved this from Next to Backlog in AWS Datasources Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/Sitewise type/bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants