From e99b7fa829bf957c2a46223a1a20a32aebeda91b Mon Sep 17 00:00:00 2001 From: arthurdent3 Date: Fri, 2 Feb 2018 21:19:53 -0500 Subject: Initial code Import. Issue-ID: MUSIC-21 Change-Id: I89ceab0891b4b7cb999dab532d6bae9092f027cc Signed-off-by: arthurdent3 --- postman/MusicLocal.postman_collection.json | 695 +++++++++++++++++++++++++++++ 1 file changed, 695 insertions(+) create mode 100644 postman/MusicLocal.postman_collection.json (limited to 'postman') diff --git a/postman/MusicLocal.postman_collection.json b/postman/MusicLocal.postman_collection.json new file mode 100644 index 00000000..0fef0bb9 --- /dev/null +++ b/postman/MusicLocal.postman_collection.json @@ -0,0 +1,695 @@ +{ + "id": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "name": "MusicLocal", + "description": "", + "order": [ + "cde8166d-a97c-c173-c00a-7584cb8d24ea", + "9a8091d5-1207-d121-e723-1c927253d986", + "6309194d-0855-d97c-5d92-5c91860cfa9f", + "695ae5ac-9db1-873d-0733-49885c060605", + "59a33710-2189-ee04-66f1-630920300fdf", + "272e9995-c6cd-a456-57a5-f41ca424a2a0", + "b7e1120b-0c82-2e73-b3a8-c3c9d9662c7f", + "eff968ca-84d1-54a2-ce26-0f9c95bf965d", + "fc561465-a6d2-1fd8-ecb5-3c88738fd219", + "fe7680e6-8407-e2e1-f89c-763c255b3538", + "b5ecf9b0-9bac-3099-e292-541a7d814a91", + "6a6dc6ca-c413-a8da-5f9d-31ea88da7767", + "517e24a4-db48-8a36-6387-ae71478b5e1c", + "c2416eb6-8ba5-3d5b-6585-0e070cf032fc", + "f096757d-ebe6-6126-633a-99a684a0e705", + "f9212734-54e2-4fe5-09c0-c67bed88770a", + "d7c46575-d1a2-7b85-aad2-f43728a077f0", + "21667ae7-0272-5acc-cc54-dd1221f2fece", + "feed66c2-797e-c469-3c8a-f555b92d22d4", + "9cc7f611-8c6f-f564-ef9a-53aecaaf0837", + "04cba481-f6bf-6d53-ef8c-543b9541ff1a", + "b667b219-8eec-2267-1994-7f0fb97b77ce", + "28dd3c51-1c0c-65c0-4037-bda04c6a05b7", + "d3d7de68-3af7-1d52-1575-3e579949e484", + "f895d276-f717-afc8-7bea-6ae881c74aeb", + "89d85877-b30e-dc5a-7bee-90e375a2ff78", + "200b3cae-32cb-fabe-a86b-f8f1bfdec9e0", + "6954fd5e-8f5e-5f46-c11c-2aa209ee98d1", + "4c425caa-f06b-8978-f7af-676d0e28073b", + "b33314ff-f0df-7f98-a594-c0b2a60902e1", + "4c652cee-d1b1-613d-3b14-4c8a52c3c2dd", + "ada66950-0758-54c9-17fe-1dae95c7f67a", + "5eb909b0-6c7d-972e-b601-f26a0b990ba1" + ], + "folders": [], + "timestamp": 1443818487905, + "owner": 0, + "remoteLink": "", + "public": false, + "requests": [ + { + "id": "04cba481-f6bf-6d53-ef8c-543b9541ff1a", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/projects", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129844265, + "name": "Drop table projects (atomic)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\":\"$testks.projects$x-95351186188533762-0000000000\"\n } \n}" + }, + { + "id": "200b3cae-32cb-fabe-a86b-f8f1bfdec9e0", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/release/$testks.projects$x-95351186188533762-0000000000", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455130135037, + "name": "Release \"testks.projects\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "21667ae7-0272-5acc-cc54-dd1221f2fece", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows?emp_name=joe", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945571791, + "name": "Delete column value (eventual) ", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"columns\": [\"emp_salary\", \"address\"],\n \"consistencyInfo\": {\n \"type\": \"eventual\"\n }\n}" + }, + { + "id": "272e9995-c6cd-a456-57a5-f41ca424a2a0", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454944181424, + "name": "Create new table \"testks.employees\" (eventual)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"fields\": {\n \"emp_id\": \"uuid\",\n \"emp_name\": \"text\",\n \"emp_salary\": \"varint\",\n \"address\": \"Map\",\n \"PRIMARY KEY\":\"(emp_name)\"\n },\n \"properties\": {\n \"comment\": \"Financial Info of employees\",\n \"compression\":{ \"sstable_compression\" : \"DeflateCompressor\", \"chunk_length_kb\" : 64 },\n \"compaction\": { \"class\" : \"SizeTieredCompactionStrategy\", \"min_threshold\" : 6 }\n }, \n \"consistencyInfo\": {\n \"type\": \"eventual\"\n } \n}" + }, + { + "id": "28dd3c51-1c0c-65c0-4037-bda04c6a05b7", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testmusic", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129913345, + "name": "Drop keyspace (atomic)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\": \"$testmusic$x-95351186188533762-0000000000\"\n } \n}" + }, + { + "id": "4c425caa-f06b-8978-f7af-676d0e28073b", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/release/$testks.projects$x-95351186188533761-0000000000", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945804464, + "name": "Release \"testks.employees.bharath\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "4c652cee-d1b1-613d-3b14-4c8a52c3c2dd", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/delete/testks.projects", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454957689347, + "name": "Delete lock \"testks.projects\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "517e24a4-db48-8a36-6387-ae71478b5e1c", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/create/testks.employees.bharath", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945175277, + "name": "Create and acquire lock \"testks.employees.bharath\"", + "description": "the lock name should be keyspacename.tablename.keyname", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "59a33710-2189-ee04-66f1-630920300fdf", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testmusic", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129706478, + "name": "Create new keyspace \"testmusic\" (atomic)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"replicationInfo\": {\n \"class\": \"SimpleStrategy\",\n \"replication_factor\": 1\n },\n \"durabilityOfWrites\":\"true\",\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\": \"$testmusic$x-95351186188533761-0000000000\"\n } \n}" + }, + { + "id": "5eb909b0-6c7d-972e-b601-f26a0b990ba1", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/delete/testks.employees.bharath", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454957709344, + "name": "Delete lock \"testks.employees.bharath\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "6309194d-0855-d97c-5d92-5c91860cfa9f", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454935383882, + "name": "Create new keyspace \"testks\" (eventual)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"replicationInfo\": {\n \"class\": \"SimpleStrategy\",\n \"replication_factor\": 1\n },\n \"durabilityOfWrites\":\"true\",\n \"consistencyInfo\": {\n \"type\": \"eventual\"\n } \n}" + }, + { + "id": "6954fd5e-8f5e-5f46-c11c-2aa209ee98d1", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/release/$testks.projects$x-95351186188533761-0000000000", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945804464, + "name": "Release \"testks.employees\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "695ae5ac-9db1-873d-0733-49885c060605", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/create/testmusic", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454944173069, + "name": "Create and acquire lock named \"testmusic\"", + "description": "the lock name should be the exact same name as the keyspace being created. ", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "6a6dc6ca-c413-a8da-5f9d-31ea88da7767", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows?emp_name=joe", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945126893, + "name": "Update column for joe (eventual)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"values\": {\n \"address\":{ \"street\" : \"thomas street\", \"city\" : \"nyc\" }\n },\n \"consistencyInfo\": {\n \"type\": \"eventual\"\n }\n}" + }, + { + "id": "89d85877-b30e-dc5a-7bee-90e375a2ff78", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/release/$testmusic$x-95351186188533762-0000000000", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455130112211, + "name": "Release \"testmusic\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "9a8091d5-1207-d121-e723-1c927253d986", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/test", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1450912270089, + "name": "random tests", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6" + }, + { + "id": "9cc7f611-8c6f-f564-ef9a-53aecaaf0837", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/tesks/tables/employees", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945626279, + "name": "Drop table employees (eventual) ", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"consistencyInfo\": {\n \"type\": \"eventual\"\n } \n}" + }, + { + "id": "ada66950-0758-54c9-17fe-1dae95c7f67a", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/delete/testks.employees", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454957696653, + "name": "Delete lock \"testks.employees\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "b33314ff-f0df-7f98-a594-c0b2a60902e1", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/delete/testmusic", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454957679029, + "name": "Delete lock \"testmusic\"", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "b5ecf9b0-9bac-3099-e292-541a7d814a91", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129742447, + "name": "Insert (bharath) into \"tesks.employees\" table (atomic)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"values\": {\n \"emp_id\": \"cfd66ccc-d857-4e90-b1e5-df98a3d40cd6\",\n \"emp_name\": \"bharath\",\n \"emp_salary\": 50,\n \"address\":{ \"street\" : \"att way\", \"city\" : \"bedminster\" }\n },\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\": \"$testks.employees$x-95351186188533762-0000000000\"\n }\n}" + }, + { + "id": "b667b219-8eec-2267-1994-7f0fb97b77ce", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945685594, + "name": "Drop keyspace (eventual)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"consistencyInfo\": {\n \"type\": \"eventual\"\n } \n}" + }, + { + "id": "b7e1120b-0c82-2e73-b3a8-c3c9d9662c7f", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/create/testks.projects", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454944356576, + "name": "Create and acquire lock \"testks.projects\"", + "description": "the lock name should be keyspacename.tablename", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "c2416eb6-8ba5-3d5b-6585-0e070cf032fc", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows?emp_name=bharath", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129766385, + "name": "Update column for bharath (atomic)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"values\": {\n \"emp_salary\": 1000\n },\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\": \"$testks.employees.bharath$x-95351186188533762-0000000000\"\n }\n}" + }, + { + "id": "cde8166d-a97c-c173-c00a-7584cb8d24ea", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/version", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454933904557, + "name": "Version Test", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6" + }, + { + "id": "d3d7de68-3af7-1d52-1575-3e579949e484", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/acquire/$testmusic$x-95351186188533762-0000000000", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129929805, + "name": "Test if you have lock", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [] + }, + { + "id": "d7c46575-d1a2-7b85-aad2-f43728a077f0", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945233493, + "name": "Select all from table ", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6" + }, + { + "id": "eff968ca-84d1-54a2-ce26-0f9c95bf965d", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/projects", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129724221, + "name": "Create new table \"testks.projects\" (atomic) ", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"fields\": {\n \"project_name\": \"text\",\n \"project_desc\": \"text\",\n \"PRIMARY KEY\":\"(project_name)\"\n },\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\": \"$testks.projects$x-95351186188533762-0000000000\"\n } \n}" + }, + { + "id": "f096757d-ebe6-6126-633a-99a684a0e705", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows?emp_name=bharath", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945205888, + "name": "Select (bharath) from table", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6" + }, + { + "id": "f895d276-f717-afc8-7bea-6ae881c74aeb", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/enquire/testmusic", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455130102304, + "name": "Enquire about lock", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [] + }, + { + "id": "f9212734-54e2-4fe5-09c0-c67bed88770a", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows?emp_name=joe", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454945215385, + "name": "Select (joe) from table ", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6" + }, + { + "id": "fc561465-a6d2-1fd8-ecb5-3c88738fd219", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454944527955, + "name": "Insert (joe) into \"testks.employees\" table (eventual)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"values\": {\n \"emp_id\": \"abc66ccc-d857-4e90-b1e5-df98a3d40cd6\",\n \"emp_name\": \"joe\",\n \"emp_salary\": 30\n },\n \"consistencyInfo\": {\n \"type\": \"eventual\"\n } \n}" + }, + { + "id": "fe7680e6-8407-e2e1-f89c-763c255b3538", + "headers": "", + "url": "http://localhost:8080/MUSIC/rest/v2/locks/create/testks.employees", + "preRequestScript": "", + "pathVariables": {}, + "method": "POST", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1454944949245, + "name": "Create and acquire lock \"testks.employees\"", + "description": "the lock name should be keyspacename.tablename", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "" + }, + { + "id": "feed66c2-797e-c469-3c8a-f555b92d22d4", + "headers": "Content-Type: application/json\n", + "url": "http://localhost:8080/MUSIC/rest/v2/keyspaces/testks/tables/employees/rows?emp_name=bharath", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1455129806221, + "name": "Delete column value (atomic)", + "description": "", + "collectionId": "a7ff2cf7-0a5a-1b0b-a393-829a672c80d6", + "responses": [], + "rawModeData": "{\n \"columns\": [\"emp_salary\", \"address\"],\n \"consistencyInfo\": {\n \"type\": \"atomic\",\n \"lockId\": \"$testks.employees.bharath$x-95351186188533762-0000000000\"\n }\n}" + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg