SlideShare a Scribd company logo
1 of 38
August 15th 2020
Event Driven Integration with Salesforce
AND
CICD with GitHub, Maven & Jenkins
[CHANDIGARH –INDIA]
Virtual Meetup #2
All contents © MuleSoft Inc.
Guidelines for our Virtual Meetup
2
1.Please keep yourself on mute unless you have any query/question
2.We encourage you to keep your video on for interactive session.
3.You can write down your questions in the chat during the session.
4.Once we are done with the day, don’t forget to provide your
valuable feedback.
All contents © MuleSoft Inc.
Agenda
• Introductions
• Event-Driven Integration with Salesforce
• CICD with Github, Maven & Jenkins
• Plan for next meetup
• Networking time
All contents © MuleSoft Inc.
Introductions
4
• About the organizer:
– Suresh Rathore
– Lalit Panwar
– Ajay Rana
• About the Sponsers:
– MuleSoft
All contents © MuleSoft Inc.
Speakers
5
• About the Speakers:
A SHOW OF HANDS:
Who is new to this MeetUp?
Event-Driven Integration
with
Salesforce
All contents © MuleSoft Inc.
Agenda
7
• Introduction
• Event-Driven Integration
• Why use Mulesoft for event-driven applications
• Salesforce Events
• Salesforce Streaming API
• Feature Comparison
• Salesforce Connectors
• Demo
• QA & Trivia Questions
All contents © MuleSoft Inc.
Event-Driven Integration
8
• Event-driven integration refers to an
integration triggered by an incident that
takes place in one system.
• Event triggers a pre-defined
corresponding event in another system.
• Events can really be anything that
happens in a particular system that you’ve
integrated.
• The need for, and increased interest in,
event-driven architecture is arguably
attached to the demand for real-time
application integration and data
movement.
All contents © MuleSoft Inc.
Why use Mulesoft for event-driven applications
9
• Data comes in numerous shapes and
systems talk in several protocols.
Connecting these systems into an
event-driven architecture poses many
challenges.
• Huge organizations that embrace
Salesforce as official CRM, typically
need to keep different frameworks
synchronized with data embedded on
it.
All contents © MuleSoft Inc.
Why use Mulesoft for event-driven applications
10
• Mulesoft offers a variety of options
to connect your Salesforce events
with any system.
• Mulesoft has turned out to be
popular in mix with Salesforce
basically on account of its cloud
engineering (Cloudhub) and
connectors that make the
reconciliation extremely simple to be
finished.
• You can leverage other connectors,
like the Kafka connector, to ingest
that data from your Salesforce org.
All contents © MuleSoft Inc.
Salesforce Events
11
• Streaming API Events
– Streaming API provides two types of events that you can publish and subscribe to: PushTopic and
generic. PushTopic events track field changes in Salesforce records and are tied to Salesforce
records. Generic events contain arbitrary payloads. Both event types don’t provide the level of
granular customization that platform events offer. You can send a custom payload with a generic
event, but you can’t define the data as fields. You can’t define those types of events in Salesforce,
and you can’t use them in Apex triggers.
• Platform Events
– Platform events enable you to deliver secure, scalable, and customizable event notifications within
Salesforce or from external sources. Platform event fields are defined in Salesforce and determine
the data that you send and receive. Apps can publish and subscribe to platform events on the
Force.com Platform.
• Change Data Capture
– Receive near-real-time changes of Salesforce records, and synchronize corresponding records in an
external data store. Change Data Capture publishes change events, which represent changes to
Salesforce records. Changes include creation of a new record, updates to an existing record, deletion
of a record, and undeletion of a record.
All contents © MuleSoft Inc.
Salesforce Streaming API
12
• Streaming API enables you to
expose near real-time stream of
data from Force.com platform. It
delivers events that are either
tied to changes in Salesforce or
based on custom payloads.
• Streaming API enables streaming
of events using push technology
and provides a subscription
mechanism for receiving events
in near real time.
• The Streaming API subscription
mechanism supports multiple
types of events, including
PushTopic events, generic events,
platform events, and Change
Data Capture events.
All contents © MuleSoft Inc.
Salesforce Streaming API
13
• Streaming API enables you to
expose near real-time stream of
data from Force.com platform. It
delivers events that are either
tied to changes in Salesforce or
based on custom payloads.
• Streaming API enables streaming
of events using push technology
and provides a subscription
mechanism for receiving events
in near real time. The Streaming
API subscription mechanism
supports multiple types of events,
including PushTopic events,
generic events, platform events,
and Change Data Capture events.
All contents © MuleSoft Inc.
Feature Comparison
14
All contents © MuleSoft Inc.
Salesforce Connectors
15
• Platform Events & Change Data Capture
– Replay Channel
• Subscribe to a streaming channel. First, the streaming channel
must be published, and after that, a subscription to that
channel created. Salesforce lets you subscribe to an inexistent
streaming channel but won’t send you notifications after the
topic is created
– Subscribe Channel
• Subscribe to a streaming channel. First, the streaming channel
must be published and after that, a subscription to that
channel created. Salesforce lets you subscribe to an inexistent
streaming channel but won’t send you notifications after the
topic is created.
– Publish Platform Event
• Adds one new platform event to your organization’s data.
All contents © MuleSoft Inc.
Salesforce Connectors
16
• Push Topics:
– Replay Topic
• Salesforce stores events for 24 hours and allows you to
retrieve stored and new events. Subscribers can choose which
events to receive by using replay options.
– Subscribe Topic
• Subscribe to a topic. First, the topic must be published and
after that, a subscription to that topic created. Salesforce lets
you subscribe to an inexistent topic but won’t send you
notifications after the topic is created.
– Publish Topic
• Creates a topic representing a query, which is used to notify
listeners when changes are made to records in an
organization.
All contents © MuleSoft Inc.
Demo
17
CICD
With Github, Maven &
Jenkins
All contents © MuleSoft Inc.
Agenda
19
•The completion of this demo will consist of a few steps:
Creating Jenkins file
Initializing a Git repo
Adding the Mule Maven Plugin configuration to the Mule pom.xml file.
Creating a Pipeline Jenkins job
Modifying POM file
**Creating a post-commit file to automate a Jenkins job process after each git
commit
Jenkinsfile
How to create one?
All contents © MuleSoft Inc.
Sample Jenkinfile
21
The Jenkinsfile will execute 4 simple steps:
Build: We are going to build jar file.
Test: We are going to run MUnit tests configured
into the project.
Deploy to Development: Deploy in the Sandbox of
Development environment.
Deploy to Production: Finally if everything goes
we well, we are going to deploy to Production
environment.
All contents © MuleSoft Inc.
Let's build our own sample Jenkinsfile:-
22
What's next?
Setting the Git !!
All contents © MuleSoft Inc.
Changes in Core Components
24
1. Team sharing option in Studio.
2. Git perpective.
** initial commit always need to be in project folder.
POM File
How to modify
one?
All contents © MuleSoft Inc.
What's next?
Setting the Web
hook!!
All contents © MuleSoft Inc.
Create a Post Commit File
28
#!C:/Program Files/Git/usr/bin/sh.exe
set PATH=%PATH%;"C:Program FilesGitbin"
echo %PATH%
exec powershell.exe "curl 'http://admin:password!@localhost:8080/job/cicd-
demo/build?token=MULE_WORKSHOP'"
Q. & A.
Trivia Quiz
All contents © MuleSoft Inc.
Which of the following is recomended location of
POM file for CI/CD pieline as per below jenkin
configuration?
All contents © MuleSoft Inc.
1. POM and Jenkin File need to at same level in
project structure.
2. POM could be nested down wrt the Jenkinfile
in project structure.
3. POM could be nested up wrt the Jenkinfile in
project structure.
4. POM and Jenkinfile don't have any
dependency on each other wrt the project
Structure
All contents © MuleSoft Inc.
Trivia Questions
33
- What are the three replay options available in Salesforce connector
replay channel source?
All contents © MuleSoft Inc.
Trivia Questions
34
- What package name we need to use to enable debug logs for
Salesforce connector in Mule 4?
All contents © MuleSoft Inc.
While making use of Trigger builds remotely (e.g., from
scripts), we make use of?
1. Authorisation Token
2. Authentication Token
3. Client_ID
4. OAuth Token
Thank You

