Merge "Provide action-input via API"
This commit is contained in:
commit
9b2613628c
@ -35,6 +35,7 @@ class Action(resource.Resource):
|
||||
id = wtypes.text
|
||||
name = wtypes.text
|
||||
is_system = bool
|
||||
input = wtypes.text
|
||||
|
||||
description = wtypes.text
|
||||
tags = [wtypes.text]
|
||||
|
@ -53,7 +53,8 @@ def create_action(action_spec, definition):
|
||||
'tags': action_spec.get_tags(),
|
||||
'definition': definition,
|
||||
'spec': action_spec.to_dict(),
|
||||
'is_system': False
|
||||
'is_system': False,
|
||||
'input': ", ".join(action_spec.get_input())
|
||||
}
|
||||
|
||||
_add_security_info(values)
|
||||
@ -76,7 +77,8 @@ def create_or_update_action(action_spec, definition):
|
||||
'tags': action_spec.get_tags(),
|
||||
'definition': definition,
|
||||
'spec': action_spec.to_dict(),
|
||||
'is_system': False
|
||||
'is_system': False,
|
||||
'input': ", ".join(action_spec.get_input())
|
||||
}
|
||||
|
||||
_add_security_info(values)
|
||||
|
Loading…
Reference in New Issue
Block a user