Auth API. Interceptor fixes. Request validation + More
An authorization API has been added to the interceptors. This is intended for future development and integration.
Issues where the interceptor would not time out on PutTokens
have been fixed. This should make the quota system more robust.
A bug has been fixed where the interceptor did not pass the context deadline through to other requests it made. This would cause some failing requests to do so after longer than the deadline with a misleading reason in the log. It did not cause request failures if they would otherwise succeed.
Metalinter has been added and the code has been cleaned up where appropriate.
Docker and Kubernetes scripts have been available and images are now built with Go 1.9.
Sqlite has been introduced for unit tests where possible. Note that it is not multi threaded and cannot support all our testing scenarios. We still require MySQL for integration tests. Please note that Sqlite must not be used for production deployments as RPC servers are multi threaded database clients.
The Log RPC server now applies tighter validation to request parameters than before. It's possible that some requests will be rejected. This should not affect valid requests.
The admin server will only create trees for the log type it is hosted in. For example the admin server running in the Log server will not create Map trees. This may be reviewed in future as applications can legitimately use both tree types.