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

Testing new URN format #92

Merged
merged 9 commits into from
Oct 31, 2024
Merged

Conversation

dkackman
Copy link
Contributor

This is a working version of the urn format for Udi. It contains the start of Udi sdk class.

This isn't ready for release but needs smoke testing. There are lot of function points in parseUdi and I'm not sure I got them all covered.

I'd like to factor the parsing of the Urn into the UDI class so we have that in one spot but want to make sure the new format works first.

@dkackman dkackman marked this pull request as draft October 28, 2024 23:42

if (parts.length === 1 && parts[0].length !== 64) {
appendPath = `/${parts[0]}${appendPath}`;
}

if (parts.length === 3) {
if (parts.length === 5) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems since we have the urn class, we might not need all this low level parsing login here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I'll refactor that parsing into the udi class.

@dkackman dkackman marked this pull request as ready for review October 29, 2024 03:32
@MichaelTaylor3D MichaelTaylor3D merged commit 6ec9d5f into DIG-Network:testing Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants