Commit Graph

15 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
b2df34cf18 further refactoring 2017-08-04 22:50:41 +00:00
Chelsea Holland Komlo
74f35dd1af if no context is specified, set maximum index for available contexts 2017-08-04 20:16:49 +00:00
Chelsea Holland Komlo
971183d6ec 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
ca4ed646a9 resources are expected by state store to be plural 2017-08-04 15:07:34 +00:00
Chelsea Holland Komlo
c9c7b1914c 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
760f429916 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
a3234b2317 refactor and add error handling for invalid context type 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
a9ed750a99 use upsert as a test helper 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
e14b279bc0 add truncation boolean to response 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
dfd8c1d832 adds evaluations
makes context singular
2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
9e06777613 change resources endpoint from http get to post 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
1ec5010f0b remove resourceliststub, no need for another layer of abstraction 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
c3e0bd82b7 test resources endpoint will return matching prefixes 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
cb1e898eea adding test validation that received resources matches requested 2017-08-04 14:34:25 +00:00
Chelsea Holland Komlo
1b24ae599e Retrieve job information for resources endpoint
requires further refactoring and logic for more contexts
2017-08-04 14:34:25 +00:00