Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salesforce add apiVersion and set security token optional #8416

Merged
merged 13 commits into from
Feb 21, 2020
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -2263,9 +2263,13 @@
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"securityToken": {
"description": "The security token is required to remotely access Salesforce instance.",
"description": "The security token is optional to remotely access Salesforce instance.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"apiVersion": {
"type": "object",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be string?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@myronfanqiu If we set object type, customer can input a expression instead a string value.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the meaning of expression? Could you give me an example? I think an expression is also a string.

"description": "The Salesforce API version used in ADF. Type: string (or Expression with resultType string)."
},
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
Expand Down Expand Up @@ -2308,9 +2312,13 @@
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"securityToken": {
"description": "The security token is required to remotely access Salesforce instance.",
"description": "The security token is optional to remotely access Salesforce instance.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"apiVersion": {
"type": "object",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

"description": "The Salesforce API version used in ADF. Type: string (or Expression with resultType string)."
},
"extendedProperties": {
"type": "object",
"description": "Extended properties appended to the connection string. Type: string (or Expression with resultType string)."
Expand Down