Philip O'Toole
33f6f6bf8e
Move EnsureHTTPS into http module
5 years ago
Philip O'Toole
de379a883c
When joining try HTTPS if HTTP fails
5 years ago
Zac Medico
f01e6b1b0a
Server -http-ca-cert and -node-ca-cert options
...
The -http-ca-cert and -node-ca-cert options allow the user to specify
trusted X.509 root CA certificates as an alternative to the
-http-no-verify and -node-no-verify options. This behavior is analogous
to the rqlite client -ca-cert option.
5 years ago
Philip O'Toole
efec4d4e42
Return redirect if remove on follower
...
Fixes issue #391 .
7 years ago
Philip O Toole
00d24ce06d
Reduce cyclo complexity
7 years ago
Philip O'Toole
272792fbef
"status" permission required for Go runtime info
7 years ago
Philip O'Toole
2a1b6c65c3
New QueryRequest and ExecuteRequest types
...
The Query() and Execute() functions on the Store now take a complex type
that encapsulates the statements, and associated parameters. This will
make it easier to add more control parameters when making requests.
7 years ago
Philip O Toole
9d480c17c3
Make read consistency param case-insensitive
7 years ago
Philip O Toole
346e11cd88
Include query params with 301 redirect URL
7 years ago
Philip O'Toole
5a6f344a7d
Don't always set Content-Type as JSON ( #334 )
...
Set Content-type for backup endpoint to "application/octet-stream".
7 years ago
Philip O'Toole
d753a8f7be
HTTP service now supports registered statuses
...
Mux is first service to register status for serving.
7 years ago
Philip O Toole
982fa54030
Not all queries begin with SELECT so pull check
...
Common Table Expressions can begin with WITH. This check was always dubious.
8 years ago
Philip O Toole
e6f428fcd8
Convert magic string to const
8 years ago
Philip O Toole
2c8922b50b
Standardize load endpoint processing
8 years ago
Philip O Toole
9e87a3ba30
Add new perm for loading SQLite dump file
...
This was missed in previous releases.
8 years ago
Philip O Toole
5ed6ef0ae8
Covert dumps to queries in HTTP service
...
There is no need for special logic at the Store level.
8 years ago
Philip O'Toole
210367b51b
Fix call to Load()
8 years ago
Philip O'Toole
36368d6786
Start removing batch load
8 years ago
Philip O'Toole
68793cfcbb
Use a transaction for loaded batch
...
Bump the batch size to 1000 too.
8 years ago
Philip O Toole
6270744584
Correct batch size variable name
8 years ago
Philip O Toole
12482c682d
const out loader batch size
8 years ago
Philip O Toole
88eb56e431
Service now uses load batch of 100
8 years ago
Philip O Toole
3286bf064d
Start adding load-from-dump
8 years ago
Philip O'Toole
5b4b1e3567
Set Content-type "application/json" on responses
8 years ago
Philip O'Toole
729221bf57
join endpoint returns HTTP 301 if necessary
8 years ago
Philip O Toole
0198e31cbf
Refactor adding build version to HTTP response
8 years ago
Philip O Toole
1152886216
Reduce Go cyclo complexity
8 years ago
Philip O'Toole
54cbd025e1
'go lint' fixes
8 years ago
Philip O'Toole
354c9588b9
Remove useless comment
8 years ago
Philip O'Toole
bc60aa755d
At least log any failure from HTTP Serve()
8 years ago
Philip O'Toole
9a0b9bcafe
Update service.go
8 years ago
Philip O Toole
1b6bdffd33
Add rqlite version to each HTTP response
8 years ago
Philip O'Toole
6f4814a4c3
Support pprof information over HTTP
8 years ago
Philip O'Toole
918a3200dd
Correct method for removal of node
8 years ago
Philip O Toole
0aff83dea8
Ensure the correct HTTP methods on endpoints
8 years ago
Philip O'Toole
de6cc9ce12
Log full error on join failure
8 years ago
Philip O'Toole
37195abcf4
Expose /remove endpoint on HTTPD service
8 years ago
Philip O'Toole
3f467c6590
Merge pull request #129 from rqlite/force_select
...
Check that queries begin with SELECT
8 years ago
Philip O'Toole
9a36f4867a
Check if queries start with SELECT
8 years ago
Philip O'Toole
8d7644f55a
More 'go lint' fixes
8 years ago
Philip O Toole
bf2047b45b
'go lint' fixes
8 years ago
Philip O'Toole
349300b743
Add Go runtime info to status output
9 years ago
Philip O'Toole
315439cc7f
Fill our API peers lookups ( #111 )
...
* Fill our API peers lookups
* Complete leader-redirection
* Handle no leader for redirect
9 years ago
Philip O'Toole
c04ff92d7a
Fill our API peers lookups ( #110 )
9 years ago
Philip O'Toole
434116a704
Move to permanent redirects for leaders
9 years ago
Philip O'Toole
78f652fcc2
Enable leader redirection
...
Not quite complete.
9 years ago
Philip O'Toole
fac48629bc
Start initial integration of mux ( #109 )
...
Integrate TCP mux with cluster and store
This change allows any node, including followers, to use the Raft log to make changes to a cluster-wide state.
9 years ago
Philip O Toole
5aefda9983
Move to new rqlite org
9 years ago
Philip O Toole
75ee23bdd9
Move URL normalization to http package
...
This function may be useful for leader-redirection.
9 years ago
Philip O Toole
659be46190
Add build time to status output
9 years ago