diff options
Diffstat (limited to 'conductor')
-rw-r--r-- | conductor/conductor/api/controllers/v1/plans.py | 1 | ||||
-rw-r--r-- | conductor/conductor/tests/unit/api/controller/v1/plans.json | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/conductor/conductor/api/controllers/v1/plans.py b/conductor/conductor/api/controllers/v1/plans.py index 411686b..8be24d8 100644 --- a/conductor/conductor/api/controllers/v1/plans.py +++ b/conductor/conductor/api/controllers/v1/plans.py @@ -61,6 +61,7 @@ CREATE_SCHEMA = ( (decorators.optional('id'), types.string), (decorators.optional('limit'), types.integer), (decorators.optional('name'), types.string), + (decorators.optional('num_solution'), types.string), ('template', string_or_dict), (decorators.optional('template_url'), types.string), (decorators.optional('timeout'), types.integer), diff --git a/conductor/conductor/tests/unit/api/controller/v1/plans.json b/conductor/conductor/tests/unit/api/controller/v1/plans.json index 52feaa3..406d677 100644 --- a/conductor/conductor/tests/unit/api/controller/v1/plans.json +++ b/conductor/conductor/tests/unit/api/controller/v1/plans.json @@ -2,5 +2,6 @@ "name": "demo3", "template": {"key": "value"}, "timeout": 5, + "num_solution": "2", "limit": 3 }
\ No newline at end of file |