3503 Commits

Author SHA1 Message Date
Jenkins
1d67fd609b Merge "Add test on arbitrary output dict in action" 2014-05-14 08:38:51 +00:00
Jenkins
214ae36e75 Merge "Fix demo.yaml example in tempest tests" 2014-05-14 08:38:13 +00:00
Nikolay Mahotkin
a8ae8e336e Fix 500 status code on DELETE request
Closes bug: #1318620

Change-Id: I0a5876111dfbe8f1284f28b3b9bf914779c1f560
2014-05-12 16:11:32 +04:00
Sergey Murashov
0847ca4766 Fix issue with tempest tests
Change-Id: I20cce5910c4b166531267ce4014dfadbb83cc31c
2014-05-12 11:09:41 +04:00
Nikolay Mahotkin
e600f63237 Task.publish now is processed as arbitrary structure
Change-Id: I74cf7ea7f19356461d3d55af7541b8a4ced4eeae
2014-05-08 16:17:35 +04:00
Nikolay Mahotkin
deca14c5e8 Fix demo.yaml example in tempest tests
Change-Id: Icce921290976f80c70487b770ecd7811a3e4ba18
2014-05-07 17:32:28 +04:00
Nikolay Mahotkin
116488a60a Add test on arbitrary output dict in action
Change-Id: I3cf0453638014fc53bd3005e434c6160f75d0cb0
2014-05-07 14:09:47 +04:00
Sergey Kolekonov
1984b3ea54 Fix mistral tests
- corrected the path to tests
- removed check_api.sh script because it's not needed anymore
- made scripts executable

Change-Id: I2c6364e8ad4355b8b8565904d58773e8412bdf6d
2014-05-06 12:36:22 +04:00
Jenkins
c37061ca5e Merge "Refactor engine to use plugins" 2014-05-06 05:07:07 +00:00
Jenkins
3b23751166 Merge "Update mistral tests" 2014-05-06 04:53:01 +00:00
Sergey Murashov
623e12320e Update mistral tests
Update mistral tests for devstack gate job

Change-Id: Ia56ea50d9f0da6ca0e98efa53a88ab2dfb499f3c
Partly-Implements: blueprint mistral-open-qa-process
2014-05-05 17:44:15 +04:00
Nikolay Mahotkin
14009d9eea Context contains results of all previous tasks now
* Also fix publishing a variables in case
   non-dict action result

Closes bug: #1316028

Change-Id: I6c72a79d33600ea990c5f78849d928d63a47eaec
2014-05-05 13:17:58 +04:00
TimurNurlygayanov
580946cc3a Fixed issue with tarballs
Change-Id: I4155a5c78c46cb4d0eae6957b5c7a9914c4e7ad7
2014-04-30 18:12:55 +04:00
Jenkins
5305521323 Merge "Fixes list of requirements" 2014-04-30 09:48:36 +00:00
Winson Chan
6c5ca50b4c Refactor engine to use plugins
Refactor current engine process to instantiate the concrete engine using
stevedore. The current engine uses importutils to load the concrete engine.
Since the executor is tightly coupled to the engine, it is also refactored
to use stevedore. The ScalableEngine is renamed to DefaultEngine and moved
to the mistral.engine.drivers.default namespace. The setup.cfg file is
updated to include entry points for the engine and executor plugins.

Change-Id: Ia9d15b25ca96387e5ac22c1a86cffc7a816e92fd
Implements: blueprint mistral-engine-plugin
2014-04-30 01:28:14 -07:00
Jenkins
62d47c6d82 Merge "Added Devstack integration" 2014-04-30 07:13:06 +00:00
TimurNurlygayanov
646bc3ee30 Fixes list of requirements
Please see the following link for more detailed information:
https://github.com/openstack/requirements/blob/master/global-requirements.txt

Change-Id: I2fae60646c56f29d4d8238356553b667b787f6cc
2014-04-30 10:51:14 +04:00
TimurNurlygayanov
f928c8c11b Fixes README.rst formatting
Change-Id: I5343a6b249295b235aec553ca95c7b4244459dae
2014-04-30 10:25:38 +04:00
Jenkins
cde8a9a23a Merge "Making workflow trace logging more consistent" 2014-04-29 18:00:03 +00:00
Renat Akhmerov
6fdff6989e Making workflow trace logging more consistent
* Deleted a comma everywhere in workflow trace logging

Change-Id: I98c6c96e283b08f076ddc4b9617548dad844dcad
2014-04-29 22:50:55 +07:00
Sergey Kolekonov
55b9dc53ea Added Devstack integration
- added devstack integration files
- added a simple api test (for the devstack-gate job)

Partial implements blueprint mistral-devstack-gate-job

Change-Id: Ibb859c5eda7719d0e046bf833a6eec69bcbeb8be
2014-04-29 15:24:23 +04:00
Renat Akhmerov
e5b8879eb1 Fixing setup.cfg
* Added registration of a console script

Change-Id: Iac85dddc1442d4353659f7186b5668f3226c9c30
2014-04-29 05:18:19 +00:00
Jenkins
47981943f1 Merge "Replace rabbit config to 'default' section" 2014-04-29 04:48:00 +00:00
Nikolay Mahotkin
b20853aa4c Fix work on MySQL backend
Closes Bug: #1313543

Change-Id: I87eb2274aa13445a793de896648438067ad12282
2014-04-28 14:19:37 +04:00
Nikolay Mahotkin
46c049d480 Replace rabbit config to 'default' section
* Rabbit configs are moved to 'default' section due to
   oslo.messaging doesn't read these parameters from
   section 'rabbit'

Change-Id: I39393a779076f36c6142d770efa268178437332b
2014-04-28 14:15:05 +04:00
Jenkins
abf318a3f4 Merge "Improved README file" 2014-04-25 15:22:33 +00:00
Renat Akhmerov
c4130e6736 Additional workflow trace logging in abstract_engine.py
Change-Id: Ibb0384d3d5c1d9b3e653cf4ce30f641fbc481576
2014-04-25 19:15:26 +07:00
Renat Akhmerov
345590ec15 Fixing wrong comparison in retry.py
Change-Id: I12254834558823fe02ce1eebfa1cfc525a091f61
2014-04-25 17:15:51 +07:00
Winson Chan
e003849ecf Engine as a standalone process
Refactored engine to run as a standalone process. The engine is
modified to use the RPC client/server design pattern from
oslo.messaging. A new launch option is included to run the
engine separately. The API server communicates with the engine
via the RPC client. A pecan hook is used to pass a common client
instance with appropriate transport configuration to the API.

Change-Id: I9ca757aedad764fd38645a5b858800d69808bb95
Implements: blueprint mistral-engine-standalone-process
2014-04-24 17:46:05 -07:00
Nikolay Mahotkin
53cc1d8d31 Improved README file
Change-Id: I79ede236c8493894b5eda91db8053074ec16fb38
2014-04-24 18:33:02 +04:00
Jenkins
ae46014ad8 Merge "Fix evaluating task parameters" 2014-04-24 09:02:43 +00:00
Nikolay Mahotkin
478b5cd9dc Fix evaluating task parameters
Change-Id: I5ee4b5ae22017e607f283ccfb19f86a27317e7cf
2014-04-24 12:23:21 +04:00
Jenkins
712f60d23c Merge "Adding all conf files in etc/ to .gitignore" 2014-04-24 08:14:45 +00:00
Renat Akhmerov
9ad619690b Adding all conf files in etc/ to .gitignore
Change-Id: Id6cf1818a64170fd8695cf7867cbf905646507ec
2014-04-24 12:45:45 +07:00
Manas Kelshikar
594fab664d Fix broken retry tests
* Failure was in output transformer specified in retry_task.yaml.
* Added assertion back to enable the tests.
* Extra logging to include more context in the logs to gather more insight from the logs.

