This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -y -f k8s-key.pem > public-k8s-key.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<mule | |
xmlns:salesforce="http://www.mulesoft.org/schema/mule/salesforce" | |
xmlns:salesforce-composite="http://www.mulesoft.org/schema/mule/salesforce-composite" | |
xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core" | |
xmlns:http="http://www.mulesoft.org/schema/mule/http" | |
xmlns="http://www.mulesoft.org/schema/mule/core" | |
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hasErrors": false, | |
"results": [ | |
{ | |
"referenceId": "ref1", | |
"id": "0013X00002jaXUAQA2" | |
}, | |
{ | |
"referenceId": "ref4", | |
"id": "0013X00002jaXUBQA2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
attributes: { | |
"type": "Account" as String {class: "java.lang.String"}, | |
referenceId: "ref1" as String {class: "java.lang.String"} | |
} as Object {class: "java.util.LinkedHashMap"}, | |
Name: "sampleAccount1" as String {class: "java.lang.String"}, | |
Phone: "1234567890" as String {class: "java.lang.String"}, | |
Website: "www.salesforce.com" as String {class: "java.lang.String"}, | |
NumberOfEmployees: 100 as Number {class: "java.lang.Integer"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"records": [ | |
{ | |
"attributes": { | |
"objectType": "Account", | |
"referenceId": "ref1" | |
}, | |
"name": "sampleAccount1", | |
"phone": "1234567890", | |
"website": "www.salesforce.com", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"success": true, | |
"id": "0013X00002jbIuMQAU", | |
"errors": [] | |
}, | |
{ | |
"success": true, | |
"id": "0013X00002jbIuNQAU", | |
"errors": [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"records": [ | |
{ | |
"name": "SampleAccount1", | |
"phone": "1234567890", | |
"website": "www.salesforce.com", | |
"numberOfEmployees": "100", | |
"industry": "Banking", | |
"contacts": { | |
"records": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"records": [ | |
{ | |
"name": "SampleAccount1", | |
"phone": "1234567890", | |
"website": "www.salesforce.com", | |
"numberOfEmployees": "100", | |
"industry": "Banking", | |
"contacts": { | |
"records": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%dw 2.0 | |
output application/json | |
--- | |
payload map (employee, indexOfEmployee) -> | |
employee mapObject (value, key) -> | |
(key): if ((key as String) == "position") "Senior Technical Consultant" else value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CALL algo.unionFind.stream( | |
'MATCH (n) WHERE n:AccountHolder OR n:SSN OR n:PhoneNumber OR n:Address RETURN id(n) AS id', | |
'MATCH (n)-[r:HAS_ADDRESS|HAS_SSN|HAS_PHONENUMBER]->(m) RETURN id(n) AS source, id(m) AS target', | |
{graph: "cypher"}) | |
YIELD nodeId, setId |