Version 1 of a Go library for interacting with the Aurora Scheduler
Find a file
Renan DelValle 1a15c4a5aa
V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105)
* Bumped up version to 1.21.1

* Moving admin functions to a new file. They are still part of the same pointer receiver type.

* Removing dead code and fixing some comments to add space between backslash and comment.

* Adding set up and tear down to run tests script. It sets up a pod, runs all tests, and then tears down the pod.

* Added `--rm` to run tests Mac script.

* Removing cookie jar from transport layer as it's not needed.

* Changing all error messages to start with a lower case letter. Changing some messages around to be more descriptive.

* Adding an argument to allow the retry mechanism to stop if a timeout has been encountered. This is useful for mutating API calls. Only StartUpdate and CreateService have enabled by default stop at timeout.

* Added 2 tests for when a call goes through despite the client timing out. One is with a good payload, one is with a bad payload.

* Updating changelog with information about the error type returned.

* Adding test for duplicate metadata.

* Refactored JobUpdateStatus monitor to use a new monitor called JobUpdateQuery. Update monitor will now still continue if it does not find an update to monitor. Furthermore, it has been optimized to reduce returning payloads from the scheduler as much as possible. This is through using the GetJobUpdateSummaries API instead of JobUpdateDetails and by including a the statuses we're searching for as part of the query.


* Added documentation as to how to handle a timeout on an API request.

* Optimized GetInstancesIds to create a copy of the JobKey being passed down in order to avoid unexpected behavior. Instead of setting every variable name separately, now a JobKey array is being created.
2019-05-05 11:46:22 -07:00
docs V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
examples V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
gen-go/apache/aurora Upgrading gorealis v1 to Thrift 0.12.0 code generation. End to end tests cleanup (#96) 2019-02-20 11:11:46 -08:00
response Thread safety, misc fixes, and refactoring (#51) 2018-01-21 19:30:01 -08:00
vendor/github.com Upgrading gorealis v1 to Thrift 0.12.0 code generation. End to end tests cleanup (#96) 2019-02-20 11:11:46 -08:00
.auroraversion Updating Aurora compatibility in anticipation of next release. 2018-10-04 18:46:27 -07:00
.gitattributes Adding .gitattributes to ignore generated files. 2018-12-03 16:09:46 -08:00
.gitignore Upgrading gorealis v1 to Thrift 0.12.0 code generation. End to end tests cleanup (#96) 2019-02-20 11:11:46 -08:00
.travis.yml Adding future branch to testing. 2019-03-15 12:17:43 -07:00
auroraAPI.thrift Support Drain SLA API (#88) 2018-11-16 11:41:09 -08:00
CHANGELOG.md V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
clusters.go Moving from govendor to dep, updated dependencies (#48) 2018-01-07 13:13:47 -08:00
clusters_test.go Running goimports on all repository to conform to newest goimports. 2018-12-19 15:33:35 -08:00
container.go Specify field names when initializing structs (#47) 2017-12-23 10:33:42 -08:00
docker-compose.yml Adds support for Tier and SlaPolicy to the Job interface (#99) 2019-02-20 16:36:50 -08:00
errors.go Making abort job synchronous (#95) 2019-01-15 14:55:59 -08:00
generateBindings.sh 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
Gopkg.lock Upgrading gorealis v1 to Thrift 0.12.0 code generation. End to end tests cleanup (#96) 2019-02-20 11:11:46 -08:00
Gopkg.toml Upgrading gorealis v1 to Thrift 0.12.0 code generation. End to end tests cleanup (#96) 2019-02-20 11:11:46 -08:00
job.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
LICENSE Public release of gorealis 2016-08-02 11:42:00 -07:00
logger.go Fixing logger not unrolling variadic argument when appending to the front of it. 2019-01-11 12:20:01 -08:00
monitors.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
README.md Moving the Codecov badge to right beside the Travis CI badge. 2018-10-05 08:09:05 -07:00
realis.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
realis_admin.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
realis_e2e_test.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
retry.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
runTests.sh V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
runTestsMac.sh V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
updatejob.go Bug fix for metadata duplicates as well as un-initialized GPU re… (#103) 2019-03-15 15:10:31 -07:00
util.go Upgrading gorealis v1 to Thrift 0.12.0 code generation. End to end tests cleanup (#96) 2019-02-20 11:11:46 -08:00
zk.go V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) 2019-05-05 11:46:22 -07:00
zk_test.go Running goimports on all repository to conform to newest goimports. 2018-12-19 15:33:35 -08:00

gorealis GoDoc Build Status codecov

Go library for interacting with Apache Aurora.

Aurora version compatibility

Please see .auroraversion to see the latest Aurora version against which this library has been tested.

Usage

Projects using gorealis

Contributions

Contributions are always welcome. Please raise an issue to discuss a contribution before it is made.