Skip to content

Commit

Permalink
(PCP-280) Specify PXP non-blocking response
Browse files Browse the repository at this point in the history
Removing all comments where the non-blocking repsonse was defined as not
in scope for Ankeny. Removing job_id entry.
  • Loading branch information
parisiale committed Feb 26, 2016
1 parent 4d9d28f commit 74b3787
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pxp/versions/1.0/request_response.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The `puppet run` job terminates (4) and, since **C** requested to be notified
with the outcome of the job (*notify_outcome* was flagged in the
*non-blocking request* message), **A** sends back to **C** a
*non-blocking response* containing the job output and possible errors of the
executed action (5) (the final non-blocking response is not is scope for Ankeny).
executed action (5).

### Message types

Expand Down Expand Up @@ -155,16 +155,15 @@ its schema is action-specific. *transaction_id* is the other required entry.
| name | type | description
|------|------|------------
| transaction_id | string | free format id of the request/response transaction
| notify_outcome | bool | if true, the agent must send a response containing the action outcome, once its execution completes (not is scope for Ankeny)
| notify_outcome | bool | if true, the agent must send a non-blocking response containing the action outcome, once its execution completes
| module | string | name of the module that includes the requested action
| action | string | name of the requested action withing its submodule
| params | object | input parameters (optional)

##### Non-blocking Response (not in scope for Ankeny)
##### Non-blocking Response

The results of the requested action should be included in the *results* object;
its schema is action-specific. *transaction_id* in the only other required
entry.
its schema is action-specific. *transaction_id* is the other required entry.

```
{
Expand Down

0 comments on commit 74b3787

Please sign in to comment.