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

Enable in a simple way Drive client to know of server-side properties values

    XMLWordPrintable

    Details

    • Story Points:
      3

      Description

      Proposal

      Leverage the template NXFTL mechanism, e.g.:

      • change templates/drive/nxserver/config/nuxeo-drive-config.json
      • to templates/drive/nxserver/config/nuxeo-drive-config.json.nxftl

      And in it, define for instance a copy of nuxeo.url -> nuxeo_url:

      {
        "delay": 30,
        "ignored_prefixes": [".", "icon\r", "thumbs.db", "desktop.ini", "~$"],
        "ignored_suffixes": [".bak", ".crdownload", ".dwl", ".dwl2", ".lnk", ".lock", ".nxpart", ".part", ".partial", ".swp", ".tmp", "~"],
        "ignored_files": ["^atmp\\d+$"],
        "log_level_file": "DEBUG",
        "timeout": 30,
        "handshake_timeout": 60,
        "beta_channel": false,
        "update_check_delay": 3600,
        "ui": "web",
      <#if "${nuxeo.core.blobstore.keyStrategy}" == "managed">
        "disabled_file_integrity_check": true,
      </#if>
        "nuxeo_url": "${nuxeo.url}"
      }
      

      Leveraging the NXFTL mechanism enables to keep the existing JSON mechanism and to use the standard properties approach of Nuxeo.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pabgrall Patrick Abgrall
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: