Search in sources :

Example 16 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class KafkaFilerTopology method main.

public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new KafkaFilerTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment) ConfigurationException(org.openkilda.wfm.ConfigurationException)

Example 17 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class FlowHsTopology method main.

/**
 * Launches and sets up the topology.
 *
 * @param args the command-line arguments.
 */
public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        new FlowHsTopology(env).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment)

Example 18 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class FlowMonitoringTopology method main.

/**
 * Launches and sets up the topology.
 *
 * @param args the command-line arguments.
 */
public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        new FlowMonitoringTopology(env).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment)

Example 19 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class ControlTopology method main.

/**
 * Topology uploader.
 */
public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new ControlTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment)

Example 20 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class ConnectedDevicesTopology method main.

/**
 * Main method to run topology.
 */
public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new ConnectedDevicesTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment)

Aggregations

LaunchEnvironment (org.openkilda.wfm.LaunchEnvironment)25 ConfigurationException (org.openkilda.wfm.ConfigurationException)8 Properties (java.util.Properties)3 Config (org.apache.storm.Config)2 StormTopology (org.apache.storm.generated.StormTopology)2 BeforeClass (org.junit.BeforeClass)2 StreamNameCollisionException (org.openkilda.wfm.StreamNameCollisionException)2 TestKafkaConsumer (org.openkilda.wfm.topology.TestKafkaConsumer)2 NameCollisionException (org.openkilda.wfm.NameCollisionException)1 ConfigurationException (org.openkilda.wfm.error.ConfigurationException)1