Skip to content

Commit

Permalink
Merge pull request #58 from sajinieKavindya/upgrade-salesforce-rest-v59
Browse files Browse the repository at this point in the history
Update Salesforce REST Operation Names
  • Loading branch information
sajinieKavindya authored Nov 3, 2023
2 parents 3786cbd + 879357a commit 0cfb668
Show file tree
Hide file tree
Showing 31 changed files with 69 additions and 69 deletions.
24 changes: 12 additions & 12 deletions src/main/resources/salesforcerest-layouts/component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,23 @@
<file>sObjectApprovalLayoutsForSpecifiedApprovalProcess.xml</file>
<description>Returns an approval layout for a named approval process on a specified object.</description>
</component>
<component name="headersForSObjectApprovalLayouts">
<file>headersForSObjectApprovalLayouts.xml</file>
<component name="returnHeadersForSObjectApprovalLayouts">
<file>returnHeadersForSObjectApprovalLayouts.xml</file>
<description>Returns only the headers that are returned by the sObjectApprovalLayouts
operation</description>
</component>
<component name="headersForSObjectApprovalLayoutsForSpecifiedApprovalProcess">
<file>headersForSObjectApprovalLayoutsForSpecifiedApprovalProcess.xml</file>
<component name="returnHeadersForSObjectApprovalLayoutsForSpecifiedApprovalProcess">
<file>returnHeadersForSObjectApprovalLayoutsForSpecifiedApprovalProcess.xml</file>
<description>Returns only the headers that are returned by the
sObjectApprovalLayoutsForSpecifiedApprovalProcess operation
</description>
</component>
<component name="headersForSObjectCompactLayouts">
<file>headersForSObjectCompactLayouts.xml</file>
<component name="returnHeadersForSObjectCompactLayouts">
<file>returnHeadersForSObjectCompactLayouts.xml</file>
<description>Returns only the headers that are returned by the sObjectCompactLayouts operation</description>
</component>
<component name="headersForSObjectLayouts">
<file>headersForSObjectLayouts.xml</file>
<component name="returnHeadersForSObjectLayouts">
<file>returnHeadersForSObjectLayouts.xml</file>
<description>Returns only the headers that are returned by the sObjectLayouts operation</description>
</component>
<component name="sObjectLayoutsForObjectWithMultipleRecordTypes">
Expand All @@ -75,15 +75,15 @@
more than one record type defined.
</description>
</component>
<component name="headersForSObjectLayoutsForObjectWithMultipleRecordTypes">
<file>headersForSObjectLayoutsForObjectWithMultipleRecordTypes.xml</file>
<component name="returnHeadersForSObjectLayoutsForObjectWithMultipleRecordTypes">
<file>returnHeadersForSObjectLayoutsForObjectWithMultipleRecordTypes.xml</file>
<description>
Returns only the headers that are returned by the sObjectLayoutsForObjectWithMultipleRecordTypes
operation
</description>
</component>
<component name="headersForGlobalSObjectLayouts">
<file>headersForGlobalSObjectLayouts.xml</file>
<component name="returnHeadersForGlobalSObjectLayouts">
<file>returnHeadersForGlobalSObjectLayouts.xml</file>
<description>Returns only the headers that are returned by the globalSObjectLayouts operation</description>
</component>
</subComponents>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForGlobalSObjectLayouts" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForGlobalSObjectLayouts" xmlns="http://ws.apache.org/ns/synapse">
<sequence>
<property name="uri.var.callEndpointUri" expression="fn:concat($ctx:uri.var.apiUrl, '/services/data/', $ctx:uri.var.apiVersion, '/sobjects/Global/describe/layouts')"/>
<property name="httpMethod" value="head"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSObjectApprovalLayouts" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSObjectApprovalLayouts" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<sequence>
<property name="uri.var.callEndpointUri"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSObjectApprovalLayoutsForSpecifiedApprovalProcess" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSObjectApprovalLayoutsForSpecifiedApprovalProcess" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<parameter name="approvalProcessName" description="The Name of the approval process"/>
<sequence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSObjectCompactLayouts" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSObjectCompactLayouts" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<sequence>
<property name="uri.var.callEndpointUri" expression="fn:concat($ctx:uri.var.apiUrl, '/services/data/', $ctx:uri.var.apiVersion, '/sobjects/', $func:sObjectName, '/describe/compactLayouts')"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSObjectLayouts" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSObjectLayouts" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<sequence>
<property name="uri.var.callEndpointUri" expression="fn:concat($ctx:uri.var.apiUrl, '/services/data/', $ctx:uri.var.apiVersion, '/sobjects/', $func:sObjectName, '/describe/layouts')"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSObjectLayoutsForObjectWithMultipleRecordTypes" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSObjectLayoutsForObjectWithMultipleRecordTypes" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<parameter name="recordTypeId" description="The id of the record type"/>
<sequence>
Expand Down
24 changes: 12 additions & 12 deletions src/main/resources/salesforcerest-quickaction/component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,34 +39,34 @@
<description>Return a specific action’s default values, including default field values
</description>
</component>
<component name="headersForDescribeSpecificAction">
<file>headersForDescribeSpecificAction.xml</file>
<component name="returnHeadersForDescribeSpecificAction">
<file>returnHeadersForDescribeSpecificAction.xml</file>
<description>Returns only the headers that are returned by the getDescribeSpecificAction
operation
</description>
</component>
<component name="headersForSObjectAction">
<file>headersForSObjectAction.xml</file>
<component name="returnHeadersForSObjectAction">
<file>returnHeadersForSObjectAction.xml</file>
<description>Returns only the headers that are returned by the sObjectAction operation</description>
</component>
<component name="headersForQuickAction">
<file>headersForQuickAction.xml</file>
<component name="returnHeadersForQuickAction">
<file>returnHeadersForQuickAction.xml</file>
<description>Returns only the headers that are returned by the quickActions operation</description>
</component>
<component name="headersForSpecificQuickAction">
<file>headersForSpecificQuickAction.xml</file>
<component name="returnHeadersForSpecificQuickAction">
<file>returnHeadersForSpecificQuickAction.xml</file>
<description>Returns only the headers that are returned by the getSpecificAction operation</description>
</component>
<component name="headersForDefaultValueOfAction">
<file>headersForDefaultValueOfAction.xml</file>
<component name="returnHeadersForDefaultValueOfAction">
<file>returnHeadersForDefaultValueOfAction.xml</file>
<description>Returns only the headers that are returned by the getDefaultValueOfAction operation</description>
</component>
<component name="getDefaultValueOfActionById">
<file>getDefaultValueOfActionById.xml</file>
<description>Returns the default values for an action specific to the context_id object</description>
</component>
<component name="headersForDefaultValueOfActionById">
<file>headersForDefaultValueOfActionById.xml</file>
<component name="returnHeadersForDefaultValueOfActionById">
<file>returnHeadersForDefaultValueOfActionById.xml</file>
<description>Returns only the headers that are returned by the getDefaultValueOfActionById
operation
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForDefaultValueOfAction" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForDefaultValueOfAction" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject."/>
<parameter name="actionName" description="The specific action name to retrieve the action."/>
<sequence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForDefaultValueOfActionById" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForDefaultValueOfActionById" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject."/>
<parameter name="actionName" description="The specific action name to retrieve the action "/>
<parameter name="contextId" description="The specific context id to retrieve the default values of an action"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForDescribeSpecificAction" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForDescribeSpecificAction" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<parameter name="actionName" description="The specific action name to retrieve the action."/>
<sequence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForQuickAction" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForQuickAction" xmlns="http://ws.apache.org/ns/synapse">
<sequence>
<property name="uri.var.callEndpointUri" expression="fn:concat($ctx:uri.var.apiUrl, '/services/data/', $ctx:uri.var.apiVersion, '/quickActions')"/>
<property name="httpMethod" value="head"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSObjectAction" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSObjectAction" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<sequence>
<property name="uri.var.callEndpointUri" expression="fn:concat($ctx:uri.var.apiUrl, '/services/data/', $ctx:uri.var.apiVersion, '/sobjects/', $func:sObjectName, '/quickActions')"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="headersForSpecificQuickAction" xmlns="http://ws.apache.org/ns/synapse">
<template name="returnHeadersForSpecificQuickAction" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="sObjectName" description="The type of sObject"/>
<parameter name="actionName" description="The specific action name to retrieve the action"/>
<sequence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="addOrChangeTheTranslationOfSurveyField" xmlns="http://ws.apache.org/ns/synapse">
<template name="addOrChangeTranslationOfSurveyField" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="developerName" description="The developer name of the flow field."/>
<parameter name="language" description="The translated language of the flow field."/>
<parameter name="fieldAndValue"/>
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/salesforcerest-survey/component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
-->
<component name="salesforcerest-survey" type="synapse/template">
<subComponents>
<component name="addOrChangeTheTranslationOfSurveyField">
<file>addOrChangeTheTranslationOfSurveyField.xml</file>
<component name="addOrChangeTranslationOfSurveyField">
<file>addOrChangeTranslationOfSurveyField.xml</file>
<description>
Add or change the translated value of the survey field if a survey field can be translated or
is already translated into a particular language.
Expand All @@ -39,8 +39,8 @@
into a particular language.
</description>
</component>
<component name="deleteTheTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages">
<file>deleteTheTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages.xml</file>
<component name="deleteTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages">
<file>deleteTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages.xml</file>
<description>
Delete the translated values of multiple survey fields after survey fields are translated
into one or more languages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
-->
<template name="deleteTheTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages" xmlns="http://ws.apache.org/ns/synapse">
<template name="deleteTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="fieldAndValue"/>
<sequence>
<property name="uri.var.fieldAndValue" expression="$func:fieldAndValue"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"connectorName": "salesforcerest",
"operationName": "addOrChangeTheTranslationOfSurveyField",
"operationName": "addOrChangeTranslationOfSurveyField",
"title": "Add Or Change the Translation of Survey Field",
"help": "<h1>Add Or Change the Translation of Survey Field</h1> <b>Add or change the translated value of the survey field if a survey field can be translated or is already translated into a particular language.</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"connectorName": "salesforcerest",
"operationName": "deleteTheTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages",
"operationName": "deleteTranslatedValueOfMultipleSurveyFieldsInOneOrMoreLanguages",
"title": "Delete the Translated Value of Multiple Survey Fields in One Or More Languages",
"help": "<h1>Delete the Translated Value of Multiple Survey Fields in One Or More Languages</h1> <b>Delete the translated values of multiple survey fields after survey fields are translated into one or more languages.</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"connectorName": "salesforcerest",
"operationName": "headersForDefaultValueOfAction",
"title": "Headers for Default Value of Action",
"operationName": "returnHeadersForDefaultValueOfAction",
"title": "Return Headers for Default Value of Action",
"help": "<h1>Headers for Default Value of Action</h1> <b>Returns only the headers that are returned by the getDefaultValueOfAction operation</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"connectorName": "salesforcerest",
"operationName": "headersForDefaultValueOfActionById",
"title": "Headers for Default Value of Action By ID",
"operationName": "returnHeadersForDefaultValueOfActionById",
"title": "Return Headers for Default Value of Action By ID",
"help": "<h1>Headers for Default Value of Action By ID</h1> <b>Returns only the headers that are returned by the getDefaultValueOfActionById operation</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"connectorName": "salesforcerest",
"operationName": "headersForDescribeSpecificAction",
"title": "Headers for Describe Specific Action",
"operationName": "returnHeadersForDescribeSpecificAction",
"title": "Return Headers for Describe Specific Action",
"help": "<h1>Headers for Describe Specific Action</h1> <b>Returns only the headers that are returned by the getDescribeSpecificAction operation.</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"connectorName": "salesforcerest",
"operationName": "headersForGlobalSObjectLayouts",
"title": "Headers For Global sObject Layouts",
"help": "<h1>Headers For Global sObject Layouts</h1> <b>Returns only the headers that are returned by the globalSObjectLayouts operation</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"operationName": "returnHeadersForGlobalSObjectLayouts",
"title": "Return Headers For Global sObject Layouts",
"help": "<h1>Return Headers For Global sObject Layouts</h1> <b>Returns only the headers that are returned by the globalSObjectLayouts operation</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
{
"type": "attributeGroup",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"connectorName": "salesforcerest",
"operationName": "headersForQuickAction",
"title": "Headers for Quick Action",
"operationName": "returnHeadersForQuickAction",
"title": "Return Headers for Quick Action",
"help": "<h1>Headers for Quick Action</h1> <b>Returns only the headers that are returned by the quickActions operation</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"connectorName": "salesforcerest",
"operationName": "headersForSObjectAction",
"title": "Headers for sObject Action",
"operationName": "returnHeadersForSObjectAction",
"title": "Return Headers for sObject Action",
"help": "<h1>Headers for sObject Action</h1> <b>Returns only the headers that are returned by the sObjectAction operation</b><br><br><ul><li><a href=\"https://ei.docs.wso2.com/en/latest/micro-integrator/references/connectors/salesforce-rest-connector/sf-rest-connector-config/\"> More Help </a></li></ul>",
"elements": [
{
Expand Down
Loading

0 comments on commit 0cfb668

Please sign in to comment.