Update Readme.md Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/commit/f5c71c10 Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/tree/f5c71c10 Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/diff/f5c71c10
Branch: refs/heads/cwl-browse Commit: f5c71c10186aa98994ec22e98a8a4df891a8bc6c Parents: d2f2ebb Author: M.G.T.R Manamgoda <[email protected]> Authored: Wed Aug 10 22:24:36 2016 +0530 Committer: GitHub <[email protected]> Committed: Wed Aug 10 22:24:36 2016 +0530 ---------------------------------------------------------------------- taverna-cwl-activity-ui/Readme.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-taverna-common-activities/blob/f5c71c10/taverna-cwl-activity-ui/Readme.md ---------------------------------------------------------------------- diff --git a/taverna-cwl-activity-ui/Readme.md b/taverna-cwl-activity-ui/Readme.md index 8f74545..3fa80d4 100644 --- a/taverna-cwl-activity-ui/Readme.md +++ b/taverna-cwl-activity-ui/Readme.md @@ -1 +1,19 @@ -Testing + +<snippet> + <content> +# Taverna-CWL-Activity-UI Plugin +This module contains the UI plugin implementaion of the [Common Workflow Language(CWL)](http://www.commonwl.org/). The basic funcionalty of this plugin is to find the CWL tool in the given directory and extract configuration information from the tools. + +##Implementaion Approach + +The class [CwlServiceProvider](https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/master/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/serviceprovider/CwlServiceProvider.java) is responsible for finding the cwl tool descriptions and extract configuration info. Some of new Java 8 features are used in this class(Stream, Lambda expressions). This Service provider is configurable, which means the user can give the location of the cwl tools or it can use default paths if not. Cwl tools are parsed using [SnakeYaml](https://bitbucket.org/asomov/snakeyaml) lib. + +The class [CwlContextualView](https://github.com/ThilinaManamgoda/incubator-taverna-common-activities/blob/master/taverna-cwl-activity-ui/src/main/java/org/apache/taverna/cwl/ui/view/CwlContextualView.java) is responsible for displaying the information of the tool in the service detail panel in the Taverna workbench. + +##Abstract view of the plugin + +tool.cwl -> Yaml Parser -> Map -> Json Node -> CWlServiceDesc + </content> + + +</snippet>
