File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/io/cdap/plugin/salesforce/plugin/source/streaming Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3131 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
3232 <!-- version properties -->
3333 <avro .version>1.7.7</avro .version>
34- <cdap .version>6.4.0-SNAPSHOT </cdap .version>
34+ <cdap .version>6.4.0</cdap .version>
3535 <junit .version>4.12</junit .version>
3636 <commons .io.version>2.6</commons .io.version>
3737 <commons .lang.version>2.6</commons .lang.version>
443443 Plugins use the new macro substitution that supports object, which is introduced in 6.4.0.
444444 The cdap API version that this project depends on is still 6.2.0 since there is no new API needed.
445445 -->
446- <parent >system:cdap-data-pipeline[6.4.0-SNAPSHOT ,7.0.0-SNAPSHOT)</parent >
447- <parent >system:cdap-data-streams[6.4.0-SNAPSHOT ,7.0.0-SNAPSHOT)</parent >
446+ <parent >system:cdap-data-pipeline[6.4.0,7.0.0-SNAPSHOT)</parent >
447+ <parent >system:cdap-data-streams[6.4.0,7.0.0-SNAPSHOT)</parent >
448448 </cdapArtifacts >
449449 </configuration >
450450 <executions >
Original file line number Diff line number Diff line change @@ -81,7 +81,8 @@ public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
8181
8282 if (!Strings .isNullOrEmpty (query )
8383 && !config .containsMacro (SalesforceStreamingSourceConfig .PROPERTY_PUSH_TOPIC_QUERY )
84- && !config .containsMacro (SalesforceStreamingSourceConfig .PROPERTY_SOBJECT_NAME )) {
84+ && !config .containsMacro (SalesforceStreamingSourceConfig .PROPERTY_SOBJECT_NAME )
85+ && config .canAttemptToEstablishConnection ()) {
8586
8687 Schema schema = SalesforceSchemaUtil .getSchema (config .getAuthenticatorCredentials (),
8788 SObjectDescriptor .fromQuery (query ));
You can’t perform that action at this time.
0 commit comments