Commit graph

53 commits

Author SHA1 Message Date
Renan DelValle
bd008dbb39 Changing client to reflect monitor changes 2017-10-04 17:12:06 -07:00
Renan DelValle
fa7833a749 Updating client to reflect changes made on the Monitor's side 2017-10-04 14:34:47 -07:00
Renan DelValle
3111b358fc Host Maintenance monitor now returns a list of hosts that did enter the desired mode(s) instead of a boolean. This means the monitor can see a partial success. 2017-09-29 18:21:30 -07:00
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
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
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
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
Mukkavilli, Sunil
89337f9c7f Merge branch 'master' of https://github.com/rdelval/gorealis 2017-04-18 16:10:58 -07:00
Kumar Krishna
48ca520eaa realisconfig refactor 2017-03-31 10:48:36 -07:00
Kumar Krishna
b10df0603e gorealis config refactoring 2017-03-30 18:17:21 -07:00
Mukkavilli, Sunil
e6e4742f64 Merge branch 'master' of https://github.com/rdelval/gorealis 2017-03-24 15:55:48 -07: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
cc739f96aa updating log.. 2017-03-10 15:15:51 -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
smothiki
97fbec9eaf add function to get readonly scheduler client 2017-03-09 16:37:18 -08:00
Renan DelValle
d7efa913b1 Initial support for Mesos Containerizer 2017-02-23 14:21:04 -05:00
Kumar Krishna
f4fb52c237 New api GetTaskStatus 2016-11-15 22:24:07 -08:00
Kumar Krishna
3b10c10dd1 update api change and remove os.exit 2016-11-14 23:16:36 -08:00
Kumar Krishna
8905233375 externalize timeout value 2016-11-14 13:27:25 -08:00
Renan DelValle
3bf2e8a831 Updating zookeeper dependency since logging problem has been solved in main repository. Go fmt run on project to tidy it up. 2016-11-02 20:41:43 -04:00
Renan DelValle
76b404e087 Submission of docker containers without an executor (aka running container as a task) is now supported 2016-11-02 15:24:06 -04:00
Renan DelValle
66a2868aab Adding support for configuring tasks with Docker Containers 2016-11-01 21:24:15 -04:00
Renan DelValle
c83e5d268a Monitor Instances now returns a tuple so an error can be passed instead of exiting on error. Tuple is: Result of action, error if it exists. 2016-10-20 14:39:48 -04:00
Renan DelValle
9a6051c089 Fixed clusters.json loader tester. Initial testing for CreateJob, KillJob, ScheduleCronJob, StartCronJob, DeschedulerCronJob 2016-10-01 01:54:11 -04:00
Renan DelValle
15c2472ffd API for scheduling, descheduling, and starting cron jobs has been created. New response helper added for ScheduleStatusResult. 2016-09-30 01:24:49 -04:00
Renan DelValle
ca8b9359cf API for rolling back a job update has been integrated. 2016-09-30 00:44:38 -04:00
Renan DelValle
3fd957fe5c Updating library for compatibility with Aurora 0.16.0 final. Thrift API differs from main Aurora one due to TaskUpdateQuery fields resulting in errors when serialized by thrift as non-optionals. 2016-09-29 20:45:24 -04:00
Renan DelValle
3a78e32e27 Changing location from where to get thrift bidnings to that it points to github location. Ran go fmt on the entire project. 2016-09-19 15:34:56 -04:00
Renan DelValle
494f733f4e Changing timeouts to be more reasonable in sample client 2016-08-26 19:19:37 -07:00
Renan DelValle
917bdca354 Changed return of activeCount. Updated client usage docs 2016-08-26 16:39:56 -07:00
Renan DelValle
928fc42fc2 Updated thrift API to the latest in the Aurora respository.
Added new monitors for watching number of instances get to a certain count using polling.
Added new commands to sample client which give some statistics.
2016-08-26 16:35:31 -07:00
Renan DelValle
01b700554a Added the ability to monitor job updates.
Added the ability to kill and restart specific instances.
Fixed incorrect documentation on using-the-sample-client.
Added helper functions under the response package to extract fields from
aurora.Response.
2016-08-25 18:56:55 -07:00
Renan DelValle
bb3b26340d Ran go fmt on project. Changed FechTaskConfig to only fetch configurations in an existing state 2016-08-24 17:21:59 -07:00
Renan DelValle
4c3d850a9e Added ability to fetch the configuration for a specific instance 2016-08-24 15:38:44 -07:00
Renan DelValle
714b21631e Cleanup of json client 2016-08-24 12:00:26 -07:00
Renan DelValle
073faabc21 First example using a JSON blob as the configuration for a job 2016-08-19 15:25:15 -07:00
Renan DelValle
0e26c33129 Initial support for getting the leader from Zookeeper.
Some tests included for making sure the JSON blob pulled from Zookeeper
is correct.

Updated client to be able to take Zookeeper json cluster config that is
currently being used in aurora (clusters.json usually located at
/etc/aurora/cluster.json).

Changed error messages to no longer have a period at the end as that was
throwing off printing of the error.

Modified samuel's ZK library slightly to stop verbose logging using a
NoOpLogger from stackoverflow.
2016-08-16 18:56:47 -07:00
Renan DelValle
c633b131df Updating Thrift library 2016-08-15 14:35:51 -07:00
Renan DelValle
c610974208 Moved Realis to be an interface for future testing classes. Removed AddURI API as AddURIs is able to do the same thing 2016-08-12 12:48:42 -07:00
Renan DelValle
0e6166b104 Added a new username and password field. Reworded some of the -h messages 2016-08-11 11:44:20 -07:00
Renan DelValle
c2acbe0b36 Numerous changes to documentation to make it more accurate. 2016-08-10 15:25:02 -07:00
Renan DelValle
7aa6c07c66 Cleaned up the README and added new information to Getting_Started.
Made client point to new location of docker-compose-executor release
2016-08-10 11:46:08 -07:00
Renan DelValle
bf890bf9b0 Updating documentation for release
Moving godoc reference button

changing casing of top title
2016-08-09 16:20:40 -07:00
Renan DelValle
07173df33c Changing some of the API to allow killing of a single task
Updated AddInstances command to now use InstanceKey allow flexibility

Removing line that's not needed
2016-08-09 14:15:56 -07:00
Renan DelValle
37be87d609 Changing return type of all realis job related tasks to be *aurora.Response in order to account for future changes and provide the programmer flexibility 2016-08-09 13:30:26 -07:00
Renan DelValle
93297f8c1a Shortening API 2016-08-02 13:06:36 -07:00