This content has been marked as final. Show 2 replies
Unfortunately there is no way to get a v2 equivalent without fetching it back again as of the latest version of the Axeda Platform 6.8.
I would simply do:
import static com.axeda.sdk.v2.dsl.Bridges.* Asset v2Asset = assetBridge.findById(context.getDevice().getId().toString()) //use the v2Asset
I recognize that's less than ideal but it'd work fine.