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

Martin Zink updated MINIFICPP-2074:
-----------------------------------
    Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi-minifi-cpp/pull/1543

> Fix time-period/integer validated properties
> --------------------------------------------
>
>                 Key: MINIFICPP-2074
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2074
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Marton Szasz
>            Assignee: Martin Zink
>            Priority: Major
>          Time Spent: 5h 10m
>  Remaining Estimate: 0h
>
> Currently we have mixed validation for time-period like properties. Some has 
> time-period validators (which require explicit units) and some have simple 
> integer validators (which require no units).
> One approach would be to use time-period validators everywhere, but that 
> could break compatibility with thirdparty C2 servers, and NiFi/MiNiFi Java 
> also has this problem.
> Another approach would be to fix the configuration during minifi startup, to 
> fix the property based on the configured validator. This would mean a 
> time-period validated property would change from "100" to "100 ms" on startup 
> and an integer validated property would change from "1min to 60000" on 
> startup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to