Skip to content

Commit

Permalink
fix(validation): remove @notempty from integers
Browse files Browse the repository at this point in the history
(cherry picked from commit d9739b2)
  • Loading branch information
brian-mulier-p committed Aug 9, 2024
1 parent 7fb9020 commit 86cacf3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/main/java/io/kestra/plugin/singer/taps/BigQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ public class BigQuery extends AbstractPythonTap implements RunnableTask<Abstract
protected List<Stream> streams;

@NotNull
@NotEmpty
@Schema(
title = "Limits the number of records returned in each stream, applied as a limit in the query."
)
@PluginProperty
private Integer limit;

@NotNull
@NotEmpty
@Schema(
title = "When replicating incrementally, disable to only select records whose `datetime_key` is greater than the maximum value replicated in the last run, by excluding records whose timestamps match exactly.",
description = "This could cause records to be missed that were created after the last run finished, but during the same second and with the same timestamp."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public class FacebookAds extends AbstractPythonTap implements RunnableTask<Abstr
private String accessToken;

@NotNull
@NotEmpty
@Schema(
title = "How many Days before the Start Date to fetch Ads Insights for."
)
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/io/kestra/plugin/singer/taps/Netsuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public class Netsuite extends AbstractPythonTap implements RunnableTask<Abstract
private String tokenSecret;

@NotNull
@NotEmpty
@Schema(
title = "Behaviour when new fields are discovered.",
description = "When new fields are discovered in NetSuite objects, the select_fields_by_default key describes whether or not the tap will select those fields by default."
Expand All @@ -86,7 +85,6 @@ public class Netsuite extends AbstractPythonTap implements RunnableTask<Abstract
private Boolean selectFieldsByDefault;

@NotNull
@NotEmpty
@Schema(
title = "Is this sandbox account.",
description = "This should always be set to `true` if you are connecting Production account of NetSuite. Set it to `false` if you want to connect to SandBox account."
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/kestra/plugin/singer/taps/Salesforce.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
)
public class Salesforce extends AbstractPythonTap implements RunnableTask<AbstractPythonTap.Output> {
@NotNull
@NotEmpty
@Schema(
title = "This is used to switch the behavior of the tap between using Salesforce's `REST` and `BULK` APIs."
)
Expand Down

0 comments on commit 86cacf3

Please sign in to comment.