Dmitry Dolgov
bf4b0f0f33
Merge pull request #240 from zalando-incubator/feature/goreport-improvements
...
Some improvements for golint, ineffassign and misspell
2018-02-22 11:31:08 +01:00
Oleksii Kliukin
8801e62b12
Make sure the result of /clusters is returned to the user.
2018-02-22 10:21:09 +01:00
Sergey Dudoladov
dcfc9925f6
Respond to code review
2018-02-20 14:43:02 +01:00
Dmitrii Dolgov
a7cd859919
Some improvements for golint, ineffassign and misspell
2018-02-19 17:46:31 +01:00
Sergey Dudoladov
b1fae716b1
Update REST API to require namespace when fetching info about particular cluster
2018-02-16 15:32:09 +01:00
Sergey Dudoladov
f194a2ae5a
Introduce changes from the PR #200 by @alexeyklyukin
2018-02-07 14:02:32 +01:00
Oleksii Kliukin
9720ac1f7e
WIP: Hold the proper locks while examining the list of databases.
...
Introduce a new lock called specMu lock to protect the cluster spec.
This lock is held on update and sync, and when retrieving the spec in
the API code. There is no need to acquire it for cluster creation and
deletion: creation assigns the spec to the cluster before linking it to
the controller, and deletion just removes the cluster from the list in
the controller, both holding the global clustersMu Lock.
2017-12-22 13:06:11 +01:00
Sergey Dudoladov
011458fb05
Add a REST endpoint to list databases in all clusters
2017-12-21 17:28:55 +01:00
Murat Kabilov
8d5faaa5a5
return idle status when worker has nothing to do
2017-10-11 15:42:20 +02:00
Murat Kabilov
83c8d6c419
Extend diagnostic api with worker status info
2017-10-11 12:26:09 +02:00
Murat Kabilov
5cfdabb63e
fix regexp for api endpoint urls
2017-09-28 12:00:40 +02:00
Murat Kabilov
9a66e09b88
cluster history api endpoint
2017-09-26 14:30:45 +02:00
Murat Kabilov
83f1dbe80c
add missing return in the api server
2017-09-11 17:44:32 +02:00
Murat Kabilov
899c0bef45
Use warningf instead of warnf
2017-08-30 14:35:56 +02:00
Murat Kabilov
bf5879a71f
normalize log message text
2017-08-17 12:16:19 +02:00
Murat Kabilov
38e0ffecf7
make controllerinformer interface private;
...
use named regexp groups
2017-08-15 14:07:16 +02:00
Murat Kabilov
82d5583809
add diagnostic api http server
2017-08-15 12:20:09 +02:00