Commit graph

186 commits

Author SHA1 Message Date
Renan DelValle
8334dde12f Sample client now blocks until all hosts entered desired state. Cleaned up host maintenance monitor. 2017-09-28 16:50:46 -07:00
Renan DelValle
dc6848f804 Host Maintenance monitor which allows to block until all hosts in a list have entered of the states in a provided set 2017-09-28 16:35:24 -07:00
Renan DelValle
c03e8bf79c Added Maintenance status API 2017-09-28 16:32:17 -07:00
Renan DelValle
8fe3780949 Added end maintenance API which allows DRAINED hosts to be transitioned to ACTIVE. Fixed bug where payload error would never be returned if call failed due to a bad payload. 2017-09-27 14:02:43 -07:00
Renan DelValle
f59940f9a7 Merge pull request #36 from rdelval/auroraAdmin
New API to set hosts to DRAINING. Cleaned up some of the sample client code.
2017-09-26 12:33:50 -07:00
Renan DelValle
f59f0bbdc3 Setting retry for drain hosts to be a little more agressive for now. Added comments for go doc. DrainHosts now returns also returns a result type which will give API users the ability to operate directly on that object wihout using a response helper. 2017-09-25 15:45:40 -07:00
Renan DelValle
0d3126c468 New API to set hosts to DRAINING. Cleaned up some of the client code, and fixed a few error printing bugs. 2017-09-22 12:55:03 -07:00
kkrishna
d9f4086853 Merge pull request #35 from rdelval/jobAsPtr
AuroraJob is now passed as pointer, resources are now initialized with create job
2017-09-18 16:48:57 -07:00
Renan DelValle
f301affdd0 Initializing CPU, RAM, and DISK resources to have an address when a new job object is created so that were able to modify the values when constructing job updates. 2017-09-18 16:10:10 -07:00
Renan DelValle
13cc103faa Changing AuroraJob to *AuroraJob in order to not create new objects so that UpdateJob is able to change parameters. 2017-09-14 16:38:26 -07:00
Renan DelValle
ef49df747f Merge pull request #33 from smothiki/jobupdate
make monitor job update return false, err on rolled back and update failures
2017-08-22 17:14:07 -07:00
Mothiki
4bc0a694ae use switch instead of if else conditions 2017-08-22 17:03:35 -07:00
Mothiki
dcab5e698f monitor job update returns on Rolle back and update fail 2017-08-22 16:55:20 -07:00
Mothiki
7e578f80bd check for staus failed and return error 2017-08-21 19:45:36 -07:00
Renan DelValle
211319238e Merge pull request #32 from rdelval/moreResponses
Adding Job Update Summaries response extractor so that we can write l…
2017-08-18 16:45:03 -07:00
Renan DelValle
0524238605 Adding Job Update Summaries response extractor so that we can write less error prone code. 2017-08-17 11:44:37 -07:00
kkrishna
40fcbb3d08 Merge pull request #31 from rdelval/LeaderZKReturnRebase
Bug fix: #30 NewRealisClient method returning <nil> error when zookee…
2017-08-02 17:36:09 -07:00
Renan DelValle
719a121ed5 Bug fix: #30 NewRealisClient method returning <nil> error when zookeeper leader not found 2017-08-02 16:43:18 -07:00
kkrishna
14483e13a5 Merge pull request #29 from rdelval/GetTasksWithoutConfigs
Adding GetTasksWithoutConfigs API call
2017-07-24 15:56:36 -07:00
Renan DelValle
99ea6aa094 Adding API call to get tasks without a fully hydrated object which results in less overhead 2017-07-24 15:45:24 -07:00
kkrishna
68e64682d7 Merge pull request #28 from rdelval/WatchSecsFix
Bug fix: Modifying wrong field insite od the job update settings.
2017-07-11 22:07:29 -07:00
Renan DelValle
8c29330e06 Bug fix: Modifying wrong field insite od the job update settings. 2017-07-11 12:37:34 -07:00
kkrishna
dd334d3a08 Merge pull request #27 from smothiki/nilcheck
check if the resposne schedule result is nil
2017-06-05 15:54:14 -07:00
Mothiki
900f054633 check if the resposne schedule result is nil 2017-06-02 15:41:08 -07:00
kkrishna
e12370ffbb Merge pull request #21 from sunilmvn/master
Updating the client to not use instanceId 0 by default
2017-04-18 19:06:52 -07:00
Mukkavilli, Sunil
68d5b9c8fc Mustn't print the whole config object in logs, just printing the url 2017-04-18 16:35:27 -07:00
Mukkavilli, Sunil
89337f9c7f Merge branch 'master' of https://github.com/rdelval/gorealis 2017-04-18 16:10:58 -07:00
kkrishna
d08c0c637e Merge pull request #26 from kkrishna/master
Add resiliency for LeaderFromZK and minor changes..
2017-04-12 22:29:18 -07:00
Kumar Krishna
0c6fc794ed Merge branch 'master' of https://github.com/rdelval/gorealis 2017-04-06 23:16:11 -07:00
Kumar Krishna
e57dc98d65 add resiliency for LeaderFromZK and other fixes . 2017-04-06 23:15:44 -07:00
Renan DelValle
ff8f10a004 Merge pull request #25 from kkrishna/master
realisconfig refactor
2017-03-31 16:05:41 -04:00
Kumar Krishna
48ca520eaa realisconfig refactor 2017-03-31 10:48:36 -07:00
Kumar Krishna
64dcf55be4 Merge branch 'master' of https://github.com/rdelval/gorealis 2017-03-30 18:17:50 -07:00
Kumar Krishna
b10df0603e gorealis config refactoring 2017-03-30 18:17:21 -07:00
kkrishna
148b7baf4c Merge pull request #23 from rdelval/vendorFix
Vendor fix
2017-03-26 19:34:24 -07:00
Mukkavilli, Sunil
e6e4742f64 Merge branch 'master' of https://github.com/rdelval/gorealis 2017-03-24 15:55:48 -07:00
Renan DelValle
d27d8a4706 Updated end to end test on vagrant images to reflect new client creation. 2017-03-23 20:44:45 -04:00
Renan DelValle
cb6100e690 Reverted change made to vendored thrift library which caused some issues when vendoring gorealis itself. Added a workaround to overcome the default httpPostClient in the thrift library defaulting to headers for the thrift JSON protocol 2017-03-23 19:18:23 -04:00
Renan DelValle
8f505815d5 Updating wording. Removed vendoring section and some superfluous info. 2017-03-23 19:08:15 -04:00
Renan DelValle
764cfac099 Merge pull request #22 from kkrishna/master
Gorealis Resiliency
2017-03-22 01:06:24 -04:00
Kumar Krishna
9c4c2fce44 making some methods private. 2017-03-21 16:59:27 -07:00
Mukkavilli, Sunil
0d9b869583 Updating the client to not use instanceId 0 by default, instead get the instanceId from the list of active Instances 2017-03-21 12:52:29 -07:00
Kumar Krishna
3add32a585 gorealis resiliency 2017-03-20 22:34:45 -07:00
Kumar Krishna
d97e59b9e6 inital commit gorealis resiliency 2017-03-16 23:19:30 -07:00
kkrishna
1b475175db Merge pull request #18 from smothiki/pointer
make gorealisCLient functions handled by client pointer
2017-03-13 23:54:57 -07:00
Mothiki
f77379dd63 make gorealisCLient functions handled by client pointer 2017-03-10 15:50:26 -08:00
kkrishna
cc739f96aa updating log.. 2017-03-10 15:15:51 -08:00
kkrishna
58088a139c Merge pull request #17 from sunilmvn/master
Adding removeInstances method for a job -
2017-03-10 14:00:36 -08:00
Mukkavilli, Sunil
40781fab82 Adding removeInstances method for a job -
-- This method takes the job key and the number of Instances to remove as parameters
2017-03-10 01:14:09 -08:00
kkrishna
811169a266 Merge pull request #16 from smothiki/readonly
add function to get readonly scheduler client
2017-03-09 23:56:01 -08:00