Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-117706

As a Portal Admin, I want Workflow Metrics to create an index per company 7.2

    Details

      Description

      As a Portal Admin, I want Workflow Metrics to create an index per company

      Context

      Right now, the Workflow Metrics indexers are created with only one index for each entity. However, the architecture defined by the Search Infrastructure team requires that one index should be created per company and following the name pattern defined by the Search team.

      That being said, we need to:

      1. Create an "IndexNameBuilder" interface like WorkflowMetricsInstanceIndexNameBuilder for each index;
      2. Everywhere we have hardcoded the index name, we call this component to get the index name;
      3. In the impl, we delegate to the IndexNameBuilder provided by the Search infrastructure and then append some additional name elements

      Acceptance Criteria

      1- Given that a user is actively using Liferay Workflow Metrics,
      when it's indexers are to be created by the system,
      then it should create an index per company.

      2- Given that a user is actively using Liferay Workflow Metrics,
      when it's indexers are to be created by the system,
      then the indexers' name should follow the pattern defined by the Search team.

      • Example:
        • Current:
          • workflow-metrics-instances
          • workflow-metrics-nodes
          • etc.
        • Expected:
          • [<prefix>]-workflow-metrics-instances-<companyId>
          • [<prefix>]-workflow-metrics-nodes-<companyId>
          • etc.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Verify if the test labels were added;
      • Code with peer review completed;
      • Validated by QA, Product Designer and/or PM;
      • No critical bug related to Story scope (ex.: similar of FP4, FP5);
      • Make sure that all system documentation were updated (if necessary)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rodrigo.cunha Rodrigo Cunha
              Reporter:
              inacio.nery Inácio Nery
              Engineering Assignee:
              Inácio Nery
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.2.10 DXP FP8
                  7.2.10.2 DXP SP3