You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2018/06/07 17:06:00 UTC

[jira] [Created] (NIFI-5279) Wait a bit for components to finish validation on updates

Mark Payne created NIFI-5279:
--------------------------------

             Summary: Wait a bit for components to finish validation on updates
                 Key: NIFI-5279
                 URL: https://issues.apache.org/jira/browse/NIFI-5279
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


When a Processor, Reporting Task, or Controller Service is updated, it is now validated asynchronously. This provides a faster response time for the web request but can sometimes result in a component showing a "Validating..." state when the response is received, even though the validation logic would complete very quickly. When we make an update to a component, instead of immediately creating the DTO, which would reflect that the state is "validating..." we should wait up to some amount of time (say 25 milliseconds?) for the validation to complete, before we create the response. This way, components whose validation completes quickly still show as Valid or Invalid as soon as the response comes back and only those components that actually take a long time to validate will show as Validating.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)