Developers Getting Started With i2b2
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

File Repository Properties Configuration

The edu.harvard.i2b2.fr.properties file contains a number of properties that need to be modified with the variables that are specific to your environment. The File Repository Cell needs these properties to deploy correctly and to set required parameters.


Step 4: PM Cell Properties

In order for the File Repository Cell to communication with the PM Cell the following properties need to be modified to reflect you environment.


1. At the command prompt type the following:


Linux Command
open YOUR_I2B2_SRC_DIR/edu.harvard.i2b2.fr/etc/spring/edu.harvard.i2b2.fr.properties


Windows Command
YOUR_I2B2_SRC_DIR\edu.harvard.i2b2.fr\etc\spring\edu.harvard.i2b2.fr.properties



EXAMPLES:

Linux Command: 
open /opt/i2b2/edu.harvard.i2b2.fr/etc/spring/edu.harvard.i2b2.fr.properties
Windows Command: 
C:\opt\i2b2\edu.harvard.i2b2.fr\etc\spring\edu.harvard.i2b2.fr.properties



2. The edu.harvard.i2b2.fr.properties file will open.
3. Scroll to the section called Project Management Cell.
4. Edit the edu.harvard.i2b2.fr.ws.pm.url property to reflect the location of the PM cell in your environment.


Important

When you edit the edu.harvard.i2b2.fr.ws.pm.url property with the location of your PM Cell it is extremely important that you only edit the hostname (localhost) and the port (9090). The remainder of the URL is required as it is written and should not be changed.


Project Management Cell
edu.harvard.i2b2.fr.ws.pm.url=http://localhost:9090/i2b2/services/PMService/getServices
edu.harvard.i2b2.fr.ws.pm.webServiceMethod=REST
# Flag to bypass project management cell
edu.harvard.i2b2.fr.ws.pm.bypass=false
edu.harvard.i2b2.fr.ws.pm.bypass.role=ADMIN
edu.harvard.i2b2.fr.ws.pm.bypass.project=Demo




5. Save your changes and close the file.