-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbugs.txt
277 lines (222 loc) · 11.4 KB
/
bugs.txt
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
MB-37677 Ability to exclude 'sensitive' metakv entries on iterate
?METAKV_SENSITIVE
GET /_metakv/keyprefix
handle_get(Path, Req)
handle_iterate(Req, Path, Continuous)
iterate_matching
ns_config_iterate_matching
PUT /_metakv/key
menelaus_metakv:handle_put
curl -v 'http://Administrator:asdasd@localhost:9000/_metakv/eventing/'
{"rev":"g2wAAAABaAJtAAAAIDMyMTRjYmJmMzU3MTVlMDU3ZjViOGM3MmJjMDk2MjM0aAJhAW4FABTAF9gOag==","path":"/eventing/settings/config","value":"eyJyYW1fcXVvdGEiOjI1Nn0="}
curl -X PUT 'http://Administrator:asdasd@localhost:9000/_metakv/eventing/settings/test' -d 'value="1"'
curl -X PUT 'http://Administrator:asdasd@localhost:9000/_metakv/eventing/settings/blah' -d 'value=1&sensitive=true'
([email protected])3> metakv:get(<<"/eventing/settings/blah">>).
{value,<<"1">>,
[{<<"3214cbbf35715e057f5b8c72bc096234">>,{1,63755508557}}]}
{metakv,<<"/eventing/settings/blah">>},
[{'_vclock',
[{<<"3214cbbf35715e057f5b8c72bc096234">>,
{3,63755509212}}]}|
{metakv_sensitive,<<"1">>}]},
IterateChildren
./src/github.com/couchbase/cbgt/cfg_metakv.go 252:
./src/github.com/couchbase/query/datastore/system/system_keyspace_functions.go 210:
RunObserveChildren
ListAllChildren
{analytics_select,[bucket_name],
[{name,<<"Analytics Select">>},
{desc,<<"Can query datasets created on this bucket. This user can access the web console and read some data.">>}],
[{[{bucket,bucket_name},analytics],[select]},
{[ui],[read]},
{[pools],[read]}]},
[ns_server:debug,2020-05-20T15:33:49.102-07:00,[email protected]:<0.373.0>:menelaus_pluggable_ui:validate_plugin_spec:122]BLAH RRR {[{<<"service">>,<<"fts">>},
{<<"proxy-strategy">>,<<"sticky">>},
{<<"rest-api-prefixes">>,
{[{<<"fts">>,{[{<<"portName">>,<<"fts_http_port">>}]}}]}},
{<<"version-dirs">>,
[{[{<<"version">>,[5,0]},{<<"dir">>,<<".">>}]},
{[{<<"version">>,[7,0]},{<<"dir">>,<<".">>}]}]},
{<<"doc-root">>,
[<<"/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/cbft/../cbft/ns_server_static/fts">>]},
{<<"module">>,<<"main.js">>}],
[{plugin,views,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[["couchBase"|{prefix_props,capi_port,undefined}]],
[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
[],undefined,
{keep,["accept","accept-encoding","accept-language",
"authorization","cache-control","connection",
"content-type","pragma","user-agent","referer"]},
undefined}]}
[ns_server:debug,2020-05-20T15:33:49.103-07:00,[email protected]:<0.373.0>:menelaus_pluggable_ui:validate_plugin_spec:122]BLAH RRR {[{<<"service">>,<<"eventing">>},
{<<"proxy-strategy">>,<<"sticky">>},
{<<"rest-api-prefixes">>,
{[{<<"event">>,{[{<<"portName">>,<<"eventing_http_port">>}]}}]}},
{<<"version-dirs">>,
[{[{<<"version">>,[5,0]},{<<"dir">>,<<"ui-current">>}]},
{[{<<"version">>,[7,0]},{<<"dir">>,<<"ui-current">>}]}]},
{<<"doc-root">>,
<<"/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/eventing/ui/eventing-ui">>},
{<<"module">>,<<"main.js">>}],
[{plugin,fts,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],
[["fts"|{prefix_props,fts_http_port,undefined}]],
[],[],[],[],[],[],[]}}},
["/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/cbft/../cbft/ns_server_static/fts"],
[{[5,0],"."},{[7,0],"."}],
{drop,["content-length","transfer-encoding",
"ns-server-proxy-timeout"]},
<<"main.js">>},
{plugin,views,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[["couchBase"|{prefix_props,capi_port,undefined}]],
[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
[],undefined,
{keep,["accept","accept-encoding","accept-language",
"authorization","cache-control","connection",
"content-type","pragma","user-agent","referer"]},
undefined}]}
[ns_server:debug,2020-05-20T15:33:49.104-07:00,[email protected]:<0.373.0>:menelaus_pluggable_ui:validate_plugin_spec:122]BLAH RRR {[{<<"service">>,<<"n1ql">>},
{<<"proxy-strategy">>,<<"sticky">>},
{<<"rest-api-prefixes">>,
{[{<<"query">>,{[{<<"portName">>,<<"query_port">>}]}}]}},
{<<"version-dirs">>,
[{[{<<"version">>,[5,0]},{<<"dir">>,<<"ui-current">>}]},
{[{<<"version">>,[7,0]},{<<"dir">>,<<"ui-current">>}]}]},
{<<"doc-root">>,
<<"/Users/artem/work/cheshirecat/query-ui/query-ui">>},
{<<"module">>,<<"main.js">>}],
[{plugin,eventing,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[["event"|{prefix_props,eventing_http_port,undefined}]],
[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
["/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/eventing/ui/eventing-ui"],
[{[5,0],"ui-current"},{[7,0],"ui-current"}],
{drop,
["content-length","transfer-encoding",
"ns-server-proxy-timeout"]},
<<"main.js">>},
{plugin,fts,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],
[["fts"|{prefix_props,fts_http_port,undefined}]],
[],[],[],[],[],[],[]}}},
["/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/cbft/../cbft/ns_server_static/fts"],
[{[5,0],"."},{[7,0],"."}],
{drop,
["content-length","transfer-encoding",
"ns-server-proxy-timeout"]},
<<"main.js">>},
{plugin,views,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[["couchBase"|{prefix_props,capi_port,undefined}]],
[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
[],undefined,
{keep,
["accept","accept-encoding","accept-language",
"authorization","cache-control","connection",
"content-type","pragma","user-agent","referer"]},
undefined}]}
[ns_server:debug,2020-05-20T15:33:49.105-07:00,[email protected]:<0.373.0>:menelaus_pluggable_ui:validate_plugin_spec:122]BLAH RRR {[{<<"service">>,<<"cbas">>},
{<<"proxy-strategy">>,<<"sticky">>},
{<<"rest-api-prefixes">>,
{[{<<"cbas">>,{[{<<"portName">>,<<"cbas_http_port">>}]}}]}},
{<<"version-dirs">>,
[{[{<<"version">>,[5,0]},{<<"dir">>,<<".">>}]},
{[{<<"version">>,[7,0]},{<<"dir">>,<<".">>}]}]},
{<<"doc-root">>,
<<"/Users/artem/work/cheshirecat/cbas-ui/cbas-ui">>},
{<<"module">>,<<"main.js">>}],
[{plugin,n1ql,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],
[["query"|{prefix_props,query_port,undefined}]],
[],[]}}},
["/Users/artem/work/cheshirecat/query-ui/query-ui"],
[{[5,0],"ui-current"},{[7,0],"ui-current"}],
{drop,
["content-length","transfer-encoding",
"ns-server-proxy-timeout"]},
<<"main.js">>},
{plugin,eventing,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[["event"|{prefix_props,eventing_http_port,undefined}]],
[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
["/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/eventing/ui/eventing-ui"],
[{[5,0],"ui-current"},{[7,0],"ui-current"}],
{drop,
["content-length","transfer-encoding",
"ns-server-proxy-timeout"]},
<<"main.js">>},
{plugin,fts,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],
[["fts"|{prefix_props,fts_http_port,undefined}]],
[],[],[],[],[],[],[]}}},
["/Users/artem/work/cheshirecat/goproj/src/github.com/couchbase/cbft/../cbft/ns_server_static/fts"],
[{[5,0],"."},{[7,0],"."}],
{drop,
["content-length","transfer-encoding",
"ns-server-proxy-timeout"]},
<<"main.js">>},
{plugin,views,sticky,
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[["couchBase"|{prefix_props,capi_port,undefined}]],
[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
[],undefined,
{keep,
["accept","accept-encoding","accept-language",
"authorization","cache-control","connection",
"content-type","pragma","user-agent","referer"]},
undefined}]}
BLAH UND {<<"isModulePrefix">>,[{<<"portName">>,<<"fts_http_port">>}]}
BLAH UND {<<"request-headers-filter">>,
"version-dirs"
"module"
BLAH ENV "../build/cluster_run_ui_plugins/pluggable-ui-fts.cluster_run.json,../build/cluster_run_ui_plugins/pluggable-ui-eventing.cluster_run.json,../build/cluster_run_ui_plugins/pluggable-ui-query.cluster_run.json,../build/cluster_run_ui_plugins/pluggable-ui-cbas.cluster_run.json"
[ns_server:debug,2020-05-20T16:09:28.274-07:00,[email protected]:<0.220.0>:menelaus_pluggable_ui:find_plugin_spec_files_std:95]BLAH FIL "priv"
find_plugin_by_prefix
{name = Service,
request_headers_filter = HdrFilter,
rest_api_prefixes = Prefixes}
#plugin{name = Service, proxy_strategy = local}
doc_roots
get_fragments
export_module_getter
#plugin{name = Service,
version_dirs = VersionDirs,
module_prefix = ModulePrefix,
module = Module}
head_fragment
{name = Service, doc_roots = DocRoots,
version_dirs = VersionDirs}
dict {prefix -> {port, service}
dict {service -> #plugin}
#prefix_info
name
request_headers_filter
port_name
proxy_strategy
doc_roots
#head_fragment
name
doc_roots
version_dirs
module_prefix
module
"eabc5111e8eede75aa1fa28753e3e0ac"
"174633bc6af85d640a1992c24d0a398a"