nifi/nifi-toolkit
Mark Payne 90b39b593a
NIFI-9069 Changed framework dataflow serialization to support JSON
- Changed framework so that it serializes the dataflow into a VersionedDataflow using JSON as well as XML, and prefers the JSON representation on load, if it's available. This also results in the need for the cluster protocol to exchange its representation of the dataflow to using JSON. Rather than re-implementing all of the complex logic of Flow Fingerprinting, updated to just inherit the cluster's flow.
- Moved logic to synchronize Process Group with Versioned Process Group into a new ProcessGroupSynchronizer class instead of having all of the logic within StandardProcessGroup
- Reworked versioned components to use an instance id.
- Renamed StandardFlowSynchronizer to XmlFlowSynchronizer; introduced new StandardFlowSynchronizer that delegates to the appropriate (Xml or Versioned)FlowSynchronzer
- Updated to allow import of VersionedProcessGroup even if not all bundles are available - will now use ghost components
- Introduced a VersionedDataflow object to hold controller-level services, reporting tasks, parameter contexts, templates, etc.
- Allow mutable requests to be made while nodes are disconnected. Also fixed issue in AbstractPolicyBasedAuthorizer that caused ClassNotFoundException / NoClassDefFoundError if the authorizations were changed and then a node attempts to rejoin the cluster. The Authorizer was attempting to use XmlUtils, which is in nifi-security-utils and so so by madking nifi-security-utils a provided dependency of nifi-framework-api, but this doesn't work, because nifi-framework-api is loaded by a higher-level classloader, so the classloader that loads AbstractPolicyBasedAuthorizer will never have the appropriate classloader to provide nifi-security-utils. Addressed this by copying the code for creating a safe document builder from XmlUtils to AbstractPolicyBasedAuthorizer.
- Fixed bug that occurred when importing a Process Group that has 2 parameter contexts, one inheriting from another, where neither is pre-defined in the existing flow
- Fixed bug that was encountered when Updating a Versioned Process Group where one version had a disabled processor and the other had the processor running.
- Increased system-tests workflow timeout to 120 minutes
- Added additional exception handling to system tests

This closes #5514

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2021-12-02 15:10:38 -06:00
..
nifi-toolkit-admin NIFI-9394 Removed RequestLogger and TimerFilter 2021-11-29 12:55:39 -05:00
nifi-toolkit-api NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-assembly NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-cli NIFI-9069 Changed framework dataflow serialization to support JSON 2021-12-02 15:10:38 -06:00
nifi-toolkit-encrypt-config NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-flowanalyzer NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-flowfile-repo NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-s2s NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-tls NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00
nifi-toolkit-zookeeper-migrator NIFI-9355 Upgraded Apache Curator from 4.2.0 to 5.2.0 2021-11-22 18:24:39 -05:00
pom.xml NIFI-9344-RC3 prepare for next development iteration 2021-11-03 08:53:37 -07:00