Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26209

Handle WOPI discovery refresh

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10
    • Component/s: WOPI
    • Epic Link:
    • Tags:
    • Sprint:
      nxfit 10.10.1, nxfit 10.10.3
    • Story Points:
      5

      Description

      Following NXP-26151, we need to periodically refresh the WOPI discovery.

      At the WOPIService startup, if the discovery data exists in the KeyValue store, after loading it, send a refreshWOPIDiscovery event to trigger an asynchronous work to refresh the discovery.

      A scheduler running every 24 h also sends the refreshWOPIDiscovery event.

      The asynchronous work listening to refreshWOPIDiscovery, if there is no data in the KeyValue store or it has expired, must:

      • Fetch the discovery XML file.
      • Load the data in memory.
      • Update the KeyValue store.
      • Use the PubSubService to notify the WOPIService, see MigrationServiceImpl#MigrationInvalidator.

        Attachments

          Issue Links

            Activity

              People

              • 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 - 2 days, 4 hours
                  2d 4h