Move dsl_v2 document to user guide

Also added a note for to indicate std.js as the alias for
std.javascript.

Change-Id: I20cd94d0423c1b97f8ec83973aabbb7ecee75b49
This commit is contained in:
Sharat Sharma 2017-08-04 17:19:27 +05:30
parent abebc649a0
commit 4a64ae1bb5
5 changed files with 7 additions and 4 deletions

View File

@ -41,7 +41,7 @@ User guide
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
admin/dsl_v2 user/dsl_v2
**CLI** **CLI**

View File

@ -62,7 +62,7 @@ This simple workflow iterates through a list of names in ``task1`` (using
then stores the word "Done" as a result of the second task (`task2`). then stores the word "Done" as a result of the second task (`task2`).
To learn more about the Mistral Workflows and what you can do, read the To learn more about the Mistral Workflows and what you can do, read the
:doc:`Mistral Workflow Language specification <admin/dsl_v2>` :doc:`Mistral Workflow Language specification <user/dsl_v2>`
Upload the workflow Upload the workflow
------------------- -------------------

View File

@ -80,4 +80,4 @@ the original workbook.
* **actions** - Dictionary containing ad-hoc action definitions. *Optional*. * **actions** - Dictionary containing ad-hoc action definitions. *Optional*.
For more details about Mistral Workflow Language itself, please see For more details about Mistral Workflow Language itself, please see
:doc:`Mistral Workflow Language specification </admin/dsl_v2>` :doc:`Mistral Workflow Language specification </user/dsl_v2>`

View File

@ -137,4 +137,4 @@ YAML example
      requires: [create_vm, associate_ip]       requires: [create_vm, associate_ip]
For more details about Mistral Workflow Language itself, please see For more details about Mistral Workflow Language itself, please see
:doc:`Mistral Workflow Language specification </admin/dsl_v2>` :doc:`Mistral Workflow Language specification </user/dsl_v2>`

View File

@ -879,6 +879,9 @@ std.javascript
Evaluates given JavaScript code. Evaluates given JavaScript code.
**NOTE**: std.js is an alias for std.javascript i.e, std.js can be used in
place of std.javascript.
Input parameters: Input parameters:
- **script** - The text of JavaScript snippet that needs to be - **script** - The text of JavaScript snippet that needs to be