Tabnine Logo
ConfigurationModule.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
co.cask.coopr.common.conf.guice.ConfigurationModule
constructor

Best Java code snippets using co.cask.coopr.common.conf.guice.ConfigurationModule.<init> (Showing top 12 results out of 315)

origin: caskdata/coopr

@BeforeClass
public static void setupMemoryPluginStoreTest() throws Exception {
 conf = Configuration.create();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(conf),
  new TestStoreModule()
 );
 store = injector.getInstance(MemoryPluginStore.class);
}
origin: caskdata/coopr

@BeforeClass
public static void setupTestClass() throws Exception {
 Configuration conf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(conf),
  new TestStoreModule()
 );
 service = injector.getInstance(SQLPluginMetaStoreService.class);
 service.startAndWait();
}
origin: caskdata/coopr

@BeforeClass
public static void setupClass() {
 Configuration conf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(conf),
  new TestStoreModule()
 );
 store = injector.getInstance(SQLCredentialStore.class);
 store.startAndWait();
}
origin: caskdata/coopr

new ConfigurationModule(conf),
new ZookeeperModule(zkClientService),
new StoreModule(conf),
origin: caskdata/coopr

@BeforeClass
public static void setupTestClass() {
 Configuration conf = Configuration.create();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(conf)
 );
 provisionerRequestService = injector.getInstance(HttpProvisionerRequestService.class);
 stubProvisioner = new StubProvisioner();
 stubProvisioner.startAndWait();
 port = stubProvisioner.getBindAddress().getPort();
 host = stubProvisioner.getBindAddress().getHostName();
}
origin: caskdata/coopr

@BeforeClass
public static void beforeClass() throws SQLException, ClassNotFoundException {
 Configuration sqlConf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(sqlConf),
  new TestStoreModule(),
  new CodecModules().getModule()
 );
 sqlStore = injector.getInstance(SQLEntityStoreService.class);
 sqlStore.startAndWait();
 entityStoreService = sqlStore;
}
origin: caskdata/coopr

@BeforeClass
public static void setupTestClass() throws Exception {
 Configuration sqlConf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(sqlConf),
  new TestStoreModule(),
  new CodecModules().getModule()
 );
 store = injector.getInstance(SQLProvisionerStore.class);
 store.startAndWait();
}
origin: caskdata/coopr

@BeforeClass
public static void setupSQLNodeStoreTest() throws SQLException {
 Configuration sqlConf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(new ConfigurationModule(sqlConf),
                      new TestStoreModule(),
                      new CodecModules().getModule());
 sqlNodeStoreService = injector.getInstance(SQLNodeStoreService.class);
 sqlNodeStoreService.startAndWait();
}
origin: caskdata/coopr

@BeforeClass
public static void beforeClass() throws SQLException, ClassNotFoundException {
 Configuration sqlConf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(sqlConf),
  new TestStoreModule(),
  new CodecModules().getModule()
 );
 sqlStore = injector.getInstance(SQLUserStore.class);
 sqlStore.startAndWait();
 sqlStore.clearData();
}
origin: caskdata/coopr

@BeforeClass
public static void beforeClass() throws SQLException, ClassNotFoundException {
 Configuration sqlConf = BaseTest.createTestConf();
 Injector injector = Guice.createInjector(
  new ConfigurationModule(sqlConf),
  new TestStoreModule(),
  new CodecModules().getModule()
 );
 sqlStore = injector.getInstance(SQLTenantStore.class);
 sqlStore.startAndWait();
 sqlStore.clearData();
 store = sqlStore;
}
origin: caskdata/coopr

@BeforeClass
public static void setupSQLClusterStoreTest() throws Exception {
 Configuration sqlConf = BaseTest.createTestConf();
 sqlConf.setLong(Constants.ID_START_NUM, 1);
 sqlConf.setLong(Constants.ID_INCREMENT_BY, 1);
 Injector injector = Guice.createInjector(
  new ConfigurationModule(sqlConf),
  new TestStoreModule(),
  new CodecModules().getModule()
 );
 sqlClusterStoreService = injector.getInstance(SQLClusterStoreService.class);
 sqlClusterStoreService.startAndWait();
}
origin: caskdata/coopr

injector = Guice.createInjector(
 Modules.override(
  new ConfigurationModule(conf),
  new ZookeeperModule(zkClientService),
  new TestStoreModule(),
co.cask.coopr.common.conf.guiceConfigurationModule<init>

Popular methods of ConfigurationModule

  • bind

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now