Azure / opendigitaltwins-dtdl

Digital Twins Definition Language
Creative Commons Attribution 4.0 International
466 stars 160 forks source link

DTDL2 parser library not available as source code #123

Closed svenna closed 1 year ago

svenna commented 2 years ago

The Microsoft.Azure.DigitalTwins.Parser library available https://www.nuget.org/packages/Microsoft.Azure.DigitalTwins.Parser/ links to the following url https://github.com/Azure/azure-iot-digitaltwin-libraries but this ends in a 404. Is this library removed from github or is it just a moving of address?

DMaxwell02 commented 2 years ago

Yes. I have also noticed there is a broken link. I am looking for more help by way of helper classes on programmatically creating Azure Digital Twin Models but the task is made more difficult by this broken link.

atx-barnes commented 1 year ago

Any update on this? I see the NuGet library was updated about 4 months ago but haven't been able to find the source code anywhere.

rido-min commented 1 year ago

Hi @atx-barnes

Yes, we are working to publish the DTDL parser source code, although we don't have an ETA yet. Will be great if you can share your use cases, and if needed we can give you access to the private repo.

LMK if you want to have a quick chat to better understand your scenario, you can reach out to rmpablos at microsoft dot com.

thern743 commented 1 year ago

@rido-min I'm not the OP but we've had similar use cases where I've wanted to translate the DTDL parsing library to other languages (specifically NodeJS/Typescript). I'm building Angular-based tooling around around DTDL and I'd rather not have any dependencies on C#/.NET. That being said, if Microsoft would release a NodeJS/Typescript version of the DTDL parsing library that would suffice for my needs. Alternatively, a shared, public web API would also suffice.

Other use cases for having access to the code include implementing custom extensions through the metamodel. If we had public access to the code the community could be better equipped to build extensions without necessarily needing a separate extensions library from Microsoft.

rido-min commented 1 year ago

Hi @thern743

We have released a new DTDLParser https://github.com/digitaltwinconsortium/DTDLParser including a sample on how to consume it from JavaScript via WASM: https://github.com/digitaltwinconsortium/DTDLParser/tree/main/samples/DTDLParserJSInteropSample

I'm very interested in your Angular tooling, is it available somewhere?

Also, happy to learn more about your scenarios. Would you like to spend 30 minutes in a call? (you can reach out to rmpablos at microsoft dot com)

rido-min commented 1 year ago

Hi @svenna , now that the DTDLParser is open source, can you close this issue?

svenna commented 1 year ago

great news! yeah i believe we can :)

On Mon, Feb 27, 2023 at 6:27 PM Rido @.***> wrote:

Hi @svenna https://github.com/svenna , now that the DTDLParser https://github.com/digitaltwinconsortium/DTDLParser is open source, can you close this issue?

— Reply to this email directly, view it on GitHub https://github.com/Azure/opendigitaltwins-dtdl/issues/123#issuecomment-1446742729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXDFF2LY2ZJCIGNZNV53TWZTPWNANCNFSM5HINAN2Q . You are receiving this because you were mentioned.Message ID: @.***>