17 Commits

Author SHA1 Message Date
Kevin Pouget
21cf6f40ce Add missing --public option to workbook api
Handle `scope` parameter in workbook api with `private`
as default value
Add `--public` option to workbook create/update commands
Add `Scope` column to the output of workbook commands

Change-Id: I5c9b107127afd55757fe9e815eff5b30e48fccac
Closes-Bug: 1782790
2018-07-21 13:24:48 +02:00
Michal Gershenzon
db428c0858 Create and run a workflow within a namespace
Add --namespace flag to workflow and execution operations.
Also Add Namespace and Workflow namespace to the tables
the users gets after some cli calls.

Partially-Implements: blueprint create-and-run-workflows-within-a-namespace
Change-Id: Ieb7302870520f5491e94a9bf6759082e2aa4a450
2017-08-13 15:39:32 +00:00
Renat Akhmerov
fd0b5de1c5 Fix how "--limit" is passed to the server for action executions
Change-Id: I4106c3c7cc52e41857fc588828dfc596fb91b4f5
2017-08-03 18:09:38 +07:00
Michal Gershenzon
817a237267 Filter workflow executions by creating task execution id
This will enable the mistral UI to go from task execution screen
to the workflow execution screen of the workflow execution created
by the task.

Change-Id: Ia2ac765a26acc8dcd27134f5f467cddef03fea95
Implements: blueprint filter-workflow-executions-by-creating-task-id
2016-12-06 09:41:26 +00:00
Renat Akhmerov
56570703c2 Fix task result syntax in workflows used for functional tests
Change-Id: I5ef1659f2cbf7f2234c51b57d0bf161d03acb178
2016-04-11 18:40:25 +07:00
Lingxian Kong
0f2b48a77c Support ID for workflow operations in CLI
Change-Id: I812bf5b3790ed361b583adae30f9ab19c31dcb51
Implements: blueprint support-id-in-workflow-operation
2016-02-03 14:44:07 +13:00
Renat Akhmerov
3a4c1ff8f3 Remove "policies" keyword from test resources
Depends-On: I25e0d048222b6b7b1f3ffb3a9cf5029b7e6bcf45
Change-Id: I1bd4c15f0990f5d2d879855770763e8b19d2561d
2015-04-17 17:25:58 +06:00
Nikolay Mahotkin
62332dfd2c Adjust all test examples in mistralclient
* Adjust all test examples to new YAQL syntax in
   python-mistralclient

Change-Id: I387b4e6602736c2230ee02d1023ba9e924068742
2015-02-24 13:01:51 +03:00
Anastasia Kuznetsova
2b46b75ce9 Extend cli integration tests for update
Change-Id: I3d89921408a209e5b3517ae52c87556652a35ea2
2015-01-26 15:06:27 +04:00
Anastasia Kuznetsova
71000659f0 Add new functional CLI tests
Change-Id: Ia0d8f727e6875f6c39551dd84eab1ad9422ad820
Closes-Bug: #1398383
2014-12-04 14:38:54 +04:00
Nikolay Mahotkin
01cf72cbc4 Fix execution-update CLI test
Change-Id: I0c6e080eef80865438e34bc42d85e597d4cb5330
2014-11-13 12:51:33 +03:00
Anastasia Kuznetsova
313259f7ee Add CLI tests for actions
- Fix wrong inheritance in basa.py
- Added action_v2.yaml with simple action definition that describe
two actions
- Added positive tests which cover all CLI action commands
- Added negative tests

Change-Id: I075868aaff5f218718933c40bb99b4415ca80821
2014-11-05 13:31:06 +04:00
Anastasia Kuznetsova
6d1d882134 Fix CLI v2 tests for workflows
Change-Id: I35307fb535efa4bda821730e947fd16a30b0a076
2014-09-24 14:12:04 +04:00
Anastasia Kuznetsova
8c59b64136 Fix CLI v2 test for workbooks and executions
- Fixed CLI v2 tests for workbooks and executions due to changes in 'workbook create'
and 'workbook update' commands (remove sending 'name' and 'tags' parameters)
- Removed checking of 'workbook-upload-definition' command in v2 tests,
because of removing this command from CLI v2

Change-Id: Iaee629e78bc75cfa7708e1d3400f11513b7dfbd1
2014-09-24 05:01:03 +00:00
Renat Akhmerov
6920a5eb86 Add 'name' to test workbook
Change-Id: I5674f92f92fceba7e4a15783dcced870167842c1
2014-09-22 09:56:25 -07:00
Anastasia Kuznetsova
30e5150f15 Fix client tests due to changes in code from 'mistral' repository
-Removing 'start-task' parameter from test workbooks
-Lowercase key section names in workbooks from unit tests
-Rename 'test_cli_acitons' to 'test_cli_actions'
-Fix CLI test 'test_task_list' due to changes in
https://review.openstack.org/#/c/121818/

Change-Id: I8ace89b460c3c72cdac3c3f42684fe1e8b6ad5de
2014-09-18 14:44:37 +04:00
Anastasia Kuznetsova
abda01c2f8 Minor changes in tests files
-Added blank line
-Updated resources files for cli tests
-Put resources files to the separate appropriate folders

Change-Id: I42c41393de5dc60c5a8e7f78b7cf1f5a0edbb607
2014-09-15 15:01:05 +04:00