[
https://issues.apache.org/jira/browse/NIFI-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769791#comment-16769791
]
ASF subversion and git services commented on NIFI-6018:
-------------------------------------------------------
Commit 9e0687ab6b3bb3923aa334e9d4b86712e5982ff3 in nifi's branch
refs/heads/master from Aleksandr Salatich
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9e0687a ]
NIFI-6018 Marking GetHTTP and PostHTTP deprecated. Adding info about
deprecation to processors descriptions. Fix small mistake in developer-guide.
Suppressed deprecation warnings in TestGetHTTP, TestPostHTTP,
TestGetHTTPGroovy, and TestPostHTTPGroovy. The annotation suppresses some
warnings, but until Java 9, explicit FQCN imports are needed to avoid all
warnings.
This closes #3312.
Signed-off-by: Andy LoPresto <[email protected]>
> Mark GetHTTP and PutHTTP as @Deprecated
> ---------------------------------------
>
> Key: NIFI-6018
> URL: https://issues.apache.org/jira/browse/NIFI-6018
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.8.0
> Reporter: Andy LoPresto
> Assignee: Aleksandr Salatich
> Priority: Major
> Labels: deprecation, http, processor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{GetHTTP}} and {{PutHTTP}} processors are legacy processors, introduced
> before the general-purpose {{InvokeHTTP}} was available. Because of the
> naming conventions and implied purpose, many users still select these
> processors, when feature development has ceased on them and {{InvokeHTTP}}
> should be used for these scenarios.
> These processors should be marked with a deprecation annotation in code, and
> have some kind of labeling, description update, and on-canvas marking (if
> possible) to encourage users to no longer select them for new flow
> development, and migrate existing use to {{InvokeHTTP}}. They should be
> removed in future releases.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)