Sébastien Bouchex Bellomié created NIFI-4804:
------------------------------------------------
Summary: Duplicated properties when creating a Reporting Task with
the REST API
Key: NIFI-4804
URL: https://issues.apache.org/jira/browse/NIFI-4804
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.6.0
Reporter: Sébastien Bouchex Bellomié
Testcase : I want to create a reporting task with the REST API with postman
(chrome extension)
Url : [https://localhost:9443/nifi-api/controller/reporting-tasks]
Method : POST
Body :
\{"revision":{"version":0},"component":\{"name":"aaaa","type":"org.apache.nifi.metrics.reporting.task.MetricsReportingTask","properties":{"Metric
Reporter Service":"xxxxx","Process Group ID":""}}}
Result :
the returned json mentions 4 properties:
{noformat}
"properties": {
"metric reporter service": null,
"process group id": null,
"Metric Reporter Service": "xxxxx",
"Process Group ID": ""
},{noformat}
In Nifi, the reporting task is created but the properties are duplicated
Note : even, if the "Metric Reporter Service" value valid, it does not change
anything
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)