You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (JIRA)" <ji...@apache.org> on 2016/04/06 17:27:25 UTC

[jira] [Created] (UNOMI-21) Make the default location configurable instead of hardcoded.

Serge Huber created UNOMI-21:
--------------------------------

             Summary: Make the default location configurable instead of hardcoded.
                 Key: UNOMI-21
                 URL: https://issues.apache.org/jira/browse/UNOMI-21
             Project: Apache Unomi
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.0.0-incubating, 1.0.1-incubating
            Reporter: Serge Huber
            Priority: Minor
             Fix For: 1.0.1-incubating


Currently in the file 
/Users/loom/java/technologies/apache-git/incubator-unomi/plugins/request/src/main/java/org/apache/unomi/plugins/request/actions/SetRemoteHostInfoAction.java

We have the following hardcoded location : 
{code}
 session.setProperty("sessionCountryCode", "CH");
                session.setProperty("sessionCountryName", "Switzerland");
                session.setProperty("sessionCity", "Geneva");
                session.setProperty("sessionAdminSubDiv1", "GE");
                session.setProperty("sessionAdminSubDiv2", "2500");
                session.setProperty("sessionIsp", "Cablecom");
{code}

We should make this configurable using OSGi configuration



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)