Skip to content

Commit

Permalink
TEIID-5083 adding docs about the salesforce change
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Jun 11, 2018
1 parent 344e6ac commit d25338d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions admin/Migration_Guide_From_Teiid_10.x.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ The default max buffer space on disk for embedded, Spring, and Thorntail environ

Function model support has been completely removed as it had been deprecated in Teiid Designer for some time. Those models should be removed and the functions moved to other physical or virtual models.

The salesforce translator and resource adapter now provide access to the 34.0 version of the Salesforce API. You may need to re-import your salesforce source metadata to ensure compatibility.

== Kitting/Build Changes

4 changes: 2 additions & 2 deletions admin/Salesforce_Data_Sources.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

= Salesforce Data Sources

Salesforce data sources use a Teiid specific JCA connector that is deployed into {{ book.asVersionNumber }} during installation. There are three versions of the salesforce resource adapter - salesforce, which currently provides connectivity to the 22.0 Salesforce API, salesforce-34, which provides connectivity to the 34.0 Salesforce API, and salesforce-41. The version 22.0 support has been deprecated.
Salesforce data sources use a Teiid specific JCA connector that is deployed into {{ book.asVersionNumber }} during installation. There are three versions of the salesforce resource adapter - salesforce, which currently provides connectivity to the 34.0 Salesforce API, salesforce-34, which provides connectivity to the 34.0 Salesforce API, and salesforce-41. The version 22.0 support has been removed.

NOTE: If you need connectivity to an API version other than what is built in, you may try to use an existing connectivity pair, but in some circumstances - especially accessing a later remote api from an older java api - this is not possible and results in what appears to be hung connections. Please raise an issue if you cannot successfully access a specific API version.

Expand All @@ -13,7 +13,7 @@ Execute following command using the {{ book.asDocRoot }}/Admin+Guide#AdminGuide-
----
batch
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS:add(jndi-name=java:/sfDS, class-name=org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory, enabled=true, use-java-context=true)
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=URL:add(value=https://login.salesforce.com/services/Soap/u/22.0)
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=URL:add(value=https://login.salesforce.com/services/Soap/u/34.0)
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=username:add(value={user})
/subsystem=resource-adapters/resource-adapter=salesforce/connection-definitions=sfDS/config-properties=password:add(value={password})
/subsystem=resource-adapters/resource-adapter=salesforce:activate
Expand Down
4 changes: 2 additions & 2 deletions reference/Salesforce_Translators.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The Salesforce translator supports the SELECT, DELETE, INSERT, UPSERT, and UPDAT

=== salesforce

The translator, known by the type name *_salesforce_*, provides Salesforce API 22.0 support. The translator must be used with the corresponding Salesforce resource adapter of the same API version. Salesforce API version 22.0 support has been deprecated.
The translator, known by the type name *_salesforce_*, provides Salesforce API 34.0 support. The translator must be used with the corresponding Salesforce resource adapter of the same API version. Salesforce API version 34.0 support has been removed.

=== salesforce-34

Expand Down Expand Up @@ -296,7 +296,7 @@ Where salesforce is the source name of the target source.

The default chunk size of 100,000 records will be used.

Note: this feature is only supported by Salsforce API equal to greater than 28, since the default "salesforce" translator uses version 22 of API, it recommended to use "salesforce-34" version of the translator to use this feature.
Note: this feature is only supported by Salsforce API equal to greater than 28.

== Supported Capabilities

Expand Down

0 comments on commit d25338d

Please sign in to comment.