Diptanu Choudhury
|
86a45b5b39
|
Added a mock consul api client
|
2015-11-26 01:03:16 -08:00 |
|
Diptanu Choudhury
|
f71a664faa
|
Fixed a few tests
|
2015-11-26 00:26:10 -08:00 |
|
Diptanu Choudhury
|
01ca982f92
|
Added a test for modifying check
|
2015-11-25 18:37:51 -08:00 |
|
Diptanu Choudhury
|
db8c4170b3
|
Fixed merge conflicts
|
2015-11-25 18:32:37 -08:00 |
|
Diptanu Choudhury
|
634e856c1f
|
Added some comments
|
2015-11-25 18:31:11 -08:00 |
|
Diptanu Choudhury
|
5eb8a26376
|
Fixed tests
|
2015-11-25 18:23:47 -08:00 |
|
Diptanu Choudhury
|
9cf10d64a5
|
making the service checks in service pointers
|
2015-11-25 17:44:57 -08:00 |
|
Diptanu Choudhury
|
32f0a80701
|
Made the logic to track checks simpler
|
2015-11-25 17:28:44 -08:00 |
|
Diptanu Choudhury
|
f66069a08d
|
Using the service id in check hash
|
2015-11-25 15:17:27 -08:00 |
|
Diptanu Choudhury
|
3f82deff60
|
Added options for adding more consul configuration
|
2015-11-25 13:39:16 -08:00 |
|
Diptanu Choudhury
|
95942b4179
|
Improved tests
|
2015-11-25 12:06:14 -08:00 |
|
Diptanu Choudhury
|
576a6f402e
|
Added a test to make sure we are adding a check to a service
|
2015-11-25 11:20:36 -08:00 |
|
Diptanu Choudhury
|
5480a2bd0f
|
Saving the host and port in tracked service
|
2015-11-24 18:58:53 -08:00 |
|
Diptanu Choudhury
|
6353dde236
|
Fixing comment and syntax
|
2015-11-24 18:43:23 -08:00 |
|
Diptanu Choudhury
|
28a21061ce
|
Implemented syncing of checks
|
2015-11-24 18:39:38 -08:00 |
|
Diptanu Choudhury
|
2c0822284b
|
Tracking the tasks too
|
2015-11-24 17:26:30 -08:00 |
|
Diptanu Choudhury
|
919f763ca8
|
Added a test to re-sync services
|
2015-11-24 14:37:14 -08:00 |
|
Diptanu Choudhury
|
135006699b
|
Renamed consul client to service
|
2015-11-24 12:34:26 -08:00 |
|
Diptanu Choudhury
|
a3d5b266a0
|
Registering Checks independently
|
2015-11-24 10:02:33 -08:00 |
|
Diptanu Choudhury
|
c1a16eefaa
|
Removing a hot debug line
|
2015-11-24 10:02:33 -08:00 |
|
Diptanu Choudhury
|
f4efcf9678
|
Merge pull request #479 from hashicorp/r-consul-check
Using the service name in the service id so that it's unique
|
2015-11-20 15:33:57 -08:00 |
|
Diptanu Choudhury
|
aaca44c512
|
Using the service name in the service id so that it's uniq
|
2015-11-20 10:35:04 -08:00 |
|
Chris Bednarski
|
dd8c9c28f8
|
Added nil to network.MapLabelToValues call
|
2015-11-19 22:18:19 -08:00 |
|
Diptanu Choudhury
|
3eb291faef
|
Changing the code comment
|
2015-11-18 19:34:50 -08:00 |
|
Diptanu Choudhury
|
be4b981aef
|
Nuking the service and registering it so that checks are cleaned up
|
2015-11-18 19:31:29 -08:00 |
|
Diptanu Choudhury
|
ece7877a15
|
Triggering the next sync after we have finished the current one
|
2015-11-18 18:47:12 -08:00 |
|
Diptanu Choudhury
|
33472fd594
|
Making sure we sync the real state of services of a Task with Consul
|
2015-11-18 18:35:22 -08:00 |
|
Diptanu Choudhury
|
65bac7f4db
|
Updating checks and services when allocs are refreshed
|
2015-11-18 17:33:29 -08:00 |
|
Diptanu Choudhury
|
c9ca03afa5
|
Added a test to check check creation
|
2015-11-18 14:29:55 -08:00 |
|
Diptanu Choudhury
|
5608531143
|
Added a test to check check creation
|
2015-11-18 14:29:55 -08:00 |
|
Diptanu Choudhury
|
bb7f29f023
|
Changed the http field to path
|
2015-11-18 14:29:55 -08:00 |
|
Diptanu Choudhury
|
2deed3a2eb
|
Added a log line to indicate we are registering a service with Consul
|
2015-11-18 10:32:31 -08:00 |
|
Diptanu Choudhury
|
41a1e6d74b
|
Added a lock around modification of tracked services map
|
2015-11-18 09:36:37 -08:00 |
|
Diptanu Choudhury
|
93d0dbc974
|
Added some docs
|
2015-11-18 05:49:40 -08:00 |
|
Diptanu Choudhury
|
2f1f3d3898
|
Removed a debug log
|
2015-11-18 05:20:57 -08:00 |
|
Diptanu Choudhury
|
2ee71ffb59
|
Added the option to configure consul address
|
2015-11-18 05:15:52 -08:00 |
|
Diptanu Choudhury
|
e83387191e
|
Shutting down consul an not trying to de-register the consul service
|
2015-11-18 04:59:57 -08:00 |
|
Diptanu Choudhury
|
cc26cb9a7b
|
Added the logic to retry services which needs to be tracked if consul doesn't respond
|
2015-11-18 04:34:23 -08:00 |
|
Diptanu Choudhury
|
962e10b102
|
Registering the checks with consul
|
2015-11-18 03:08:53 -08:00 |
|
Diptanu Choudhury
|
b8c2cc81f0
|
Defering calling the de-register from consul call when a service is not running
|
2015-11-18 02:37:34 -08:00 |
|
Diptanu Choudhury
|
cb34f34c12
|
Added a logger to consul client
|
2015-11-18 02:14:07 -08:00 |
|
Diptanu Choudhury
|
a447b1ea3c
|
DRYed the code
|
2015-11-18 01:20:53 -08:00 |
|
Diptanu Choudhury
|
d6da6372cd
|
Moving the logic to find port and host inside consul client
|
2015-11-18 01:18:29 -08:00 |
|
Diptanu Choudhury
|
404810043a
|
Added the implementation of consul client
|
2015-11-18 00:50:45 -08:00 |
|