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

Fix config/output type URLs #1002

Merged
merged 13 commits into from
Oct 25, 2024
Merged

Conversation

DavidCurtiss
Copy link
Collaborator

@DavidCurtiss DavidCurtiss commented Oct 21, 2024

What does this Pull Request accomplish?

  • Updates the type_url of the Configurations and Outputs of the measurement, as returned by GetMetadata
  • Checks the type_url of the request's connection_parameters, and prints a warning to stderr if there's a mismatch

Why should this Pull Request be merged?

Fixes #890

What testing has been done?

  • Tested with GameOfLife_Python and the C# GameOfLife that the measurements work and do not print warnings
  • Tested modifying the client and server side of GameOfLife_Python to expect a different type_url, and saw the warnings

Signed-off-by: David Curtiss <[email protected]>
@DavidCurtiss DavidCurtiss changed the title Require correct type_url Fix config/output type URLs Oct 23, 2024
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
Signed-off-by: David Curtiss <[email protected]>
@DavidCurtiss DavidCurtiss merged commit 7f38be6 into ni:main Oct 25, 2024
16 checks passed
@DavidCurtiss DavidCurtiss deleted the require-type-url branch October 25, 2024 16:37
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.

Python services return incorrect message type names from GetMetadata RPC
2 participants