Jeremy Voorhis
a19043e6c7
Handle nil values when redacting vault token.
2017-08-08 10:54:11 -07:00
Jeremy Voorhis
554f6efe02
Redact Vault.Token from AgentSelf response.
...
If Config.Vault.Token is defined, /v1/agent/self will return the string
`<redacted>`. If the token is not set, This endpoint will continue to
return the empty string.
2017-08-07 21:34:43 -07:00
Michael Schurter
d1888f5b97
Merge pull request #2983 from hashicorp/b-update-raft-atomics2
...
Update raft to fix atomics alingment on 32bit
2017-08-07 16:40:54 -07:00
Alex Dadgar
7df112f05c
changelog
2017-08-07 16:31:18 -07:00
Alex Dadgar
79d25b7db9
Merge pull request #2947 from hashicorp/f-vault-grace
...
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Alex Dadgar
93b9a1bf20
Rename runnerConfig
2017-08-07 16:29:42 -07:00
Michael Schurter
c1be2c3193
Update raft to fix atomics alingment on 32bit
...
Related to #2963
Also pulls in some state file syncing improvements
2017-08-07 16:07:35 -07:00
Chelsea Komlo
5537516bfd
Merge pull request #2964 from hashicorp/f-autocomplete-api
...
autocomplete api
2017-08-07 12:40:09 -07:00
Chelsea Holland Komlo
4664a361e0
update changelog
2017-08-07 19:25:55 +00:00
Michael Schurter
c1a5794850
Merge pull request #2965 from hashicorp/b-2963-fix-arm-atomics
...
Use int32 for atomic ops to avoid alignment issues
2017-08-07 11:33:41 -07:00
Alex Dadgar
331c37de72
Changelog
2017-08-07 11:22:20 -07:00
Alex Dadgar
e658bfa01d
Merge pull request #2959 from hashicorp/b-periodic-dispatcher
...
Fix restoration of parameterized, periodic jobs
2017-08-07 11:20:53 -07:00
Alex Dadgar
180da719fc
Merge pull request #2956 from hashicorp/f-dev
...
Add `dev/` for configs for use by Nomad developers
2017-08-07 11:20:02 -07:00
Alex Dadgar
23cfdb1e31
Resolve comments
2017-08-07 11:19:46 -07:00
Alex Dadgar
fb857ceca9
Merge pull request #2974 from nak3/fix-monitoring-docs
...
docs: fix tiny errors in monitoring spark app
2017-08-07 11:15:02 -07:00
Alex Dadgar
2470faccb3
Merge pull request #2975 from nak3/fix-link-hdfs
...
docs: fix invalid links for hdfs examples
2017-08-07 11:14:29 -07:00
Chelsea Holland Komlo
d4fc5160b1
code simplifications and logging
2017-08-07 17:28:46 +00:00
Alex Dadgar
a5c5b54fed
Update requirements.html.md
...
Fixes https://github.com/hashicorp/nomad/issues/2976
2017-08-07 09:58:02 -07:00
Chelsea Holland Komlo
cd0698a87b
max index for any resource, if context is unspecified
2017-08-07 15:07:18 +00:00
Chelsea Holland Komlo
f110fa5c0d
syntax fixups and logging
2017-08-07 14:26:53 +00:00
Kenjiro Nakayama
8634344d9e
docs: fix invalid link for hdfs examples
2017-08-06 14:24:51 +09:00
Kenjiro Nakayama
c48a08b7b9
docs: fix tiny errors in monitoring spark app
2017-08-06 14:22:56 +09:00
Alex Dadgar
84bebc1b62
changelog
2017-08-04 17:00:11 -07:00
Alex Dadgar
fa73c2c361
Merge pull request #2972 from hashicorp/d-doc-fixes
...
Small improvements to docs
2017-08-04 16:59:47 -07:00
Alex Dadgar
4cb731f131
Merge pull request #2961 from hashicorp/b-deployment-ttl
...
Lost allocs replaced even if deployment failed
2017-08-04 16:58:18 -07:00
Alex Dadgar
9476d0b210
Small improvements to docs
...
This PR fixes an incorrect placement of the update stanza in the task
and also links from the env stanza into an example of using the template
block to generate dynamic environment variables.
2017-08-04 16:14:41 -07:00
Chelsea Holland Komlo
1b77f9a216
further refactoring
2017-08-04 22:50:41 +00:00
Michael Schurter
ce8e7ec445
Merge pull request #2968 from hashicorp/d-task-ports
...
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Chelsea Holland Komlo
424e475333
if no context is specified, set maximum index for available contexts
2017-08-04 20:16:49 +00:00
Michael Schurter
cdbf729386
Document <task> network env vars
...
Looks like I accidently dropped them when combining env var listings in
PR #2709
2017-08-04 13:05:05 -07:00
Chelsea Holland Komlo
0b38704392
fix up tests to intantiate assertion test helper
...
add http tests for remaining contexts
2017-08-04 19:48:20 +00:00
Michael Schurter
7d70a78e78
Merge pull request #2966 from sprutner/patch-3
...
Update revert.html.md.erb
2017-08-04 11:15:50 -07:00
Seth Rutner
efee7fb635
Update revert.html.md.erb
...
wrong command
2017-08-04 11:06:04 -07:00
Michael Schurter
5794e5ece7
Use int32 for atomic ops to avoid alignment issues
...
From https://golang.org/pkg/sync/atomic/#pkg-note-BUG :
On both ARM and x86-32, it is the caller's responsibility to arrange for
64-bit alignment of 64-bit words accessed atomically. The first word in
a global variable or in an allocated struct or slice can be relied upon
to be 64-bit aligned.
2017-08-04 10:14:16 -07:00
Chelsea Holland Komlo
1eff731d8b
further refactoring
2017-08-04 15:19:35 +00:00
Chelsea Holland Komlo
111019642b
resources are expected by state store to be plural
2017-08-04 15:07:34 +00:00
Chelsea Holland Komlo
927b6667c7
set response index and meta information
...
add tests for edge cases
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
b2b4c5d7af
add documentation
...
extract magic number into variable
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
b6f459a7a9
refactor rpc endpoint and tests
...
add test for when no prefixes are matched
add test for no context at HTTP api
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
7b7a80d6ce
resources list endpoint accepts http POST and PUT
...
set the index for a resources response
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
312bb19e1c
refactor and add error handling for invalid context type
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
98fe705dff
adding allocations to resouces list endpoint
...
adding nodes to resources list endpoint
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
2759ffe2d2
refactor to remove duplication for types of resources
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
ef5a62aaa1
use upsert as a test helper
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
0026a308ec
add truncation boolean to response
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
06f10d2e5f
adds evaluations
...
makes context singular
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
92cc40f1de
change resources endpoint from http get to post
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
64a83edd9f
remove resourceliststub, no need for another layer of abstraction
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
5192dacf85
limit resources results to 20
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
197c411767
refactor test helper
2017-08-04 14:34:25 +00:00