Skip to content

Add validate_id, micro_uri range, etc#30

Merged
neelam-kushwah merged 2 commits intoeclipse-uprotocol:mainfrom
matthewd0123:main
Apr 26, 2024
Merged

Add validate_id, micro_uri range, etc#30
neelam-kushwah merged 2 commits intoeclipse-uprotocol:mainfrom
matthewd0123:main

Conversation

@matthewd0123
Copy link
Contributor

  • Add validation for id property in uattributes
  • Check ranges for Micro URI and add missing test coverage
  • Check UAuthority and UResource names are not blank

These changes follow the changes made in up-java since 1.5.7 was released.

* Add validation for id property in uattributes
* Check ranges for Micro URI and add missing test coverage
* Check UAuthority and UResource names are not blank

These changes follow the changes made in up-java since 1.5.7 was released.
@matthewd0123
Copy link
Contributor Author

#29

@github-actions
Copy link

Code coverage report is ready! 📈

@neelam-kushwah neelam-kushwah self-requested a review April 26, 2024 12:10
Copy link
Contributor

@neelam-kushwah neelam-kushwah left a comment

Choose a reason for hiding this comment

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

Most of the changes are due to formatting. Other changes related to ID validation and micro URI range look good to me.

@neelam-kushwah
Copy link
Contributor

@matthewd0123 Can you bump the version to 0.1.3-dev

Bump version of up-python from 0.1.2-dev to 0.1.3-dev
@matthewd0123
Copy link
Contributor Author

@matthewd0123 Can you bump the version to 0.1.3-dev

done

@github-actions
Copy link

Code coverage report is ready! 📈

@neelam-kushwah neelam-kushwah merged commit a2f009d into eclipse-uprotocol:main Apr 26, 2024
@neelam-kushwah neelam-kushwah linked an issue Jul 31, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add id validator to uattributesvalidator

2 participants