Hello all,

  The basis for the story / jira I've been working on is around properly
expanding the users home directory when the shortcut ~ is provided as a
value for any PropertyDescriptor pointing to a file.  So I've been working
through all the processors and implementing this.

I have two questions as I'm nearing completion with this.

1. The class I'm looking at is TestGeoEnrichIP.java.  It has a number of
test cases that look at the base directory of the project for a maxmind
database file.  An example of this is:

testRunner.setProperty(GeoEnrichIP.GEO_DATABASE_FILE, "./");

I've looked through the project for *.mmdb files as described here:
https://github.com/maxmind/MaxMind-DB/tree/master/test-data, I didn't find
any references to files like that.  I know I need to spend some additional
time with this but I wanted to ask the group to get some guidance and
additional understanding.

2. My second question is related to file expansion and expression
language.  Specifically given the requirement to take ~/ and map it to
/home/rwithers/ should this same behavior be enabled if the property
descriptor has expression language enabled or only if expression language
is disabled.  I've recently run into an example where expression language
is enabled on a property descriptor and it interfered with the path
expansion.   So naturally I started wondering if path expansion should work
when expression language is also enabled.

Thanks in advance,

-- 
Ryan Withers
Senior Software Developer / Analyst

http://www.linkedin.com/in/ryanwithers

Reply via email to