You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/24 16:39:00 UTC

[jira] [Commented] (NIFI-7897) Refactor Stateless NiFi to make use of existing components/classes

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

ASF subversion and git services commented on NIFI-7897:
-------------------------------------------------------

Commit 3c9d8a7007cab279b0cc6ebd2f56bce7bcddba80 in nifi's branch refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3c9d8a7 ]

NIFI-7897: Refactoring to create a new nifi-framework-components module.
- Refactored nifi-stateless to make use of nifi-framework-components
- Removed requirement for nifi-framework-nar to be provided.
- Refactored stateless nifi into api, engine, nar, and bootstrap modules, with a parent 'bundle' module
- Creation of nifi-stateless-system-tests
- Added unit tests and logging
- Changed flow configuration to use properties file instead of json
- Allow for -p parameter to specify parameters on command line
- Moved implementations of Authorizer, NiFiUser, and UserGroupProviders to new module named nifi-framework-authorization-providers so that those that depend on nifi-framework-authorization don't have to bring in the providers. This way, we can have stateless not bring in those providers, as we otherwise get warnings on startup about the provider already being registered. Additionally, it avoids needing dependencies on spring-security-core
- Updated bin/nifi.sh script to run new stateless bootstrap
- Added Reporting Tasks to stateless.
- Download bundles as necessary on stateless nifi startup

NIFI-7897: Addressing review feedback

NIFI-7897: Fixed typos in README and also addressed issue that caused parameters with spaces not to be parsed properly

This closes #4669.

Signed-off-by: Bryan Bende <bb...@apache.org>


> Refactor Stateless NiFi to make use of existing components/classes
> ------------------------------------------------------------------
>
>                 Key: NIFI-7897
>                 URL: https://issues.apache.org/jira/browse/NIFI-7897
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> Stateless NiFi introduces a slew of simple implementations of interfaces. Some of these make sense, but others end up being duplicates of existing code, in order to avoid bringing in large dependencies such as nifi-framework-core. The common components need to be factored out and made use of.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)