eclipse-uprotocol / up-cpp

uProtocol Language Specific Library for C++
Apache License 2.0
16 stars 25 forks source link

Confirm the UMessage URI checks align with spec #188

Closed gregmedd closed 2 months ago

gregmedd commented 3 months ago

Looking at the UAttributes spec, I think we should be checking both the source and sink against specific rules for each message type. However, we may also need additional UUri validators for this. I think I'll file a separate bug for this so it can be investigated more thoroughly.

_Originally posted by @gregmedd in https://github.com/eclipse-uprotocol/up-cpp/pull/184#discussion_r1655347813_


The spec indicates that in some message types, there are specific rules for both source and sink URIs. Currently only one of those is checked against specific rules in the UMessage validator code.

billpittman commented 3 months ago

I will take a look at this issue.