Details

    • Type: Task Task
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.11
    • Fix Version/s: None
    • Component/s: API, Impl
    • Labels:
      None

      Description

      A patch to allow for events to be delayed until a specified time. Satisfies the need in SAK-7670 and SAK-12977

        Gliffy Diagrams

        1. knl-62-npe.diff
          1.0 kB
          Carl Hall
        2. sak-7670_avail_noti.diff
          3 kB
          Carl Hall
        3. sak-7670.diff
          23 kB
          Carl Hall

          Issue Links

            Activity

            Hide
            Stephen Marquard added a comment -

            Changing to blocker to ensure this is addressed for 1.0.1 K1 for 2-6-x.

            Show
            Stephen Marquard added a comment - Changing to blocker to ensure this is addressed for 1.0.1 K1 for 2-6-x.
            Hide
            Carl Hall added a comment -

            Patch that does the following:

            1) Use 'available' & 'write' for resource (not dropbox) functions. Removed 'add' since an 'add' event shouldn't trigger an email.
            2) Updated postAvailableEvent to delay an event if the resource isn't available. If the resource is available, check its properties to see if an 'available' event has been sent before, and if not send one then mark as 'availableNotified'.
            3) Adjust priority of event to 'NOTI_NONE' in commitResourceEdit if resource is not yet available. This keeps 'write' events from sending an email each time an unavailable resource is updated.

            Show
            Carl Hall added a comment - Patch that does the following: 1) Use 'available' & 'write' for resource (not dropbox) functions. Removed 'add' since an 'add' event shouldn't trigger an email. 2) Updated postAvailableEvent to delay an event if the resource isn't available. If the resource is available, check its properties to see if an 'available' event has been sent before, and if not send one then mark as 'availableNotified'. 3) Adjust priority of event to 'NOTI_NONE' in commitResourceEdit if resource is not yet available. This keeps 'write' events from sending an email each time an unavailable resource is updated.
            Hide
            Carl Hall added a comment -

            Patch included for resolution. Assigning to Stephen for review though Ian may need to see this, too.

            Show
            Carl Hall added a comment - Patch included for resolution. Assigning to Stephen for review though Ian may need to see this, too.
            Hide
            Stephen Marquard added a comment -

            Almost done except getting duplicate notifications when revising a resource after it's available.

            Show
            Stephen Marquard added a comment - Almost done except getting duplicate notifications when revising a resource after it's available.
            Hide
            Stephen Marquard added a comment -

            Resolved in trunk and 1.0.x. See KNL-91 for any followup issues.

            Show
            Stephen Marquard added a comment - Resolved in trunk and 1.0.x. See KNL-91 for any followup issues.

              People

              • Assignee:
                Stephen Marquard
                Reporter:
                Carl Hall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development