Daniel John Debrunner created QUARKS-10:
-------------------------------------------

             Summary: 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
            Priority: Critical


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)

Reply via email to