-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.json
216 lines (216 loc) · 9.56 KB
/
settings.json
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"java.configuration.updateBuildConfiguration": "automatic",
"docker.commands.composeUp": [
{
"label": "default",
"template": "docker-compose -${configurationFile} up -d"
},
{
"label": "default - rebuild",
"template": "docker-compose ${configurationFile} up -d --build"
},
{
"label": "mysql-rspec",
"template": "docker-compose -f mrt-services/mysql-rspec.yml up -d"
},
{
"label": "local merritt",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/local.yml up -d"
},
{
"label": "local merritt + UI",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/ui.yml -f mrt-services/local.yml up -d"
},
{
"label": "local merritt -- rebuild",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/local.yml up -d --build"
},
{
"label": "local merritt + UI -- rebuild",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/ui.yml -f mrt-services/local.yml up -d --build"
},
{
"label": "EC2 merritt",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml up -d"
},
{
"label": "EC2 merritt + opensearch",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/opensearch.yml up -d"
},
{
"label": "EC2 merritt + opensearch rebuild",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/opensearch.yml up -d --build"
},
{
"label": "EC2 merritt -- DEV DATABASE",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/docker-dev.yml up -d"
},
{
"label": "EC2 merritt -- DEV DATABASE + UI",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/docker-dev.yml -f mrt-services/ui.yml up -d"
},
{
"label": "EC2 merritt -- DEV DATABASE rebuild",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/docker-dev.yml up -d --build"
},
{
"label": "EC2 merritt -- rebuild",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml up -d --build"
},
{
"label": "EC2 merritt -- debug ingest",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/debug-ingest.yml up -d"
},
{
"label": "EC2 merritt -- debug inventory",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/debug-inventory.yml up -d"
},
{
"label": "EC2 merritt -- debug storage",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/debug-storage.yml up -d"
},
{
"label": "local merritt -- debug storage",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/local.yml -f mrt-services/debug-storage.yml up -d"
},
{
"label": "EC2 merritt -- debug ui",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/debug-ui.yml up -d"
},
{
"label": "EC2 merritt with ui",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/ui.yml up -d"
},
{
"label": "EC2 merritt with ui -- rebuild",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/ui.yml up -d --build"
},
{
"label": "EC2 merritt with ui -- debug ui",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/ui.yml -f mrt-services/debug-ui.yml up -d"
},
{
"label": "EC2 merritt -- debug audit",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/debug-audit.yml up -d"
},
{
"label": "EC2 merritt -- debug replic",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/debug-replic.yml up -d"
},
{
"label": "Integ Test INV",
"template": "MDIR=$PWD/mrt-services/inventory/mrt-inventory docker-compose -f mrt-services/inventory/mrt-inventory/inv-it/src/test/docker/docker-compose.yml up -d"
},
{
"label": "Integ Test STORE",
"template": "MDIR=$PWD/mrt-services/store/mrt-store docker-compose -f mrt-services/store/mrt-store/store-it/src/test/docker/docker-compose.yml up -d"
},
{
"label": "Integ Test INGEST",
"template": "MDIR=$PWD/mrt-services/ingest/mrt-ingest docker-compose -f mrt-services/ingest/mrt-ingest/ingest-it/src/test/docker/docker-compose.yml up -d"
},
{
"label": "Integ Test AUDIT",
"template": "MDIR=$PWD/mrt-services/audit/mrt-audit docker-compose -f mrt-services/audit/mrt-audit/audit-it/src/test/docker/docker-compose.yml up -d"
},
{
"label": "Integ Test REPLIC",
"template": "MDIR=$PWD/mrt-services/replic/mrt-replic docker-compose -f mrt-services/replic/mrt-replic/replication-it/src/test/docker/docker-compose.yml up -d"
},
],
"docker.commands.composeDown": [
{
"label": "default",
"template": "docker-compose ${configurationFile} down"
},
{
"label": "merritt",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml down"
},
{
"label": "merritt + opensearch",
"template": "docker-compose -p merritt -f mrt-services/docker-compose.yml -f mrt-services/opensearch.yml down --volume"
},
{
"label": "Integ Test INV",
"template": "MDIR=$PWD/mrt-services/inventory/mrt-inventory docker-compose -f mrt-services/inventory/mrt-inventory/inv-it/src/test/docker/docker-compose.yml down"
},
{
"label": "Integ Test STORE",
"template": "MDIR=$PWD/mrt-services/store/mrt-store docker-compose -f mrt-services/store/mrt-store/store-it/src/test/docker/docker-compose.yml down"
},
{
"label": "Integ Test INGEST",
"template": "MDIR=$PWD/mrt-services/ingest/mrt-ingest docker-compose -f mrt-services/ingest/mrt-ingest/ingest-it/src/test/docker/docker-compose.yml down"
},
{
"label": "Integ Test AUDIT",
"template": "MDIR=$PWD/mrt-services/audit/mrt-audit docker-compose -f mrt-services/audit/mrt-audit/audit-it/src/test/docker/docker-compose.yml down"
},
{
"label": "Integ Test REPLIC",
"template": "MDIR=$PWD/mrt-services/replic/mrt-replic docker-compose -f mrt-services/replic/mrt-replic/replication-it/src/test/docker/docker-compose.yml down"
},
],
"docker.commands.attach": [
{
"label": "default",
"template": "docker exec -it ${containerId} ${shellCommand}"
},
{
"label": "list queues",
"template": "docker exec -it zoo zkCli.sh ls /"
},
{
"label": "list ingest queue",
"template": "docker exec -it zoo zkCli.sh ls /ingest"
},
{
"label": "list inventory queue",
"template": "docker exec -it zoo zkCli.sh ls /mrt.inventory.full"
},
{
"label": "list access small queue",
"template": "docker exec -it zoo zkCli.sh ls /accessSmall.1"
},
{
"label": "list access large queue",
"template": "docker exec -it zoo zkCli.sh ls /accessLarge.1"
},
{
"label": "list locks",
"template": "docker exec -it zoo zkCli.sh ls /mrt.lock"
},
{
"label": "list mysql processes",
"template": "docker exec -it db-container mysql -u user --password=password --database=db-name -e 'show processlist; '"
},
{
"label": "mysql session",
"template": "docker exec -it db-container mysql -u user --password=password --database=db-name"
},
{
"label": "tail audit log",
"template": "docker exec -it audit tail -f /tdr/tmpdir/logs/audit`date +'%y%m%d'`.log"
},
{
"label": "tail replic log",
"template": "docker exec -it replic tail -f /tdr/tmpdir/logs/inv`date +'%y%m%d'`.log"
},
{
"label": "tail ui log",
"template": "docker exec -it ui tail -f log/docker.log"
},
],
"liveServer.settings.port": 8099,
"java.compile.nullAnalysis.mode": "automatic",
"java.debug.settings.onBuildFailureProceed": true,
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable",
"workbench.colorTheme": "Solarized Dark",
}