Alex Dadgar
|
c744e2f4f1
|
Update the consul service when the task/alloc changes
|
2016-02-06 17:08:20 -08:00 |
|
Ryan Slade
|
e8b3ee3c69
|
Fix a typo
|
2016-01-27 17:49:32 +02:00 |
|
Diptanu Choudhury
|
b1d1e966ba
|
Printing error message if check is not valid
|
2016-01-07 17:51:57 -08:00 |
|
Diptanu Choudhury
|
b7f556fabc
|
Changed some comments
|
2015-12-14 18:05:58 -08:00 |
|
Diptanu Choudhury
|
2eb03e1d23
|
Renamed serviceId to serviceID
|
2015-12-14 15:57:56 -08:00 |
|
Diptanu Choudhury
|
76486d71e2
|
Making the allocs hold service ids
|
2015-12-14 15:08:35 -08:00 |
|
Diptanu Choudhury
|
3c01a4de27
|
Fixed log printing logic
|
2015-12-11 15:45:49 -08:00 |
|
Diptanu Choudhury
|
e389674d34
|
Exctracted nomad- to a constant
|
2015-12-11 14:06:51 -08:00 |
|
Diptanu Choudhury
|
c7c0748cea
|
Making a struct to hold consul service config
|
2015-12-11 14:06:51 -08:00 |
|
Diptanu Choudhury
|
a53e035b49
|
Deregister services and checks which are managed by Nomad
|
2015-12-11 14:06:51 -08:00 |
|
Diptanu Choudhury
|
8e97e7d85f
|
Not continuing sync if we couldn't get services and checks from consul
|
2015-12-11 13:10:20 -08:00 |
|
Diptanu Choudhury
|
7094ea53d6
|
Printing most of the consul messages only when the agent is available
|
2015-12-11 09:22:47 -08:00 |
|
Diptanu Choudhury
|
d54ccfb0ec
|
Muted the consul debug messages
|
2015-12-11 09:06:03 -08:00 |
|
Diptanu Choudhury
|
4395438400
|
Changing naming and debug message schemes
|
2015-12-10 16:47:43 -08:00 |
|
Diptanu Choudhury
|
b3c161a7d5
|
Generate check names, check id and service id on the server side
|
2015-12-10 16:07:17 -08:00 |
|
Charlie Drage
|
bbae520a38
|
Fix minor spelling error
|
2015-12-10 18:09:14 -05:00 |
|
Diptanu Choudhury
|
0bd552edb9
|
Added some extra log lines
|
2015-12-10 06:05:07 -08:00 |
|
Diptanu Choudhury
|
a2ef63a67d
|
Fixing some log lines
|
2015-12-07 06:25:00 -08:00 |
|
Halil Kaskavalci
|
8957a47ec4
|
Fixed git vet error on formatting
|
2015-11-30 10:27:26 +00:00 |
|
Diptanu Choudhury
|
fbe3bd0724
|
Fixed some docs
|
2015-11-26 13:47:02 -08:00 |
|
Diptanu Choudhury
|
7bab4d191a
|
Added more docs
|
2015-11-26 11:25:09 -08:00 |
|
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 |
|