droonga-engine 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/benchmark/timer-watcher/benchmark.rb +44 -0
- data/bin/droonga-engine-absorb-data +246 -187
- data/bin/droonga-engine-catalog-generate +12 -12
- data/bin/droonga-engine-catalog-modify +4 -4
- data/bin/droonga-engine-join +352 -171
- data/bin/droonga-engine-set-role +54 -0
- data/bin/droonga-engine-unjoin +107 -112
- data/droonga-engine.gemspec +3 -3
- data/install.sh +55 -36
- data/install/centos/functions.sh +2 -2
- data/install/debian/functions.sh +2 -2
- data/lib/droonga/address.rb +26 -24
- data/lib/droonga/buffered_tcp_socket.rb +65 -10
- data/lib/droonga/catalog/base.rb +9 -6
- data/lib/droonga/catalog/dataset.rb +17 -41
- data/lib/droonga/catalog/fetcher.rb +64 -0
- data/lib/droonga/catalog/generator.rb +245 -0
- data/lib/droonga/catalog/loader.rb +66 -0
- data/lib/droonga/{catalog_modifier.rb → catalog/modifier.rb} +11 -18
- data/lib/droonga/catalog/replicas_volume.rb +123 -0
- data/lib/droonga/catalog/schema.rb +37 -37
- data/lib/droonga/catalog/single_volume.rb +11 -3
- data/lib/droonga/catalog/slice.rb +10 -6
- data/lib/droonga/catalog/{collection_volume.rb → slices_volume.rb} +47 -11
- data/lib/droonga/catalog/version1.rb +47 -19
- data/lib/droonga/catalog/version2.rb +11 -10
- data/lib/droonga/catalog/version2_validator.rb +4 -4
- data/lib/droonga/catalog/volume.rb +17 -5
- data/lib/droonga/changable.rb +25 -0
- data/lib/droonga/cluster.rb +237 -0
- data/lib/droonga/collector_runner.rb +4 -0
- data/lib/droonga/collectors.rb +2 -1
- data/lib/droonga/collectors/recursive_sum.rb +26 -0
- data/lib/droonga/command/droonga_engine.rb +404 -127
- data/lib/droonga/command/droonga_engine_service.rb +47 -11
- data/lib/droonga/command/droonga_engine_worker.rb +21 -1
- data/lib/droonga/command/remote_command_base.rb +78 -0
- data/lib/droonga/command/serf_event_handler.rb +29 -20
- data/lib/droonga/data_absorber_client.rb +222 -0
- data/lib/droonga/database_scanner.rb +106 -0
- data/lib/droonga/{live_nodes_list_loader.rb → deferrable.rb} +11 -24
- data/lib/droonga/differ.rb +58 -0
- data/lib/droonga/dispatcher.rb +155 -32
- data/lib/droonga/distributed_command_planner.rb +9 -11
- data/lib/droonga/engine.rb +83 -78
- data/lib/droonga/engine/version.rb +1 -1
- data/lib/droonga/engine_node.rb +301 -0
- data/lib/droonga/engine_state.rb +62 -40
- data/lib/droonga/farm.rb +44 -5
- data/lib/droonga/file_observer.rb +16 -12
- data/lib/droonga/fluent_message_receiver.rb +98 -29
- data/lib/droonga/fluent_message_sender.rb +30 -23
- data/lib/droonga/forward_buffer.rb +160 -0
- data/lib/droonga/forwarder.rb +73 -40
- data/lib/droonga/handler.rb +7 -6
- data/lib/droonga/handler_messenger.rb +15 -6
- data/lib/droonga/handler_runner.rb +6 -1
- data/lib/droonga/internal_fluent_message_receiver.rb +28 -8
- data/lib/droonga/job_pusher.rb +10 -7
- data/lib/droonga/job_receiver.rb +6 -4
- data/lib/droonga/logger.rb +7 -1
- data/lib/droonga/node_name.rb +90 -0
- data/lib/droonga/node_role.rb +72 -0
- data/lib/droonga/path.rb +34 -9
- data/lib/droonga/planner.rb +73 -7
- data/lib/droonga/plugin/async_command.rb +154 -0
- data/lib/droonga/plugins/catalog.rb +1 -0
- data/lib/droonga/plugins/crud.rb +22 -6
- data/lib/droonga/plugins/dump.rb +66 -135
- data/lib/droonga/plugins/groonga/delete.rb +13 -0
- data/lib/droonga/plugins/search/distributed_search_planner.rb +4 -4
- data/lib/droonga/plugins/system.rb +5 -26
- data/lib/droonga/plugins/system/absorb_data.rb +405 -0
- data/lib/droonga/plugins/system/statistics.rb +71 -0
- data/lib/droonga/plugins/system/status.rb +53 -0
- data/lib/droonga/process_control_protocol.rb +3 -1
- data/lib/droonga/process_supervisor.rb +32 -15
- data/lib/droonga/reducer.rb +69 -0
- data/lib/droonga/safe_file_writer.rb +1 -1
- data/lib/droonga/serf.rb +207 -276
- data/lib/droonga/serf/agent.rb +228 -0
- data/lib/droonga/serf/command.rb +94 -0
- data/lib/droonga/serf/downloader.rb +120 -0
- data/lib/droonga/serf/remote_command.rb +348 -0
- data/lib/droonga/serf/tag.rb +56 -0
- data/lib/droonga/service_installation.rb +2 -2
- data/lib/droonga/session.rb +49 -1
- data/lib/droonga/single_step.rb +6 -11
- data/lib/droonga/single_step_definition.rb +32 -1
- data/lib/droonga/slice.rb +14 -9
- data/lib/droonga/supervisor.rb +27 -20
- data/lib/droonga/test/stub_handler_messenger.rb +2 -1
- data/lib/droonga/timestamp.rb +69 -0
- data/lib/droonga/worker_process_agent.rb +33 -15
- data/sample/cluster-state.json +8 -0
- data/sample/cluster/Rakefile +30 -6
- data/test/command/fixture/integer-key-table.jsons +11 -0
- data/test/command/fixture/string-key-table.jsons +11 -0
- data/test/command/run-test.rb +4 -0
- data/test/command/suite/add/error/invalid-integer.expected +3 -3
- data/test/command/suite/add/error/invalid-time.expected +3 -3
- data/test/command/suite/add/{minimum.expected → key-integer.expected} +0 -0
- data/test/command/suite/add/{minimum.test → key-integer.test} +0 -0
- data/test/command/suite/add/key-string.expected +6 -0
- data/test/command/suite/add/key-string.test +9 -0
- data/test/command/suite/add/mismatched-key-type/acceptable/integer-for-string.expected +6 -0
- data/test/command/suite/add/mismatched-key-type/acceptable/integer-for-string.test +9 -0
- data/test/command/suite/add/mismatched-key-type/acceptable/string-for-integer.expected +6 -0
- data/test/command/suite/add/mismatched-key-type/acceptable/string-for-integer.test +9 -0
- data/test/command/suite/add/without-values.expected +6 -0
- data/test/command/suite/add/without-values.test +11 -0
- data/test/command/suite/dump/column/index.expected +33 -1
- data/test/command/suite/dump/column/index.test +1 -0
- data/test/command/suite/dump/column/scalar.expected +29 -1
- data/test/command/suite/dump/column/scalar.test +1 -0
- data/test/command/suite/dump/column/vector.expected +29 -1
- data/test/command/suite/dump/column/vector.test +1 -0
- data/test/command/suite/dump/record/scalar.catalog.json +12 -0
- data/test/command/suite/dump/record/scalar.expected +84 -0
- data/test/command/suite/dump/record/scalar.test +16 -0
- data/test/command/suite/dump/record/vector/reference.expected +83 -1
- data/test/command/suite/dump/record/vector/reference.test +1 -0
- data/test/command/suite/dump/table/array.expected +27 -1
- data/test/command/suite/dump/table/array.test +1 -0
- data/test/command/suite/dump/table/double_array_trie.expected +27 -1
- data/test/command/suite/dump/table/double_array_trie.test +1 -0
- data/test/command/suite/dump/table/hash.expected +27 -1
- data/test/command/suite/dump/table/hash.test +1 -0
- data/test/command/suite/dump/table/patricia_trie.expected +27 -1
- data/test/command/suite/dump/table/patricia_trie.test +1 -0
- data/test/command/suite/groonga/delete/{success.expected → key-integer.expected} +0 -0
- data/test/command/suite/groonga/delete/key-integer.test +17 -0
- data/test/command/suite/groonga/delete/key-string.expected +19 -0
- data/test/command/suite/groonga/delete/{success.test → key-string.test} +4 -6
- data/test/command/suite/groonga/delete/mismatched-type-key/acceptable/integer-for-string.expected +19 -0
- data/test/command/suite/groonga/delete/mismatched-type-key/acceptable/integer-for-string.test +17 -0
- data/test/command/suite/groonga/delete/mismatched-type-key/acceptable/string-for-integer.expected +19 -0
- data/test/command/suite/groonga/delete/mismatched-type-key/acceptable/string-for-integer.test +17 -0
- data/test/command/suite/message/error/missing-dataset.test +1 -0
- data/test/command/suite/system/absorb-data/records.catalog.json +58 -0
- data/test/command/suite/system/absorb-data/records.expected +32 -0
- data/test/command/suite/system/absorb-data/records.test +24 -0
- data/test/command/suite/system/statistics/object/count/empty.expected +11 -0
- data/test/command/suite/system/statistics/object/count/empty.test +12 -0
- data/test/command/suite/system/statistics/object/count/per-volume/empty.catalog.json +36 -0
- data/test/command/suite/system/statistics/object/count/per-volume/empty.expected +19 -0
- data/test/command/suite/system/statistics/object/count/per-volume/empty.test +12 -0
- data/test/command/suite/system/statistics/object/count/per-volume/record.catalog.json +40 -0
- data/test/command/suite/system/statistics/object/count/per-volume/record.expected +19 -0
- data/test/command/suite/system/statistics/object/count/per-volume/record.test +23 -0
- data/test/command/suite/system/statistics/object/count/per-volume/schema.catalog.json +40 -0
- data/test/command/suite/system/statistics/object/count/per-volume/schema.expected +19 -0
- data/test/command/suite/system/statistics/object/count/per-volume/schema.test +13 -0
- data/test/command/suite/system/statistics/object/count/record.catalog.json +12 -0
- data/test/command/suite/system/statistics/object/count/record.expected +11 -0
- data/test/command/suite/system/statistics/object/count/record.test +23 -0
- data/test/command/suite/system/statistics/object/count/schema.catalog.json +12 -0
- data/test/command/suite/system/statistics/object/count/schema.expected +11 -0
- data/test/command/suite/system/statistics/object/count/schema.test +13 -0
- data/test/command/suite/system/status.expected +3 -2
- data/test/unit/catalog/test_dataset.rb +4 -1
- data/test/unit/{test_catalog_generator.rb → catalog/test_generator.rb} +2 -2
- data/test/unit/catalog/test_replicas_volume.rb +79 -0
- data/test/unit/catalog/test_single_volume.rb +2 -2
- data/test/unit/catalog/test_slice.rb +33 -1
- data/test/unit/catalog/{test_collection_volume.rb → test_slices_volume.rb} +72 -11
- data/test/unit/catalog/test_version2.rb +3 -0
- data/test/unit/helper/distributed_search_planner_helper.rb +2 -2
- data/test/unit/plugins/catalog/test_fetch.rb +4 -4
- data/test/unit/plugins/crud/test_add.rb +44 -4
- data/test/unit/plugins/groonga/test_column_create.rb +4 -4
- data/test/unit/plugins/groonga/test_column_list.rb +4 -4
- data/test/unit/plugins/groonga/test_column_remove.rb +4 -4
- data/test/unit/plugins/groonga/test_column_rename.rb +4 -4
- data/test/unit/plugins/groonga/test_delete.rb +73 -10
- data/test/unit/plugins/groonga/test_table_create.rb +4 -4
- data/test/unit/plugins/groonga/test_table_list.rb +4 -4
- data/test/unit/plugins/groonga/test_table_remove.rb +4 -4
- data/test/unit/plugins/search/test_handler.rb +4 -4
- data/test/unit/plugins/search/test_planner.rb +4 -2
- data/test/unit/plugins/system/test_status.rb +31 -15
- data/test/unit/plugins/test_watch.rb +16 -16
- data/test/unit/test_address.rb +4 -4
- metadata +134 -35
- data/lib/droonga/catalog/volume_collection.rb +0 -79
- data/lib/droonga/catalog_fetcher.rb +0 -53
- data/lib/droonga/catalog_generator.rb +0 -243
- data/lib/droonga/catalog_loader.rb +0 -56
- data/lib/droonga/command/remote.rb +0 -404
- data/lib/droonga/data_absorber.rb +0 -264
- data/lib/droonga/node_status.rb +0 -71
- data/lib/droonga/serf_downloader.rb +0 -115
- data/test/unit/catalog/test_volume_collection.rb +0 -78
@@ -1,22 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"inReplyTo": "request-id",
|
3
3
|
"dataset": "Default",
|
4
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
4
5
|
"type": "dump.start"
|
5
6
|
}
|
6
7
|
{
|
7
8
|
"inReplyTo": "request-id",
|
8
9
|
"dataset": "Default",
|
10
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
9
11
|
"type": "dump.start"
|
10
12
|
}
|
11
13
|
{
|
12
14
|
"inReplyTo": "request-id",
|
13
15
|
"statusCode": 200,
|
14
16
|
"type": "dump.result",
|
15
|
-
"body":
|
17
|
+
"body": {
|
18
|
+
"started": true
|
19
|
+
}
|
20
|
+
}
|
21
|
+
{
|
22
|
+
"inReplyTo": "request-id",
|
23
|
+
"dataset": "Default",
|
24
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
25
|
+
"body": {
|
26
|
+
"nMessages": 1
|
27
|
+
},
|
28
|
+
"type": "dump.forecast"
|
29
|
+
}
|
30
|
+
{
|
31
|
+
"inReplyTo": "request-id",
|
32
|
+
"dataset": "Default",
|
33
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
34
|
+
"body": {
|
35
|
+
"nMessages": 1
|
36
|
+
},
|
37
|
+
"type": "dump.forecast"
|
16
38
|
}
|
17
39
|
{
|
18
40
|
"inReplyTo": "request-id",
|
19
41
|
"dataset": "Default",
|
42
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
20
43
|
"body": {
|
21
44
|
"type": "Array",
|
22
45
|
"name": "Logs"
|
@@ -26,6 +49,7 @@
|
|
26
49
|
{
|
27
50
|
"inReplyTo": "request-id",
|
28
51
|
"dataset": "Default",
|
52
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
29
53
|
"body": {
|
30
54
|
"type": "Array",
|
31
55
|
"name": "Logs"
|
@@ -35,10 +59,12 @@
|
|
35
59
|
{
|
36
60
|
"inReplyTo": "request-id",
|
37
61
|
"dataset": "Default",
|
62
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
38
63
|
"type": "dump.end"
|
39
64
|
}
|
40
65
|
{
|
41
66
|
"inReplyTo": "request-id",
|
42
67
|
"dataset": "Default",
|
68
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
43
69
|
"type": "dump.end"
|
44
70
|
}
|
@@ -1,22 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"inReplyTo": "request-id",
|
3
3
|
"dataset": "Default",
|
4
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
4
5
|
"type": "dump.start"
|
5
6
|
}
|
6
7
|
{
|
7
8
|
"inReplyTo": "request-id",
|
8
9
|
"dataset": "Default",
|
10
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
9
11
|
"type": "dump.start"
|
10
12
|
}
|
11
13
|
{
|
12
14
|
"inReplyTo": "request-id",
|
13
15
|
"statusCode": 200,
|
14
16
|
"type": "dump.result",
|
15
|
-
"body":
|
17
|
+
"body": {
|
18
|
+
"started": true
|
19
|
+
}
|
20
|
+
}
|
21
|
+
{
|
22
|
+
"inReplyTo": "request-id",
|
23
|
+
"dataset": "Default",
|
24
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
25
|
+
"body": {
|
26
|
+
"nMessages": 1
|
27
|
+
},
|
28
|
+
"type": "dump.forecast"
|
29
|
+
}
|
30
|
+
{
|
31
|
+
"inReplyTo": "request-id",
|
32
|
+
"dataset": "Default",
|
33
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
34
|
+
"body": {
|
35
|
+
"nMessages": 1
|
36
|
+
},
|
37
|
+
"type": "dump.forecast"
|
16
38
|
}
|
17
39
|
{
|
18
40
|
"inReplyTo": "request-id",
|
19
41
|
"dataset": "Default",
|
42
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
20
43
|
"body": {
|
21
44
|
"type": "DoubleArrayTrie",
|
22
45
|
"name": "Memos",
|
@@ -27,6 +50,7 @@
|
|
27
50
|
{
|
28
51
|
"inReplyTo": "request-id",
|
29
52
|
"dataset": "Default",
|
53
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
30
54
|
"body": {
|
31
55
|
"type": "DoubleArrayTrie",
|
32
56
|
"name": "Memos",
|
@@ -37,10 +61,12 @@
|
|
37
61
|
{
|
38
62
|
"inReplyTo": "request-id",
|
39
63
|
"dataset": "Default",
|
64
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
40
65
|
"type": "dump.end"
|
41
66
|
}
|
42
67
|
{
|
43
68
|
"inReplyTo": "request-id",
|
44
69
|
"dataset": "Default",
|
70
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
45
71
|
"type": "dump.end"
|
46
72
|
}
|
@@ -1,22 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"inReplyTo": "request-id",
|
3
3
|
"dataset": "Default",
|
4
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
4
5
|
"type": "dump.start"
|
5
6
|
}
|
6
7
|
{
|
7
8
|
"inReplyTo": "request-id",
|
8
9
|
"dataset": "Default",
|
10
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
9
11
|
"type": "dump.start"
|
10
12
|
}
|
11
13
|
{
|
12
14
|
"inReplyTo": "request-id",
|
13
15
|
"statusCode": 200,
|
14
16
|
"type": "dump.result",
|
15
|
-
"body":
|
17
|
+
"body": {
|
18
|
+
"started": true
|
19
|
+
}
|
20
|
+
}
|
21
|
+
{
|
22
|
+
"inReplyTo": "request-id",
|
23
|
+
"dataset": "Default",
|
24
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
25
|
+
"body": {
|
26
|
+
"nMessages": 1
|
27
|
+
},
|
28
|
+
"type": "dump.forecast"
|
29
|
+
}
|
30
|
+
{
|
31
|
+
"inReplyTo": "request-id",
|
32
|
+
"dataset": "Default",
|
33
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
34
|
+
"body": {
|
35
|
+
"nMessages": 1
|
36
|
+
},
|
37
|
+
"type": "dump.forecast"
|
16
38
|
}
|
17
39
|
{
|
18
40
|
"inReplyTo": "request-id",
|
19
41
|
"dataset": "Default",
|
42
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
20
43
|
"body": {
|
21
44
|
"type": "Hash",
|
22
45
|
"name": "Memos",
|
@@ -27,6 +50,7 @@
|
|
27
50
|
{
|
28
51
|
"inReplyTo": "request-id",
|
29
52
|
"dataset": "Default",
|
53
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
30
54
|
"body": {
|
31
55
|
"type": "Hash",
|
32
56
|
"name": "Memos",
|
@@ -37,10 +61,12 @@
|
|
37
61
|
{
|
38
62
|
"inReplyTo": "request-id",
|
39
63
|
"dataset": "Default",
|
64
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
40
65
|
"type": "dump.end"
|
41
66
|
}
|
42
67
|
{
|
43
68
|
"inReplyTo": "request-id",
|
44
69
|
"dataset": "Default",
|
70
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
45
71
|
"type": "dump.end"
|
46
72
|
}
|
@@ -1,22 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"inReplyTo": "request-id",
|
3
3
|
"dataset": "Default",
|
4
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
4
5
|
"type": "dump.start"
|
5
6
|
}
|
6
7
|
{
|
7
8
|
"inReplyTo": "request-id",
|
8
9
|
"dataset": "Default",
|
10
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
9
11
|
"type": "dump.start"
|
10
12
|
}
|
11
13
|
{
|
12
14
|
"inReplyTo": "request-id",
|
13
15
|
"statusCode": 200,
|
14
16
|
"type": "dump.result",
|
15
|
-
"body":
|
17
|
+
"body": {
|
18
|
+
"started": true
|
19
|
+
}
|
20
|
+
}
|
21
|
+
{
|
22
|
+
"inReplyTo": "request-id",
|
23
|
+
"dataset": "Default",
|
24
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
25
|
+
"body": {
|
26
|
+
"nMessages": 1
|
27
|
+
},
|
28
|
+
"type": "dump.forecast"
|
29
|
+
}
|
30
|
+
{
|
31
|
+
"inReplyTo": "request-id",
|
32
|
+
"dataset": "Default",
|
33
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
34
|
+
"body": {
|
35
|
+
"nMessages": 1
|
36
|
+
},
|
37
|
+
"type": "dump.forecast"
|
16
38
|
}
|
17
39
|
{
|
18
40
|
"inReplyTo": "request-id",
|
19
41
|
"dataset": "Default",
|
42
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
20
43
|
"body": {
|
21
44
|
"type": "PatriciaTrie",
|
22
45
|
"name": "Memos",
|
@@ -27,6 +50,7 @@
|
|
27
50
|
{
|
28
51
|
"inReplyTo": "request-id",
|
29
52
|
"dataset": "Default",
|
53
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
30
54
|
"body": {
|
31
55
|
"type": "PatriciaTrie",
|
32
56
|
"name": "Memos",
|
@@ -37,10 +61,12 @@
|
|
37
61
|
{
|
38
62
|
"inReplyTo": "request-id",
|
39
63
|
"dataset": "Default",
|
64
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
40
65
|
"type": "dump.end"
|
41
66
|
}
|
42
67
|
{
|
43
68
|
"inReplyTo": "request-id",
|
44
69
|
"dataset": "Default",
|
70
|
+
"date": "0000-00-00T00:00:00.000000Z",
|
45
71
|
"type": "dump.end"
|
46
72
|
}
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#@include fixture/integer-key-table.jsons
|
2
|
+
{
|
3
|
+
"type": "add",
|
4
|
+
"dataset": "Default",
|
5
|
+
"body": {
|
6
|
+
"table" : "Integer",
|
7
|
+
"key" : 1
|
8
|
+
}
|
9
|
+
}
|
10
|
+
{
|
11
|
+
"type": "delete",
|
12
|
+
"dataset": "Default",
|
13
|
+
"body": {
|
14
|
+
"table" : "Integer",
|
15
|
+
"key" : 1
|
16
|
+
}
|
17
|
+
}
|
@@ -1,19 +1,17 @@
|
|
1
|
-
#@include fixture/
|
1
|
+
#@include fixture/string-key-table.jsons
|
2
2
|
{
|
3
3
|
"type": "add",
|
4
4
|
"dataset": "Default",
|
5
5
|
"body": {
|
6
|
-
"table" : "
|
7
|
-
"key" : "key"
|
8
|
-
"values" : {
|
9
|
-
}
|
6
|
+
"table" : "String",
|
7
|
+
"key" : "key"
|
10
8
|
}
|
11
9
|
}
|
12
10
|
{
|
13
11
|
"type": "delete",
|
14
12
|
"dataset": "Default",
|
15
13
|
"body": {
|
16
|
-
"table" : "
|
14
|
+
"table" : "String",
|
17
15
|
"key" : "key"
|
18
16
|
}
|
19
17
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#@include fixture/string-key-table.jsons
|
2
|
+
{
|
3
|
+
"type": "add",
|
4
|
+
"dataset": "Default",
|
5
|
+
"body": {
|
6
|
+
"table" : "String",
|
7
|
+
"key" : "1"
|
8
|
+
}
|
9
|
+
}
|
10
|
+
{
|
11
|
+
"type": "delete",
|
12
|
+
"dataset": "Default",
|
13
|
+
"body": {
|
14
|
+
"table" : "String",
|
15
|
+
"key" : 1
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#@include fixture/integer-key-table.jsons
|
2
|
+
{
|
3
|
+
"type": "add",
|
4
|
+
"dataset": "Default",
|
5
|
+
"body": {
|
6
|
+
"table" : "Integer",
|
7
|
+
"key" : 1
|
8
|
+
}
|
9
|
+
}
|
10
|
+
{
|
11
|
+
"type": "delete",
|
12
|
+
"dataset": "Default",
|
13
|
+
"body": {
|
14
|
+
"table" : "Integer",
|
15
|
+
"key" : "1"
|
16
|
+
}
|
17
|
+
}
|