-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands
More file actions
9 lines (9 loc) · 2.57 KB
/
commands
File metadata and controls
9 lines (9 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
{"type": "keyspace", "payload" : {"keyspace" : "dev", "command" : "create", "replication" : 1}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "shark_sync", "table" : "account", "values" : {"account_id" : "8e5199cc-3413-44fb-99a9-0ad49f6da664", "name" : "test account", "balance" : 1000000, "address" : "1 test street, test town, testopia", "admin_user" : "cc113940-3536-4e48-b23f-c9c4880527f6"}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "shark_sync", "table" : "account_user", "values" : {"account_id" : "8e5199cc-3413-44fb-99a9-0ad49f6da664", "user_id" : "cc113940-3536-4e48-b23f-c9c4880527f6"}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "shark_sync", "table" : "user", "values" : {"user_id" : "cc113940-3536-4e48-b23f-c9c4880527f6", "username" : "test@test.com", "passcode" : "password", "encryption_type" : 0}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "shark_sync", "table" : "application", "values" : {"app_id" : "4532bd8a-7c8d-4e37-8e36-95548f29b7eb", "app_api_access_key" : "681b8350-7f07-4953-a027-bba47e6a9d96", "account_id" : "8e5199cc-3413-44fb-99a9-0ad49f6da664"}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "shark_sync", "table" : "device", "values" : {"device_id" : "9e4ac6a5-aac3-4362-b530-0be53a9e6619", "app_id" : "4532bd8a-7c8d-4e37-8e36-95548f29b7eb", "account_id" : "8e5199cc-3413-44fb-99a9-0ad49f6da664", "last_seen" : "%clustertime%", "sync_id" : "1ddc1cb7-d231-4378-8dea-c04bfa5ed97c"}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "4532bd8a-7c8d-4e37-8e36-95548f29b7eb-group1", "table" : "change", "values" : {"change_id" : "%uuid%", "rec_id" : "%uuid%", "path" : "Person/forename", "device_id" : "9e4ac6a5-aac3-4362-b530-0be53a9e6619", "modified" : "%clustertime%", "tidemark" : "%clustertime%", "value" : "Adrian"}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "4532bd8a-7c8d-4e37-8e36-95548f29b7eb-group1", "table" : "change", "values" : {"change_id" : "%uuid%", "rec_id" : "%uuid%", "path" : "Person/surname", "device_id" : "9e4ac6a5-aac3-4362-b530-0be53a9e6619", "modified" : "%clustertime%", "tidemark" : "%clustertime%", "value" : "Surname"}}}
{"type": "client_write", "payload" : {"keyspace" : "dev", "partition" : "4532bd8a-7c8d-4e37-8e36-95548f29b7eb-group1", "table" : "change", "values" : {"change_id" : "%uuid%", "rec_id" : "%uuid%", "path" : "Person/age", "device_id" : "9e4ac6a5-aac3-4362-b530-0be53a9e6619", "modified" : "%clustertime%", "tidemark" : "%clustertime%", "value" : "37"}}}