Details

    Description

      In some properties that specify a time period, like Max Connection Lifetime of DBCPProperties, the documentation claims that the property value is to be defined in a concrete time unit, like milliseconds.
      However, those properties use the StandardValidators.TIME_PERIOD_VALIDATOR, or a derivative thereof, which supports to define the period in a plethora of time units.

      The documentation should be changed accordingly, to clarify that the properties do not require an integer value of a static time unit but rather the declaration of a time period including a time unit.

      Attachments

        Issue Links

        Activity

          Commit 27fa595b25c848bc06579748c17be2b0bf6dcd2e in nifi's branch refs/heads/main from EndzeitBegins
          [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=27fa595b25 ]

          NIFI-12901 Removed time units in description of time period properties

          This closes #8504

          Signed-off-by: David Handermann <exceptionfactory@apache.org>

          jira-bot ASF subversion and git services added a comment - Commit 27fa595b25c848bc06579748c17be2b0bf6dcd2e in nifi's branch refs/heads/main from EndzeitBegins [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=27fa595b25 ] NIFI-12901 Removed time units in description of time period properties This closes #8504 Signed-off-by: David Handermann <exceptionfactory@apache.org>

          Commit 4093fc1ab056c524f7732089adaeb7d8547d9e48 in nifi's branch refs/heads/support/nifi-1.x from EndzeitBegins
          [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4093fc1ab0 ]

          NIFI-12901 Removed time units in description of time period properties

          This closes #8504

          Signed-off-by: David Handermann <exceptionfactory@apache.org>
          (cherry picked from commit 27fa595b25c848bc06579748c17be2b0bf6dcd2e)

          jira-bot ASF subversion and git services added a comment - Commit 4093fc1ab056c524f7732089adaeb7d8547d9e48 in nifi's branch refs/heads/support/nifi-1.x from EndzeitBegins [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4093fc1ab0 ] NIFI-12901 Removed time units in description of time period properties This closes #8504 Signed-off-by: David Handermann <exceptionfactory@apache.org> (cherry picked from commit 27fa595b25c848bc06579748c17be2b0bf6dcd2e)

          People

            EndzeitBegins endzeit
            EndzeitBegins endzeit
            Votes:
            0 Vote for this issue
            Watchers:
            Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 20m
              20m

              Slack