Package com.splunk.shuttl.archiver.usecases.util

Examples of com.splunk.shuttl.archiver.usecases.util.FakeSplunkIndexesLayer


    archiverData = createDirectory();
    LocalFileSystemPaths localFileSystemPaths = new LocalFileSystemPaths(
        archiverData.getAbsolutePath());
    bucketArchiver = BucketShuttlerFactory.createWithConfAndLocalPaths(config,
        localFileSystemPaths);
    SplunkIndexesLayer SplunkIndexesLayer = new FakeSplunkIndexesLayer(
        thawLocation);
    thawLocation = createDirectory();

    bucketThawer = BucketThawerFactory
        .createWithConfigAndSplunkSettingsAndLocalFileSystemPaths(config,
View Full Code Here


  @BeforeMethod
  public void setUp() throws IllegalIndexException {
    localCsvArchiveConfigration = TUtilsFunctional
        .getLocalCsvArchiveConfigration();
    thawDirectory = createDirectory();
    SplunkIndexesLayer splunkIndexesLayer = new FakeSplunkIndexesLayer(
        thawDirectory);

    archiverData = createDirectory();
    LocalFileSystemPaths localFileSystemPaths = new LocalFileSystemPaths(
        archiverData.getAbsolutePath());
View Full Code Here

  public void _givenTgzConfig_thawsTgzBucketToSplunkBucket()
      throws IllegalIndexException {
    File thawDir = createDirectory();

    Bucket bucket = getTgzBucketArchived();
    SplunkIndexesLayer splunkIndexesLayer = new FakeSplunkIndexesLayer(thawDir);

    BucketThawer bucketThawer = BucketThawerFactory
        .createWithConfigAndSplunkSettingsAndLocalFileSystemPaths(tgzConf,
            splunkIndexesLayer, localFileSystemPaths);
View Full Code Here

    bucketArchiver = BucketShuttlerFactory
        .createWithConfFileSystemAndLocalPaths(config, archiveFileSystem,
            localFileSystemPaths);
    thawDirectory = TUtilsFile.createDirectory();

    SplunkIndexesLayer splunkIndexesLayer = new FakeSplunkIndexesLayer(
        thawDirectory);

    bucketThawer = BucketThawerFactory
        .createWithConfigAndSplunkSettingsAndLocalFileSystemPaths(config,
            splunkIndexesLayer, localFileSystemPaths);
View Full Code Here

    bucketArchiver = BucketShuttlerFactory
        .createWithConfFileSystemAndLocalPaths(config, glacierArchive,
            localFileSystemPaths);

    SplunkIndexesLayer splunkIndexesLayer = new FakeSplunkIndexesLayer(
        createDirectory());

    bucketThawer = BucketThawerFactory.create(config, splunkIndexesLayer,
        localFileSystemPaths, glacierArchive);
  }
View Full Code Here

    config = TUtilsFunctional.getLocalFileSystemConfiguration();
    tmp = createDirectory();
    localFileSystemPaths = new LocalFileSystemPaths(tmp.getAbsolutePath());

    thawDir = createDirectory();
    splunkIndexesLayer = new FakeSplunkIndexesLayer(thawDir);
  }
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.archiver.usecases.util.FakeSplunkIndexesLayer

Copyright © 2018 www.massapicom. 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.