David Shea
c0c135426e
In composer-cli, request all results
...
Add a limit argument to all potentially paginated results, equal to
whatever the composer backend is the total number of results. This still
has the potential to provide truncated data if the number of results
increases between the two HTTP requests.
Resolves : #404
2018-08-13 10:36:32 -04:00
Chris Lumens
bc96f75992
Update composer-cli for the new error return types.
2018-08-09 16:11:32 -04:00
Brian C. Lane
f40f7cc0fd
Update the error responses to just return lists of strings.
...
This makes error handling consistent and easier than a couple layers of
fields to fetch.
2018-06-11 16:54:59 -07:00
Brian C. Lane
5efeb05aa7
Update composer-cli to use blueprint instead of recipe
2018-06-11 16:54:59 -07:00
Brian C. Lane
423e8cba88
Fix composer-cli handling of log and detail errors.
2018-06-11 16:54:59 -07:00
Brian C. Lane
d4b99b5ee9
Refactor get_filename so it can be tested
...
Just pass in the headers instead of the whole response object so that it
can be tested without needing an actual server.
2018-06-11 16:54:58 -07:00
Brian C. Lane
aa076ee53b
composer-cli: Handle download errors
...
The API will return an error 400 with a json error object if the
download fails, catch this and report the error to the user without a
traceback.
2018-06-11 16:54:58 -07:00
Brian C. Lane
56766e794f
Add support for composer-cli compose commands.
...
This adds all the commands needed to start, monitor, delete, and
download a compose.
2018-06-11 16:54:58 -07:00
Brian C. Lane
d2f784e5da
Add composer-cli utility and implement the recipes commands
...
composer-cli --help shows the commands.
Output defaults to human readable, but raw json can be displayed by
passing --json
2018-06-11 16:54:58 -07:00