Prevent templated indices using the name service methods that include index suffixes

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: L3 - Default
    • 3.2.0
    • Affects Version/s: None
    • Component/s: backend

      context: https://github.com/camunda/camunda-optimize/pull/1726/files#r388333506

      In the OptimizeIndexNameService, we have a method getOptimizeIndexNameForAliasAndVersion that returns the index name including any prefix and/or suffix the index has. However, for suffixed indices (ones that get rolled over), it will take the initial/default suffix of the index. We don't currently use this in this context, but it might lead to confusing behaviour if we don't validate against its usage for templated indices.

      AT:

      • We prevent templated indices from using the above method to get the index name, or make it's usage clearer

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: