Merge "modify grammar mistake"
This commit is contained in:
commit
41e663411c
|
@ -110,7 +110,7 @@ class FailAction(actions.Action):
|
|||
|
||||
|
||||
class HTTPAction(actions.Action):
|
||||
"""Constructs an HTTP action.
|
||||
"""HTTP action.
|
||||
|
||||
:param url: URL for the new HTTP request.
|
||||
:param method: (optional, 'GET' by default) method for the new HTTP
|
||||
|
|
|
@ -168,8 +168,8 @@ class EngineClient(eng.Engine):
|
|||
"""Conveys action result to Mistral Engine.
|
||||
|
||||
This method should be used by clients of Mistral Engine to update
|
||||
state of an action execution once action has executed. One of the
|
||||
clients of this method is Mistral REST API server that receives
|
||||
the state of an action execution once action has executed. One of
|
||||
the clients of this method is Mistral REST API server that receives
|
||||
action result from the outside action handlers.
|
||||
|
||||
Note: calling this method serves an event notifying Mistral that
|
||||
|
@ -204,7 +204,7 @@ class EngineClient(eng.Engine):
|
|||
"""Conveys update of action state to Mistral Engine.
|
||||
|
||||
This method should be used by clients of Mistral Engine to update
|
||||
state of an action execution once action has executed.
|
||||
the state of an action execution once action has executed.
|
||||
|
||||
Note: calling this method serves an event notifying Mistral that it
|
||||
may need to change the state of the parent task and workflow. Use
|
||||
|
|
|
@ -41,7 +41,7 @@ class ActionManagerTest(base.DbTestCase):
|
|||
std_http = db_api.get_action_definition("std.http")
|
||||
std_echo = db_api.get_action_definition("std.echo")
|
||||
|
||||
self.assertIn("Constructs an HTTP action", std_http.description)
|
||||
self.assertIn("HTTP action", std_http.description)
|
||||
self.assertIn("param body: (optional) Dictionary, bytes",
|
||||
std_http.description)
|
||||
|
||||
|
|
Loading…
Reference in New Issue