add MqttPolicy to Json introspect

This commit is contained in:
Michael Zanetti 2018-11-28 21:41:10 +01:00
parent e1affe17d0
commit 7b1c848c07
2 changed files with 8 additions and 0 deletions

View File

@ -490,6 +490,7 @@ QVariantMap JsonTypes::allTypes()
allTypes.insert("ServerConfiguration", serverConfigurationDescription()); allTypes.insert("ServerConfiguration", serverConfigurationDescription());
allTypes.insert("WebServerConfiguration", serverConfigurationDescription()); allTypes.insert("WebServerConfiguration", serverConfigurationDescription());
allTypes.insert("Tag", tagDescription()); allTypes.insert("Tag", tagDescription());
allTypes.insert("MqttPolicy", mqttPolicyDescription());
return allTypes; return allTypes;
} }

View File

@ -1406,6 +1406,13 @@
"LoggingSourceStates", "LoggingSourceStates",
"LoggingSourceRules" "LoggingSourceRules"
], ],
"MqttPolicy": {
"allowedPublishTopicFilters": "StringList",
"allowedSubscribeTopicFilters": "StringList",
"clientId": "String",
"password": "String",
"username": "String"
},
"NetworkDeviceState": [ "NetworkDeviceState": [
"NetworkDeviceStateUnknown", "NetworkDeviceStateUnknown",
"NetworkDeviceStateUnmanaged", "NetworkDeviceStateUnmanaged",