From 806bf2162bea83d3475d32f3c79add383211716a Mon Sep 17 00:00:00 2001 From: Tuan Bui Date: Tue, 3 Dec 2019 17:33:20 +0700 Subject: [PATCH] Hotfix issue actTypeIds is required --- .../marketo/delegate/ActivityBulkExtractInputPlugin.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPlugin.java b/src/main/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPlugin.java index 9c2e6ad..5f62a59 100644 --- a/src/main/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPlugin.java +++ b/src/main/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPlugin.java @@ -39,6 +39,7 @@ public interface PluginTask extends MarketoBaseBulkExtractInputPlugin.PluginTask @ConfigDefault("[]") List getActivityTypeIds(); + @Config("act_type_ids") @ConfigDefault("[]") List getActTypeIds(); @@ -63,11 +64,9 @@ public void validateInputTask(PluginTask task) // ignorable if unable to get activity type ids. If thing gone wrong, the bulk extract will throw errors } + // task will use getActTypeIds instead of getActivityTypeIds method task.setActTypeIds(activityIds); } - else { - task.setActTypeIds(new ArrayList()); - } super.validateInputTask(task); }