113 Commits

Author SHA1 Message Date
Jenkins
5ed1f7e811 Merge "Fix PEP8 issue" 2016-10-13 11:45:53 +00:00
Istvan Imre
3f5092d7f4 Publish/output in case of task/workflow failure
Currently it is not possible to provide any reasonable output in case of
a task or workflow failure. Implementing this would greatly simplify error
handling in workflows. This blueprint is a proposal to introduce two new
attributes, publish-on-error for tasks and output-on-error for workflows
for this purpose.

Implements: blueprint mistral-publish-on-error
Change-Id: Ib3a64971effb02390206dc6f993e772a51f8f237
2016-10-10 10:00:48 +02:00
pawnesh.kumar
ca3e51b04f Fix PEP8 issue
Change-Id: I87bf05ff14b7128732b40bde5b562db2994508ae
2016-10-08 11:19:36 +05:30
Jenkins
2eafc32e75 Merge "Update documentation for multi-vim support" 2016-10-06 14:06:11 +00:00
Jenkins
8c624a0b6c Merge "Changes made to comply with OpenStack writing style" 2016-10-06 09:26:36 +00:00
Jenkins
a05d32165b Merge "Add Jinja evaluator" 2016-10-06 05:36:09 +00:00
Andras Kovi
798c4595e6 Update documentation for multi-vim support
Include description of the multi-vim feature in the documentation.

Change-Id: I02fe54760e4cc2d1c840db725aba39e25eedeef4
Implements: blueprint mistral-multi-vim-support
Depends-on: I64f54e0f7b92698009a0c27d5b1317bbe0be7455
Signed-off-by: Andras Kovi <akovi@nokia.com>
2016-10-05 17:06:51 +02:00
Jenkins
37bc8a8981 Merge "Minor changes in the installation guides" 2016-10-05 13:23:09 +00:00
Kirill Izotov
362c2295e8 Add Jinja evaluator
Allows to use Jinja instead of or along with YAQL for expression
evaluation.

 * Improved error reporting on API endpoints. Previously, Mistral API
   tend to mute important logs related to errors during YAML parsing
   or expression evaluation. The messages were shown in the http
   response, but would not appear in logs.

 * Renamed yaql_utils to evaluation_utils and added few more tests to
   ensure evaluation functions can be safely reused between Jinja and
   YAQL evaluators.

 * Updated action_v2 example to reflect similarities between YAQL and
   Jinja syntax.

Change-Id: Ie3cf8b4a6c068948d6dc051b12a02474689cf8a8
Implements: blueprint mistral-jinga-templates
2016-10-05 11:27:29 +00:00
Sharat Sharma
6ca6e78770 Minor changes to the documentation
Changed the heading styles in the document according to openstack
standards(https://wiki.openstack.org/wiki/Documentation/Conventions/
DocBook#Headings) and added a link for the devstack installation
in quickstart guide as it is related to the installation.

Change-Id: I2732e1ff7ecf579b0026252d35da55a4d5136d20
Partial-Implements: blueprint mistral-docs
2016-10-05 11:26:53 +00:00
Sharat Sharma
539d15a732 Minor changes in the installation guides
This patch adds small changes to the install guides.

Change-Id: Ic7b0c0313d1f2d561a38be46b55df87ab5bb7609
Partially-Implements: blueprint mistral-doc
2016-10-05 11:26:49 +00:00
Sharat Sharma
c07cf48a60 Changes made to comply with OpenStack writing style
The writing styles at few places were not in compliance with
the OpenStack writing style as mentioned in
http://docs.openstack.org/contributor-guide/writing-style
/general-writing-guidelines.html. This patch changes the heading
styles and adds a few other minor changes in the documents.

Change-Id: I0d90ba32ddcef0427b1dc4358206210f166e798a
Partial-Implements: blueprint mistral-doc
2016-10-04 20:06:15 +05:30
Dougal Matthews
e6134eeec0 Cleanup the Quickstart Documentation
I went through the quickstart documentation, improving and
clarifying the wording in a number of places.

Change-Id: Ia64f44239728bc0f85c78d64c8a327632a233a85
2016-10-03 09:38:33 +00:00
Jenkins
89c2082e89 Merge "Updating mistralclient docs" 2016-09-18 09:13:23 +00:00
Dougal Matthews
6e6461f9bf Correct documentation about task attributes 'action' and 'workflow'
The current documentation states that one is required. However, this is not
enforced in the code and in mistral/workbook/v2/tasks.py if neither are
provided then the `std.noop` action is used instead.

Closes-Bug: #1624012
Change-Id: I5f5a39bad3e671741bc9fd1b142df9aef0b87a36
2016-09-16 12:20:43 +01:00
Nikolay Mahotkin
b1acf3da60 Updating mistralclient docs
* Mistralclient guide doc is updated
   using the current mistral CLI help strings.

Change-Id: I41527f71622077da353953fa8e6717d61571a164
2016-09-16 12:08:01 +03:00
Noa Koffman
09402821f3 Fix mistral API docs
Fixing v2.rst to refer to new module paths,
and adding the cron trigger param to
POST v2/cron_triggers/ documentation.

Change-Id: Iaef285d39d2f70d69dfccbe8b33dd965c719a8a0
2016-09-13 11:07:15 +00:00
Dougal Matthews
1fe7b49301 Add a note to the documentation about std.fail
Change-Id: Id6dbc1bd47d2f4c8d01dd99d6fbe66de3396026a
2016-08-26 10:29:33 +01:00
Márton Csuha
bb92ee905e Fix documentation
Remove reference to AMQP messaging action as it doesn't exist.

Change-Id: I84801ec5f25857c1537b6e0688e2c28c345da3ca
Signed-off-by: Márton Csuha <marton.csuha@nokia.com>
2016-08-23 13:29:00 +02:00
Kupai József
9d5fcbad0f Updated the configuration guide.
Added details about turning off pecan authentiacation.

Change-Id: I246367f6b4ab0f3b93f597cd5fb0eb012292a54e
Signed-off-by: Kupai József <jozsef.kupai@nokia.com>
2016-08-19 09:20:00 +02:00
hardik
6a35188956 Updated Doc for SSL configuration
Change-Id: I3e0358a9d7bc5ae013e6a69a634558a9a5d7a076
2016-08-05 09:02:01 +00:00
Dawid Deja
fb2fa02575 Update docs and add release not for safe-rerun flag
Change-Id: I05c16fd72326b8e34436e1dad9380f5e6fbde0a5
2016-08-02 08:46:22 +00:00
Moshe Elisha
639e204244 Fix DSLv2 example according to Mistral Neuton
Change-Id: I15a246608958a7fc1c82ff36439c6d871da74e5d
2016-07-28 08:32:12 +00:00
hardik
34232f0c35 Added 'pip install -r requirements.txt' instruction
'python setup.py install' will not install requirements.
We have to install it manually.

Please see comment #6 here:
https://bugs.launchpad.net/pbr/+bug/1341341

Change-Id: Ie45e0315f55262b98d6f5ce3a0244691a54192bd
2016-07-22 11:07:40 +05:30
Jenkins
b131d26a96 Merge "Update in installation package list in installation guide" 2016-07-20 12:21:36 +00:00
Prince Katiyar
e40334432c Update in installation package list in installation guide
Change-Id: I4e6c626d0f522cd752612fd30234f2715ded05e5
2016-07-19 15:34:34 +05:30
Miles Gould
f962038e5c Fix SPAG errors in Quickstart and Main Features docs
Change-Id: I1c7457a04845cc9116d2996733f111c1ac7eda21
2016-07-15 18:43:33 +01:00
Miles Gould
2d5ceafecc Fix some trivial SPAG errors in docs
Change-Id: Ie9ea5e2df9eb532a9af55bfad54a9daf941d2bcd
2016-07-14 19:24:08 +01:00
Jenkins
76e8ed75fa Merge "Add support for custom YAQL functions" 2016-07-05 08:48:25 +00:00
Xavier Hardy
72dcdfbf2a Add support for custom YAQL functions
Custom YAQL functions must be added in the 'mistral.yaql_functions'
namespace in the entry points. The entry point name is used as the
function name in YAQL. All of the Mistral YAQL functions have been
changed to a custom functions for the sake of testing.

DocImpact: The developer section in the documention has been updated.

Change-Id: I518c7a4b616089d4b70585ed85fcd81a30c93090
Implements: blueprint mistral-custom-yaql-functions
2016-07-05 10:09:04 +02:00
Dougal Matthews
909241c642 Update Expiration Policy Documentation
This change re-writes the section covering the expiration policy to explain it
in more detail and also include the required evaluation_interval setting which
was previously undocumented.

Change-Id: Ib7f4e8ccf4c15cc6e22472b28004d0a9ad34497f
2016-07-01 15:06:49 +01:00
hardik
d094dc229a Doc updated for oslo_policy configuration
Change-Id: Id39b7d0f03081db55ef9c6f992507dddc7f4dc9c
2016-06-22 11:22:46 +05:30
Jenkins
3023d4aca8 Merge "Replace keystone CLI with openstack CLI" 2016-05-18 15:58:28 +00:00
Michal Gershenzon
594b3e27f9 Add API to validate ad-hoc action
Add an API that gets an ad-hoc action DSL and validates it.
This is done in the same way workflows are validated today.

Change-Id: Ibbb949ef38befae1ef83a2a56cda4c817ceb41d4
Implements: blueprint validate-ad-hoc-action-api
2016-05-18 11:02:59 +00:00
venkatamahesh
9cbfa93775 Replace keystone CLI with openstack CLI
keystone CLI is removed and now we are using openstack CLI
for identity service

Change-Id: Ifbf21deae7add1d17f0d91a4e7f9a94439f37754
Closes-Bug: #1581810
2016-05-16 20:16:25 +05:30
venkatamahesh
32b0121720 Fix the yaql github repository
Change-Id: I0a4320a3f2169ee75b1a9809f89c115878d05d20
Closes-Bug: #1581973
2016-05-15 21:35:39 +05:30
Nina Goradia
fdb24bd697 module docs are not being generated
The pbr section in setup.cfg is not defined, so the module docs are not being
generated. This causes the 404 when clicking on the ‘Module Index’ link under
the 'Indices and Tables’ section in [0].

[0] http://docs.openstack.org/developer/mistral/

Change-Id: I337e9f6e78257a3e8e9222779dfcd600ba6cebd8
Closes-bug: #1558574
2016-03-21 17:27:14 -05:00
Renat Akhmerov
cf0cc484bc Add asynchronous actions doc
Change-Id: Idef3fed51099875d2200b1a29af152be23a0215f
Implements: blueprint mistral-async-actions-doc
2016-03-02 17:08:56 +06:00
Lingxian Kong
b7106297a5 Fix quickstart doc error
Change-Id: I810e17523ebe95b60de971a269c0ec4a4ba0408f
2016-02-01 23:05:10 +13:00
hparekh
57909bbdc5 Added link for pre-built docker image
Also added Note about how to use mistral
docker image for production environment.

Change-Id: Ibfc9d68b5054171e66ff26349f87bb00a2d91c6f
Partially-implements: blueprint mistral-docker-image
2016-02-01 02:47:50 +00:00
hparekh
4b80c8f2b9 Documentation for Mistral and Docker.
Purpose of this document is to explain how
to create docker image locally and how to
use it.

TODO: Update information for pre-built mistral
docker image.

Change-Id: I4e7c2e31d716fb4144484a469e30610a5cdd6f9b
Partially-implements: blueprint mistral-docker-image
2015-12-21 01:21:02 +00:00
wangzhh
28b5e51e9d Fix example for workbook in doc
Add indentation in the example for workbook in doc.

Change-Id: I71df546575d239e2c0704896b7e5b67cacbb7f70
Closes-Bug: #1527475
2015-12-18 18:50:57 +08:00
wangzhh
443e0582b0 Fix example for ad-hoc action in doc
Add indentation in the example for ad-hoc action in doc.

Closes-Bug: #1523905

Change-Id: I7c024f6033b7b7a88b56f34dd5939775f9d47bc2
2015-12-09 03:47:26 +00:00
Moshe Elisha
255fb91ad5 Improve error message for YAQL task function
Improve the error message in case a non existing task name is passed
to the "task" YAQL function

Change-Id: I93a33365779ba2a5301431c6769697d8b4861fae
Closes-Bug: 1520930
2015-11-29 13:40:23 +00:00
Shuquan Huang
1049328e87 OpenStack typo
change capitalization of OpenStack

Change-Id: I1b22f9a9d8797cafd0d61e6e16109d417bcb86d0
2015-11-17 10:53:48 +08:00
Jenkins
1ec594f0c1 Merge "Fixing SSH actions to use names of private keys" 2015-10-23 06:19:08 +00:00
Nikolay Mahotkin
56f2d5f4b5 Fixing SSH actions to use names of private keys
* SSH action uses private key names instead of
   private keys themself. All private keys now
   should be in <user-home>/.ssh/, e.g. searching
   of key 'my_key.pem' will be at <user-home>/.ssh/my_key.pem
 * Fixed functional tests
 * Remove sudo while running tests

Closes-Bug: #1507600

Depends-On: Idc4340cda80d02f4ee88c91600b72d0f914c4084

Change-Id: I503d78ff541183ce850476229842fa6f20061a00
2015-10-22 16:30:54 +03:00
Anastasia Kuznetsova
3eae50d5cd [Docs] Add 'Cookbooks' page
Added new page "Cookbooks" which will contain links to
existing cookbooks which are published on wiki.

Change-Id: I9114e16e3afad3087c47513a04f6fa26de91ff28
2015-10-22 13:54:15 +03:00
Jenkins
bfe0a517c7 Merge "mistral-documentation: dashboard documentation regarding debug known issue" 2015-10-21 09:44:51 +00:00
Gal Margalit
914382438b mistral-documentation: dashboard documentation regarding debug known issue
* added explanation how to resolve an unsuccessful login
upon debug/run session using pycharm

Implements blueprint:mistral-docs-dashboard-troubleshooting

Change-Id: I64ed6f6d934b847962d1c8eb690e635c1d77e2ae
2015-10-20 12:53:11 +00:00