Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche
Copy link
Member Author

Close, do not merge now, it does not build

@VinceMacBuche
Copy link
Member Author

Fixed!

@VinceMacBuche VinceMacBuche reopened this Jan 12, 2017
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the ust_9375/add_documentation_on_new_api_to_start_remote_agent_run branch from bf8d4a3 to 4fe48ff Compare January 12, 2017 16:21
fanf
fanf previously requested changes Jan 13, 2017

@apiParam (Multi) {class} classes Set class passed as parameter to make it available during agent run.

@apiDescription This API allows to trigger an agent run on the target node. Response content a json stating if agent has started on each node.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to be more precise on the behavior of the api regarding node answer: what exactly the api is waiting for to build the json answer ?

@apiUse nodeId
@apiParam (Multi) {class} classes Set class passed as parameter to make it available during agent run.

@apiDescription This API allows to trigger an agent run on the target node. Response is not a json but the actual agent output on the node.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API allows to trigger an agent run on the target node. Response is the streamed agent output directly from the node (and so not in JSON).

@amousset
Copy link
Member

amousset commented Feb 14, 2017

@VinceMacBuche This needs to be rebased.

@amousset
Copy link
Member

ping @VinceMacBuche

@VinceMacBuche
Copy link
Member Author

PR rebased

@VinceMacBuche VinceMacBuche force-pushed the ust_9375/add_documentation_on_new_api_to_start_remote_agent_run branch from 4fe48ff to f21699f Compare March 13, 2017 10:13
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the ust_9375/add_documentation_on_new_api_to_start_remote_agent_run branch from f21699f to e3618e1 Compare March 13, 2017 10:19
@VinceMacBuche VinceMacBuche dismissed fanf’s stale review April 10, 2017 09:05

Changes treated, Alexis will review again


@apiParam (Multi) {class} classes Set class passed as parameter to make it available during agent run.

@apiDescription This API allows to trigger an agent run on the target node. Response content a json stating if agent could be started on each node, but not if the run went fine and do not display any output from it. You cann see the result of the run in rudder web interface or in the each agent logs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cann -> can

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rudder -> Rudder

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

content -> contains

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the ust_9375/add_documentation_on_new_api_to_start_remote_agent_run branch from e3618e1 to 7788cfa Compare April 10, 2017 09:09
@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 7788cfa into Normation:master Apr 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants