Commit graph

  • 76300782ba
    Renaming RealisClient to Client to avoid stuttering. Moving monitors under Client. Making configuration object private. Deleted legacy code to generate configuration object. Renan DelValle 2018-12-08 08:57:15 -08:00
  • c1be2fe62b
    Monitors are now all pointer receivers for RealisClient. Renan DelValle 2018-12-07 16:08:49 -08:00
  • 133938b307
    Adding Tier. Renan DelValle 2018-12-07 16:01:23 -08:00
  • c071e5ca62
    Updating json client to use new API. Renan DelValle 2018-12-04 15:19:08 -08:00
  • c00b83b14c
    Making changes to sample client to match the refactoring done to main library. Renan DelValle 2018-12-04 15:17:22 -08:00
  • 45a4416830
    Adding .gitattributes to ignore generated files. Renan DelValle 2018-12-03 16:09:46 -08:00
  • 47d955d4a4
    Adding Gopkg.lock to ignore from diff file for github. Renan DelValle 2018-11-29 17:47:12 -08:00
  • 99b03c1254
    Remove vendored folder and gen-go from Github diffs. Renan DelValle 2018-11-29 17:17:13 -08:00
  • 7967270b3b
    Refactoring NewJob to use struct literals for clarity. Renan DelValle 2018-11-29 17:06:45 -08:00
  • 54378b2d8a
    Changing the signature for some API. Specifically, result objects that hold a single variable are now returning that variable instead of a result object. Tests have been refcatored to use new v2 API. All tests are currently passing. Renan DelValle 2018-11-28 20:13:49 -08:00
  • 59e3a7065e
    Refactoring code to be compatible with Thrift 0.12.0 generated code. Tests are still not refactored. Renan DelValle 2018-11-27 18:45:10 -08:00
  • cec9c001fb
    Upgrading dependencies Renan DelValle 2018-11-27 18:44:33 -08:00
  • 366599fb80
    Regenerating Thrift bindings with Thrift 0.12.0 Renan DelValle 2018-11-27 18:05:33 -08:00
  • 356978cb42
    Upgrading dependency to Thrift 0.12.0 Renan DelValle 2018-11-27 18:03:50 -08:00
  • 3e4590dcc0
    Changing monitors to use time.Duration to be more explicit in code and to have tighter control. Renan DelValle 2018-11-22 14:03:51 -08:00
  • b6effe66b7
    Moving cluster struct factory from realis to clusters. Renan DelValle 2018-11-08 18:10:25 -08:00
  • 848b5f7971
    Eliminating deprecated response code check since retry call does this automatically. Renan DelValle 2018-11-08 18:09:52 -08:00
  • d747a48626
    Simplifying API. Many API calls have gone from a tuple of two returns to a single return. Renan DelValle 2018-11-08 18:09:14 -08:00
  • 573e45a59c
    Simplifying code to use bare structs. Renan DelValle 2018-11-08 18:07:38 -08:00
  • 8a9a97c150
    Removing unnecessary interface from Aurora Job. Renan DelValle 2018-11-07 19:09:16 -08:00
  • 1146736c2b
    Refactoring variable names and variable types to saner versions. Renan DelValle 2018-11-07 18:44:01 -08:00
  • c65a47f6e2
    Changing Certspath to CertsPath Renan DelValle 2018-11-07 18:29:00 -08:00
  • 4471c62659
    Removing retries as an option since it's a dup of Backoff. Renan DelValle 2018-11-07 18:27:48 -08:00
  • a23bd1b2cc
    Shedding interface because there is no good reason to have it. Renan DelValle 2018-11-07 18:24:21 -08:00
  • 2eaa60f681
    Support Drain SLA API (#88) Renan DelValle 2018-11-16 11:41:09 -08:00
  • a09a18ea3b
    Stop retrying if we find a permanent url error. (#85) Renan DelValle 2018-11-01 17:00:03 -07:00
  • 6762c1784b
    Bug fix: get quota and set quota would not retry if an error was hit. (#84) Renan DelValle 2018-10-29 14:56:24 -07:00
  • fa5133c13d
    Test coverage improvement (#83) Renan DelValle 2018-10-28 19:16:44 -07:00
  • 5de913493c Add Start Maintenance and Get Pending Reason (#82) JC Martin 2018-10-26 11:38:03 -07:00
  • 2306d6180f
    Adding force Implicit and force Explicit recon to gorealis. (#81) Renan DelValle 2018-10-22 16:43:35 -07:00
  • 231793df71
    Adding a separate function to add dedicated attributes. (#80) Renan DelValle 2018-10-11 09:43:35 -07:00
  • e0f33ab60e
    Bumping up the version number advertised by gorealis to the scheduler. v1.3.0 Renan DelValle 2018-10-05 08:09:30 -07:00
  • 9dcb7a8969
    Moving the Codecov badge to right beside the Travis CI badge. Renan DelValle 2018-10-05 08:09:05 -07:00
  • 4395c2ae1a
    Code coverage (#79) Renan DelValle 2018-10-05 07:57:19 -07:00
  • 70252ffacf Updating Aurora compatibility in anticipation of next release. Renan DelValle 2018-10-04 18:33:59 -07:00
  • 4963bbb922 Sharling layers in docker compose between agent and master. Renan DelValle 2018-10-04 18:33:49 -07:00
  • 149d03988c
    Sample Client cleanup, misc cleanup (#74) Renan DelValle 2018-10-04 11:28:32 -07:00
  • 037c636d6d
    Retry switch fallthrough fix and create multiple tests (#77) Renan DelValle 2018-10-04 10:47:08 -07:00
  • 9ebf118e71
    Create job bevaviour does not override default batch size. (#75) Renan DelValle 2018-09-25 16:37:17 -07:00
  • e85781e6d4
    Upgrade Aurora to 0.21.0 and Mesos to 1.5.1 for compose setup. Renan DelValle 2018-09-14 16:31:35 -07:00
  • 5099d7e6ec
    Adding force snapshot and force backup APIs (#73) Renan DelValle 2018-09-14 15:04:16 -07:00
  • 0f2ece10ac
    Ignoring vendor folder when checking for goimports failure. Renan DelValle 2018-09-13 17:22:04 -07:00
  • ad0da8c867
    Adding goimports check. From here on in, any PR that doesn't pass goimports will fail the CI build. Renan DelValle 2018-09-13 17:14:38 -07:00
  • 48318e026c
    Fixing issues caught by goimports before adding goimports check to CI. Renan DelValle 2018-09-13 17:02:15 -07:00
  • 98d2fa2dd7
    Forking Thrift Go library to use 0.10.0 with THRIFT-4215 and THRIFT-4219 on top of it in hopes of fixing a stray nil buffer error. (#72) Renan DelValle 2018-08-21 08:20:41 -07:00
  • 1c2b1c5079
    Continous integration through Travis CI (#71) Renan DelValle 2018-08-13 20:09:25 -07:00
  • 0e4a0d726b Fix JSON client example and Update documentation. (#67) PRADYUMNA KAUSHIK 2018-07-13 02:14:11 -07:00
  • fe567ee966 Task query optional parameters (#69) Ezequiel Torres Feyuk 2018-06-28 15:48:28 -03:00
  • 6c8ab10b64 Merge develop branch into master (#68) Renan DelValle 2018-06-22 12:57:21 -07:00
  • 8ca953f925
    Bug fix: using AND in place of OR or SSL flags. (#64) Renan DelValle 2018-05-29 12:46:16 -07:00
  • 800efccb31
    Merge pull request #63 from paypal/addSSLToExample kkrishna 2018-05-23 11:43:58 -07:00
  • 5d12029227
    Update PR template to hide away instructions on submission. Renan DelValle 2018-05-22 17:00:30 -07:00
  • 4f6a5e9741
    Adding SSL flags to sample client. Renan DelValle 2018-05-22 16:56:42 -07:00
  • e6b204b9da
    Removing unnecessary space. Renan DelValle 2018-05-13 18:34:34 -07:00
  • d03a7b61e4
    Removing napping from the TODO list as go's native http libraries are good enough. Renan DelValle 2018-01-24 16:54:24 -08:00
  • 4f5766b443
    Misc. bug fixes and addition of debug logging (#61) Renan DelValle 2018-04-13 11:03:29 -07:00
  • c0d2969976 Adding Admin Client calls GetQuota & SetQuota (#59) Robert Allen 2018-03-07 16:24:27 -08:00
  • 66809c55f7
    Merge pull request #58 from paypal/zkPolish kkrishna 2018-03-05 12:09:18 -08:00
  • acc54c1015
    Adding logging when there is a client error. Renan DelValle 2018-03-05 11:20:39 -08:00
  • 0bb23cec71
    Adding unit tests for Zookeeper related functions to prevent regressions. Renan DelValle 2018-03-03 14:13:47 -08:00
  • 3d62df1684
    * Errors have been refactored. * ZK retries have been cleaned up. We will now retry after every error EXCEPT when we have a badly formed path. * ZK library has been reworked with optional arguments pattern to not be so intertwined with the cluster.json file. * Timeout error has been re-implemented as RetryError. RetryError behaves like a Timeout error but is used exclusively to add more context privately. This allows us to have unit tests that check our retry mechanism is actually retrying. * Additional logging has been added to retry mechanisms as well as to the Zookeeper library we use. Renan DelValle 2018-03-03 13:58:36 -08:00
  • dc327bebad change config for certs path (#57) Sivaram Mothiki 2018-03-02 15:21:45 -08:00
  • a43dc81ea8
    Simplifying retry mechanism for Thrift Calls (#56) Renan DelValle 2018-02-15 15:16:39 -08:00
  • 64948c3712
    Backoff mechanism fix (#54) Renan DelValle 2018-02-06 12:44:27 -08:00
  • a6b077d1fd Aurora jobupdate functionality -- pause/resume/pulse api (#55) kkrishna 2018-02-06 12:39:02 -08:00
  • 8bd3957247 GetJobs api (#53) kkrishna 2018-01-27 10:33:55 -08:00
  • dbb08ded90
    Simplifying KillJob API implementation (#52) v1.2.0 Renan DelValle 2018-01-24 15:37:12 -08:00
  • a941bcb679
    Thread safety, misc fixes, and refactoring (#51) Renan DelValle 2018-01-21 19:30:01 -08:00
  • b2ffb73183
    Introducing temporary errors. Refactored reestablish connection code … (#50) Renan DelValle 2018-01-16 14:35:01 -08:00
  • 1c426dd363
    Changing the drain monitor to match the rest of the monitors using timer and ticker. Made a generic schedule status monitor that can be used with any of the default sets provided. (#49) Renan DelValle 2018-01-07 13:30:02 -08:00
  • 8d445c1c77
    Moving from govendor to dep, updated dependencies (#48) Renan DelValle 2018-01-07 13:13:47 -08:00
  • 9631aa3aab Specify field names when initializing structs (#47) v1.1.0 PRADYUMNA KAUSHIK 2017-12-23 10:33:42 -08:00
  • ff545e8aa6 Fixing semantic errors in docs/getting-started.md (#44) PRADYUMNA KAUSHIK 2017-12-22 08:53:05 -08:00
  • c338c03355
    Thrift API update and Pull Request template. (#43) Renan DelValle 2017-12-14 14:37:08 -08:00
  • d4027bc95c make insecureskipverify configurable (#40) Sivaram Mothiki 2017-12-12 14:04:11 -08:00
  • dd804af0a8
    Merge pull request #42 from paypal/log kkrishna 2017-11-30 12:33:00 -08:00
  • 06cfa214ec Adding missing Logger interface. Renan DelValle 2017-11-30 12:11:54 -08:00
  • e614e04f27
    Code cleanup, added ability to attach logger, added CreateService api Renan DelValle 2017-11-30 12:02:50 -08:00
  • 72b746e431 use exponential back off func from realis lib (#39) Sivaram Mothiki 2017-11-04 15:06:26 -07:00
  • 23430cbf30 Merge pull request #38 from paypal/newAddress Renan DelValle 2017-10-13 00:17:59 -07:00
  • a1350c6d55 out with the old (address) in with the new (address) Renan DelValle 2017-10-12 17:07:43 -07:00
  • 8a4a9bdb8c Merge pull request #37 from rdelval/auroraAdmin Renan DelValle 2017-10-11 12:28:15 -07:00
  • 65398fdfd6 Removed print statement as it makes no sense after the monitor change Renan DelValle 2017-10-04 17:40:33 -07:00
  • bd008dbb39 Changing client to reflect monitor changes Renan DelValle 2017-10-04 17:09:55 -07:00
  • 1fd07b5007 Avoided going through the entire list of monitored hosts by keeping a set of hosts that had transistioned to a desired mode. Renan DelValle 2017-10-04 15:56:59 -07:00
  • fa7833a749 Updating client to reflect changes made on the Monitor's side Renan DelValle 2017-10-04 14:34:47 -07:00
  • 922e8d6b5a Changing HostMaintenance to return a map[string]bool where true indicates success, false indicates failure to transition to the desired state. Renan DelValle 2017-10-02 17:24:01 -07:00
  • 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. Renan DelValle 2017-09-29 18:21:30 -07:00
  • 430764f025 Added tests for draining. run go test with a aurora vagrant image running to test. Renan DelValle 2017-09-28 17:49:15 -07:00
  • 7db2395df1 Changed from the old style of creating clients to the new clojure pattern. Renan DelValle 2017-09-28 17:36:41 -07:00
  • bf354bcc0a Fixed bug with NewDefaultClientUsingUrl where backoff was not initialized leading to nil pointer error. Renan DelValle 2017-09-28 17:14:55 -07:00
  • 8334dde12f Sample client now blocks until all hosts entered desired state. Cleaned up host maintenance monitor. Renan DelValle 2017-09-28 16:50:46 -07:00
  • dc6848f804 Host Maintenance monitor which allows to block until all hosts in a list have entered of the states in a provided set Renan DelValle 2017-09-28 16:35:24 -07:00
  • c03e8bf79c Added Maintenance status API Renan DelValle 2017-09-28 16:32:17 -07:00
  • 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. Renan DelValle 2017-09-27 12:55:50 -07:00
  • f59940f9a7 Merge pull request #36 from rdelval/auroraAdmin Renan DelValle 2017-09-26 12:33:50 -07:00
  • 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. Renan DelValle 2017-09-25 15:45:40 -07:00
  • 0d3126c468 New API to set hosts to DRAINING. Cleaned up some of the client code, and fixed a few error printing bugs. Renan DelValle 2017-09-22 12:55:03 -07:00
  • d9f4086853 Merge pull request #35 from rdelval/jobAsPtr kkrishna 2017-09-18 16:48:57 -07:00
  • 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. Renan DelValle 2017-09-18 16:10:10 -07:00