Sha256: 0377dde82fe23b54a6b013616eb8a135eae15dd8dba9c37fdc56076952463ce8

Contents?: true

Size: 1.02 KB

Versions: 13

Compression:

Stored size: 1.02 KB

Contents

package org.embulk.input.riak_cs;

import org.embulk.EmbulkTestRuntime;
import org.embulk.config.ConfigSource;
import org.embulk.input.s3.AbstractS3FileInputPlugin.PluginTask;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;

public class TestRiakCsFileInputPlugin
{
    @Rule
    public EmbulkTestRuntime runtime = new EmbulkTestRuntime();

    private RiakCsFileInputPlugin plugin;

    @Before
    public void createPlugin()
    {
        plugin = runtime.getInstance(RiakCsFileInputPlugin.class);
    }

    @Test
    public void createS3ClientSuccessfully()
    {
        ConfigSource config = runtime.getExec().newConfigSource()
                .set("endpoint", "my.endpoint.com")
                .set("bucket", "my_bucket")
                .set("path_prefix", "my_path_prefix")
                .set("access_key_id", "my_access_key_id")
                .set("secret_access_key", "my_secret_access_key");
        PluginTask task = config.loadConfig(plugin.getTaskClass());
        plugin.newS3Client(task);
    }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
embulk-input-riak_cs-0.3.5 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.3.4 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.3.3 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.3.2 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.3.1 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.3.0 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.21 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.20 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.19 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.16 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.15 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.14 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
embulk-input-riak_cs-0.2.13 src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java