All contents © MuleSoft Inc.
What’s next
37
Share:
– Tweet your pictures with the hashtag #MuleMeetup
– Invite your network to join: https://meetups.mulesoft.com/chandigarh/
Feedback:
– Contact any of your organizer to suggest topics
– Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
See you next time
Please send topic suggestions to the organizer

More Related Content

What's hot

Warsaw MuleSoft Meetup #7 - custom policy
Warsaw MuleSoft Meetup #7 - custom policyWarsaw MuleSoft Meetup #7 - custom policy
Warsaw MuleSoft Meetup #7 - custom policyPatryk Bandurski
 
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaMuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaRoyston Lobo
 
Mule soft Meetup #3
 Mule soft Meetup #3 Mule soft Meetup #3
Mule soft Meetup #3Gaurav Sethi
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Zubair Aslam
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2NitushreeJena
 
MuleSoft approach to the integration - Warsaw MuleSoft Meetup
MuleSoft approach to the integration - Warsaw MuleSoft MeetupMuleSoft approach to the integration - Warsaw MuleSoft Meetup
MuleSoft approach to the integration - Warsaw MuleSoft MeetupPatryk Bandurski
 
Mule soft meetup_chandigarh_#7_25_sept_2021
Mule soft meetup_chandigarh_#7_25_sept_2021Mule soft meetup_chandigarh_#7_25_sept_2021
Mule soft meetup_chandigarh_#7_25_sept_2021Lalit Panwar
 
