-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathreference.conf
194 lines (172 loc) · 4.82 KB
/
reference.conf
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
googleServices {
appName = "firecloud:sam"
appsDomain = "dev.test.firecloud.org"
environment = "local"
pathToPem = "/etc/sam-account.pem"
pathToDefaultCredentialJson = "fakePath"
serviceAccountClientId = "109949113883754608360"
serviceAccountClientEmail = "[email protected]"
serviceAccountClientProject = "broad-dsde-dev"
subEmail = "[email protected]"
projectServiceAccount = "[email protected]"
terraGoogleOrgNumber = "mock-org-number" # This org number needs to match what is specified in workbench-libs/google/src/main/scala/org/broadinstitute/dsde/workbench/google/HttpGoogleProjectDAO.scala.getAncestry
groupSync {
pubSubProject = proj
pollInterval = 10ms
pollJitter = 0s
pubSubTopic = top
pubSubSubscription = sub
workerCount = 1
}
disableUsers {
pubSubProject = proj
pollInterval = 10ms
pollJitter = 0s
pubSubTopic = top
pubSubSubscription = sub
workerCount = 1
}
notifications {
project = proj
topicName = "notifications"
}
googleKeyCache {
bucketName = "my-test-bucket"
activeKeyMaxAge = 25000 #test objects default to Jan 1 1970. Cranking this value up allows for test keys to be seen as active
retiredKeyMaxAge = 25048
monitor {
pubSubProject = "broad-dsde-dev"
pollInterval = 1m
pollJitter = 10s
pubSubTopic = "sam-google-key-cache"
pubSubSubscription = "sam-google-key-cache-sub"
workerCount = 1
}
}
kms {
project = "broad-dsde-dev"
location = "global"
keyRingId = "not-actually-used"
keyId = "dockerhub-key"
rotationPeriod = "180 days"
}
}
termsOfService {
enabled = false
version = 1
url = "app.terra.bio/#terms-of-service"
}
petServiceAccount {
googleProject = "my-pet-project"
serviceAccountUsers = ["[email protected]"]
}
testStuff = {
resourceTypes = {
testType = {
actionPatterns = {
alter_policies = {
description = ""
authDomainConstrainable = true
}
read_policies = {
description = ""
}
}
ownerRoleName = "owner"
roles = {
owner = {
roleActions = ["alter_policies", "read_policies"],
includedRoles = ["nonOwner"],
descendantRoles = {
otherType = ["owner"]
}
},
nonOwner = {
roleActions = []
}
}
reuseIds = false
}
}
# Test MRG in which to create managed identities
azure {
tenantId = "0cb7a640-45a2-4ed6-be9f-63519f86e04b"
subscriptionId = "3efc5bdf-be0e-44e7-b1d7-c08931e3c16c"
managedResourceGroupName = "mrg-terra-dev-previ-20220930130036"
}
}
// dummy value for testing only
oidc {
authorityEndpoint = "https://accounts.google.com"
oidcClientId = "some-client"
oidcClientSecret = "some-secret"
legacyGoogleClientId = "another-client"
}
liquibase {
changelog = "org/broadinstitute/dsde/sam/liquibase/changelog.xml"
initWithLiquibase = true
}
db {
enabled = true
enabled = ${?postgres.enabled}
sam_read {
poolName = "sam_read"
poolInitialSize = 5
poolMaxSize = 5
poolConnectionTimeoutMillis = 5000
driver = "org.postgresql.Driver"
url = "jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified"
user = "postgres"
password = "postgres"
}
sam_write {
poolName = "sam_write"
poolInitialSize = 5
poolMaxSize = 5
poolConnectionTimeoutMillis = 5000
driver = "org.postgresql.Driver"
url = "jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified"
user = "postgres"
password = "postgres"
}
// this background pool is used to test the status of a pool that cannot connect
sam_background {
poolName = "sam_background"
poolInitialSize = 5
poolMaxSize = 5
poolConnectionTimeoutMillis = 5000
driver = "org.postgresql.Driver"
url = "jdbc:postgresql://does_not_exist/testdb?stringtype=unspecified"
user = "postgres"
password = "postgres"
}
}
scalikejdbc.global.loggingSQLAndTime {
enabled = false, # switch this to true to print sql
singleLineMode = true, # switch this to false to see stack trace information about where sql was executed
printUnprocessedStackTrace = false,
stackTraceDepth= 15,
logLevel = warn, # this is set to warn so we don't have to fiddle with logback settings too
warningEnabled = false,
warningThresholdMillis = 3000,
warningLogLevel = warn
}
dataStore {
live = postgres
}
termsOfService {
enabled = false
isGracePeriodEnabled = false
version = 0
url = "app.terra.bio/#terms-of-service"
}
admin {
superAdminsGroup = "[email protected]"
allowedAdminEmailDomains = ["test.firecloud.org"]
}
prometheus {
endpointPort = 0
}
oidc {
oidcClientId = "0"
}