ebook img

DEVELOPING INTEGRATIONS IN MULESOFT PDF

68 Pages·2017·3.37 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview DEVELOPING INTEGRATIONS IN MULESOFT

TABLE OF CONTENTS ABSTRACT/ANNOTATION ...................................................................................................................... 3 Chapter 1: INTRODUCTION AND PROBLEMS .................................................................................. 4 Chapter 2: HOW DATA SHOULD SYNC ............................................................................................... 6 2.1 System to integrate (Salesforce and Magento) .............................................................................. 6 2.2 Objects that need to be synchronized ............................................................................................ 7 2.3 Fields to sync ................................................................................................................................ 7 Chapter 3: INPUTTING YOUR DATA INTO AN INTEGRATION SYSTEM .................................. 8 3.1 Core ESB Features ........................................................................................................................ 8 3.2 The Advantages of ESB ................................................................................................................ 9 Chapter 4: DEVELOPING INTEGRATIONS IN MULESOFT ......................................................... 11 4.1 Anypoint Studio .......................................................................................................................... 11 4.1.1 Package Explorer ................................................................................................................ 12 4.1.2 Canvas ................................................................................................................................. 12 4.1.3 Mule Palette ........................................................................................................................ 14 4.1.4 Mule Message ..................................................................................................................... 15 4.2 Designing a Mule Application .................................................................................................... 15 Chapter 5: MAP YOUR SYSTEMS, OBJECTS AND FIELDS .......................................................... 19 5.1 Mapping Magento Customer Fields to Salesforce Contact Fields .............................................. 22 5.2 Mapping Magento Customer Fields to Salesforce Account Fields ............................................. 23 5.3 Mapping Magento Orders Attributes with Salesforce Opportunity Fields ................................. 24 Chapter 6: TASKS FOR EXECUTION ................................................................................................. 27 1. HTTP-Magento-Salesforce-Customer ............................................................................................ 27 2. HTTP-Salesforce-Magento-Customer ............................................................................................ 33 3. HTTP-Magento-Salesforce-Order .................................................................................................. 37 4. POLL-Salesforce-Magento-Customer ............................................................................................ 41 5. POLL-Magento-Salesforce-Customer ............................................................................................ 47 6. HTTP-Salesforce-Magento-Order .................................................................................................. 52 7. POLL-Magento-Salesforce-Order .................................................................................................. 56 8. POLL-Salesforce-Magento-Order .................................................................................................. 61 CONCLUSION ......................................................................................................................................... 66 REFERENCES .......................................................................................................................................... 67 2 ABSTRACT/ANNOTATION This thesis discusses the problems of integration of different systems that are managed by events, using service buses of enterprises of different manufacturers as an infrastructure layer. Salesforce to Magento can be used to create data sharing relationship. Salesforce is a natively supported feature of the Force.com platform, and easily enables two trading partners to share relevant data records between orgs; it shows how to create connections between two different environments, and how to use the connection to share data. Magento offers quick and easy integration with market-leading CRM, Salesforce, allowing the rapid and seamless flow of data between the two systems: Pull customer lists from Salesforce directly into Magento  Build stronger account profiles from additional data in CRM  Automatically update database changes in Salesforce  Create leads, orders in Salesforce with new registration data  Real-time overview of event history in Salesforce  3 Chapter 1: INTRODUCTION AND PROBLEMS Data transformation is one of the most common problems facing systems integrators as source data is often in an inconsistent format or structure for systems wanting to use that data. This requires integrators to implement code for the mapping operations required to convert the data from one form to another e.g. from one XML document format to another. The code to do this is often tedious to write, consisting typically of pages of C++, Java, or XSLT code, and, as a result, tends to be error prone. Data transformation problems are challenging to implement for large, complex datasets. I describe an approach for specifying data mapping transformations between XML schema using a combination of automated schema analysis agents and selective user interaction. A graphical tool visualizes parts of the two schemas to be mapped and a variety of agents analyze all or parts of the schema, voting on the likelihood of matching subsets. The user can confirm or reject suggestions, or even allow schema matches to be automatically determined, incrementally building up a fully-mapped schema. An implementation of the mapping specification can then be generated from the various inter-schema matches. Some of the agents are listed below with a brief description of their input, their heuristic technique, i.e. things they look for in schema or data XML structures, and the “quality” of resultant mapping correspondence suggestions. Exact Name Matcher- This agent compares element names in one schema to those in another, suggesting mappings when two have the same tag name. This works well when tag names are the same and unique across each document e.g. LastName in both schema. Partial Name Matcher- This looks for a substring that matches in each name, e.g. Price to Unit Price. Element Type Matcher- This compares data type names of elements e.g. CustomerID: Integer and ID: String. Record Type Matcher- This compares record types (sets of elements) rather than leaf element types (single types). For example; Name: LastName & FirstName and 4 Name: name(s) may correspond if the complex (multi-valued record types) Name (Contact) and Name (Account) are the same or can be converted. Synonym Matcher- This can be applied to element tag names or element type names. The Synonym Matcher compares names, or parts of names, to see if they are synonyms of each other e.g. DOB and DateOfBirth are likely to correspond in some way. Exact Data Value Matcher- This looks at XML data records rather than schema and identifies a correspondence between a single source and target element if their values are the same. Partial Data Value Matcher- This looks at XML data values from one or multiple elements and computes a likelihood match, similar to the Name Closeness Matcher for element and type names. Figure below shows parts of two XML schema representing information about our two (2) systems: Figure 1: Example schema mapping between our 2 systems 5 Chapter 2: HOW DATA SHOULD SYNC 2.1 System to integrate (Salesforce and Magento) Magento is a feature-rich eCommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their eCommerce store. Magento’s intuitive administration interface features powerful marketing, search engine optimization and catalog-management tools to give merchants the power to create sites that are tailored to their unique business needs. Magento offers companies the ultimate eCommerce solution. Salesforce integration into magento platform allows companies to monitor customer’s behavior not only by products purchased but also increase repeat purchases, brand loyalty and conversion rates, social media engagements in an integrated database. Magento Salesforce CRM Integration is a powerful tool that helps store-owners to synchronize data automatically between Magento site and Salesforce CRM. Features and Benefits of Salesforce and Magento  Allows synchronizing and updating Customers from Magento store into Salesforce CRM Leads, Contacts, Accounts;  Allows synchronizing Orders from Magento store into Salesforce CRM Orders;  Allows synchronizing Promotions from Magento store into Salesforce CRM Campaigns;  Allows synchronizing and updating Products from Magento store into Salesforce CRM Products;  Allows synchronizing Product Categories from Magento store into Salesforce CRM Price Book;  Allows creating Custom Fields in and synchronizing Custom Invoices from Magento store into Salesforce CRM Custom Invoices;  Allows synchronizing Custom Invoice Items;  Allows creating Custom Fields in, synchronizing and updating Custom Customers from Magento store into Salesforce CRM Custom Customers; 6  Allows creating Custom Fields in, synchronizing and updating automatically Custom Products from Magento store into Salesforce CRM Custom Products;  Allows deleting customer and product's records in Magento once they are auto deleted in Salesforce CRM Leads, Contacts, Accounts, Custom Customer and Custom Product;  Allows admins to select conditions to transfer old data from Magento store into Salesforce CRM;  Reports about synchronizing old data;  Supports mapping smartly and manually between Magento attributes and Salesforce fields or custom fields;  Allows admins define the mapping fields in backend with ease;  Admin can view the log to see what is synchronized between two apps. 2.2 Objects that need to be synchronized What is synced between Magento and Salesforce? Lead, Account, Opportunity, Contact, etc... All the Entities of the objects listed above that needs to be synchronize will fully discussed under the chapter ‘mapping’. 2.3 Fields to sync (where the data lives) We sync most standard fields in SFDC and any custom field that the sync user has permission to see. In contrast, Magento users only have four fields available for synchronization: First name  Last name  Email address  ID  7 Chapter 3: INPUTTING YOUR DATA INTO AN INTEGRATION SYSTEM (Choosing the right system for you) Integration of information systems of various classes remains an urgent topic for many companies and government organizations. To increase efficiency and transparency of activities, it is important to organize end-to-end business processes and ensure the interaction of various information systems. The solution was the approach based on the use of services. Information systems are divided into functionally complete, independent components (services), each of which is designed to perform a certain. To execute a business process, you must ensure that the services are called in the right sequence. The IT architecture, based on the allocation and interaction of services, was called SOA (service-oriented architecture). One of the most common ways to implement services in SOA is to use web services. The combination of service concepts, business process management and integration servers led to the creation of a new class of integration solutions - Enterprise Service Bus. Currently, ESB is the most advanced tool for performing complex and large-scale integration projects. When integrating, especially when it comes to complex and large-scale projects, the key issue can be called the choice of the optimal platform, which will ensure reliability and speed in the joint operation of several systems. ESB - an approach to building distributed corporate information systems. Typically, it includes middleware, which provides the interconnection between different applications for various communication protocols. 3.1 Core ESB Features There are a number of different ESB products available on the market today. Some, such as WebSphere Message Broker or TIBCO BusinessWorks, are traditional EAI products that have been re-factored to offer ESB-like functionality, but still function in a broker-like manner. Others, such as MuleSoft's Mule ESB, are designed from the ground up using open messaging and integration standards to implement the ESB model. 8 Integration between database tables of various applications will be implemented on the basis of the Mule service bus, which allows you to receive and transmit data in a specific format, and the terminal modules are adapters to application databases. Mule ESB is an easy and flexible platform easily adaptable to the existing infrastructure, as well as reliable to ensure the smooth operation of the largest and most demanding enterprise SOA implementers. 3.2 The Advantages of ESB Here's a look at the advantages offered by an ESB approach to application integration: Lightweight: because an ESB is made up of many interoperating services, rather  than a single hub that contains every possible service, ESBs can be as heavy or light as an organization needs them to be, making them the most efficient integration solution available. Easy to expand: If an organization knows that they will need to connect additional  applications or systems to their architecture in the future, an ESB allows them to integrate their systems right away, instead of worrying about whether or not a new system will not work with their existing infrastructure. When the new application is ready, all they need to do to get it working with the rest of their infrastructure is hook it up to the bus. 9 Scalable and Distributable: Unlike broker architectures, ESB functionality can  easily be dispersed across a geographically distributed network as needed. Additionally, because individual components are used to offer each feature, it is much simpler and cost-effective to ensure high availability and scalability for critical parts of the architecture when using an ESB solution. SOA-Friendly: ESBs are built with Service Oriented Architecture in mind. This  means that an organization seeking to migrate towards an SOA can do so incrementally, continuing to use their existing systems while plugging in re-usable services as they implement them. Incremental Adoption: At first glance, the number of features offered by the best  ESBs can seem intimidating. However, it's best to think of the ESB as an integration "platform", of which you only need to use the components that meet your current integration needs. The large number of modular components offers unrivaled flexibility that allows incremental adoption of an integration architecture as the resources become available, while guaranteeing that unexpected needs in the future will not prevent ROI. 10

Description:
Salesforce CRM Price Book;. • Allows creating Others, such as MuleSoft's Mule ESB, are designed from the ground up using open Application Program Interface. UI. User Interface. EIP. Enterprise Integration Patterns. CRM.
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.