CI CD Daridabad MuleSoft meetup
CI CD Daridabad MuleSoft meetupCI CD Daridabad MuleSoft meetup
CI CD Daridabad MuleSoft meetupAmit Singh
 
Mulesoft Meetup Bangalore - 6th March 2021
Mulesoft Meetup Bangalore -  6th March 2021Mulesoft Meetup Bangalore -  6th March 2021
Mulesoft Meetup Bangalore - 6th March 2021Gaurav Sethi
 
Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Akshata Sawant
 
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...Manish Kumar Yadav
 
Bhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoft
Bhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoftBhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoft
Bhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoftAnkitaJaggi1
 
mulesoft meetup @ bangalore
mulesoft meetup @ bangaloremulesoft meetup @ bangalore
mulesoft meetup @ bangaloreD.Rajesh Kumar
 
Ahmedabad MuleSoft Meetup #1
Ahmedabad MuleSoft Meetup #1Ahmedabad MuleSoft Meetup #1
Ahmedabad MuleSoft Meetup #1Tejas Purohit
 
Special MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECTSpecial MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECTSabrina Marechal
 
Baltimore july2021 final
Baltimore july2021 finalBaltimore july2021 final
Baltimore july2021 finalManjuKumara GH
 
Meet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalMeet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalAkshata Sawant
 
Connect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom ConnectorsConnect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom ConnectorsAaronLieberman5
 

What's hot (20)

Warsaw MuleSoft Meetup #7 - custom policy
Warsaw MuleSoft Meetup #7 - custom policyWarsaw MuleSoft Meetup #7 - custom policy
Warsaw MuleSoft Meetup #7 - custom policy
 
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafkaMuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
MuleSoft Online Meetup - MuleSoft integration with snowflake and kafka
 
Mule soft Meetup #3
 Mule soft Meetup #3 Mule soft Meetup #3
Mule soft Meetup #3
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019
 
Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2
 
MuleSoft approach to the integration - Warsaw MuleSoft Meetup
MuleSoft approach to the integration - Warsaw MuleSoft MeetupMuleSoft approach to the integration - Warsaw MuleSoft Meetup
MuleSoft approach to the integration - Warsaw MuleSoft Meetup
 
Mule soft meetup_chandigarh_#7_25_sept_2021
Mule soft meetup_chandigarh_#7_25_sept_2021Mule soft meetup_chandigarh_#7_25_sept_2021
Mule soft meetup_chandigarh_#7_25_sept_2021
 
CI CD Daridabad MuleSoft meetup
CI CD Daridabad MuleSoft meetupCI CD Daridabad MuleSoft meetup
CI CD Daridabad MuleSoft meetup
 
Mulesoft Meetup Bangalore - 6th March 2021
Mulesoft Meetup Bangalore -  6th March 2021Mulesoft Meetup Bangalore -  6th March 2021
Mulesoft Meetup Bangalore - 6th March 2021
 
Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12
 
Mule meetup 25thjan
Mule meetup 25thjanMule meetup 25thjan
Mule meetup 25thjan
 
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
 
Bhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoft
Bhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoftBhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoft
Bhopal mule soft_meetup_17july2021_azuredevopsintegration_mulesoft
 
