apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tushar Gosavi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (APEXCORE-107) Support adding module to application using property file API.
Date Wed, 20 Jan 2016 16:07:39 GMT

     [ https://issues.apache.org/jira/browse/APEXCORE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tushar Gosavi updated APEXCORE-107:
-----------------------------------
    Description: 
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.
     Issue Type: Task  (was: Sub-task)

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}


> 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)

Mime
View raw message