Integrating eagle-i resources into Profiles application:

  1. SWEET application is required
  2. Define the base URL for Profiles
    1. In the eagle-i-apps.properties, add a new property eaglei.datatools.profilesBase
    2. The expected value of this property is a URL
    3. The default value of this property is http://connects.catalyst.harvard.edu/profiles/profile/person/
  3. Create a csv file that maps the name of the resource type as defined by the eagle-i ontology and the desired display name
    1. The expected name of the file is profiles-resource-label-mappings.csv
    2. The expected location of the file is in the same directory as the eagle-i-apps.properties file, in other words, the eagle-i config directory.
    3. The expected format of the file is:
      1. lines that start with '#' and blank lines are ignored
      2. each line is one mapping
      3. each mapping is in the form of key,value
      4. keys starting with * are [????]
    4. Sample file: profiles-eagle-i-mappings.xml
    5. For the mapping *Mus,Mouse strains:
  4. Set up an external process which accesses the eagle-i profiles resource servlet and writes the response to a location. This process should be recurring to get updated information.
    1. The servlet is located at [your eagle-i installation]/sweet/profiles.
    2. For example, Harvard's eagle-i profiles servlet is located http://harvard.eagle-I.net/sweet/profiles
  5. Configure profiles application to access this resource dump