Developers Getting Started With i2b2
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
borderStylesolid
titlei2b2_config_data.js



	//-------------------------------------------------------------------------------------------
	// THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO
	lstDomains: [
		{ domain: "i2b2demo",
		  name: "HarvardDemo",
		  urlCellPM: "http://services.i2b2.org/i2b2/services/PMService/",
		  allowAnalysis: true,
		  debug: false,
          registrationMethod: "local",
          loginType: "local",
          showRegistration: true,
		}
	]
	//-------------------------------------------------------------------------------------------


...

Code Block
borderStylesolid
titlei2b2_config_data.js



	//-------------------------------------------------------------------------------------------
	// THESE ARE ALL THE DOMAINS A USER CAN LOGIN TO
	lstDomains: [
		{ domain: "i2b2demo",
		  name: "HarvardDemo",
		  urlCellPM: "http://services.i2b2.org/i2b2/services/PMService/",
		  allowAnalysis: true,
		  debug: false,
          registrationMethod: "local",
          loginType: "local",
          showRegistration: true
		},
		{ domain: "i2b2demo",
		  name: "i2b2demo (1.7)",
		  urlCellPM: "http://localhost:9090/i2b2/services/PMService/",
		  allowAnalysis: true,
		  debug: true,
          registrationMethod: "saml",
          loginType: "federated",
          showRegistration: true
		}
	]
	//-------------------------------------------------------------------------------------------


...

indent
Level1

5. Save the changes and close the file.

Info
title1.7.13 i2b2_config_data.json file

In 1.7.13, the config file name has changed to i2b2_config_data.json. Also, backslashes must be escaped and there can be no comments (see below).


...


Code Block
borderStylesolid
titlei2b2_config_data.json
	
	  {
            "domain": "i2b2demo",
            "name": "SAML Demo",
            "allowAnalysis": true,
            "urlCellPM": "http:\/\/127.0.0.1:9090\/i2b2\/services\/PMService\/",
            "registrationMethod": "saml",
            "loginType": "federated",
            "showRegistration": true,
            "installer": "\/webclient\/plugin_installer\/",
            "debug": true
        },
       
     {
            "domain": "i2b2demo",
            "name": "Local Demo",
            "allowAnalysis": true,
            "urlCellPM": "http:\/\/localhost\/webclient\/i2b2\/services\/PMService\/",
            "registrationMethod": "",
            "loginType": "local",
            "showRegistration": true,
            "installer": "\/webclient\/plugin_installer\/",
            "debug": true
        
	]
	//-------------------------------------------------------------------------------------------


...