-
Notifications
You must be signed in to change notification settings - Fork 902
/
Copy pathvalid-unix_socket-absolute.yml
209 lines (209 loc) · 6.14 KB
/
valid-unix_socket-absolute.yml
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
tests:
-
description: "Unix domain socket (absolute path with trailing slash)"
uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock/"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Unix domain socket (absolute path without trailing slash)"
uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Unix domain socket (mixed case)"
uri: "mongodb://%2Ftmp%2FMongoDB-27017.sock"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/MongoDB-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Unix domain socket (absolute path with spaces in path)"
uri: "mongodb://%2Ftmp%2F %2Fmongodb-27017.sock"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/ /mongodb-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Multiple Unix domain sockets (absolute paths)"
uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
-
type: "unix"
host: "/tmp/mongodb-27018.sock"
port: ~
auth: ~
options: ~
-
description: "Multiple hosts (absolute path and ipv4)"
uri: "mongodb://127.0.0.1:27017,%2Ftmp%2Fmongodb-27017.sock"
valid: true
warning: false
hosts:
-
type: "ipv4"
host: "127.0.0.1"
port: 27017
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Multiple hosts (absolute path and hostname resembling relative path)"
uri: "mongodb://mongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock"
valid: true
warning: false
hosts:
-
type: "hostname"
host: "mongodb-27017.sock"
port: ~
-
type: "unix"
host: "/tmp/mongodb-27018.sock"
port: ~
auth: ~
options: ~
-
description: "Unix domain socket with auth database (absolute path)"
uri: "mongodb://alice:foo@%2Ftmp%2Fmongodb-27017.sock/admin"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
auth:
username: "alice"
password: "foo"
db: "admin"
options: ~
-
description: "Unix domain socket with path resembling socket file (absolute path with trailing slash)"
uri: "mongodb://%2Ftmp%2Fpath.to.sock%2Fmongodb-27017.sock/"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/path.to.sock/mongodb-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Unix domain socket with path resembling socket file (absolute path without trailing slash)"
uri: "mongodb://%2Ftmp%2Fpath.to.sock%2Fmongodb-27017.sock"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/path.to.sock/mongodb-27017.sock"
port: ~
auth: ~
options: ~
-
description: "Unix domain socket with path resembling socket file and auth (absolute path)"
uri: "mongodb://bob:bar@%2Ftmp%2Fpath.to.sock%2Fmongodb-27017.sock/admin"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/path.to.sock/mongodb-27017.sock"
port: ~
auth:
username: "bob"
password: "bar"
db: "admin"
options: ~
-
description: "Multiple Unix domain sockets and auth DB (absolute path)"
uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
-
type: "unix"
host: "/tmp/mongodb-27018.sock"
port: ~
auth:
username: ~
password: ~
db: "admin"
options: ~
-
description: "Multiple Unix domain sockets with auth DB (absolute path)"
uri: "mongodb://%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
-
type: "unix"
host: "/tmp/mongodb-27018.sock"
port: ~
auth:
username: ~
password: ~
db: "admin"
options: ~
-
description: "Multiple Unix domain sockets with auth and query string (absolute path)"
uri: "mongodb://bob:bar@%2Ftmp%2Fmongodb-27017.sock,%2Ftmp%2Fmongodb-27018.sock/admin?w=1"
valid: true
warning: false
hosts:
-
type: "unix"
host: "/tmp/mongodb-27017.sock"
port: ~
-
type: "unix"
host: "/tmp/mongodb-27018.sock"
port: ~
auth:
username: "bob"
password: "bar"
db: "admin"
options:
w: 1