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

As an Admin, I want to configure Segments Analytics Cloud settings from Instance Settings

    Details

      Description

      Motivation

      Currently, segmentation settings exist only at System level, so there’s no way to configure the feature at the instance level.

      In order to facilitate the cloud-based products development, we need to make it available at the instance level.

      Use cases

      1. A company has to instances, one for a public site, the other one for the intranet.
        1. They just want to use segmentation in the public-faced site. So they are able to disable segmentation just for the intranet instance.
        2. They need different cache settings for each of the instances, as the intranet is being sync against the active directory, and the public site is sync with a mkt automation solution that needs real-time data.
      2. A company has one instance for its sites in production, and adds a virtual one for running tests on some features. They want to enable segmentation in one of them but not in the other one.
      3. LOL: as it is managed by instances by LR, we need to be able to enable/disable features at the instance level

      Requirements

      1. The icon “Segments” will be placed in Instance Settings > Content

      2. The current “Segments Analytics Cloud” tab and title of the page will be renamed as Analytics Cloud Segments

      3. Help text of Anonymous User Segments Cache Expiration Time will be: Define the time (in seconds) before clearing the Anonymous Segment cache.

      4. Help text of Interest Terms Cache Expiration Time will be: Define the time (in seconds) before clearing the Interest Terms cache.

      5. The current Check Interval field will be renamed as Update Interval

      6. Help text of Update Interval will be: Define how often (in minutes) you want to update ** Segments from Analytics Cloud.

      Design

      https://www.figma.com/file/HnjplNbAOME8rwjBVk60o2/LPS-129007-As-an-Admin-I-want-to-configure-segmentation-per-virtual-instance?node-id=1%3A2020

      Testing Scenarios

      Acceptance Criteria
       
      Testing Scenarios
       
      Test Strategy
       
      Covered by frontend test? (Yes/No)
       
      Covered by backend test? (Yes/No)
       
      The icon “Segments” will be placed in Instance Settings > Content
      • Given Liferay portal
      • When the user goes to Instance Settings
      • Then the icon “Segments” will be placed in Instance Settings > Content
      Low  NO NO 
      The current “Segments Analytics Cloud” tab and title of the page will be renamed as Analytics Cloud Segments
      • Given Instance Settings
      • When the user goes to Segments
      • Then the tab Analytics Cloud Segments is shown
      Low NO  NO 
      Help text of Anonymous User Segments Cache Expiration Time will be: Define the time (in seconds) before clearing the Anonymous Segment cache.
      • Given Instance Settings > Segments
      • When the user clicks on Analytics Cloud Segments tab
      • Then help text of Anonymous User Segments Cache Expiration Time will be: Define the time (in seconds) before clearing the Anonymous Segment cache.
      Medium NO  NO 
      Help text of Interest Terms Cache Expiration Time will be: Define the time (in seconds) before clearing the Interest Terms cache.
      • Given Instance Settings > Segments
      • When the user clicks on Analytics Cloud Segments tab
      • Then help text of Interest Terms Cache Expiration Time will be: Define the time (in seconds) before clearing the Interest Terms cache.
      Medium NO   NO
       
      • Given Analytics Cloud Segments tab
      • When the user sets a time for Anonymous User Segments Cache Expiration Time
      • Then the Portal Cache instance is deleted when the expiration time is reached
      High  NO YES
       
      • Given Analytics Cloud Segments tab
      • When the user sets a time for Interest Terms Cache Expiration Time
      • Then the Portal Cache instance is deleted when the expiration time is reached
      High NO  YES
       
      • Given Analytics Cloud Segments tab
      • When the user sets a time for Update interval
      • Then the segments from Analytics Cloud will be retrieved every time set by the user in minutes
      High  NO  NO

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Cristina Gonzalez
              Recent user:
              Rubén Heras
              Participants of an Issue:
              Backend Developer(s) Assigned:
              Cristina Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master