You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/22 15:16:12 UTC

[jira] [Commented] (APEXCORE-107) Support adding module to application using property file API.

    [ https://issues.apache.org/jira/browse/APEXCORE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253896#comment-15253896 ] 

ASF GitHub Bot commented on APEXCORE-107:
-----------------------------------------

GitHub user tushargosavi opened a pull request:

    https://github.com/apache/incubator-apex-core/pull/313

    APEXCORE-107 Support for adding modules in the DAG through property and json file

    Support for adding modules in the DAG property file and json file.
    Also changed module API to make module as an operator.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tushargosavi/incubator-apex-core APEXCORE-107

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-core/pull/313.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #313
    
----
commit 42c0134d748d1b3d6240d4d94d13173367aba842
Author: Tushar R. Gosavi <tu...@gmail.com>
Date:   2016-04-22T12:54:35Z

    APEXCORE-107 Support for adding modules in the DAG property file and json file.
    Change module API to make module as an operator.

----


> Support adding module to application using property file API.
> -------------------------------------------------------------
>
>                 Key: APEXCORE-107
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-107
>             Project: Apache Apex Core
>          Issue Type: Task
>            Reporter: Tushar Gosavi
>            Assignee: Tushar Gosavi
>
> Add support for adding modules in the DAG specified through property file and json file. The sample json format is specified below.
> {code}
> {
>   "operators": [
>     {
>       "name": "operator1",
>       "class": "com.datatorrent.lib.operator.Input",
>       "properties": {
>         "property1": "value1"
>       }
>     },
>     {
>       "name": "module1",
>       "class": "com.datatorrent.module.Module1",
>       "properties": {
>         "property1": "value1"
>       }
>     },
>   ],
>   "streams": [
>     {
>       "name": "s1",
>       "source": {
>         "operatorName": "operator1",
>         "portName": "output"
>       },
>       "sinks": [
>         {
>           "operatorName": "module",
>           "portName": "input"
>         }
>       ]
>     }
>   ]
> }
> {code}
> For this to work, we will need to support adding module in DAG through property file API.
> This will allow external tools to visually construct the DAG containing modules.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)