Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-28624

Force Clear Entitlement Cache when URL Parameter Present

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      Force clear the entitlement cache and update the users entitlements when trial_activated=true appears in the URL query string.

      Problem:
      Entitlement currently caches in the console for 10 minutes. We send users from console to get a free trial from Red Hat Product Trial system, but when they return after activating their trial the entitlement is still cached and they aren't able to use the service.

      Example:

      1. Click "Start a free trial" on: https://console.redhat.com/application-services/acs/overview
      2. Activate your free trial by clicking the button on the RHPT page (redhat.com/acstrial)
      3. When you return to https://console.redhat.com/application-services/acs/overview?trial_activated=true you aren't able to use ACS yet because entitlement is still cached from the first page view

      Other Notes:

      • The Red Hat product trial system can use this pattern in the future for other product trials that depend on entitlements updating immediately after a new trial is activated (but should only be used when necessary). 
      • Ansible currently uses an alternative workaround for their trial
      • I'm open to other options - this just seemed the most straight forward and fairly reasonable

              Unassigned Unassigned
              jlucky@redhat.com Jacob Lucky
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: