You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/08/05 18:29:06 UTC
[09/15] incubator-taverna-language git commit: Validation command doc
complete
Validation command doc complete
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/03f88e94
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/03f88e94
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/03f88e94
Branch: refs/heads/master
Commit: 03f88e94ac078e183f36ad6b15036a47a5b2e317
Parents: d2d708b
Author: Menaka Madushanka <me...@gmail.com>
Authored: Thu Jul 30 15:50:43 2015 +0530
Committer: Menaka Madushanka <me...@gmail.com>
Committed: Thu Jul 30 15:50:43 2015 +0530
----------------------------------------------------------------------
taverna-language-commandline/README.md | 97 +++++++++++++++++++++++++++++
1 file changed, 97 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/03f88e94/taverna-language-commandline/README.md
----------------------------------------------------------------------
diff --git a/taverna-language-commandline/README.md b/taverna-language-commandline/README.md
index d317111..0250575 100644
--- a/taverna-language-commandline/README.md
+++ b/taverna-language-commandline/README.md
@@ -250,4 +250,101 @@ The output is the same but the results will be saved in the given file.
The output will be saved in results.txt in the same format.
### validate
+
+Validates the given workflow file or files and give the validation report.
+validate tool checks for the following problematic conditions.
+
+ * Empty Iteration Strategy Top-Node Problems
+ * Mismatch Configurable Type Problems
+ * Non Absolute URI Problems
+ * Null Field Problems
+ * Out-Of-Scope Value Problems
+ * Port Mentioned Twice Problems
+ * Port Missing From Iteration Strategy Stack Problems
+ * Wrong Parent Problems
+ * Incompatible Granular Depth Problems
+
+Usage:-
+
+ $tavlang validate [options][arguments] input_files
+
+Options:-
+
+ * -l, --log: Save the validation report in a text file
+ * -v, --verbose: Verbose mode
+
+Supported workflow bundle formats: .t2flow and .wfbundle
+
+###### Example 1: Normal mode
+
+ * Validate one workflow bundle
+
+ $tavlang validate helloworld.t2flow
+
+Output:
+
+ Validation started....
+ Validating helloworld.t2flow
+ The workflow helloworld.t2flow has no errors.
+
+ Validation completed.......
+
+ * Validate more than one workflow bundles
+
+ $tavlang validate ../../workflow2.t2flow ../../workflow3.wfbundle
+
+ Validation started....
+ Validating ../../workflow2.t2flow
+ The workflow workflow2.t2flow has no errors.
+
+ Validating ../../workflow3.wfbundle
+ The workflow workflow3.t2flow has no errors.
+
+ Validation completed.......
+
+
+###### Example 2: Verbose mode
+
+The report is more explained.
+
+ $tavlang validate -v ../../workflow2.t2flow
+
+ Validation started....
+ Validating ../../workflow2.t2flow
+ The workflow workflow2.t2flow has no errors.
+
+ The validation report for defaultActivitiesTaverna2.wfbundle......
+ --------------------------------------------------------------------------------
+ -->NegativeValueProblems:- null
+
+ -->EmptyIterationStrategyTopNodeProblems:- null
+
+ -->MismatchConfigurableTypeProblems:- null
+
+ -->NonAbsoluteURIProblems:- null
+
+ -->NullFieldProblems:- null
+
+ -->OutOfScopeValueProblems:- null
+
+ -->PortMentionedTwiceProblems:- null
+
+ -->PortMissingFromIterationStrategyStackProblems:- null
+
+ -->WrongParentProblems:- null
+
+ -->IncompatibleGranularDepthProblems:- null
+
+ ---------------------------------------------------------------------------------
+
+###### Example 3: Saving results to a file
+
+ $tavlang validate workflow2.t2flow -l log2.txt
+ Validation started....
+ Validating workflow2.t2flow
+ The workflow helloworld.wfbundle has no errors.
+ Validation completed.......
+
+ Results were saved into log2.txt
+
### stats
\ No newline at end of file