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

Don't use hardcoded index value in statistics elements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: HOTFIX_9.10, HOTFIX_10.10, 11.1-SNAPSHOT
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Web UI

      Description

      Currently the name of the index is hardcoded but can be overriden:
      https://github.com/nuxeo/nuxeo-ui-elements/blob/master/dataviz/nuxeo-document-distribution-chart.html#L174

      This means, if a customer changes the index name, he/she will have to override the UI to use the new index.

      This is not an ideal scenario.

      A more flexible way of doing that could be for instance to detect the index name through the value of elasticsearch.index in the nuxeo.conf through an operation or any other way.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 hour
                  1h