Search in sources :

Example 1 with ConfigFactory

use of com.typesafe.config.ConfigFactory in project controller by opendaylight.

the class RemoteRpcProviderTest method setup.

@BeforeClass
public static void setup() throws InterruptedException {
    moduleConfig = new RemoteRpcProviderConfig.Builder("odl-cluster-rpc").withConfigReader(ConfigFactory::load).build();
    final Config config = moduleConfig.get();
    system = ActorSystem.create("odl-cluster-rpc", config);
}
Also used : Config(com.typesafe.config.Config) ConfigFactory(com.typesafe.config.ConfigFactory) BeforeClass(org.junit.BeforeClass)

Aggregations

Config (com.typesafe.config.Config)1 ConfigFactory (com.typesafe.config.ConfigFactory)1 BeforeClass (org.junit.BeforeClass)1