gorealis-v2/examples
Renan DelValle e614e04f27
Code cleanup, added ability to attach logger, added CreateService api
* Code cleanup: Deleted multiple functions which have become stale. Removed cluster example as we replaced the need to create the Cluster object.

* 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.

* Added LeaderFromZKURL test to end to end tests.

* Added logger to realisConfig so that users can attach their own Loggers to the client. Logger is an interface that shadows most popular logging libraries. Only Print, Println, and Printf are needed to be a realis.Logger type. Example in the client uses the std library log.

* Moved most fmt.Print* calls to be redirected to user provided logger. Logger by default is a no-op logger.

* Adding CreateService to realis interface. Uses the StartJobUpdate API to create services instead of the createJobs API.

* Bumping up version number inside client in anticipation of new release.
2017-11-30 12:02:50 -08:00
..
client.go Code cleanup, added ability to attach logger, added CreateService api 2017-11-30 12:02:50 -08:00
clusters.json use exponential back off func from realis lib (#39) 2017-11-04 15:06:26 -07:00
job.json First example using a JSON blob as the configuration for a job 2016-08-19 15:25:15 -07:00
jsonClient.go out with the old (address) in with the new (address) 2017-10-12 17:11:01 -07:00
thermos_cron_payload.json Fixed clusters.json loader tester. Initial testing for CreateJob, KillJob, ScheduleCronJob, StartCronJob, DeschedulerCronJob 2016-10-01 01:54:11 -04:00
thermos_payload.json Cleaned up the README and added new information to Getting_Started. 2016-08-10 11:46:08 -07:00