Package eu.mosaic_cloud.platform.core.configuration

Examples of eu.mosaic_cloud.platform.core.configuration.IConfiguration.addParameter()


    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("interop.driver.identity", "fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "RIAKREST");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "tests");
    final Scenario scenario = new Scenario (RiakKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
    BaseConnectorTest.driverStub = KeyValueStub.createDetached (configuration, scenario.getThreading (), scenario.getDriverChannel ());
View Full Code Here


    configuration.addParameter ("interop.driver.endpoint", "inproc://fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("interop.driver.identity", "fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "RIAKREST");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "tests");
    final Scenario scenario = new Scenario (RiakKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
    BaseConnectorTest.driverStub = KeyValueStub.createDetached (configuration, scenario.getThreading (), scenario.getDriverChannel ());
    RiakKvStoreConnectorTest.scenario_ = scenario;
View Full Code Here

    configuration.addParameter ("interop.driver.identity", "fb012d6b-c238-4b31-b889-4121a318b2cb");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "RIAKREST");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "tests");
    final Scenario scenario = new Scenario (RiakKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
    BaseConnectorTest.driverStub = KeyValueStub.createDetached (configuration, scenario.getThreading (), scenario.getDriverChannel ());
    RiakKvStoreConnectorTest.scenario_ = scenario;
  }
View Full Code Here

  public static void setUpBeforeClass ()
  {
    final String host = System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_HOST, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
View Full Code Here

  {
    final String host = System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_HOST, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "test");
View Full Code Here

    final String host = System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_HOST, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "test");
    configuration.addParameter ("kvstore.user", "test");
View Full Code Here

    final Integer port = Integer.valueOf (System.getProperty (MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT, MemcacheKvStoreConnectorTest.MOSAIC_MEMCACHED_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "test");
    configuration.addParameter ("kvstore.user", "test");
    configuration.addParameter ("kvstore.passwd", "test");
View Full Code Here

    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "test");
    configuration.addParameter ("kvstore.user", "test");
    configuration.addParameter ("kvstore.passwd", "test");
    final Scenario scenario = new Scenario (MemcacheKvStoreConnectorTest.class, configuration);
View Full Code Here

    configuration.addParameter ("interop.driver.endpoint", "inproc://f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "test");
    configuration.addParameter ("kvstore.user", "test");
    configuration.addParameter ("kvstore.passwd", "test");
    final Scenario scenario = new Scenario (MemcacheKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
View Full Code Here

    configuration.addParameter ("interop.driver.identity", "f0bfd2cc-07ab-4df1-935c-22e80779bc87");
    configuration.addParameter ("memcached.host_1", host);
    configuration.addParameter ("memcached.port_1", port);
    configuration.addParameter ("kvstore.driver_name", "MEMCACHED");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "test");
    configuration.addParameter ("kvstore.user", "test");
    configuration.addParameter ("kvstore.passwd", "test");
    final Scenario scenario = new Scenario (MemcacheKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
    scenario.registerDriverRole (MemcachedSession.DRIVER);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.