Change-Id: Ic6f4665cd4d74d2676fc17891dbf66984926cd42
2014-04-23 21:47:33 -07:00
Jenkins
c55623c96d Merge "Remove etc/logging.conf" 2014-04-23 21:17:48 +00:00
Jenkins
e1a63d4bf6 Merge "Add workflow logging" 2014-04-23 20:54:57 +00:00
Nikolay Mahotkin
5a8442ab00 Remove etc/logging.conf
* We should not keep .conf files, only examples

Change-Id: If2e37dfb46048180cc0391b8ed9aa0d295d11148
2014-04-23 15:45:31 +04:00
Nikolay Mahotkin
8b4d2f6128 Add workflow logging
* Created new log configuration for pretty workflow output.
 * Since this config opt is used before importing
   executor.server, I include some refactor of unit tests.

Implements blueprint mistral-pretty-workflow-logging

Change-Id: Ia9b8b5d401afafe99d6133685a4d3abbcb8ba2e3
2014-04-23 15:43:29 +04:00
Renat Akhmerov
1ae6af2aca Fixing inline expressions evaluation
* In case if internal evaluated value is not a string (e.g. a number) it
  threw coercion exception

Change-Id: I0bf7dd3177a831bc119f75601011fcd8327272be
2014-04-23 18:23:44 +07:00
Renat Akhmerov
11c7f641f4 Making execution data available in data flow context
Change-Id: Ia0a5a3c26249b7c993beb422f86c5bcee48bedab
2014-04-23 18:14:56 +07:00
Renat Akhmerov
be56568eea Fixing initialization of variable 'action_spec' in abstract_engine.py
Change-Id: I86a86feabb090cda488c21e5ac421e1760a5225d
2014-04-22 22:52:09 +07:00
Jenkins
377e785232 Merge "Adding parameters to adhoc action namespaces" 2014-04-22 05:18:22 +00:00
Jenkins
abf7cd6684 Merge "Fix convert params and result in AdHocAction" 2014-04-22 04:11:49 +00:00
Nikolay Mahotkin
413edda287 Remove redundant update task operation
* Removed redundant update task state - task is already in state RUNNING,
   but in case of async action we are changing it one more time.

Change-Id: I60f02339432ef5f3945be9154718ef2229f0fdc7
2014-04-21 13:13:53 +04:00
Nikolay Mahotkin
bc0838aa15 Fix convert params and result in AdHocAction
* Fixed wrong convertation of action params and result.
   In action parameters we can have an arbitrary dict, so
   this dict can contain lists, or other dicts. To convert
   params we should apply converter dict to base spec params
   and action result accordingly.

Change-Id: I7549931c69637dfdf2bfa6583b8a78f8589b40b4
2014-04-18 14:24:54 +04:00
Renat Akhmerov
91108b1f0a Adding parameters to adhoc action namespaces
* It's now possible to specify common parameters in adhoc action
  namespaces to avoid duplications in particular action definitions
* Fixed tests

Change-Id: I521ee7a42cad91e10608f9b0c2f7a74cb24e0465
2014-04-18 07:32:38 +00:00
Renat Akhmerov
afffb51b25 Removing 'base_output' from ad-hoc actions specification
* Since '$' is a valid expression it may be used to refer to
  base action result in ad-hoc actions so using '$.base_output'
  is redundant.
* Fixed module expressions.py so that YAQL expression '$' is
  considered valid.
* Fixed corresponding test cases.

Change-Id: Ib7e534b3f9cc8fffb0f1626a987a8c8cc6eeddf6
2014-04-17 13:40:47 +00:00
Renat Akhmerov
33a60acf4b Temporarily commenting assertions in task retry tests
* These tests should be rewritten to avoid race conditions. In
  other words they pass not always.

TODO:
* Fix task retry tests.

Change-Id: I9b13bd9896b0bfc0f6d826e660cb7e2dbe441100
2014-04-17 20:22:31 +07:00
Renat Akhmerov
87090eefd3 Temporarily commenting assertions in task retry tests
* These tests should be rewritten to avoid race conditions. In
  other words they pass not always.

TODO:
* Fix task retry tests.

Change-Id: Ic92f6921cda70023b041de86887b3c1a85ee70cb
2014-04-17 17:27:58 +07:00