Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-3637

Refactor DCP rht_user_profile regInfo to reflect OSO and OSIO integrations

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: High High
    • None
    • None
    • dcp.jboss.org (DCP)
    • None
    • 5
    • RHD-Sprint 33

      Current data layout in DCP is currently in align with RHD webiste and needs to be refactored to affect change of other sites.

      1. Data layout needs to be changed to this:
        {
         ....
         "regInfo" : {
            "rhd": {  // possible keys: rhd, openShiftOnline, openShiftIo
              "channel": <string> // values e.g. website, infoq, ...
              "firstAccessByExistingAccount": <boolean>
              "firstAccessTimestamp": <date>
            },
            "openShiftOnline": {
               ...
            }
          }
        

        The firstAccessByExistingAccount field defines break down channel to rh (_from_rh suffix) resp. non rh (no suffix) defined in reg. query.

      1. Aggregation needs to be separated to own registered query rht_user_profile_metrics with input parameters:
        1. website
        2. interval
        3. bucket_key_format
        4. date_from
        5. date_to
        6. timezone_offset

            lkrzyzan@redhat.com Libor Krzyžanek
            lkrzyzan@redhat.com Libor Krzyžanek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: