Package com.splunk.shuttl.archiver

Examples of com.splunk.shuttl.archiver.LocalFileSystemPaths


@Test(groups = { "slow-unit" })
public class TgzFormatExporterTest {

  public void __createsATgzThenCreatesTheBucketObject() {
    CreatesBucketTgz createsBucketTgz = CreatesBucketTgz
        .create(new LocalFileSystemPaths(createDirectory()));
    BucketFileCreator bucketFileCreator = BucketFileCreator.createForTgz();

    TgzFormatExporter toTgz = new TgzFormatExporter(createsBucketTgz,
        bucketFileCreator);
View Full Code Here


  @BeforeMethod
  public void setUp() throws IllegalIndexException {
    bucket = TUtilsBucket.createBucket();
    splunkSettings = mock(SplunkIndexesLayer.class);
    localFileSystemPaths = new LocalFileSystemPaths(createDirectory());
    thawLocationProvider = new ThawLocationProvider(splunkSettings,
        localFileSystemPaths);

    stubSplunkSettingsToReturnThawLocation();
  }
View Full Code Here

  private LocalFileSystemPaths localFileSystemPaths;

  @BeforeMethod
  public void setUp() {
    bucket = TUtilsBucket.createBucket();
    localFileSystemPaths = new LocalFileSystemPaths(createDirectory());
    extension = "ext";
    getsBucketsExportFile = new GetsBucketsExportFile(localFileSystemPaths);
  }
View Full Code Here

  public void setUp() throws IllegalIndexException {
    index = "foo";

    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.LocalFileSystemPaths

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.