You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Sébastien Bouchex Bellomié (JIRA)" <ji...@apache.org> on 2018/01/25 08:27:00 UTC

[jira] [Resolved] (NIFI-4804) Duplicated properties when creating a Reporting Task with the REST API

     [ https://issues.apache.org/jira/browse/NIFI-4804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sébastien Bouchex Bellomié resolved NIFI-4804.
----------------------------------------------
    Resolution: Not A Bug

I was passing the name with Upper Case characters

> 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é
>            Priority: Major
>
> 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)