Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3138

Need to add new RPG elements to FlowConfiguration.xsd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None
    • None

    Description

      There are new valid elements in the Remote Process Group portion of the standard flow serializer xml. These are currently not part of the xsd.

      This means that if these elements are in the flow.xml, you get output like the following (from MiNiFi but it's using the 1.1.0 NiFi core libraries):

      2016-12-01 19:22:24,850 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr [Error] :274:26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transportProtocol'. One of '{
      inputPort, outputPort}' is expected.
      2016-12-01 19:22:24,890 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr [Error] :274:26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transportProtocol'. One of '{
      inputPort, outputPort}' is expected.
      2016-12-01 19:22:24,909 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr [Error] :274:26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transportProtocol'. One of '{
      inputPort, outputPort}' is expected.
      2016-12-01 19:22:24,927 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr [Error] :274:26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transportProtocol'. One of '{
      inputPort, outputPort}' is expected.
      2016-12-01 19:22:24,974 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr [Error] :274:26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transportProtocol'. One of '{
      inputPort, outputPort}' is expected.
      2016-12-01 19:22:24,992 ERROR [MiNiFi logging handler] org.apache.nifi.minifi.StdErr [Error] :274:26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transportProtocol'. One of '{
      inputPort, outputPort}' is expected.
      

      The flow still seems to work so I think it's just a warning but still not great to see in the logs.

      Attachments

        1. InvokeHttpMiNiFiTemplateTest.xml
          22 kB
          Bryan Rosander
        2. config.yml
          9 kB
          Bryan Rosander
        3. flow.xml.gz
          2 kB
          Bryan Rosander

        Issue Links

          Activity

            People

              bryanrosander@gmail.com Bryan Rosander
              bryanrosander@gmail.com Bryan Rosander
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: