Commit Graph

76 Commits

Author SHA1 Message Date
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
6905740234 Added a test to check whether services get updated 2016-03-23 16:25: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