We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7269f1 commit 24e6422Copy full SHA for 24e6422
ddsrouter_yaml/src/cpp/YamlReader_configuration.cpp
@@ -37,6 +37,20 @@ namespace eprosima {
37
namespace ddspipe {
38
namespace yaml {
39
40
+template <>
41
+bool YamlValidator::validate<core::MonitorConfiguration>(
42
+ const Yaml& yml,
43
+ const YamlReaderVersion& /* version */)
44
+{
45
+ // The method is rewritten to provide a specific validation of the DDS Router's MonitorConfiguration:
46
+ // i.e. the DDS Router's MonitorConfiguration doesn't have a status.
47
+ static const std::set<TagType> tags{
48
+ MONITOR_DOMAIN_TAG,
49
+ MONITOR_TOPICS_TAG};
50
+
51
+ return YamlValidator::validate_tags(yml, tags);
52
+}
53
54
template <>
55
void YamlReader::fill(
56
ddsrouter::core::SpecsConfiguration& object,
0 commit comments