Commit graph

  • 0b2dd44d94 Increasing aurora version for future branch. Renan DelValle 2019-03-13 17:57:53 -07:00
  • efc0fdcd81
    Moving future to final 0.22.0 release and Mesos 1.6.2 (#114) future Renan I. Del Valle 2020-01-14 15:34:59 -08:00
  • d9caa2b0ff
    Moving future to final 0.22.0 release and Mesos 1.6.2 Renan DelValle 2020-01-14 15:19:53 -08:00
  • b505304b79
    Adding autopause APIs to future (#110) Renan I. Del Valle 2020-01-13 16:03:40 -08:00
  • 235f854087 Changing calls on functions that use JobUpdateKey to reflect change made for memory safety. Renan DelValle 2019-09-25 16:20:55 -07:00
  • 4fc4953ec4 Change JobUpdateKey pointers to be literals, then we deep copy the JobKey pointer to a new JobKey in order to avoid side effects. Renan DelValle 2019-09-12 12:12:00 -07:00
  • 119d1c429b Moving client configuration options from realis to its own sepearate file to make code more digestible. Renan DelValle 2019-09-12 11:14:39 -07:00
  • a8a7cf779f Splitting realis into regular API and admin API files. Renan DelValle 2019-09-12 11:10:55 -07:00
  • 98f2cab4a2 Renamed Aurora address validator to be less redudnant. Added tests cribbed from version 1. Renan DelValle 2019-09-12 11:04:52 -07:00
  • 09628391cc Cleaning up error messages and some formatting. Renan DelValle 2019-09-12 10:11:33 -07:00
  • f72fdacfb0 Changing the names of the protocol constants to be more descriptive. Renan DelValle 2019-09-12 10:11:05 -07:00
  • 55cf9bcb70 Adding more fine grained controls to retry mechanism. Retry mechanism may now be configured to not retry if an error is hit or to specifically stop retrying if a timeout error is encountered. Renan DelValle 2019-09-12 10:10:38 -07:00
  • fe4a0dc06e Minor error message clarification Renan DelValle 2019-09-12 09:23:27 -07:00
  • d67b8ca1d7 Removing uncessary functions which previously handled initializing thrift protocol. Changed how which protocol is chosen based upon configuration. Renan DelValle 2019-09-12 09:22:53 -07:00
  • ecd59f7a8d Removing unnecessary cookie jar from thrift protocol initialization. Renan DelValle 2019-09-12 09:21:28 -07:00
  • 5d75dcc15e Adding MonitorJobUpdateQuery which serves as the basis for other monitors. Renan DelValle 2019-09-10 18:47:08 -07:00
  • 9a70711537 Making JobUpdate synchronous. MonitorJobUpdateStatus creates a local copy of job key in order to guard against side effects cuased by mutations to the JobKey being performed externally. Renan DelValle 2019-09-10 18:25:59 -07:00
  • 203f178d68 Changing error messages to be lower case in realis API. Renan DelValle 2019-09-10 18:03:41 -07:00
  • 9584266b71 Changing MonitorJobUpdate to use MOnitorJobUpdateStatus under the hood. Renan DelValle 2019-09-10 17:56:31 -07:00
  • 6f20f5b62f Adding JobUpdateStatus monitor as well as renaming all monitor functions to be Monitor + <subject> Renan DelValle 2019-09-10 17:42:51 -07:00
  • 04471c6918 Adding trace logging. Renan DelValle 2019-09-10 15:19:45 -07:00
  • dbad078d95 Adding missing indirection for adding GPU requirements to task. Renan DelValle 2019-09-10 15:00:13 -07:00
  • b9db36520c Adding realis test file which currently tests the get certs function. Renan DelValle 2019-09-10 14:53:07 -07:00
  • 2c795debfd Updating runtestMac to be the same as in the gorealis v1 repo. Renan DelValle 2019-09-10 14:52:31 -07:00
  • c553f67d4e Adding support for PartitionPolicy. Robert Allen 2018-12-20 16:38:06 -06:00
  • a75fdc6a07
    Changing calls on functions that use JobUpdateKey to reflect change made for memory safety. Renan DelValle 2019-09-25 16:20:55 -07:00
  • a0fa99df8a
    Integrating batch calculations into an AutoPause monitor which provides some guarantees to the user. Renan DelValle 2019-09-18 15:38:58 -07:00
  • b73954cd7c
    Adding batch calculator utility and test cases for it. Renan DelValle 2019-09-14 10:20:23 -07:00
  • ace5da6bd3
    Changing Pause Monitor to poll for ROLL FORWARD PAUSED or a terminal state. Renan DelValle 2019-09-12 19:00:14 -07:00
  • a698e3b8dd
    Adding TerminalUpdateStates function which returns a slice containing all terminal states for an update. Changed signature of JobUpdateStatus from using a map for desired states to a slice. A map is no longer necessary with the new version of thrift and only adds complexity. Renan DelValle 2019-09-12 16:57:07 -07:00
  • e86d01c6a8
    Change JobUpdateKey pointers to be literals, then we deep copy the JobKey pointer to a new JobKey in order to avoid side effects. Renan DelValle 2019-09-12 12:12:00 -07:00
  • a6a38b94c9
    Moving client configuration options from realis to its own sepearate file to make code more digestible. Renan DelValle 2019-09-12 11:14:39 -07:00
  • eb932e3de0
    Splitting realis into regular API and admin API files. Renan DelValle 2019-09-12 11:10:55 -07:00
  • 112993ac36
    Renamed Aurora address validator to be less redudnant. Added tests cribbed from version 1. Renan DelValle 2019-09-12 11:04:52 -07:00
  • 3f5182dd40
    Cleaning up error messages and some formatting. Renan DelValle 2019-09-12 10:11:33 -07:00
  • a73af4cff7
    Changing the names of the protocol constants to be more descriptive. Renan DelValle 2019-09-12 10:11:05 -07:00
  • 030af082b8
    Adding more fine grained controls to retry mechanism. Retry mechanism may now be configured to not retry if an error is hit or to specifically stop retrying if a timeout error is encountered. Renan DelValle 2019-09-12 10:10:38 -07:00
  • e68e8a3b03
    Minor error message clarification Renan DelValle 2019-09-12 09:23:27 -07:00
  • f75fb70ada
    Removing uncessary functions which previously handled initializing thrift protocol. Changed how which protocol is chosen based upon configuration. Renan DelValle 2019-09-12 09:22:53 -07:00
  • 0608878fab
    Removing unnecessary cookie jar from thrift protocol initialization. Renan DelValle 2019-09-12 09:21:28 -07:00
  • 44e6878695
    Adding MonitorJobUpdateQuery which serves as the basis for other monitors. Renan DelValle 2019-09-10 18:47:08 -07:00
  • e80d3ffa43
    Making JobUpdate synchronous. MonitorJobUpdateStatus creates a local copy of job key in order to guard against side effects cuased by mutations to the JobKey being performed externally. Renan DelValle 2019-09-10 18:25:59 -07:00
  • 686832bf2b
    Changing error messages to be lower case in realis API. Renan DelValle 2019-09-10 18:03:41 -07:00
  • 78f2825061
    Changing MonitorJobUpdate to use MOnitorJobUpdateStatus under the hood. Renan DelValle 2019-09-10 17:56:31 -07:00
  • d5372bc403
    Adding JobUpdateStatus monitor as well as renaming all monitor functions to be Monitor + <subject> Renan DelValle 2019-09-10 17:42:51 -07:00
  • 7045b8ec5d
    Adding trace logging. Renan DelValle 2019-09-10 15:19:45 -07:00
  • 3179799e3c
    Adding missing indirection for adding GPU requirements to task. Renan DelValle 2019-09-10 15:00:13 -07:00
  • e114f399f2
    Adding realis test file which currently tests the get certs function. Renan DelValle 2019-09-10 14:53:07 -07:00
  • 9c5ab814ce
    Updating runtestMac to be the same as in the gorealis v1 repo. Renan DelValle 2019-09-10 14:52:31 -07:00
  • 2ea1a6382c
    Adding support for PartitionPolicy. Robert Allen 2018-12-20 16:38:06 -06:00
  • 2cc19ce7da
    Updating changelog to reflect that a new api as well as new monitor have been added to gorealis. Renan DelValle 2019-08-29 18:08:59 -07:00
  • eabf0adbcc
    Tests for PauseUpdateMonitor and VariableBatchStep added to the end to end tests. Renan DelValle 2019-08-29 18:08:28 -07:00
  • 79f06bfa81
    Adding PauseUpdateMonitor which allows users to poll Aurora for information on an active Update being carried out until it enters the ROLL_FORWARD_PAUSED state. Renan DelValle 2019-08-29 18:07:43 -07:00
  • a4b89feb0e
    Adding VariableBatchStep api which allows users to find the current step at which an update using the Variable Batch strategy is currently in. Renan DelValle 2019-08-29 18:06:43 -07:00
  • f43a257726
    Updating thrift definitions to add autopause for batch based update strategies. Renan DelValle 2019-08-29 18:01:31 -07:00
  • 2148351b94
    Variable Batch Update Support (#100) Renan DelValle 2019-03-14 13:42:47 -07:00
  • f936576c4d
    Increasing aurora version for future branch. Renan DelValle 2019-03-13 17:57:53 -07:00
  • db833bd95d Fixing tests after changes made by this patch. Renan DelValle 2019-06-25 14:16:56 -07:00
  • 3c66fac3d4 Adding information about fileOutput change to README. Renan DelValle 2019-06-24 17:36:07 -07:00
  • 1944f6992a Adding outputFilename field to URI allowing user to pick a name to use for the downloaded artifact from the Mesos fetcher. Renan DelValle 2019-06-24 16:03:14 -07:00
  • 682cfd931b Adding auto pause after batch support (#102) Renan DelValle 2019-03-14 15:20:09 -07:00
  • d0866b98bc Variable Batch Update Support (#100) Renan DelValle 2019-03-14 13:42:47 -07:00
  • a34241c943 Increasing aurora version for future branch. Renan DelValle 2019-03-13 17:57:53 -07:00
  • df8fc2fba1
    Documentation and linting improvements (#108) v1.21.1 Renan DelValle 2019-06-12 11:22:59 -07:00
  • 0e916ebd76
    Reducing line size. in some files and shadowing in some test cases. Renan DelValle 2019-06-11 15:59:57 -07:00
  • fc574490f8
    Moving build process in CI to xenial. Renan DelValle 2019-06-11 15:59:34 -07:00
  • 758ed36e8d
    Adding golang CI default configuration which can be useful while developing and may be turned on later in the CI. Renan DelValle 2019-06-11 15:31:01 -07:00
  • 587e017a9a
    Added documentation to all exported functions and structs. Re-wrote some of the documentation to point to more up to date sources. Made some structures and functions that were needlessly exported unexported. Renan DelValle 2019-06-11 15:19:53 -07:00
  • b62ff3e182
    Simplifying documentation for getting started. Removed outdated information about install Golang on different platforms and instead incldued a link to the official Golang website which has more up to date information. Instructions for installing docker-compose have also been added. Renan DelValle 2019-06-10 12:09:00 -07:00
  • 6dc4bf93b9
    Retry temporary errors by default (#107) Renan DelValle 2019-06-11 11:47:14 -07:00
  • ee9fd9802e
    Changing argument name from urlStr to location. Originally this postfix was added to avoid name collision with the url package. InsercureSkipVerify was accidentally made private. Renan DelValle 2019-06-10 11:13:07 -07:00
  • a00eb4ff39
    Added configuration to fail on a non-temporary error. This is reverting to the original behavior of the retry mechanism. However, this allows the user to opt to fail in a non-temporary error. Renan DelValle 2019-06-07 19:18:34 -07:00
  • 11db9daa3b
    Upgraded to testify 1.3.0. Renan DelValle 2019-06-07 19:17:31 -07:00
  • f822267d17
    Adding Aurora URL validator in order to handle scenarios where incomplete information is passed to the client. The client will do its best to guess the missing informations such as protocol and port. Renan DelValle 2019-06-05 12:30:06 -07:00
  • ce554c767c
    Fix all relevant errors reported by golangci-lint Renan DelValle 2019-05-28 18:53:51 -07:00
  • 4870b07cf0
    Adding golangci default config for local testing. Renan DelValle 2019-05-28 18:53:12 -07:00
  • 4ffb509939
    Adding go mod files to v1 (#106) Renan DelValle 2019-05-06 11:33:14 -07:00
  • ce6ae1bf97
    Adding go mod files to v1. Renan DelValle 2019-05-06 11:22:08 -07:00
  • 1a15c4a5aa
    V1 CreateService and StartJobUpdate Timeout signal and cleanup (#105) Renan DelValle 2019-05-05 11:46:22 -07:00
  • b654756364
    Changing from %v to %d for tieout debug print. Renan DelValle 2019-05-05 11:34:00 -07:00
  • 034f0087c4
    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. Renan DelValle 2019-05-03 18:22:00 -07:00
  • 5ff89046dc
    Added documentation as to how to handle a timeout on an API request. Renan DelValle 2019-05-03 18:20:54 -07:00
  • 9ad2dde3e1
    Renaming AuroraURL to not be exported. Added a bad payload timeout test. Refactored good payload timeout test. Renan DelValle 2019-05-03 18:20:33 -07:00
  • 19aacbb586
    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. Renan DelValle 2019-05-03 18:19:36 -07:00
  • f75a6bc3dd
    Adding test for duplicate metadata. Renan DelValle 2019-05-03 12:23:21 -07:00
  • f06a6042ca
    Adding runTestsMac back as it's useful for running single tests. Renan DelValle 2019-05-01 17:50:41 -07:00
  • 6fabdee23a
    Fixing zookeeper address that was changed for testing. Renan DelValle 2019-05-01 17:22:14 -07:00
  • 5f55f22265
    Updating changelog with information about the error type returned. Renan DelValle 2019-05-01 17:10:36 -07:00
  • 8860576f24
    Adding test for when a call goes through despite the client timing out. Renan DelValle 2019-05-01 17:06:47 -07:00
  • 75f44dedcc
    Added option for container to automatically remove itself after it finishes. Renan DelValle 2019-05-01 09:18:45 -07:00
  • a162727c8c
    Renaming variable and deleting a comment. Renan DelValle 2019-05-01 09:18:13 -07:00
  • 979fb11464
    Adding an argument to allow the retry mechanism to stop if a timeout has been encountered. This is useful for non-mutating API calls. Only StartUpdate and CreateService have enabled by default stop at timeout. Renan DelValle 2019-05-01 09:17:44 -07:00
  • ee1a95831c
    Removing cookiejar from transport layer. Changing all error messages to start with a lower case letter. Changing some messages around to be more descriptive. Renan DelValle 2019-04-30 11:33:25 -07:00
  • c90db4773c
    Adding set up and tear down to run tests script and renanming script to runTests since it's applicable to linux and mac. Renan DelValle 2019-04-29 17:20:25 -07:00
  • 0cdf4d8885
    Fixing style issues. Renan DelValle 2019-04-29 16:42:27 -07:00
  • 07ff819e57
    Removing deadcode and fixing some comments to add space between backslash and comment. Renan DelValle 2019-04-29 14:29:51 -07:00
  • 986e41aa62
    Moving admin functions to a new file. They are still part of the same pointer receiver type. Renan DelValle 2019-04-29 12:12:43 -07:00
  • 4520fb2a2a
    Spelling mistakes fix. Renan DelValle 2019-04-29 12:12:14 -07:00
  • f9e47544a4
    Adding beginning of development for 1.21.1. Renan DelValle 2019-04-29 10:34:49 -07:00
  • 894af1508b
    Spelling mistakes fix. Renan DelValle 2019-04-29 10:34:00 -07:00