Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get application APIs #80

Merged
merged 3 commits into from
Jan 24, 2017
Merged

get application APIs #80

merged 3 commits into from
Jan 24, 2017

Conversation

noahdietz
Copy link
Contributor

  • updated vendor to remove k8s dep && update the aws-sdk-go dep
  • improved responses of application retrieval APIs

Fixes #75

Noah Dietz and others added 3 commits January 23, 2017 16:47
* get application by name replies with just the available revisions
* get application by name & revision replies with Image Push date, revision tag and image ID sha256
@whitlockjc
Copy link
Contributor

LGTM

@noahdietz
Copy link
Contributor Author

Samples:

$ shipyardctl get application -o noahmdietz2 -n example
[{"revision":["noahmdietz2/example:6"]},{"revision":["noahmdietz2/example:5"]},{"revision":["noahmdietz2/example:4"]},{"revision":["noahmdietz2/example:3"]},{"revision":["noahmdietz2/example:2"]},{"revision":["noahmdietz2/example:1"]}]
----
$ shipyardctl get application -o noahmdietz2 -n example:3
{"created":"2017-01-20T00:17:07Z","revision":["noahmdietz2/example:3"],"imageId":"sha256:ef82c56e4d2d3564f8f71c13442aff5c5f6bb1dca339afd3252ba8ce78aa72ea"}

@noahdietz noahdietz merged commit 7b7eaa3 into master Jan 24, 2017
@noahdietz noahdietz deleted the get-app branch January 24, 2017 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants