Skip to content

Commit b2ad562

Browse files
committed
testing env
1 parent beabcb0 commit b2ad562

File tree

4 files changed

+81
-15
lines changed

4 files changed

+81
-15
lines changed

.vscode/launch.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"type": "extensionHost",
77
"request": "launch",
88
"args": [
9+
"${workspaceFolder}/test/project.code-workspace",
910
"--extensionDevelopmentPath=${workspaceFolder}"
1011
],
1112
"outFiles": [

connection.schema.json

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,13 @@
3030
"title": "Connect using",
3131
"type": "string",
3232
"minLength": 1,
33-
"enum": ["Server and Port", "Server Name"],
33+
"enum": ["Server and Port"],
3434
"default": "Server and Port"
35+
},
36+
"showSystem": {
37+
"title": "Show system items?",
38+
"type": "boolean",
39+
"default": false
3540
}
3641
},
3742
"dependencies": {
@@ -57,20 +62,7 @@
5762
"username": { "$ref": "#/definitions/username" },
5863
"askForPassword": { "$ref": "#/definitions/askForPassword" }
5964
},
60-
"required": ["server", "port", "namespace", "username"]
61-
},
62-
{
63-
"properties": {
64-
"connectionMethod": {
65-
"enum": ["Server Name"]
66-
},
67-
"serverName": {
68-
"title": "Server Name",
69-
"type": "string",
70-
"minLength": 1
71-
}
72-
},
73-
"required": ["serverName"]
65+
"required": ["server", "port", "username"]
7466
}
7567
]
7668
},

test/docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: "3.7"
2+
services:
3+
cache16:
4+
image: daimor/intersystems-cache:2016.2
5+
volumes:
6+
- ~/cache.key:/usr/cachesys/mgr/cache.key
7+
ports:
8+
- 57772:57772
9+
cache18:
10+
image: daimor/intersystems-cache:2018.1
11+
volumes:
12+
- ~/cache.key:/usr/cachesys/mgr/cache.key
13+
ports:
14+
- 57773:57772

test/project.code-workspace

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"folders": [
3+
{
4+
"path": ".",
5+
"name": "root"
6+
}
7+
],
8+
"settings": {
9+
"sqltools.useNodeRuntime": true,
10+
"sqltools.format": {
11+
"reservedWordCase": "upper",
12+
"linesBetweenQueries": "preserve"
13+
},
14+
"sqltools.debug": {
15+
"namespaces": "*"
16+
},
17+
"sqltools.connections": [
18+
{
19+
"askForPassword": false,
20+
"connectionMethod": "Server and Port",
21+
"driver": "InterSystems IRIS",
22+
"name": "Caché 2016.2",
23+
"namespace": "SAMPLES",
24+
"password": "SYS",
25+
"port": 57772,
26+
"previewLimit": 50,
27+
"server": "localhost",
28+
"showSystem": false,
29+
"username": "_SYSTEM"
30+
},
31+
{
32+
"askForPassword": false,
33+
"connectionMethod": "Server and Port",
34+
"driver": "InterSystems IRIS",
35+
"name": "Caché 2018.1",
36+
"namespace": "SAMPLES",
37+
"password": "SYS",
38+
"port": 57773,
39+
"previewLimit": 50,
40+
"server": "localhost",
41+
"showSystem": false,
42+
"username": "_SYSTEM"
43+
},
44+
{
45+
"askForPassword": false,
46+
"connectionMethod": "Server and Port",
47+
"driver": "InterSystems IRIS",
48+
"name": "InterSystems IRIS",
49+
"namespace": "USER",
50+
"password": "SYS",
51+
"port": 52773,
52+
"previewLimit": 50,
53+
"server": "localhost",
54+
"showSystem": false,
55+
"username": "_SYSTEM"
56+
}
57+
]
58+
}
59+
}

0 commit comments

Comments
 (0)