embulk-input-marketo_extended 0.6.24 → 0.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32159ad8f9fad3a8131bb16fd62735b23cfe8e42
|
4
|
+
data.tar.gz: adfe704d4f79971110e3d83aebb801ea52fa35ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d24bcd0780d4c3081cc7b8592fc8c854f0f33ddc6ec786ee33a31b5fe3d2e91a35e1514583892bc1348d4da51177564854bdf176413559ba4e61e00530a8b29
|
7
|
+
data.tar.gz: fc11f862364a6915c6266a464559afc5362e56a05e171175e73783b1fe7fed848f1794e7f5552257ed275d9e220d80a595a65fa4d3665cc63adb5db015d79ef6
|
data/build.gradle
CHANGED
@@ -143,7 +143,11 @@ public class ActivityBulkExtractInputPlugin extends MarketoBaseBulkExtractInputP
|
|
143
143
|
protected InputStream getExtractedStream(MarketoService service, PluginTask task, DateTime fromDate, DateTime toDate)
|
144
144
|
{
|
145
145
|
try {
|
146
|
-
|
146
|
+
String landing_path = "";
|
147
|
+
if (task.getLandingPath().isPresent()) {
|
148
|
+
landing_path = task.getLandingPath().get();
|
149
|
+
}
|
150
|
+
return new FileInputStream(service.extractAllActivity(task.getActTypeIds(), fromDate.toDate(), toDate.toDate(), task.getPollingIntervalSecond(), task.getBulkJobTimeoutSecond(), landing_path));
|
147
151
|
}
|
148
152
|
catch (FileNotFoundException e) {
|
149
153
|
throw new RuntimeException("Exception when trying to extract activity", e);
|
@@ -66,8 +66,8 @@ public abstract class MarketoBaseBulkExtractInputPlugin<T extends MarketoBaseBul
|
|
66
66
|
Integer getFetchDays();
|
67
67
|
|
68
68
|
@Config("landing_zone")
|
69
|
-
@ConfigDefault("")
|
70
|
-
String getLandingPath();
|
69
|
+
@ConfigDefault("null")
|
70
|
+
Optional<String> getLandingPath();
|
71
71
|
|
72
72
|
@Config("latest_fetch_time")
|
73
73
|
@ConfigDefault("null")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-marketo_extended
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- uu59
|
@@ -140,7 +140,7 @@ files:
|
|
140
140
|
- classpath/jetty-io-9.2.14.v20151106.jar
|
141
141
|
- classpath/commons-io-2.8.0.jar
|
142
142
|
- classpath/jetty-util-9.2.14.v20151106.jar
|
143
|
-
- classpath/embulk-input-marketo_extended-0.6.
|
143
|
+
- classpath/embulk-input-marketo_extended-0.6.25.jar
|
144
144
|
- classpath/jetty-http-9.2.14.v20151106.jar
|
145
145
|
- classpath/jetty-client-9.2.14.v20151106.jar
|
146
146
|
- classpath/embulk-base-restclient-0.5.3.jar
|