Tobie Morgan Hitchcock
969179660b
Enable data docs to self encode to JSON
2017-02-20 09:46:26 +00:00
Tobie Morgan Hitchcock
997633eaf4
Update 3rd party dependencies
2017-02-20 09:45:31 +00:00
Tobie Morgan Hitchcock
b3998e369e
Minimise code
2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
b1165a6180
Use specific content-type options for each route
2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
b304c9f3f4
Add RETURN NULL / VOID / EMPTY query functionality
2017-02-20 01:45:09 +00:00
Tobie Morgan Hitchcock
631fd694a8
Specify default query values for http REST routes
2017-02-20 01:44:14 +00:00
Tobie Morgan Hitchcock
01621d74fe
Add websocket endpoint for sql text queries
2017-02-20 01:44:14 +00:00
Tobie Morgan Hitchcock
529c1028a3
Improve and simplify RPC interface methods
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
e10debba6c
Enable query params for USE NS / USE DB in queries
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
ac868694eb
Enable query params for VERSION in queries
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
fbb0bd79bd
Don’t delete txn until we have cancelled/committed
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
a700ef9bc4
Improve debug logging throughout codebase
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
6a719d815b
Improve errors throught codebase
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
c3df9d791d
Check websocket subprotocol for auth details
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
20d4bfadef
Reduce POST content size to 1MB
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
30d8016d0c
Reorder middleware
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
55f272a87c
Implement database import and export commands
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
8385719834
Enable specifying NS and DB in http headers
2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
e599497728
Tidy up log package
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
e86857bdf7
Enable import / export of database transaction log
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
58ac9d9424
Add code comments to kvs package
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
1c784da214
Export to stdOut not into a file
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
fcfa88a33b
Import from stdIn not from a file
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
cd7922db15
Enable query params for LIMIT and START in queries
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
363cfa8758
Use sync pool for query executor
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
83a64c6c29
Enforce default RETURN value in sql parser
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
3ffaec9265
Remove RETURN statement from SELECT query
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
623d55225c
Use transaction mem cache for db config data
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
3f82f83cf1
Remove SQL error for embedded DEFINE/REMOVE queries
2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
1cb44cce2f
Only product stack trace if log level is debug
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
0e14256e0f
Add log level constants to package
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
6fa73071a5
Add HTTP 501 error message
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
fba3a97a24
Improve HTTP 500 error message
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
b62b7ed2c9
Don’t use pointer as we already are a pointer
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
86aed74cd4
Update documentation
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
6c82529d85
JSON Patch expects only array in SQL, not object
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
b724d864f8
Add ability to define NAMESPACE without DATABASE
...
Once somebody had specified USE NAMESPACE to select a namespace, it was not possible to DEFINE a DATABASE underneath the NAMESPACE, as an error that ‘no database is selected’ would be returned. Not it is possible to DEFINE DATABASE having selected only a NAMESPACE.
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
7d88c389e1
Enable use of SQL DEFINE/REMOVE in transactions
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
2a35485089
Output full stacktrace for errors when debugging
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
7f0ea653b8
Improve sql query requests timing
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
dd230dca56
Enable SQL ASTs to self-encode and self-decode
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
1fd450890b
Fix typo
2017-02-20 01:44:10 +00:00
Tobie Morgan Hitchcock
a5dc358e4e
Don’t pass txn around, but use executor txn
2017-02-20 01:44:08 +00:00
Tobie Morgan Hitchcock
6807d4c338
Switch underlying KV store to rixxdb/dendrodb
2017-02-20 01:31:15 +00:00
Tobie Morgan Hitchcock
f56196a150
Update keys package
2017-02-09 20:35:19 +00:00
Tobie Morgan Hitchcock
99ea0a3368
Use sirupsen/logrus instead of abcum fork
2017-02-09 15:46:27 +00:00
Tobie Morgan Hitchcock
3ea681ca34
Enable ability to bind to specific ip/hostname
2017-02-09 11:20:23 +00:00
Tobie Morgan Hitchcock
a3b9362adb
Switch underlying KV store to rixxdb/dendrodb
2017-02-09 11:16:59 +00:00
Tobie Morgan Hitchcock
07b5c5ce38
Add code spacing
2017-02-09 10:32:32 +00:00
Tobie Morgan Hitchcock
dfee11339e
Fix SQL bug where NAMESPACE/DATABASE were needed twice
...
DEFINE NAMESPACE and REMOVE NAMESPACE statements expected two NAMESPACE keywords in the SQL query.
DEFINE DATABASE and REMOVE DATABASE statements expected two DATABASE keywords in the SQL query.
2017-02-09 10:31:53 +00:00