Building Integrations with MuleSoft - Helion

ISBN: 9781098158255
stron: 328, Format: ebook
Data wydania: 2025-05-09
Księgarnia: Helion
Cena książki: 177,65 zł (poprzednio: 206,57 zł)
Oszczędzasz: 14% (-28,92 zł)
This concise yet comprehensive guide shows developers and architects how to tackle data integration challenges with MuleSoft. Authors Pooja Kamath and Diane Kesler take you through the process necessary to build robust and scalable integration solutions step-by-step.
Supported by real-world use cases, Building Integrations with MuleSoft teaches you to identify and resolve performance bottlenecks, handle errors, and ensure the reliability and scalability of your integration solutions. You'll explore MuleSoft's robust set of connectors and their components, and use them to connect to systems and applications from legacy databases to cloud services.
- Ask the right questions to determine your use case, define requirements, decide on reuse versus rebuild, and create sequence and context diagrams
- Master tools like the Anypoint Platform, Anypoint Studio, Code Builder, GitHub, and Maven
- Design APIs with RAML and OAS and craft effective requests and responses
- Write MUnit tests, validate DataWeave expressions, and use Postman Collections
- Deploy Mule applications to CloudHub, use API Manager to create API proxies, and secure APIs with Mule OAuth 2.0
- Learn message orchestration techniques for routers, transactions, error handling, For Each, Parallel For Each, and batch processing
Osoby które kupowały "Building Integrations with MuleSoft", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Efekt piaskownicy. Jak szefować żeby roboty nie zabrały ci roboty 59,50 zł, (11,90 zł -80%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
Spis treści
Building Integrations with MuleSoft eBook -- spis treści
- Preface
- Who Should Use This Book?
- Whats Covered and Whats Not
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. The World of Integrations
- Super Routes Logistics
- Milestones
- Transformation Goals
- Business Challenges
- From Spaghetti Links to Smart APIs: The Evolution of Integration
- Point-to-Point Integration
- Enterprise Service Bus
- API-Led Connectivity
- Application Network
- Discovery
- Writing Sequence Diagrams
- Writing API Context Diagrams
- Writing Stories
- Integration Essentials: The Tools You Need to Succeed
- MuleSofts Anypoint Platform
- Control plane
- Runtime plane
- Anypoint Platform APIs
- Getting Started with the Anypoint Platform
- MuleSofts Anypoint Platform
- Anypoint Exchange
- Anypoint Studio
- Anypoint Code Builder
- Maven
- POM and Its Elements
- Repositories
- Mavens Lifecycle
- Default
- Clean
- Site
- Summary
- Super Routes Logistics
- 2. Prototyping APIs
- API Fundamentals
- SOAP Web Services
- REST Web Services
- GET
- POST
- DELETE
- PUT
- PATCH
- RAML
- Design Center: Text Editor
- Design Center: Visual Editor
- OpenAPI Specification
- RAML Versus OAS
- Anypoint Code Builder
- Summary
- API Fundamentals
- 3. Designing and Publishing APIs
- API Fragments
- Resource Type Fragments
- Traits
- Security Schemes
- Creating Fragments on Exchange
- Mocking APIs
- Publishing APIs
- Summary
- API Fragments
- 4. Build Essentials
- Mule Events
- Creating Projects from Scratch
- Adding Connectors
- Code Snippets: A Coding Shortcut
- Variables
- DataWeave
- Debugging
- Managing Properties
- Referencing Properties
- Encrypting Properties
- Other Ways to Trigger Flows
- File System Monitoring
- Watermarking
- Database Event Detection
- Schedulers
- Object Store
- Application Structure
- Flows
- Configuration Files
- Global Elements
- Summary
- 5. Mechanics of Message Orchestration
- Error Handling
- Error Types: System and Messaging Errors
- Family of Errors: Hierarchy
- Error Object Creation
- Decoding HTTP Listener Default Settings
- Modifying HTTP Listener Default Settings
- Mule Default Error Handler
- Error Handling Scopes
- Raise Error Processor
- On Error Propagate
- On Error Continue
- Overriding HTTP Status Codes
- Set Variable processor
- Transform Message processor
- Flow-Level Error Handling
- Application Level: Global Error Handler
- Creating a global configuration file
- Adding the error handler scope to global.xml
- Creating a global element for the global error handler
- Process Level: Try Scope
- Customize Error Types with Error Mapping
- Practical Error-Handling Use Cases
- Routers: Control the Flow
- Choice Router
- Scatter-Gather Router
- Round Robin Router
- First Successful Router
- Processing Records
- For Each
- Parallel For Each
- Batch Processing
- Anypoint Code Builder
- Summary
- Error Handling
- 6. AsyncAPI
- Event-Driven Architecture
- OpenAPI Versus AsyncAPI
- AsyncAPI Object
- Info
- Servers
- Channels
- Operations field
- Components
- Messages
- Bindings
- Security
- Tags
- EDA with AsyncAPI
- Example of Event-Driven Orders API
- AsyncAPI Design
- Implementing AsyncAPI
- Scaffolding a Basic Orders API in Mule
- Using APIkit for AsyncAPI
- Importing AsyncAPI Specifications
- Building from Exchange and Updating Your API
- Example for Re-Scaffolding
- Validating AsyncAPI Documents
- Validating Against the Specification
- AsyncAPI on Anypoint Designer
- Validating AsyncAPI with ACB
- AsyncAPI CLI
- Parsers
- Validating Against Best Practices or Company Rules (Linting)
- Using Spectral for linting
- Why validation is important
- Validating Against the Specification
- Summary
- Event-Driven Architecture
- 7. Events and Storage
- Anypoint MQ
- VM Queues
- Third-Party Queues
- Object Store
- Cache Scope
- Redis
- Anypoint Code Builder
- Summary
- 8. DataWeave: The Language of Integration
- DataWeave: The Essentials
- Functional Programming Principles
- The Evolution of DataWeave
- DataWeave in Salesforce: A Revolutionary Tool
- DataWeave Basics
- DataWeave structure
- Understanding input and output formats
- DataWeave types
- Where DataWeave is used
- Writing your first transformation
- Simple Transformations: Dates
- Parsing dates
- Formatting dates
- Extracting date components
- Complex Transformations: filter, map, reduce
- filter function
- map function
- reduce function
- Combining map and filter
- Joining Datasets: Concatenate, Join Functions
- Concatenating arrays and strings
- Joining arrays with matching keys
- Merging objects (key-value pairs)
- Handling null and missing data
- The join function: merging data for seamless integration
- Improving Performance: SRLs DataWeave Transformation Success Story
- Processing smarter with filters and streaming
- Simplifying transformations
- Optimizing with data structures and built-in functions
- Handling large data with pagination and parallel processing
- Leveraging caching and reuse for improved efficiency
- Reuse with DataWeave Libraries
- Why reuse matters
- Creating DataWeave libraries
- Importing and using libraries
- Best practices for DataWeave libraries
- Key takeaways
- Encouraging best practices
- Testing and debugging libraries
- Use case: Implementing a reusable shipping transformation logic
- Summary
- DataWeave: The Essentials
- 9. Testing
- MUnit
- MUnit Processors
- Set Event
- Mock When
- Assert That
- Verify Call
- Spy
- MUnit Structure
- Behavior Scope (Arrange)
- Execution Scope (Act)
- Validation Scope (Assert)
- Best Practices
- Agree on Standards
- Create a Base MUnit Template
- Include Common Components and Mocks
- Define Setup and Teardown Logic
- Automate verification
- Troubleshoot
- Reuse
- Socialize the Template
- Integration Testing
- Identify Test Scenarios
- Environment Setup
- Mocking
- Spies
- Integrate with CI/CD for Automation
- Example Integration Test for an API Flow
- MUnit Test Recorder
- Summary
- 10. Deployment
- Deployment Options
- CloudHub
- CloudHub workers
- Customer-Hosted Runtime Environment
- Anypoint Runtime Fabric
- CloudHub
- Deploying Applications to CloudHub
- Method 1: Using Anypoint Studio
- Method 2: Using Runtime Manager in Anypoint Platform
- Method 3: Using Anypoint Code Builder
- Managing Deployed Applications
- Static IPs
- CloudHub 2.0
- Proxy Deployment
- Policy Creation
- Access Provision
- Client ID enforcement
- Anypoint Monitoring
- Summary
- Deployment Options
- Index