Commit graph

234 commits

Author SHA1 Message Date
Renan DelValle
d7efa913b1 Initial support for Mesos Containerizer 2017-02-23 14:21:04 -05:00
kkrishna
ac40251f00 Merge pull request #12 from rdelval/ThriftBinary
Move from Thrift JSON to Thrift Binary
2017-02-14 06:17:52 -08:00
Renan DelValle
58c560061f Added timing to Thrift calls in order for end to end test to test changes that affect thrift call speed such as Thrift protocol changes 2017-02-13 19:32:48 -05:00
Renan DelValle
10c12d5a13 Thrift Binary protocol is now a choice for users wishing to use it. Default Thrift protocol continues to be JSON. 2017-02-13 19:31:41 -05:00
Renan DelValle
75c87f34b3 Updating vendored libraries to stay up to date 2017-02-10 19:26:05 -05:00
Renan DelValle
5f155f4337 Moving from the Thrift JSON protocol to the Thrift Binary protocol by default. Realis config now holds transport and Protocol factory for impreoved flexibility. Renamed realis_test to reflect the true nature of the test along with a minor fix for an API change. 2017-02-10 19:23:20 -05:00
mbdas
2c7dd3468f Update getting-started.md 2016-12-20 23:07:46 -08:00
Renan DelValle
05a8c838db Merge pull request #11 from kkrishna/master
New api GetTaskStatus
2016-11-16 17:08:43 -05:00
Kumar Krishna
f4fb52c237 New api GetTaskStatus 2016-11-15 22:24:07 -08:00
Renan DelValle
da0f181b96 Merge pull request #10 from kkrishna/master
Externalize JobUpdateSettings for update api and remove os.exit
2016-11-15 13:16:49 -05:00
Kumar Krishna
3b10c10dd1 update api change and remove os.exit 2016-11-14 23:16:36 -08:00
Renan DelValle
841ef09bbb Merge pull request #9 from kkrishna/master
externalize timeout value
2016-11-14 17:58:04 -05:00
Kumar Krishna
8905233375 externalize timeout value 2016-11-14 13:27:25 -08:00
kkrishna
a715282c00 Merge pull request #8 from rdelval/responseCodeCheck
Adding response code check to all api calls
2016-11-11 15:52:05 -08:00
Renan DelValle
4c3bbc5079 Adding response code check to all api calls 2016-11-11 17:58:01 -05: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
b3e55be98b Changing how developers should maintain library dependency 2016-11-02 19:54:44 -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
8f524eeec5 Merge pull request #3 from smothiki/type
fix typo in the docs/using-the-sample-client.md
2016-10-07 16:58:37 -04:00
Mothiki
a8fa05869c fix typo in the docs/using-the-sample-client.md 2016-10-07 12:59:08 -07:00
Renan DelValle
087a9e5fba Cleaned up some comments 2016-10-01 01:56:10 -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
97f9c05026 Merge branch 'master' of github.com:rdelval/gorealis
Merging with master branch
2016-09-29 20:45:50 -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
a8522cbe63 Removing gen-go folder from vendor 2016-09-19 20:57:54 -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
4408aefaad Moving gen-go out of vendored folder into it's own package so that it can be imported by other projects 2016-09-19 13:15:44 -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
d8958966db Adding link to Apache Aurora on the README 2016-08-24 17:28:40 -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
d810808b68 Fixing Realis interface so that realisClient can use it 2016-08-24 16:09:25 -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
3a5d28f064 Added warning in the place where the thrift api was modified from the original at the time 2016-08-24 11:59:52 -07:00
Renan DelValle
dba42611d7 Added Job interface 2016-08-24 11:59:01 -07:00
Renan DelValle
ae3657baf3 Adding clusters definition 2016-08-23 13:05:49 -07:00
Renan DelValle
b740c1a61a Small bug fix. Can't close a connection that doesn't exist 2016-08-22 12:43:53 -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
f4ac7abe1b Updating documentation on client usage 2016-08-18 14:35:58 -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
c62e5ab750 Fixing a typo on the cleaning up section 2016-08-15 14:43:53 -07:00
Renan DelValle
2f410e98d2 Adding example on what to do if user (role) doesn't exist on the Agent on which the task will run 2016-08-15 14:41:37 -07:00
Renan DelValle
c633b131df Updating Thrift library 2016-08-15 14:35:51 -07:00