Search in sources :

Example 1 with LocalFileModule

use of com.instaclustr.esop.local.LocalFileModule in project esop by instaclustr.

the class StorageModules method configure.

@Override
protected void configure() {
    install(new KubernetesApiModule());
    install(new S3Module());
    install(new AzureModule());
    install(new GCPModule());
    install(new LocalFileModule());
    install(new OracleModule());
    install(new MinioModule());
    install(new CephModule());
}
Also used : CephModule(com.instaclustr.esop.s3.ceph.CephModule) S3Module(com.instaclustr.esop.s3.aws.S3Module) OracleModule(com.instaclustr.esop.s3.oracle.OracleModule) MinioModule(com.instaclustr.esop.s3.minio.MinioModule) KubernetesApiModule(com.instaclustr.kubernetes.KubernetesApiModule) AzureModule(com.instaclustr.esop.azure.AzureModule) GCPModule(com.instaclustr.esop.gcp.GCPModule) LocalFileModule(com.instaclustr.esop.local.LocalFileModule)

Example 2 with LocalFileModule

use of com.instaclustr.esop.local.LocalFileModule in project esop by instaclustr.

the class LocalBackupTest method setup.

@BeforeMethod
public void setup() throws Exception {
    final List<Module> modules = new ArrayList<Module>() {

        {
            add(new LocalFileModule());
        }
    };
    modules.addAll(defaultModules);
    final Injector injector = Guice.createInjector(modules);
    injector.injectMembers(this);
    init();
}
Also used : Injector(com.google.inject.Injector) ArrayList(java.util.ArrayList) Module(com.google.inject.Module) LocalFileModule(com.instaclustr.esop.local.LocalFileModule) LocalFileModule(com.instaclustr.esop.local.LocalFileModule) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

LocalFileModule (com.instaclustr.esop.local.LocalFileModule)2 Injector (com.google.inject.Injector)1 Module (com.google.inject.Module)1 AzureModule (com.instaclustr.esop.azure.AzureModule)1 GCPModule (com.instaclustr.esop.gcp.GCPModule)1 S3Module (com.instaclustr.esop.s3.aws.S3Module)1 CephModule (com.instaclustr.esop.s3.ceph.CephModule)1 MinioModule (com.instaclustr.esop.s3.minio.MinioModule)1 OracleModule (com.instaclustr.esop.s3.oracle.OracleModule)1 KubernetesApiModule (com.instaclustr.kubernetes.KubernetesApiModule)1 ArrayList (java.util.ArrayList)1 BeforeMethod (org.testng.annotations.BeforeMethod)1