Commit graph

  • 03278a882b
    Moving from govendor to dep. Renan DelValle 2018-01-02 16:39:22 -08:00
  • 9631aa3aab Specify field names when initializing structs (#47) v1.1.0 PRADYUMNA KAUSHIK 2017-12-23 10:33:42 -08:00
  • 75168b2845 moving subsequent function arguments into separate lines. Pradyumna Kaushik 2017-12-22 17:46:55 -08:00
  • a642f78bfc resolved merge conflicts Pradyumna Kaushik 2017-12-22 12:37:00 -08:00
  • e3278120d6 added field names to struct initializations. Pradyumna Kaushik 2017-12-22 12:22:39 -08:00
  • 4c58506576 added field names to struct initializations. Pradyumna Kaushik 2017-12-22 12:22:39 -08:00
  • ff545e8aa6 Fixing semantic errors in docs/getting-started.md (#44) PRADYUMNA KAUSHIK 2017-12-22 08:53:05 -08:00
  • 1e71db7b31 Ran gofmt on project. Pradyumna Kaushik 2017-12-21 12:50:40 -08:00
  • 65d92e9962 fixed grammatical mistake. Pradyumna Kaushik 2017-12-21 12:48:06 -08:00
  • a555d422e1 fixed semantics. Earlier mentioned that 'Pystachio does yet support...'. Changed now to mention 'Pystachio does not yet support...' Pradyumna Kaushik 2017-12-20 20:42:02 -08:00
  • c338c03355
    Thrift API update and Pull Request template. (#43) Renan DelValle 2017-12-14 14:37:08 -08:00
  • 6efb47eec1
    Adding link to Aurora Vagrant instructions on the PR template. Renan DelValle 2017-12-14 14:23:36 -08:00
  • 5ae80f2e32
    * Adding a Pull request template to serve as a reminder of what to do before creating the pull request. Renan DelValle 2017-12-13 17:39:13 -08:00
  • 4c8d4ef532
    Updated thrift definitions and generated new thrift bindings based on it. Build is currently broken due to API changes. Renan DelValle 2017-11-30 18:29:11 -08:00
  • d4027bc95c make insecureskipverify configurable (#40) Sivaram Mothiki 2017-12-12 14:04:11 -08:00
  • 4b1150c3f3 add config support for client key and cert Mothiki 2017-12-08 16:00:00 -08:00
  • beb8edc35f add certs test Mothiki 2017-12-07 17:26:14 -08:00
  • 7980d7cad7 add insecure and certspath to configs Mothiki 2017-12-07 16:23:14 -08:00
  • 6ddbf833cf make inseucreskipverify configurable Mothiki 2017-11-07 14:32:03 -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
  • 9047b4ba2b Bumping up version number inside client in anticipation of new release. Renan DelValle 2017-11-30 08:37:13 -08:00
  • 98db8b6b9d Move monitor output to logger interface. Renan DelValle 2017-11-30 08:35:54 -08:00
  • ac0a432f5d Changing monitoring from instances to update monitoring. Renan DelValle 2017-11-30 08:32:26 -08:00
  • ae2e082248 Removing build tags as we're going with a different approach. Renan DelValle 2017-11-29 13:57:58 -08:00
  • d074fd9d0c Giving control to the user of the library as to how they want to use a logger. Logger for gorealis only needs Print, Printf, and Println receiver functions. Example in the client uses the std library log. Renan DelValle 2017-11-29 12:27:07 -08:00
  • 878a11f896 Adding CreateService to realis interface. Uses the StartJobUpdate API to create services instead of the createJobs API Renan DelValle 2017-11-29 10:51:48 -08:00
  • f6a21e0f59 Cleaned up ZK connection code by using the backoff function. Added a test to the end to end to test that we're getting the host correctly from ZK. Changed clusters test to be an outside package. Renan DelValle 2017-11-28 17:30:33 -08:00
  • f60aa3dd88 Removed cluster example as we replaced the need to create the Cluster object. Renan DelValle 2017-11-28 16:53:12 -08:00
  • 35111af66d Removing logger from realisConfig. Debugging can now be turned on by running or building with the realis_debug flag. e.g. go run -tags="gocql_debug" Renan DelValle 2017-11-28 15:26:13 -08:00
  • d99082d1a1 Code cleanup and moving towards messages printed by library being configurabele by using a logger. Discussion should take place as to wether we want to move towards a flag enabling debug messages at compile time, like gocql, or embedding an optional logger. Renan DelValle 2017-11-28 08:46:54 -08:00
  • 72b746e431 use exponential back off func from realis lib (#39) Sivaram Mothiki 2017-11-04 15:06:26 -07:00
  • 8b8fdb7d99 dont compare for retry errors Mothiki 2017-11-03 15:00:36 -07:00
  • 0e12d273af remove exponential backoffs from monitors Mothiki 2017-11-02 20:33:49 -07:00
  • 7538f366ea use exponential back off func from realis lib Mothiki 2017-10-19 18:43:04 -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
  • 13cc103faa Changing AuroraJob to *AuroraJob in order to not create new objects so that UpdateJob is able to change parameters. Renan DelValle 2017-09-14 16:38:26 -07:00
  • ef49df747f Merge pull request #33 from smothiki/jobupdate Renan DelValle 2017-08-22 17:14:07 -07:00
  • 4bc0a694ae use switch instead of if else conditions Mothiki 2017-08-22 17:03:35 -07:00
  • dcab5e698f monitor job update returns on Rolle back and update fail Mothiki 2017-08-22 16:55:20 -07:00
  • 7e578f80bd check for staus failed and return error Mothiki 2017-08-21 19:45:36 -07:00
  • 211319238e Merge pull request #32 from rdelval/moreResponses Renan DelValle 2017-08-18 16:45:03 -07:00
  • 0524238605 Adding Job Update Summaries response extractor so that we can write less error prone code. Renan DelValle 2017-08-17 11:44:37 -07:00
  • 40fcbb3d08 Merge pull request #31 from rdelval/LeaderZKReturnRebase kkrishna 2017-08-02 17:36:09 -07:00
  • 719a121ed5 Bug fix: #30 NewRealisClient method returning <nil> error when zookeeper leader not found Renan DelValle 2017-08-02 16:22:46 -07:00
  • 14483e13a5 Merge pull request #29 from rdelval/GetTasksWithoutConfigs kkrishna 2017-07-24 15:56:36 -07:00
  • 99ea6aa094 Adding API call to get tasks without a fully hydrated object which results in less overhead Renan DelValle 2017-07-24 15:45:24 -07:00
  • 68e64682d7 Merge pull request #28 from rdelval/WatchSecsFix kkrishna 2017-07-11 22:07:29 -07:00
  • 8c29330e06 Bug fix: Modifying wrong field insite od the job update settings. Renan DelValle 2017-07-11 12:37:34 -07:00
  • dd334d3a08 Merge pull request #27 from smothiki/nilcheck kkrishna 2017-06-05 15:54:14 -07:00
  • 900f054633 check if the resposne schedule result is nil Mothiki 2017-05-30 12:03:17 -07:00
  • e12370ffbb Merge pull request #21 from sunilmvn/master kkrishna 2017-04-18 19:06:52 -07:00
  • 68d5b9c8fc Mustn't print the whole config object in logs, just printing the url Mukkavilli, Sunil 2017-04-18 16:35:27 -07:00
  • 89337f9c7f Merge branch 'master' of https://github.com/rdelval/gorealis Mukkavilli, Sunil 2017-04-18 16:10:58 -07:00
  • d08c0c637e Merge pull request #26 from kkrishna/master kkrishna 2017-04-12 22:29:18 -07:00
  • 0c6fc794ed Merge branch 'master' of https://github.com/rdelval/gorealis Kumar Krishna 2017-04-06 23:16:11 -07:00
  • e57dc98d65 add resiliency for LeaderFromZK and other fixes . Kumar Krishna 2017-04-06 23:15:44 -07:00
  • ff8f10a004 Merge pull request #25 from kkrishna/master Renan DelValle 2017-03-31 16:05:41 -04:00
  • 48ca520eaa realisconfig refactor Kumar Krishna 2017-03-31 10:48:36 -07:00
  • 64dcf55be4 Merge branch 'master' of https://github.com/rdelval/gorealis Kumar Krishna 2017-03-30 18:17:50 -07:00
  • b10df0603e gorealis config refactoring Kumar Krishna 2017-03-30 18:17:21 -07:00
  • 148b7baf4c Merge pull request #23 from rdelval/vendorFix kkrishna 2017-03-26 19:34:24 -07:00
  • e6e4742f64 Merge branch 'master' of https://github.com/rdelval/gorealis Mukkavilli, Sunil 2017-03-24 15:55:48 -07:00
  • d27d8a4706 Updated end to end test on vagrant images to reflect new client creation. Renan DelValle 2017-03-23 20:44:45 -04:00
  • cb6100e690 Reverted change made to vendored thrift library which caused some issues when vendoring gorealis itself. Added a workaround to overcome the default httpPostClient in the thrift library defaulting to headers for the thrift JSON protocol Renan DelValle 2017-03-23 19:18:23 -04:00
  • 8f505815d5 Updating wording. Removed vendoring section and some superfluous info. Renan DelValle 2017-03-23 19:08:15 -04:00
  • 764cfac099 Merge pull request #22 from kkrishna/master Renan DelValle 2017-03-22 01:06:24 -04:00
  • 9c4c2fce44 making some methods private. Kumar Krishna 2017-03-21 16:59:27 -07:00
  • 0d9b869583 Updating the client to not use instanceId 0 by default, instead get the instanceId from the list of active Instances Mukkavilli, Sunil 2017-03-21 12:52:29 -07:00
  • 3add32a585 gorealis resiliency Kumar Krishna 2017-03-20 22:34:45 -07:00
  • d97e59b9e6 inital commit gorealis resiliency Kumar Krishna 2017-03-16 23:19:30 -07:00
  • 5a04d1dc08 Merge 623a5016ac into 1b475175db Renan DelValle 2017-03-14 07:02:52 +00:00
  • 1b475175db Merge pull request #18 from smothiki/pointer kkrishna 2017-03-13 23:54:57 -07:00
  • f77379dd63 make gorealisCLient functions handled by client pointer Mothiki 2017-03-10 15:50:26 -08:00
  • cc739f96aa updating log.. kkrishna 2017-03-10 15:15:51 -08:00
  • 58088a139c Merge pull request #17 from sunilmvn/master kkrishna 2017-03-10 14:00:36 -08:00
  • 40781fab82 Adding removeInstances method for a job - -- This method takes the job key and the number of Instances to remove as parameters Mukkavilli, Sunil 2017-03-10 01:14:09 -08:00
  • 811169a266 Merge pull request #16 from smothiki/readonly kkrishna 2017-03-09 23:56:01 -08:00
  • 97fbec9eaf add function to get readonly scheduler client smothiki 2017-03-09 11:37:03 -08:00