Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5394

Domains: Add new automation task to sync expiration dates more quickly

    Details

    • Type: Improvement
    • Status: In Review
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.12.0-b1
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      The domain manager creates an automation task called "Domain Synchronization". Maybe we can piggy back on this.

      Consider the scenario:

      1. A domain is renewed, and the client pays the invoice.
      2. The expiration date of the domain remains unchanged, because we only sync once per day. Client is confused as to why the expiration date is wrong.

      To resolve this, we should either update this automation task or create another. (Updating this one is probably best).

      The task will be interval, default to say 5 minutes.

      When the task runs, look for domains that were recently renewed (since the last time we ran). Fetch the expiration date from the registrar module and update it.

      Only once a day should we sync ALL domains, but we want to sync recently paid and renewed domains more quickly.

        Activity

        admin Paul Phillips created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Story Points 3
        Hide
        jonathan Jonathan Reissmueller added a comment -

        We use events to handle this on provisioning so that a snyc happens right after the service is paid. If we add an event for service renewal we could tie into that. Is there a delay on domain renewals like this or is it processed by the registrar immediately?

        Show
        jonathan Jonathan Reissmueller added a comment - We use events to handle this on provisioning so that a snyc happens right after the service is paid. If we add an event for service renewal we could tie into that. Is there a delay on domain renewals like this or is it processed by the registrar immediately?
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.12.0 Sprint 5 [ 215 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 7 hours, 58 minutes [ 28680 ]
        Worklog Id 17713 [ 17713 ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Time Spent 7 hours, 58 minutes [ 28680 ] 1 day, 2 hours, 8 minutes [ 36480 ]
        Worklog Id 17714 [ 17714 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 2 hours, 8 minutes
              1d 2h 8m

                Agile