From 0ff67db86f096528e3e7373c7908937e6395ffb5 Mon Sep 17 00:00:00 2001 From: Chathura Ekanayake Date: Sun, 15 Oct 2023 09:43:11 +0530 Subject: [PATCH] Change ballerina org. Improve readmes. --- servicenow-case-to-salesforce-case/Ballerina.toml | 2 +- servicenow-case-to-salesforce-case/Readme.md | 1 - servicenow-case-to-salesforce-case/resources/syncdata | 2 +- servicenow-case-to-salesforce-case/types.bal | 2 +- shopify-customer-to-salesforce-customer/Ballerina.toml | 2 +- shopify-customer-to-salesforce-customer/Readme.md | 1 - shopify-customer-to-salesforce-customer/main.bal | 2 -- 7 files changed, 4 insertions(+), 8 deletions(-) diff --git a/servicenow-case-to-salesforce-case/Ballerina.toml b/servicenow-case-to-salesforce-case/Ballerina.toml index e6690ec..0df01fa 100644 --- a/servicenow-case-to-salesforce-case/Ballerina.toml +++ b/servicenow-case-to-salesforce-case/Ballerina.toml @@ -1,5 +1,5 @@ [package] -org = "chathura" +org = "integration_samples" name = "servicenow_case_to_salesforce_case" version = "0.1.0" distribution = "2201.7.2" diff --git a/servicenow-case-to-salesforce-case/Readme.md b/servicenow-case-to-salesforce-case/Readme.md index 956b1d5..3b18279 100644 --- a/servicenow-case-to-salesforce-case/Readme.md +++ b/servicenow-case-to-salesforce-case/Readme.md @@ -77,4 +77,3 @@ refreshUrl = "" 3. Change the date in `resources/syncdata` file to some date before the creation of ServiceNow cases. 4. Run the sample using the `bal run` command. 5. Check the `Support Cases` section in the `Related` tab of the newly created account in Salesforce. Details of all support cases created in ServiceNow will appear under this section. - diff --git a/servicenow-case-to-salesforce-case/resources/syncdata b/servicenow-case-to-salesforce-case/resources/syncdata index cbd266a..4e56218 100644 --- a/servicenow-case-to-salesforce-case/resources/syncdata +++ b/servicenow-case-to-salesforce-case/resources/syncdata @@ -1 +1 @@ -2023-10-10T11:58:44.235521Z \ No newline at end of file +2023-10-10T11:58:44.235521Z diff --git a/servicenow-case-to-salesforce-case/types.bal b/servicenow-case-to-salesforce-case/types.bal index fec441a..149bbe2 100644 --- a/servicenow-case-to-salesforce-case/types.bal +++ b/servicenow-case-to-salesforce-case/types.bal @@ -23,4 +23,4 @@ type DateRange record {| string 'start; string end; time:Civil now; -|}; \ No newline at end of file +|}; diff --git a/shopify-customer-to-salesforce-customer/Ballerina.toml b/shopify-customer-to-salesforce-customer/Ballerina.toml index 828063b..690d596 100644 --- a/shopify-customer-to-salesforce-customer/Ballerina.toml +++ b/shopify-customer-to-salesforce-customer/Ballerina.toml @@ -1,5 +1,5 @@ [package] -org = "chathura" +org = "integration_samples" name = "shopify_to_salesforce" version = "0.1.0" distribution = "2201.8.1" diff --git a/shopify-customer-to-salesforce-customer/Readme.md b/shopify-customer-to-salesforce-customer/Readme.md index e908cbd..42115ff 100644 --- a/shopify-customer-to-salesforce-customer/Readme.md +++ b/shopify-customer-to-salesforce-customer/Readme.md @@ -57,4 +57,3 @@ refreshUrl = "" 1. Navigate to the online store view of the development store and register a new customer by providing an email address. Validate the confirmation email sent to the provided email address. 2. Login to Salesforce and check the Customers records. New customer record with the given email will be created. 3. In the Shopify store, change the customer's first name and last name. Customer name of the corresponding customer will be updated in Salesforce. - diff --git a/shopify-customer-to-salesforce-customer/main.bal b/shopify-customer-to-salesforce-customer/main.bal index 097a68d..c036697 100644 --- a/shopify-customer-to-salesforce-customer/main.bal +++ b/shopify-customer-to-salesforce-customer/main.bal @@ -44,5 +44,3 @@ function updateSalesforce(SalesforceCustomer sfCustomer) returns error? { check salesforce->update("HmartCustomer__c", existingCustomer.value.Id, sfCustomer); } } - - \ No newline at end of file