Chelsea Holland Komlo
1b77f9a216
further refactoring
2017-08-04 22:50:41 +00:00
Chelsea Holland Komlo
424e475333
if no context is specified, set maximum index for available contexts
2017-08-04 20:16:49 +00: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
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
Chelsea Holland Komlo
377b059e5e
remove unnecessary validations; these are tested elsewhere
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
36285a4b23
test resources endpoint will return matching prefixes
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
ecd0d85a4e
adding test validation that received resources matches requested
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
4dd6b46198
Retrieve job information for resources endpoint
...
requires further refactoring and logic for more contexts
2017-08-04 14:34:25 +00:00
Kate Taggart
255aab7139
Merge pull request #2962 from jvoorhis/master
...
Spelling and grammar fixes for manual bootstrap guide.
2017-08-03 21:07:53 -07:00
Jeremy Voorhis
8e029eefde
Spelling and grammar fixes for bootstrap guide.
2017-08-03 20:45:44 -07:00
Michael Schurter
4d76061854
Merge pull request #2816 from capone212/fix-pending-state
...
#2563 fixed pending state for allocations with terminal status
2017-08-03 17:32:07 -07:00
Michael Schurter
c76b3b54b9
Merge branch 'master' into fix-pending-state
2017-08-03 17:27:03 -07:00
Michael Schurter
e42f71f787
Revert "Rename GNUMakefile to Makefile"
...
This reverts commit 9f2ea92877ed655063a5ecf6bb22b7703bc2cea2.
2017-08-03 09:23:53 -07:00
Alex Dadgar
8ef5632884
Merge pull request #2955 from hashicorp/sethvargo/remove_people
...
Remove people from community section
2017-08-02 13:03:21 -07:00
Seth Vargo
c139711b38
Remove people from community section
...
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 15:03:37 -04:00
Alex Dadgar
d68caec2b9
Merge pull request #2954 from jrxFive/python_nomad_client_library_to_docs
...
add third party client library link for python
2017-08-02 11:17:46 -07:00
Jonathan Cross
c5b107d916
fix wording
2017-08-02 13:54:49 -04:00
Jonathan Cross
65b4141f91
add third party client library link for python
2017-08-02 13:51:37 -04:00
Michael Schurter
47186e3b15
Merge pull request #2952 from jen20/idea-gitignore
...
meta: Ignore IntelliJ IDEA/Gogland project files
2017-08-02 09:27:50 -07:00
Michael Schurter
f38bf52b29
Merge pull request #2951 from jen20/add-dev-marker
...
meta: Set main.VersionPrerelease="dev"
2017-08-02 09:26:43 -07:00
Michael Schurter
e26747112a
Merge pull request #2950 from hashicorp/d-service-discovery-typo
...
"it's" -> "its"
2017-08-02 09:25:35 -07:00
Michael Schurter
02ee8a3fc3
Merge pull request #2949 from hashicorp/sethvargo/makefilemv
...
Rename GNUMakefile to Makefile
2017-08-02 09:24:42 -07:00
James Nugent
4512de2885
meta: Ignore IntelliJ IDEA/Gogland project files
2017-08-02 10:18:18 -05:00
James Nugent
afbfe7fe4c
meta: Set main.VersionPrerelease="dev"
...
For most projects using this versioning system, making a commit bumping
the version and re-adding the development tag is part of the release
SOP (certainly it was for Terraform!). I'm not sure why it didn't happen
here, but without this, all development builds show up as Nomad v0.6.0
with no dirty marker or commit marker.
2017-08-02 10:05:01 -05:00
Kate Taggart
99455679cf
fix typo.
2017-08-02 00:39:08 -07:00
Seth Vargo
940ca5b935
Rename GNUMakefile to Makefile
2017-08-01 21:57:45 -04:00
Alex Dadgar
80f41d2389
Merge pull request #2931 from zsluedem/master
...
add job creating json sample in jobs api doc
2017-08-01 14:21:45 -07:00
Alex Dadgar
04a124f4f8
Merge pull request #2945 from hashicorp/d-rolling
...
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar
70f265070b
Merge pull request #2946 from hashicorp/f-doc-job-anti-affinity-reflow
...
Added a sentence about job anti-affinity; Reflowed
2017-08-01 14:21:03 -07:00
Alex Dadgar
c08e244e43
changelog
2017-08-01 14:20:36 -07:00
Alex Dadgar
9ad1f3ac4f
Merge pull request #2942 from hashicorp/f-distinct-count
...
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar
7d2b84ab01
Review fixes
2017-08-01 14:18:52 -07:00
Charlie Voiselle
0462c8534f
Review changes
2017-08-01 13:58:18 -04:00
Alex Dadgar
0be23d5858
Merge pull request #2940 from hashicorp/d-purge
...
Document Purge parameter on deregister request
2017-08-01 10:55:52 -07:00
Charlie Voiselle
b9791c445e
Added sentence about job anti-affinity; Reflowed
...
This will create a concrete mention of job anti-affminity in the Nomad documentation. The only place we discuss it currently is in a similar sentence on the website itself. I borrowed liberally from that sentence in crafting this line.
2017-08-01 13:13:42 -04:00