Commit Graph

43 Commits

Author SHA1 Message Date
Diptanu Choudhury
522eebcbc1 Using a helper method to create service identifiers 2016-05-14 00:43:25 -07:00
Diptanu Choudhury
8c5aa0fe65 Added some docs 2016-05-14 00:36:26 -07:00
Diptanu Choudhury
b2c18168a4 Making Nomad register services with consul in dev mode 2016-05-13 10:19:49 -07:00
Diptanu Choudhury
de660c4acf Removed allocID and task name from consul service 2016-05-11 16:26:41 -07:00
Diptanu Choudhury
50b03354f2 Fixed the consul tests 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2663ef9d6a Refactored the signature of NewConsulService 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2a4431b09b Added some docs 2016-05-05 11:52:22 -07:00
Diptanu Choudhury
03763d570b Added logs to indicate when checks timeout 2016-05-05 10:01:38 -07:00
Diptanu Choudhury
1b8e663af7 Allowing registration of services which don't expose any ports 2016-04-14 13:26:39 +05:30
Diptanu Choudhury
7555c2e705 Setting check state to critical if check result had an error 2016-04-05 10:15:38 -07:00
Diptanu Choudhury
7ca2d28baa Not logging if consul is unavailable 2016-04-02 14:48:10 -07:00
Diptanu Choudhury
5bec27a9a4 Using tls cert and key files while connecting to consul over https 2016-03-27 23:09:31 -07:00
Diptanu Choudhury
e0b9f038b0 Using a single timer to run checks 2016-03-25 16:11:45 -07:00
Diptanu Choudhury
bfc2a0d716 using switch to determine the state of checks 2016-03-25 14:26:56 -07:00
Diptanu Choudhury
f8db6a433f Using tickers instead of creating new timers 2016-03-25 14:18:04 -07:00
Diptanu Choudhury
4c2766085a Renamed NomadChecks to CheckRunner and a fix for checkrunner start 2016-03-25 10:36:31 -07:00
Diptanu Choudhury
7454ffd88b Renamed NomadChecks to CheckRunner 2016-03-24 21:17:33 -07:00
Diptanu Choudhury
52f7f93a09 Added some docs 2016-03-24 19:30:02 -07:00
Diptanu Choudhury
12dc439949 Changing the logic of keep services 2016-03-24 19:19:13 -07:00
Diptanu Choudhury
62249fe79f Added an impl for Nomad Checks 2016-03-24 19:00:24 -07:00
Diptanu Choudhury
588666d0df Introducing ConsulContext 2016-03-24 15:57:16 -07:00
Diptanu Choudhury
e8995be723 Fixed merge conflicts 2016-03-24 15:09:50 -07:00
Diptanu Choudhury
1e4da820a3 Running script checks periodically 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
42dc8bea16 Added a check type for consul service to delegate certain checks 2016-03-24 14:54:26 -07:00
Diptanu Choudhury
6c5f546e86 Fixing check registration in perform sync 2016-03-24 14:12:09 -07:00
Diptanu Choudhury
4a2bc83c14 Changed a log line 2016-03-23 19:20:08 -07:00
Diptanu Choudhury
c8622d8547 Added some comments to the keep services method 2016-03-23 19:14:03 -07:00
Diptanu Choudhury
66430737eb Fixed the tests 2016-03-23 18:39:17 -07:00
Diptanu Choudhury
ef52a7a2c2 Renamed vars and methods 2016-03-23 18:21:27 -07:00
Diptanu Choudhury
5b652bcfd8 Renaming the SyncWithConsul method 2016-03-23 18:13:13 -07:00
Diptanu Choudhury
1a9d71a1b5 Closing the shutdown ch on shutdown 2016-03-23 18:03:02 -07:00
Diptanu Choudhury
167f2f0937 Locking on alloc runners before syncing with consul 2016-03-23 17:54:32 -07:00
Diptanu Choudhury
1f6137aba5 Using the name of the task and the alloc id in the service name 2016-03-23 17:35:29 -07:00
Diptanu Choudhury
8efe41e52a removing ids of services and checks on the server side 2016-03-23 17:12:53 -07:00
Diptanu Choudhury
38fc2ac93f Fixing the test 2016-03-23 15:36:46 -07:00
Diptanu Choudhury
56ccea8f18 Client sync with consul and removed unwanted services 2016-03-23 15:28:55 -07:00
Diptanu Choudhury
5b6714cf53 Re-syncing task when it's updated 2016-03-23 14:34:43 -07:00
Diptanu Choudhury
a69649688d Handling errors during service and check registration 2016-03-23 14:23:32 -07:00
Diptanu Choudhury
5568258d0a Making the docker driver register services and checks 2016-03-23 12:59:22 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Diptanu Choudhury
92e0cd6b3f Added a test for the sync 2016-03-23 11:49:40 -07:00
Diptanu Choudhury
617e0c3ddf Added the sync logic 2016-03-23 10:43:35 -07:00
Diptanu Choudhury
388ab3cade Added consul sync 2016-03-23 00:50:41 -07:00