mulesoft meetup @ bangalore
mulesoft meetup @ bangaloremulesoft meetup @ bangalore
mulesoft meetup @ bangalore
 
Ahmedabad MuleSoft Meetup #1
Ahmedabad MuleSoft Meetup #1Ahmedabad MuleSoft Meetup #1
Ahmedabad MuleSoft Meetup #1
 
Special MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECTSpecial MuleSoft Meetup at London CONNECT
Special MuleSoft Meetup at London CONNECT
 
Baltimore july2021 final
Baltimore july2021 finalBaltimore july2021 final
Baltimore july2021 final
 
Meet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalMeet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_final
 
Connect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom ConnectorsConnect the Dots: Logging and Custom Connectors
Connect the Dots: Logging and Custom Connectors
 

Similar to Chandigarh MuleSoft Meetup #3

MuleSoft Meetup São Paulo #4 - November
MuleSoft Meetup São Paulo #4 - NovemberMuleSoft Meetup São Paulo #4 - November
MuleSoft Meetup São Paulo #4 - NovemberGuilherme Pereira Silva
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesFernando Silva
 
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule soft meetup_virtual_ 3_charlotte_07july_2021__finalMule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule soft meetup_virtual_ 3_charlotte_07july_2021__finalSubhash Patel
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsJulian Douch
 
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Eva Mave Ng
 
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket IntegrationImplementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integrationsandeepmenon62
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramAnurag Dwivedi
 
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptxMulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptxAlfonso Martino
 
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Angel Alberici
 
Slack Integration Noida Meetup.pptx
Slack Integration Noida Meetup.pptxSlack Integration Noida Meetup.pptx
Slack Integration Noida Meetup.pptxShiva Sahu
 
Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Microsoft 365 Developer
 
Anypoint Platform for Pivotal Cloud Foundry
Anypoint Platform for Pivotal Cloud FoundryAnypoint Platform for Pivotal Cloud Foundry
Anypoint Platform for Pivotal Cloud FoundryMuleSoft
 
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDMulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDGonzalo Marcos Ansoain
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratchNikhil More
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019Subhash Patel
 
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...Jitendra Bafna
 
MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63
MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63
MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63Angel Alberici
 
Vancouver mulesoft meetup
Vancouver mulesoft meetupVancouver mulesoft meetup
Vancouver mulesoft meetupVikalp Bhalia
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...BrianFraser29
 
São Paulo MuleSoft Meetup #5 - Runtime Fabric
São Paulo MuleSoft Meetup #5 - Runtime FabricSão Paulo MuleSoft Meetup #5 - Runtime Fabric
São Paulo MuleSoft Meetup #5 - Runtime FabricGuilherme Pereira Silva
 

Similar to Chandigarh MuleSoft Meetup #3 (20)

MuleSoft Meetup São Paulo #4 - November
MuleSoft Meetup São Paulo #4 - NovemberMuleSoft Meetup São Paulo #4 - November
MuleSoft Meetup São Paulo #4 - November
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
 
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule soft meetup_virtual_ 3_charlotte_07july_2021__finalMule soft meetup_virtual_ 3_charlotte_07july_2021__final
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
 
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
Designing Apps for Runtime Fabric: Logging, Monitoring & Object Store Persist...
 
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket IntegrationImplementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
 
Mulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay ThiruvananthapuramMulesoft meetup 9thmay Thiruvananthapuram
Mulesoft meetup 9thmay Thiruvananthapuram
 
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptxMulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
Mulesoft Meetup Roma - Monitoring Framework & DevOps.pptx
 
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
 
Slack Integration Noida Meetup.pptx
Slack Integration Noida Meetup.pptxSlack Integration Noida Meetup.pptx
Slack Integration Noida Meetup.pptx
 
Office Add-ins community call-March 2019
Office Add-ins community call-March 2019Office Add-ins community call-March 2019
Office Add-ins community call-March 2019
 
Anypoint Platform for Pivotal Cloud Foundry
Anypoint Platform for Pivotal Cloud FoundryAnypoint Platform for Pivotal Cloud Foundry
Anypoint Platform for Pivotal Cloud Foundry
 
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDMulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratch
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019
 
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
 
MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63
MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63
MuleSoft Event Driven Architecture (EDA Patterns in MuleSoft) - VirtualMuleys63
 
