elastomer-cli 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +9 -0
- data/bin/elastomer +5 -0
- data/elastomer-cli.gemspec +30 -0
- data/lib/elastomer/cli/application.rb +11 -0
- data/lib/elastomer/cli/base.rb +20 -0
- data/lib/elastomer/cli/cluster.rb +96 -0
- data/lib/elastomer/cli/node.rb +33 -0
- data/lib/elastomer/cli/version.rb +5 -0
- data/lib/elastomer/cli.rb +19 -0
- data/script/bootstrap +5 -0
- data/script/cibuild +11 -0
- data/script/console +8 -0
- data/script/test +4 -0
- data/test/application_test.rb +17 -0
- data/test/cluster_test.rb +89 -0
- data/test/fixtures/vcr_cassettes/0_20.yml +114 -0
- data/test/fixtures/vcr_cassettes/0_90.yml +99 -0
- data/test/fixtures/vcr_cassettes/1_x.yml +539 -0
- data/test/fixtures/vcr_cassettes/default.yml +212 -0
- data/test/fixtures/vcr_cassettes/default_9201.yml +30 -0
- data/test/node_test.rb +24 -0
- data/test/test_helper.rb +47 -0
- metadata +194 -0
@@ -0,0 +1,99 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:9200/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=UTF-8
|
23
|
+
Content-Length:
|
24
|
+
- '309'
|
25
|
+
body:
|
26
|
+
encoding: UTF-8
|
27
|
+
string: |-
|
28
|
+
{
|
29
|
+
"ok" : true,
|
30
|
+
"status" : 200,
|
31
|
+
"name" : "boxen",
|
32
|
+
"version" : {
|
33
|
+
"number" : "0.90.5",
|
34
|
+
"build_hash" : "c8714e8e0620b62638f660f6144831792b9dedee",
|
35
|
+
"build_timestamp" : "2013-09-17T12:50:20Z",
|
36
|
+
"build_snapshot" : false,
|
37
|
+
"lucene_version" : "4.4"
|
38
|
+
},
|
39
|
+
"tagline" : "You Know, for Search"
|
40
|
+
}
|
41
|
+
http_version:
|
42
|
+
recorded_at: Wed, 18 Jun 2014 02:12:50 GMT
|
43
|
+
- request:
|
44
|
+
method: put
|
45
|
+
uri: http://localhost:9200/_cluster/settings
|
46
|
+
body:
|
47
|
+
encoding: UTF-8
|
48
|
+
string: '{"persistent":{"cluster.routing.allocation.disable_allocation":true}}'
|
49
|
+
headers:
|
50
|
+
User-Agent:
|
51
|
+
- Faraday v0.9.0
|
52
|
+
Content-Type:
|
53
|
+
- application/json
|
54
|
+
Accept-Encoding:
|
55
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
56
|
+
Accept:
|
57
|
+
- '*/*'
|
58
|
+
response:
|
59
|
+
status:
|
60
|
+
code: 200
|
61
|
+
message: OK
|
62
|
+
headers:
|
63
|
+
Content-Type:
|
64
|
+
- application/json; charset=UTF-8
|
65
|
+
Content-Length:
|
66
|
+
- '86'
|
67
|
+
body:
|
68
|
+
encoding: UTF-8
|
69
|
+
string: '{"persistent":{"cluster.routing.allocation.disable_allocation":"true"},"transient":{}}'
|
70
|
+
http_version:
|
71
|
+
recorded_at: Wed, 18 Jun 2014 02:12:50 GMT
|
72
|
+
- request:
|
73
|
+
method: get
|
74
|
+
uri: http://localhost:9200/_cluster/settings?flat_settings=true
|
75
|
+
body:
|
76
|
+
encoding: US-ASCII
|
77
|
+
string: ''
|
78
|
+
headers:
|
79
|
+
User-Agent:
|
80
|
+
- Faraday v0.9.0
|
81
|
+
Accept-Encoding:
|
82
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
+
Accept:
|
84
|
+
- '*/*'
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: OK
|
89
|
+
headers:
|
90
|
+
Content-Type:
|
91
|
+
- application/json; charset=UTF-8
|
92
|
+
Content-Length:
|
93
|
+
- '86'
|
94
|
+
body:
|
95
|
+
encoding: UTF-8
|
96
|
+
string: '{"persistent":{"cluster.routing.allocation.disable_allocation":"true"},"transient":{}}'
|
97
|
+
http_version:
|
98
|
+
recorded_at: Wed, 18 Jun 2014 02:12:50 GMT
|
99
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,539 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:9200/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=UTF-8
|
23
|
+
Content-Length:
|
24
|
+
- '292'
|
25
|
+
body:
|
26
|
+
encoding: UTF-8
|
27
|
+
string: |
|
28
|
+
{
|
29
|
+
"status" : 200,
|
30
|
+
"name" : "Bug",
|
31
|
+
"version" : {
|
32
|
+
"number" : "1.2.1",
|
33
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
34
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
35
|
+
"build_snapshot" : false,
|
36
|
+
"lucene_version" : "4.8"
|
37
|
+
},
|
38
|
+
"tagline" : "You Know, for Search"
|
39
|
+
}
|
40
|
+
http_version:
|
41
|
+
recorded_at: Wed, 18 Jun 2014 02:15:18 GMT
|
42
|
+
- request:
|
43
|
+
method: get
|
44
|
+
uri: http://localhost:9200/
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ''
|
48
|
+
headers:
|
49
|
+
User-Agent:
|
50
|
+
- Faraday v0.9.0
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- '*/*'
|
55
|
+
response:
|
56
|
+
status:
|
57
|
+
code: 200
|
58
|
+
message: OK
|
59
|
+
headers:
|
60
|
+
Content-Type:
|
61
|
+
- application/json; charset=UTF-8
|
62
|
+
Content-Length:
|
63
|
+
- '292'
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: |
|
67
|
+
{
|
68
|
+
"status" : 200,
|
69
|
+
"name" : "Bug",
|
70
|
+
"version" : {
|
71
|
+
"number" : "1.2.1",
|
72
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
73
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
74
|
+
"build_snapshot" : false,
|
75
|
+
"lucene_version" : "4.8"
|
76
|
+
},
|
77
|
+
"tagline" : "You Know, for Search"
|
78
|
+
}
|
79
|
+
http_version:
|
80
|
+
recorded_at: Wed, 18 Jun 2014 02:15:18 GMT
|
81
|
+
- request:
|
82
|
+
method: put
|
83
|
+
uri: http://localhost:9200/_cluster/settings
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: '{"persistent":{"cluster.routing.allocation.enable":"none"}}'
|
87
|
+
headers:
|
88
|
+
User-Agent:
|
89
|
+
- Faraday v0.9.0
|
90
|
+
Content-Type:
|
91
|
+
- application/json
|
92
|
+
Accept-Encoding:
|
93
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
94
|
+
Accept:
|
95
|
+
- '*/*'
|
96
|
+
response:
|
97
|
+
status:
|
98
|
+
code: 200
|
99
|
+
message: OK
|
100
|
+
headers:
|
101
|
+
Content-Type:
|
102
|
+
- application/json; charset=UTF-8
|
103
|
+
Content-Length:
|
104
|
+
- '106'
|
105
|
+
body:
|
106
|
+
encoding: UTF-8
|
107
|
+
string: '{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"enable":"none"}}}},"transient":{}}'
|
108
|
+
http_version:
|
109
|
+
recorded_at: Wed, 18 Jun 2014 02:15:18 GMT
|
110
|
+
- request:
|
111
|
+
method: get
|
112
|
+
uri: http://localhost:9200/_cluster/settings?flat_settings=true
|
113
|
+
body:
|
114
|
+
encoding: US-ASCII
|
115
|
+
string: ''
|
116
|
+
headers:
|
117
|
+
User-Agent:
|
118
|
+
- Faraday v0.9.0
|
119
|
+
Accept-Encoding:
|
120
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
121
|
+
Accept:
|
122
|
+
- '*/*'
|
123
|
+
response:
|
124
|
+
status:
|
125
|
+
code: 200
|
126
|
+
message: OK
|
127
|
+
headers:
|
128
|
+
Content-Type:
|
129
|
+
- application/json; charset=UTF-8
|
130
|
+
Content-Length:
|
131
|
+
- '172'
|
132
|
+
body:
|
133
|
+
encoding: UTF-8
|
134
|
+
string: '{"persistent":{"indices.ttl.interval":"50","cluster.routing.allocation.enable":"none"},"transient":{"indices.ttl.interval":"60","cluster.routing.allocation.enable":"true"}}'
|
135
|
+
http_version:
|
136
|
+
recorded_at: Wed, 18 Jun 2014 02:15:18 GMT
|
137
|
+
- request:
|
138
|
+
method: get
|
139
|
+
uri: http://localhost:9200/
|
140
|
+
body:
|
141
|
+
encoding: US-ASCII
|
142
|
+
string: ''
|
143
|
+
headers:
|
144
|
+
User-Agent:
|
145
|
+
- Faraday v0.9.0
|
146
|
+
Accept-Encoding:
|
147
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
148
|
+
Accept:
|
149
|
+
- '*/*'
|
150
|
+
response:
|
151
|
+
status:
|
152
|
+
code: 200
|
153
|
+
message: OK
|
154
|
+
headers:
|
155
|
+
Content-Type:
|
156
|
+
- application/json; charset=UTF-8
|
157
|
+
Content-Length:
|
158
|
+
- '292'
|
159
|
+
body:
|
160
|
+
encoding: UTF-8
|
161
|
+
string: |
|
162
|
+
{
|
163
|
+
"status" : 200,
|
164
|
+
"name" : "Bug",
|
165
|
+
"version" : {
|
166
|
+
"number" : "1.2.1",
|
167
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
168
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
169
|
+
"build_snapshot" : false,
|
170
|
+
"lucene_version" : "4.8"
|
171
|
+
},
|
172
|
+
"tagline" : "You Know, for Search"
|
173
|
+
}
|
174
|
+
http_version:
|
175
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
176
|
+
- request:
|
177
|
+
method: get
|
178
|
+
uri: http://localhost:9200/
|
179
|
+
body:
|
180
|
+
encoding: US-ASCII
|
181
|
+
string: ''
|
182
|
+
headers:
|
183
|
+
User-Agent:
|
184
|
+
- Faraday v0.9.0
|
185
|
+
Accept-Encoding:
|
186
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
187
|
+
Accept:
|
188
|
+
- '*/*'
|
189
|
+
response:
|
190
|
+
status:
|
191
|
+
code: 200
|
192
|
+
message: OK
|
193
|
+
headers:
|
194
|
+
Content-Type:
|
195
|
+
- application/json; charset=UTF-8
|
196
|
+
Content-Length:
|
197
|
+
- '292'
|
198
|
+
body:
|
199
|
+
encoding: UTF-8
|
200
|
+
string: |
|
201
|
+
{
|
202
|
+
"status" : 200,
|
203
|
+
"name" : "Bug",
|
204
|
+
"version" : {
|
205
|
+
"number" : "1.2.1",
|
206
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
207
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
208
|
+
"build_snapshot" : false,
|
209
|
+
"lucene_version" : "4.8"
|
210
|
+
},
|
211
|
+
"tagline" : "You Know, for Search"
|
212
|
+
}
|
213
|
+
http_version:
|
214
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
215
|
+
- request:
|
216
|
+
method: put
|
217
|
+
uri: http://localhost:9200/_cluster/settings
|
218
|
+
body:
|
219
|
+
encoding: UTF-8
|
220
|
+
string: '{"persistent":{"cluster.routing.allocation.enable":"primaries"}}'
|
221
|
+
headers:
|
222
|
+
User-Agent:
|
223
|
+
- Faraday v0.9.0
|
224
|
+
Content-Type:
|
225
|
+
- application/json
|
226
|
+
Accept-Encoding:
|
227
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
228
|
+
Accept:
|
229
|
+
- '*/*'
|
230
|
+
response:
|
231
|
+
status:
|
232
|
+
code: 200
|
233
|
+
message: OK
|
234
|
+
headers:
|
235
|
+
Content-Type:
|
236
|
+
- application/json; charset=UTF-8
|
237
|
+
Content-Length:
|
238
|
+
- '111'
|
239
|
+
body:
|
240
|
+
encoding: UTF-8
|
241
|
+
string: '{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"enable":"primaries"}}}},"transient":{}}'
|
242
|
+
http_version:
|
243
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
244
|
+
- request:
|
245
|
+
method: get
|
246
|
+
uri: http://localhost:9200/_cluster/settings?flat_settings=true
|
247
|
+
body:
|
248
|
+
encoding: US-ASCII
|
249
|
+
string: ''
|
250
|
+
headers:
|
251
|
+
User-Agent:
|
252
|
+
- Faraday v0.9.0
|
253
|
+
Accept-Encoding:
|
254
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
255
|
+
Accept:
|
256
|
+
- '*/*'
|
257
|
+
response:
|
258
|
+
status:
|
259
|
+
code: 200
|
260
|
+
message: OK
|
261
|
+
headers:
|
262
|
+
Content-Type:
|
263
|
+
- application/json; charset=UTF-8
|
264
|
+
Content-Length:
|
265
|
+
- '177'
|
266
|
+
body:
|
267
|
+
encoding: UTF-8
|
268
|
+
string: '{"persistent":{"indices.ttl.interval":"50","cluster.routing.allocation.enable":"primaries"},"transient":{"indices.ttl.interval":"60","cluster.routing.allocation.enable":"true"}}'
|
269
|
+
http_version:
|
270
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
271
|
+
- request:
|
272
|
+
method: get
|
273
|
+
uri: http://localhost:9200/
|
274
|
+
body:
|
275
|
+
encoding: US-ASCII
|
276
|
+
string: ''
|
277
|
+
headers:
|
278
|
+
User-Agent:
|
279
|
+
- Faraday v0.9.0
|
280
|
+
Accept-Encoding:
|
281
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
282
|
+
Accept:
|
283
|
+
- '*/*'
|
284
|
+
response:
|
285
|
+
status:
|
286
|
+
code: 200
|
287
|
+
message: OK
|
288
|
+
headers:
|
289
|
+
Content-Type:
|
290
|
+
- application/json; charset=UTF-8
|
291
|
+
Content-Length:
|
292
|
+
- '292'
|
293
|
+
body:
|
294
|
+
encoding: UTF-8
|
295
|
+
string: |
|
296
|
+
{
|
297
|
+
"status" : 200,
|
298
|
+
"name" : "Bug",
|
299
|
+
"version" : {
|
300
|
+
"number" : "1.2.1",
|
301
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
302
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
303
|
+
"build_snapshot" : false,
|
304
|
+
"lucene_version" : "4.8"
|
305
|
+
},
|
306
|
+
"tagline" : "You Know, for Search"
|
307
|
+
}
|
308
|
+
http_version:
|
309
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
310
|
+
- request:
|
311
|
+
method: get
|
312
|
+
uri: http://localhost:9200/
|
313
|
+
body:
|
314
|
+
encoding: US-ASCII
|
315
|
+
string: ''
|
316
|
+
headers:
|
317
|
+
User-Agent:
|
318
|
+
- Faraday v0.9.0
|
319
|
+
Accept-Encoding:
|
320
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
321
|
+
Accept:
|
322
|
+
- '*/*'
|
323
|
+
response:
|
324
|
+
status:
|
325
|
+
code: 200
|
326
|
+
message: OK
|
327
|
+
headers:
|
328
|
+
Content-Type:
|
329
|
+
- application/json; charset=UTF-8
|
330
|
+
Content-Length:
|
331
|
+
- '292'
|
332
|
+
body:
|
333
|
+
encoding: UTF-8
|
334
|
+
string: |
|
335
|
+
{
|
336
|
+
"status" : 200,
|
337
|
+
"name" : "Bug",
|
338
|
+
"version" : {
|
339
|
+
"number" : "1.2.1",
|
340
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
341
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
342
|
+
"build_snapshot" : false,
|
343
|
+
"lucene_version" : "4.8"
|
344
|
+
},
|
345
|
+
"tagline" : "You Know, for Search"
|
346
|
+
}
|
347
|
+
http_version:
|
348
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
349
|
+
- request:
|
350
|
+
method: put
|
351
|
+
uri: http://localhost:9200/_cluster/settings
|
352
|
+
body:
|
353
|
+
encoding: UTF-8
|
354
|
+
string: '{"persistent":{"cluster.routing.allocation.enable":"new_primaries"}}'
|
355
|
+
headers:
|
356
|
+
User-Agent:
|
357
|
+
- Faraday v0.9.0
|
358
|
+
Content-Type:
|
359
|
+
- application/json
|
360
|
+
Accept-Encoding:
|
361
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
362
|
+
Accept:
|
363
|
+
- '*/*'
|
364
|
+
response:
|
365
|
+
status:
|
366
|
+
code: 200
|
367
|
+
message: OK
|
368
|
+
headers:
|
369
|
+
Content-Type:
|
370
|
+
- application/json; charset=UTF-8
|
371
|
+
Content-Length:
|
372
|
+
- '115'
|
373
|
+
body:
|
374
|
+
encoding: UTF-8
|
375
|
+
string: '{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"enable":"new_primaries"}}}},"transient":{}}'
|
376
|
+
http_version:
|
377
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
378
|
+
- request:
|
379
|
+
method: get
|
380
|
+
uri: http://localhost:9200/_cluster/settings?flat_settings=true
|
381
|
+
body:
|
382
|
+
encoding: US-ASCII
|
383
|
+
string: ''
|
384
|
+
headers:
|
385
|
+
User-Agent:
|
386
|
+
- Faraday v0.9.0
|
387
|
+
Accept-Encoding:
|
388
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
389
|
+
Accept:
|
390
|
+
- '*/*'
|
391
|
+
response:
|
392
|
+
status:
|
393
|
+
code: 200
|
394
|
+
message: OK
|
395
|
+
headers:
|
396
|
+
Content-Type:
|
397
|
+
- application/json; charset=UTF-8
|
398
|
+
Content-Length:
|
399
|
+
- '181'
|
400
|
+
body:
|
401
|
+
encoding: UTF-8
|
402
|
+
string: '{"persistent":{"indices.ttl.interval":"50","cluster.routing.allocation.enable":"new_primaries"},"transient":{"indices.ttl.interval":"60","cluster.routing.allocation.enable":"true"}}'
|
403
|
+
http_version:
|
404
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
405
|
+
- request:
|
406
|
+
method: get
|
407
|
+
uri: http://localhost:9200/
|
408
|
+
body:
|
409
|
+
encoding: US-ASCII
|
410
|
+
string: ''
|
411
|
+
headers:
|
412
|
+
User-Agent:
|
413
|
+
- Faraday v0.9.0
|
414
|
+
Accept-Encoding:
|
415
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
416
|
+
Accept:
|
417
|
+
- '*/*'
|
418
|
+
response:
|
419
|
+
status:
|
420
|
+
code: 200
|
421
|
+
message: OK
|
422
|
+
headers:
|
423
|
+
Content-Type:
|
424
|
+
- application/json; charset=UTF-8
|
425
|
+
Content-Length:
|
426
|
+
- '292'
|
427
|
+
body:
|
428
|
+
encoding: UTF-8
|
429
|
+
string: |
|
430
|
+
{
|
431
|
+
"status" : 200,
|
432
|
+
"name" : "Bug",
|
433
|
+
"version" : {
|
434
|
+
"number" : "1.2.1",
|
435
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
436
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
437
|
+
"build_snapshot" : false,
|
438
|
+
"lucene_version" : "4.8"
|
439
|
+
},
|
440
|
+
"tagline" : "You Know, for Search"
|
441
|
+
}
|
442
|
+
http_version:
|
443
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
444
|
+
- request:
|
445
|
+
method: get
|
446
|
+
uri: http://localhost:9200/
|
447
|
+
body:
|
448
|
+
encoding: US-ASCII
|
449
|
+
string: ''
|
450
|
+
headers:
|
451
|
+
User-Agent:
|
452
|
+
- Faraday v0.9.0
|
453
|
+
Accept-Encoding:
|
454
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
455
|
+
Accept:
|
456
|
+
- '*/*'
|
457
|
+
response:
|
458
|
+
status:
|
459
|
+
code: 200
|
460
|
+
message: OK
|
461
|
+
headers:
|
462
|
+
Content-Type:
|
463
|
+
- application/json; charset=UTF-8
|
464
|
+
Content-Length:
|
465
|
+
- '292'
|
466
|
+
body:
|
467
|
+
encoding: UTF-8
|
468
|
+
string: |
|
469
|
+
{
|
470
|
+
"status" : 200,
|
471
|
+
"name" : "Bug",
|
472
|
+
"version" : {
|
473
|
+
"number" : "1.2.1",
|
474
|
+
"build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
|
475
|
+
"build_timestamp" : "2014-06-03T15:02:52Z",
|
476
|
+
"build_snapshot" : false,
|
477
|
+
"lucene_version" : "4.8"
|
478
|
+
},
|
479
|
+
"tagline" : "You Know, for Search"
|
480
|
+
}
|
481
|
+
http_version:
|
482
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
483
|
+
- request:
|
484
|
+
method: put
|
485
|
+
uri: http://localhost:9200/_cluster/settings
|
486
|
+
body:
|
487
|
+
encoding: UTF-8
|
488
|
+
string: '{"persistent":{"cluster.routing.allocation.enable":"none"}}'
|
489
|
+
headers:
|
490
|
+
User-Agent:
|
491
|
+
- Faraday v0.9.0
|
492
|
+
Content-Type:
|
493
|
+
- application/json
|
494
|
+
Accept-Encoding:
|
495
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
496
|
+
Accept:
|
497
|
+
- '*/*'
|
498
|
+
response:
|
499
|
+
status:
|
500
|
+
code: 200
|
501
|
+
message: OK
|
502
|
+
headers:
|
503
|
+
Content-Type:
|
504
|
+
- application/json; charset=UTF-8
|
505
|
+
Content-Length:
|
506
|
+
- '106'
|
507
|
+
body:
|
508
|
+
encoding: UTF-8
|
509
|
+
string: '{"acknowledged":true,"persistent":{"cluster":{"routing":{"allocation":{"enable":"none"}}}},"transient":{}}'
|
510
|
+
http_version:
|
511
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
512
|
+
- request:
|
513
|
+
method: get
|
514
|
+
uri: http://localhost:9200/_cluster/settings?flat_settings=true
|
515
|
+
body:
|
516
|
+
encoding: US-ASCII
|
517
|
+
string: ''
|
518
|
+
headers:
|
519
|
+
User-Agent:
|
520
|
+
- Faraday v0.9.0
|
521
|
+
Accept-Encoding:
|
522
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
523
|
+
Accept:
|
524
|
+
- '*/*'
|
525
|
+
response:
|
526
|
+
status:
|
527
|
+
code: 200
|
528
|
+
message: OK
|
529
|
+
headers:
|
530
|
+
Content-Type:
|
531
|
+
- application/json; charset=UTF-8
|
532
|
+
Content-Length:
|
533
|
+
- '172'
|
534
|
+
body:
|
535
|
+
encoding: UTF-8
|
536
|
+
string: '{"persistent":{"indices.ttl.interval":"50","cluster.routing.allocation.enable":"none"},"transient":{"indices.ttl.interval":"60","cluster.routing.allocation.enable":"true"}}'
|
537
|
+
http_version:
|
538
|
+
recorded_at: Wed, 18 Jun 2014 02:17:19 GMT
|
539
|
+
recorded_with: VCR 2.9.2
|