Skip to content

Commit 4641cac

Browse files
committed
modify for embulk upgrade from 0.6.11 to 0.7.4
1 parent eb01c25 commit 4641cac

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ configurations {
1212
provided
1313
}
1414

15-
version = "0.1.2"
15+
version = "0.1.3"
1616

1717
dependencies {
18-
compile "org.embulk:embulk-core:0.6.11"
19-
provided "org.embulk:embulk-core:0.6.11"
18+
compile "org.embulk:embulk-core:0.7.4"
19+
provided "org.embulk:embulk-core:0.7.4"
2020
// compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION"
2121
compile "net.sf.supercsv:super-csv:2.3.1"
2222
compile files('lib/force-wsc-34.0.jar', 'lib/partner.jar')

gradle/wrapper/gradle-wrapper.jar

-330 Bytes
Binary file not shown.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Feb 04 13:46:12 PST 2015
1+
#Tue Aug 11 00:26:20 PDT 2015
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip

src/main/java/org/embulk/output/SalesforceOutputPlugin.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.HashMap;
2525
import java.util.List;
2626
import java.util.Map;
27-
import org.embulk.config.CommitReport;
27+
import org.embulk.config.TaskReport;
2828
import org.embulk.config.Config;
2929
import org.embulk.config.ConfigDefault;
3030
import org.embulk.config.ConfigDiff;
@@ -148,7 +148,7 @@ public ConfigDiff resume(TaskSource taskSource,
148148
@Override
149149
public void cleanup(TaskSource taskSource,
150150
Schema schema, int taskCount,
151-
List<CommitReport> successCommitReports)
151+
List<TaskReport> successTaskReports)
152152
{
153153
logger.info("logout");
154154
try {
@@ -295,9 +295,9 @@ public void abort()
295295
}
296296

297297
@Override
298-
public CommitReport commit()
298+
public TaskReport commit()
299299
{
300-
return Exec.newCommitReport();
300+
return Exec.newTaskReport();
301301
}
302302

303303
private void action(List<SObject> records) throws ConnectionException, IOException{

0 commit comments

Comments
 (0)