[WIP] stdout from orchestration_stack #14389
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is to generate discussion about the best way to approach returning the standard output of an orchestration stack. The method to return standard output currently does not accept any arguments, but will in the future. It returns a long string and is not a stream.
While the approach in this PR makes it into an action
POST /api/services/:id/orchestration_stacks/:id
I would like to get thoughts around adding it as a kind of subcollection, so that the call could be
GET /api/services/:id/orchestration_stacks/:id/stdout
or
GET /api/orchestration_stacks/:id/stdout
While exploring the above method, it will require some changes to the way things are rendered, but logically makes more sense that it be a GET request.
@miq-bot assign @abellotti
@miq-bot add_label enhancement, api, wip