You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andrew Christianson (JIRA)" <ji...@apache.org> on 2018/05/02 18:08:00 UTC

[jira] [Commented] (MINIFICPP-479) Incorporate property validation information into manifest

    [ https://issues.apache.org/jira/browse/MINIFICPP-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461417#comment-16461417 ] 

Andrew Christianson commented on MINIFICPP-479:
-----------------------------------------------

[https://github.com/phrocker/nifi-minifi-cpp/blob/7ea8364b2ae25dcece91bcd0646e1023391ef4d3/libminifi/include/core/state/nodes/AgentInformation.h#L250]

is where property descriptors are currently placed into the agent manifest

produces, e.g. (needs validation info):
{code:java}
org::apache::nifi::minifi::processors::AbstractMQTTProcessor": {
                            "buildInfo": {
                                "compiler": "/usr/bin/c++",
                                "flags": "  -std=c++11 -Wall",
                                "revision": "9edd5fbeecc39ec980cd596e7db06d528d028471",
                                "timestamp": 1525277805,
                                "version": "0.5.0"
                            },
                            "propertyDescriptors": {
                                "Broker URI": {
                                    "description": "The URI to use to connect to the MQTT broker",
                                    "name": "Broker URI"
                                },
                                "Client ID": {
                                    "description": "MQTT client ID to use",
                                    "name": "Client ID"
                                },
                                "Connection Timeout": {
                                    "description": "Maximum time interval the client will wait for the network connection to the MQTT server",
                                    "name": "Connection Timeout"
                                },
                                "Keep Alive Interval": {
                                    "description": "Defines the maximum time interval between messages sent or received",
                                    "name": "Keep Alive Interval"
                                },
                                "Password": {
                                    "description": "Password to use when connecting to the broker",
                                    "name": "Password"
                                },
                                "Quality of Service": {
                                    "description": "The Quality of Service(QoS) to send the message with. Accepts three values '0', '1' and '2'",
                                    "name": "Quality of Service"
                                },
                                "Session state": {
                                    "description": "Whether to start afresh or resume previous flows. See the allowable value descriptions for more details",
                                    "name": "Session state"
                                },
                                "Topic": {
                                    "description": "The topic to publish the message to",
                                    "name": "Topic"
                                },
                                "Username": {
                                    "description": "Username to use when connecting to the broker",
                                    "name": "Username"
                                }
                            },
                            "artifact": "org::apache::nifi::minifi::processors::AbstractMQTTProcessor",
                            "group": "org::apache::nifi::minifi",
                            "supportsDynamicProperties": false,
                            "version": "0.5.0"
                        },

{code}

> Incorporate property validation information into manifest
> ---------------------------------------------------------
>
>                 Key: MINIFICPP-479
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-479
>             Project: NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Andrew Christianson
>            Assignee: Andrew Christianson
>            Priority: Major
>
> High-level intent is to avoid round-trip to c2 to know that flow is valid (or, invalid in common/trivial ways).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)