use of cz.o2.proxima.direct.bulk.NamingConvention in project proxima-platform by O2-Czech-Republic.
the class GCloudStorageAccessorTest method testNamingConventionWithBucketAndNoPath.
@Test
public void testNamingConventionWithBucketAndNoPath() {
GCloudStorageAccessor accessor = new GCloudStorageAccessor(TestUtils.createTestFamily(entity, URI.create("gs://bucket")));
NamingConvention convention = accessor.getNamingConvention();
assertTrue(convention.nameOf(1500000000000L).startsWith("/2017/07/"));
}
use of cz.o2.proxima.direct.bulk.NamingConvention in project proxima-platform by O2-Czech-Republic.
the class S3AccessorTest method testNamingConventionWithBucket.
@Test
public void testNamingConventionWithBucket() {
S3Accessor accessor = new S3Accessor(TestUtils.createTestFamily(entity, URI.create("s3://bucket/path")));
NamingConvention convention = accessor.getNamingConvention();
assertTrue(convention.nameOf(1500000000000L).startsWith("/2017/07/"));
}
use of cz.o2.proxima.direct.bulk.NamingConvention in project proxima-platform by O2-Czech-Republic.
the class S3AccessorTest method testNamingConventionWithBucketAndNoPath.
@Test
public void testNamingConventionWithBucketAndNoPath() {
S3Accessor accessor = new S3Accessor(TestUtils.createTestFamily(entity, URI.create("s3://bucket/path")));
NamingConvention convention = accessor.getNamingConvention();
assertTrue(convention.nameOf(1500000000000L).startsWith("/2017/07/"));
}
use of cz.o2.proxima.direct.bulk.NamingConvention in project proxima-platform by O2-Czech-Republic.
the class BlobStorageAccessorTest method testNamingConventionWithBucketAndNoPath.
@Test
public void testNamingConventionWithBucketAndNoPath() {
BlobStorageAccessor accessor = new TestBlobStorageAccessor(TestUtils.createTestFamily(entity, URI.create("blob-test://bucket")));
NamingConvention convention = accessor.getNamingConvention();
assertTrue(convention.nameOf(1500000000000L).startsWith("/2017/07/"));
}
use of cz.o2.proxima.direct.bulk.NamingConvention in project proxima-platform by O2-Czech-Republic.
the class BlobStorageAccessorTest method testNamingConventionWithBucket.
@Test
public void testNamingConventionWithBucket() {
BlobStorageAccessor accessor = new TestBlobStorageAccessor(TestUtils.createTestFamily(entity, URI.create("blob-test://bucket/path")));
NamingConvention convention = accessor.getNamingConvention();
assertTrue(convention.nameOf(1500000000000L).startsWith("/2017/07/"));
}
Aggregations