Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-395

Externalize GeoLite2-Country.mmdb to a configurable point

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Outdated
    • Icon: Neutral Neutral
    • None
    • 1.4.5, 1.4.7
    • Traits
    • None

      We "Reads the country from an IP address using a GeoLite2 database." which is continuously updated but the way we read it and use it is quite static such as hardcoding a specific path "info/magnolia/personalization/geoip/GeoLite2-Country.mmdb" in our packaged JAR file.
      (grep code: GeoIPReader::info.magnolia.personalization.geoip.GeoIPReader line 53)
      Expected result:
      Having a configuration point such as '/modules/personalization-traits/geoip@GeoLite2Db=/Users/viet.nguyen/tmp/my_new_db.mmdb'
      System able to load it whenever we make a change.

        Acceptance criteria

              Unassigned Unassigned
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3h
                    3h