Vancouver mulesoft meetup
Vancouver mulesoft meetupVancouver mulesoft meetup
Vancouver mulesoft meetup
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
 
São Paulo MuleSoft Meetup #5 - Runtime Fabric
São Paulo MuleSoft Meetup #5 - Runtime FabricSão Paulo MuleSoft Meetup #5 - Runtime Fabric
São Paulo MuleSoft Meetup #5 - Runtime Fabric
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 

Chandigarh MuleSoft Meetup #3

  • 1. August 15th 2020 Event Driven Integration with Salesforce AND CICD with GitHub, Maven & Jenkins [CHANDIGARH –INDIA] Virtual Meetup #2
  • 2. All contents © MuleSoft Inc. Guidelines for our Virtual Meetup 2 1.Please keep yourself on mute unless you have any query/question 2.We encourage you to keep your video on for interactive session. 3.You can write down your questions in the chat during the session. 4.Once we are done with the day, don’t forget to provide your valuable feedback.
  • 3. All contents © MuleSoft Inc. Agenda • Introductions • Event-Driven Integration with Salesforce • CICD with Github, Maven & Jenkins • Plan for next meetup • Networking time
  • 4. All contents © MuleSoft Inc. Introductions 4 • About the organizer: – Suresh Rathore – Lalit Panwar – Ajay Rana • About the Sponsers: – MuleSoft
  • 5. All contents © MuleSoft Inc. Speakers 5 • About the Speakers: A SHOW OF HANDS: Who is new to this MeetUp?
  • 7. All contents © MuleSoft Inc. Agenda 7 • Introduction • Event-Driven Integration • Why use Mulesoft for event-driven applications • Salesforce Events • Salesforce Streaming API • Feature Comparison • Salesforce Connectors • Demo • QA & Trivia Questions
  • 8. All contents © MuleSoft Inc. Event-Driven Integration 8 • Event-driven integration refers to an integration triggered by an incident that takes place in one system. • Event triggers a pre-defined corresponding event in another system. • Events can really be anything that happens in a particular system that you’ve integrated. • The need for, and increased interest in, event-driven architecture is arguably attached to the demand for real-time application integration and data movement.
  • 9. All contents © MuleSoft Inc. Why use Mulesoft for event-driven applications 9 • Data comes in numerous shapes and systems talk in several protocols. Connecting these systems into an event-driven architecture poses many challenges. • Huge organizations that embrace Salesforce as official CRM, typically need to keep different frameworks synchronized with data embedded on it.
  • 10. All contents © MuleSoft Inc. Why use Mulesoft for event-driven applications 10 • Mulesoft offers a variety of options to connect your Salesforce events with any system. • Mulesoft has turned out to be popular in mix with Salesforce basically on account of its cloud engineering (Cloudhub) and connectors that make the reconciliation extremely simple to be finished. • You can leverage other connectors, like the Kafka connector, to ingest that data from your Salesforce org.
  • 11. All contents © MuleSoft Inc. Salesforce Events 11 • Streaming API Events – Streaming API provides two types of events that you can publish and subscribe to: PushTopic and generic. PushTopic events track field changes in Salesforce records and are tied to Salesforce records. Generic events contain arbitrary payloads. Both event types don’t provide the level of granular customization that platform events offer. You can send a custom payload with a generic event, but you can’t define the data as fields. You can’t define those types of events in Salesforce, and you can’t use them in Apex triggers. • Platform Events – Platform events enable you to deliver secure, scalable, and customizable event notifications within Salesforce or from external sources. Platform event fields are defined in Salesforce and determine the data that you send and receive. Apps can publish and subscribe to platform events on the Force.com Platform. • Change Data Capture – Receive near-real-time changes of Salesforce records, and synchronize corresponding records in an external data store. Change Data Capture publishes change events, which represent changes to Salesforce records. Changes include creation of a new record, updates to an existing record, deletion of a record, and undeletion of a record.
  • 12. All contents © MuleSoft Inc. Salesforce Streaming API 12 • Streaming API enables you to expose near real-time stream of data from Force.com platform. It delivers events that are either tied to changes in Salesforce or based on custom payloads. • Streaming API enables streaming of events using push technology and provides a subscription mechanism for receiving events in near real time. • The Streaming API subscription mechanism supports multiple types of events, including PushTopic events, generic events, platform events, and Change Data Capture events.
  • 13. All contents © MuleSoft Inc. Salesforce Streaming API 13 • Streaming API enables you to expose near real-time stream of data from Force.com platform. It delivers events that are either tied to changes in Salesforce or based on custom payloads. • Streaming API enables streaming of events using push technology and provides a subscription mechanism for receiving events in near real time. The Streaming API subscription mechanism supports multiple types of events, including PushTopic events, generic events, platform events, and Change Data Capture events.
  • 14. All contents © MuleSoft Inc. Feature Comparison 14
  • 15. All contents © MuleSoft Inc. Salesforce Connectors 15 • Platform Events & Change Data Capture – Replay Channel • Subscribe to a streaming channel. First, the streaming channel must be published, and after that, a subscription to that channel created. Salesforce lets you subscribe to an inexistent streaming channel but won’t send you notifications after the topic is created – Subscribe Channel • Subscribe to a streaming channel. First, the streaming channel must be published and after that, a subscription to that channel created. Salesforce lets you subscribe to an inexistent streaming channel but won’t send you notifications after the topic is created. – Publish Platform Event • Adds one new platform event to your organization’s data.
  • 16. All contents © MuleSoft Inc. Salesforce Connectors 16 • Push Topics: – Replay Topic • Salesforce stores events for 24 hours and allows you to retrieve stored and new events. Subscribers can choose which events to receive by using replay options. – Subscribe Topic • Subscribe to a topic. First, the topic must be published and after that, a subscription to that topic created. Salesforce lets you subscribe to an inexistent topic but won’t send you notifications after the topic is created. – Publish Topic • Creates a topic representing a query, which is used to notify listeners when changes are made to records in an organization.
  • 17. All contents © MuleSoft Inc. Demo 17
  • 19. All contents © MuleSoft Inc. Agenda 19 •The completion of this demo will consist of a few steps: Creating Jenkins file Initializing a Git repo Adding the Mule Maven Plugin configuration to the Mule pom.xml file. Creating a Pipeline Jenkins job Modifying POM file **Creating a post-commit file to automate a Jenkins job process after each git commit
  • 21. All contents © MuleSoft Inc. Sample Jenkinfile 21 The Jenkinsfile will execute 4 simple steps: Build: We are going to build jar file. Test: We are going to run MUnit tests configured into the project. Deploy to Development: Deploy in the Sandbox of Development environment. Deploy to Production: Finally if everything goes we well, we are going to deploy to Production environment.
  • 22. All contents © MuleSoft Inc. Let's build our own sample Jenkinsfile:- 22
  • 24. All contents © MuleSoft Inc. Changes in Core Components 24 1. Team sharing option in Studio. 2. Git perpective. ** initial commit always need to be in project folder.
  • 25. POM File How to modify one?
  • 26. All contents © MuleSoft Inc.
  • 28. All contents © MuleSoft Inc. Create a Post Commit File 28 #!C:/Program Files/Git/usr/bin/sh.exe set PATH=%PATH%;"C:Program FilesGitbin" echo %PATH% exec powershell.exe "curl 'http://admin:password!@localhost:8080/job/cicd- demo/build?token=MULE_WORKSHOP'"
  • 31. All contents © MuleSoft Inc. Which of the following is recomended location of POM file for CI/CD pieline as per below jenkin configuration?
  • 32. All contents © MuleSoft Inc. 1. POM and Jenkin File need to at same level in project structure. 2. POM could be nested down wrt the Jenkinfile in project structure. 3. POM could be nested up wrt the Jenkinfile in project structure. 4. POM and Jenkinfile don't have any dependency on each other wrt the project Structure
  • 33. All contents © MuleSoft Inc. Trivia Questions 33 - What are the three replay options available in Salesforce connector replay channel source?
  • 34. All contents © MuleSoft Inc. Trivia Questions 34 - What package name we need to use to enable debug logs for Salesforce connector in Mule 4?
  • 35. All contents © MuleSoft Inc. While making use of Trigger builds remotely (e.g., from scripts), we make use of? 1. Authorisation Token 2. Authentication Token 3. Client_ID 4. OAuth Token
  • 37. All contents © MuleSoft Inc. What’s next 37 Share: – Tweet your pictures with the hashtag #MuleMeetup – Invite your network to join: https://meetups.mulesoft.com/chandigarh/ Feedback: – Contact any of your organizer to suggest topics – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
  • 38. See you next time Please send topic suggestions to the organizer