Package eu.mosaic_cloud.platform.core.configuration

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


    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);
    BaseConnectorTest.driverStub = MemcachedStub.createDetached (configuration, scenario.getDriverChannel (), scenario.getThreading ());
View Full Code Here


    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);
    BaseConnectorTest.driverStub = MemcachedStub.createDetached (configuration, scenario.getDriverChannel (), scenario.getThreading ());
    MemcacheKvStoreConnectorTest.scenario_ = scenario;
View Full Code Here

  public static void setUpBeforeClass ()
  {
    final String host = System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST, RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT, RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
View Full Code Here

  {
    final String host = System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST, RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT, RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "10");
View Full Code Here

    final String host = System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST, RedisKvStoreConnectorTest.MOSAIC_REDIS_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT, RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "10");
    final Scenario scenario = new Scenario (RedisKvStoreConnectorTest.class, configuration);
View Full Code Here

    final Integer port = Integer.valueOf (System.getProperty (RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT, RedisKvStoreConnectorTest.MOSAIC_REDIS_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "10");
    final Scenario scenario = new Scenario (RedisKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
View Full Code Here

    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "10");
    final Scenario scenario = new Scenario (RedisKvStoreConnectorTest.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://98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "10");
    final Scenario scenario = new Scenario (RedisKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
    BaseConnectorTest.driverStub = KeyValueStub.createDetached (configuration, scenario.getThreading (), scenario.getDriverChannel ());
    RedisKvStoreConnectorTest.scenario_ = scenario;
View Full Code Here

    configuration.addParameter ("interop.driver.identity", "98eceebc-fd87-4ef3-84cf-3feca6044e5a");
    configuration.addParameter ("kvstore.host", host);
    configuration.addParameter ("kvstore.port", port);
    configuration.addParameter ("kvstore.driver_name", "REDIS");
    configuration.addParameter ("kvstore.driver_threads", 1);
    configuration.addParameter ("kvstore.bucket", "10");
    final Scenario scenario = new Scenario (RedisKvStoreConnectorTest.class, configuration);
    scenario.registerDriverRole (KeyValueSession.DRIVER);
    BaseConnectorTest.driverStub = KeyValueStub.createDetached (configuration, scenario.getThreading (), scenario.getDriverChannel ());
    RedisKvStoreConnectorTest.scenario_ = scenario;
  }
View Full Code Here

  public static void setUpBeforeClass ()
  {
    final String host = System.getProperty (AmqpQueueRawConnectorTest.MOSAIC_AMQP_HOST, AmqpQueueRawConnectorTest.MOSAIC_AMQP_HOST_DEFAULT);
    final Integer port = Integer.valueOf (System.getProperty (AmqpQueueRawConnectorTest.MOSAIC_AMQP_PORT, AmqpQueueRawConnectorTest.MOSAIC_AMQP_PORT_DEFAULT));
    final IConfiguration configuration = PropertyTypeConfiguration.create ();
    configuration.addParameter ("interop.driver.endpoint", "inproc://f4c74dc5-b548-4ec4-a6a6-ef97c79bf55d");
    configuration.addParameter ("interop.driver.identity", "f4c74dc5-b548-4ec4-a6a6-ef97c79bf55d");
    configuration.addParameter ("amqp.host", host);
    configuration.addParameter ("amqp.port", port);
    configuration.addParameter ("amqp.driver_threads", 1);
    configuration.addParameter ("consumer.amqp.queue", "tests.queue");
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.