You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2016/04/04 21:07:25 UTC

[jira] [Commented] (QUARKS-10) Allow a registered application to be started from a backend.

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

Daniel John Debrunner commented on QUARKS-10:
---------------------------------------------

Completed, the sample scenario quarks.samples.scenarios.iotf.IotfFullSceario can be used to demonstrate this working.

> Allow a registered application to be started from a backend.
> ------------------------------------------------------------
>
>                 Key: QUARKS-10
>                 URL: https://issues.apache.org/jira/browse/QUARKS-10
>             Project: Quarks
>          Issue Type: New Feature
>          Components: Applications
>            Reporter: Daniel John Debrunner
>            Assignee: Daniel John Debrunner
>              Labels: iotscenario
>
> Support an IoT device command that can start a registered application (topology).
> Application service that provides a control MBean to submit any applications it has registered. This control mbean can then be exposed though JMX or as an Iot device command.
> Something like:
> interface ApplicationService {
>     // when the topology is to be submitted builder.accept(topology) is called
>     // create the graph (so that it can be created on demand)
>    // with topology being a newly created topology with the given name
>     void addTopology(String name, Consumer<Topology> builder);
> }
> And a control mechanism of:
> interface ApplicationMXBean {
>     void submit(String name, String jsonConfig);
> }



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