You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openBalena users expect that the CLI's balena devices supported command would list the devices actually supported by openBalena (issue balena-io/balena-cli#2281). In turn, it is somewhat expected that the SDK's deviceType.getAllSupported() or config.getDeviceTypes() methods would list the devices actually supported by openBalena when targeting openBalena's API server. The device types supported by openBalena are currently documented in openBalena's README:
@pdcastro but the SDK already reports as supported only the DT's that the API returns as known, which are based on what is found in the S3 bucket defined in the oB's docker-compose.yml .
I see your point but I'm almost tempted to say that this works as expected atm.
Maybe it's an issue of just setting the correct items in the balenaOS S3 bucket 🤔
Expected Behavior
openBalena users expect that the CLI's
balena devices supported
command would list the devices actually supported by openBalena (issue balena-io/balena-cli#2281). In turn, it is somewhat expected that the SDK'sdeviceType.getAllSupported()
orconfig.getDeviceTypes()
methods would list the devices actually supported by openBalena when targeting openBalena's API server. The device types supported by openBalena are currently documented in openBalena's README:Actual Behavior
config.getDeviceTypes()
returns all device types supported by balenaCloud, not openBalena.deviceType.getAllSupported()
- I couldn't test this because it currently causes an internal server error in the openBalena API, as reported in SyntaxError: Could not resolve relationship mapping from 'device type' to 'is default for,application' open-balena#121 . @thgreasi clarified thatdeviceType.getAllSupported()
would probably return 0 results with openBalena.References:
balena devices supported
produces wrong results for openBalena balena-cli#2281deviceType.getAllSupported()
: devices supported: Use new DeviceType data model as source of truth balena-cli#2265The text was updated successfully, but these errors were encountered: