Commit Graph

181 Commits

Author SHA1 Message Date
Diptanu Choudhury
8e13eaa522 Using unix domain sockets for docker syslog collector 2016-03-09 23:28:26 -08:00
Diptanu Choudhury
4478238ff6 Fixed an issue around parsing client max and min ports 2016-03-09 12:25:30 -08:00
Alex Dadgar
6454d7bb9f Guard client/ api to ensure the client is running 2016-03-07 11:26:54 -08:00
Alex Dadgar
6fabf95e65 fix test 2016-03-06 18:41:33 -08:00
Alex Dadgar
88c590dede agent: Configurable heartbeat 2016-03-04 15:44:12 -08:00
Alex Dadgar
44f5d75315 Remove documentation about assigning node-id 2016-03-04 10:36:30 -08:00
Diptanu Choudhury
7f8f6712c5 Adding version information to snapshots 2016-02-24 19:06:30 -08:00
Alex Dadgar
207d544a55 client: standardize error logging format 2016-02-24 15:57:58 -08:00
Alex Dadgar
902c14beb4 Job GC endpoint 2016-02-20 15:50:41 -08:00
Alex Dadgar
c43c031a49 Make the client only reserve 512 ports. 2016-02-20 11:43:02 -08:00
Diptanu Choudhury
315882f60a Testing default http port is being set 2016-02-16 17:54:17 -08:00
Diptanu Choudhury
f5b37b5221 Added a test for testing that http addr is set properly 2016-02-16 13:42:48 -08:00
Diptanu Choudhury
436367183c fixing the logic of addr resolution 2016-02-16 13:13:40 -08:00
Diptanu Choudhury
b4792dde34 Merge pull request #797 from hashicorp/reserve-ports
Reserving ports for client in every platform
2016-02-12 14:33:13 -08:00
Diptanu Choudhury
9b31a6583c Adding comments 2016-02-12 14:25:32 -08:00
Diptanu Choudhury
7c4dbbf7da Reserving ports for client in every platform 2016-02-12 13:21:56 -08:00
Diptanu Choudhury
d43af22b2b Merging the value of http advertise addr if user is providing one 2016-02-12 09:40:28 -08:00
Diptanu Choudhury
355b88bba9 Setting the output for default logger to nomad's logoutput 2016-02-11 16:05:31 -08:00
Diptanu Choudhury
8b2f94ff6f Added a test for merge 2016-02-08 16:27:31 -08:00
Diptanu Choudhury
747d3202ca Moving code to mount and unmount chroot into allocdir 2016-02-08 14:11:53 -08:00
Diptanu Choudhury
41447a0d7c Extracted the cgroup info into isolation struct 2016-02-08 13:48:26 -08:00
Diptanu Choudhury
70f7b2d70f Setting defaults for client max and min port 2016-02-08 13:29:53 -08:00
Diptanu Choudhury
2efdd83636 Using net.IsLoopback to determine if ifc is a loopback device 2016-02-08 07:57:31 -08:00
Diptanu Choudhury
f51e377f52 Reserving ports on windows 2016-02-05 15:17:15 -08:00
Alex Dadgar
410ae593e7 Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
Alex Dadgar
872eae28a9 Merge pull request #722 from iverberk/f-double-alloc-update
Add new RPC call to fetch a lightweight list of allocation information.
2016-01-30 16:39:09 -08:00
Ivo Verberk
60d8180279 Add additional API endpoint for requesting client specific node allocations. 2016-01-29 20:01:21 +01:00
Jake Champlin
38bf85b3cb Update agent_endpoint_test 2016-01-28 23:33:01 -05:00
Diptanu Choudhury
d0fbdd8689 Simplified the logic of detecting addrs 2016-01-27 13:34:01 -08:00
Diptanu Choudhury
90840eaf29 Added the advertise http option to the client 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
8915619093 Using the bindAddr only when user hasn't overrident it 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
40a205f466 Added the cli for listing alloc dir 2016-01-27 12:53:23 -08:00
Diptanu Choudhury
6c32119ee7 Allow users to configure arbitrary headers in config 2016-01-22 11:00:43 -08:00
Alex Dadgar
0d29e30e7b Merge pull request #675 from nautsio/f-cli-short-ids
Shorten CLI identifiers
2016-01-19 15:11:41 -08:00
Alex Dadgar
a9b0591405 Merge pull request #668 from hashicorp/f-force-spawn
Force spawn periodic jobs
2016-01-19 11:37:18 -08:00
Alex Dadgar
e5ef12d80c Missing forward slash 2016-01-19 11:18:03 -08:00
Alex Dadgar
1ab7896133 Move endpoint to be under job 2016-01-19 11:09:36 -08:00
Ivo Verberk
648a3487c9 Merge branch 'master' into f-cli-short-ids 2016-01-15 09:19:53 +01:00
Diptanu Choudhury
0cf85f5355 Refactoring some comments and test names 2016-01-14 15:07:24 -08:00
Diptanu Choudhury
12f44a28f7 Renamed the tests 2016-01-14 13:39:30 -08:00
Diptanu Choudhury
21847954e0 changed the API of the client 2016-01-14 13:35:42 -08:00
Ivo Verberk
ab9409184a Shorten CLI identifiers
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Diptanu Choudhury
ee369382aa Fixed the query for extracting path from stat 2016-01-13 13:21:03 -08:00
Diptanu Choudhury
2b1962b9fd Refactored the tests 2016-01-13 11:49:39 -08:00
Diptanu Choudhury
8636fb61f7 Added a test for the readat api endpoint 2016-01-13 11:37:29 -08:00
Diptanu Choudhury
46bb3fb5cd Fixed the logic of extracting alloc 2016-01-13 11:19:45 -08:00
Alex Dadgar
94f4b23acb Add force spawn endpoint 2016-01-13 10:19:53 -08:00
Diptanu Choudhury
f7c367397f Refactored the code 2016-01-12 22:25:12 -08:00
Diptanu Choudhury
11a67599b9 Implemeted readAt 2016-01-12 22:06:42 -08:00
Diptanu Choudhury
b5385b616d Implemented the Stat API 2016-01-12 21:28:07 -08:00