-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig-shrine.ps1
More file actions
78 lines (50 loc) · 2.79 KB
/
config-shrine.ps1
File metadata and controls
78 lines (50 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Write-Host "importing configuration values"
$_SHRINE_VERSION = "1.18.2"
#$_SHRINE_IP = ((Invoke-WebRequest "http://checkip.dyndns.com").ParsedHtml.Body.innerHTML -split ': ')[1]
$_SHRINE_IP = $DEFAULT_I2B2_SERVER
$_SHRINE_MSSQL_SERVER = "localhost"
$_NEXUS_URL_BASE = "http://repo.open.med.harvard.edu/nexus/content/groups/public/net/shrine"
$_SHRINE_SVN_URL_BASE = "https://open.med.harvard.edu/svn/shrine/releases/$_SHRINE_VERSION"
$_I2B2_IP_DEFAULT = $($_SHRINE_IP.Trim() + ":9090")
$_I2B2_PM_IP = $_I2B2_IP_DEFAULT
$_I2B2_ONT_IP = $_I2B2_IP_DEFAULT
$_I2B2_CRC_IP = $_I2B2_IP_DEFAULT
$_SHRINE_PORT = "6060"
$_SHRINE_SSL_PORT = "6443"
#Shrine, including the Tomcat application server that Shrine runs in, will be installed here.
$_SHRINE_HOME = "$__rootFolder\shrine"
#The directory containing the Tomcat application server that Shrine runs in.
$_SHRINE_TOMCAT_HOME = "$_SHRINE_HOME\tomcat"
#A directory on Tomcat'sclasspath, from which shrine.conf will be loaded
$_SHRINE_TOMCAT_LIB = "$_SHRINE_TOMCAT_HOME\lib"
#The primary Shrine config file
$_SHRINE_CONF_FILE = "$_SHRINE_TOMCAT_LIB\shrine.conf"
#Tomcat's main configuration file.
$_SHRINE_TOMCAT_SERVER_CONF = "$_SHRINE_TOMCAT_HOME\conf\server.xml"
#The location of the Shrine web app's context configuration file.
$_SHRINE_TOMCAT_APP_CONF = "$_SHRINE_TOMCAT_HOME\conf\Catalina\localhost\shrine.xml"
#The human-readable name of the Shrine node being installed. This string will appear in the web UI as a label on a source of query results.
$_SHRINE_NODE_NAME = "Washington University School of Medicine"
#The cryptographic keystore file used by Shrine.
$_KEYSTORE_FILE = "$_SHRINE_HOME\shrine.keystore"
#Default password for the keystore
$_KEYSTORE_PASSWORD = "changeit"
#Human-readable name for the cryptographic certificate generated for this Shrine node.
$_KEYSTORE_ALIAS = $env:COMPUTERNAME
#Human-readable name for the cryptographic certificate generated for this Shrine node.
$_KEYSTORE_HUMAN = $_SHRINE_NODE_NAME
#City where the node resides; will be included in generated cryptographic certificate.
$_KEYSTORE_CITY = "St. Louis"
#State where the node resides; will be included in generated cryptographic certificate.
$_KEYSTORE_STATE = "MO"
#Country where the node resides; will be included in generated cryptographic certificate.
$_KEYSTORE_COUNTRY = "US"
#The i2b2 user Shrine should use when making queries to an i2b2 hive.
$_SHRINE_ADAPTER_I2B2_USER = "demo"
#The password for the i2b2 user Shrine should use when making queries to an i2b2 hive.
$_SHRINE_ADAPTER_I2B2_PASSWORD = "demouser"
#The i2b2 project Shrine should use when making queries to an i2b2 hive.
$_SHRINE_ADAPTER_I2B2_PROJECT = "Demo"
#The i2b2 domain Shrine should use when making queries to an i2b2 hive.
#NB: This needs to match I2B2_DOMAIN_ID:
#$_SHRINE_ADAPTER_I2B2_DOMAIN = "i2b2demo"