Chapter 117% of the exam50 min
Integration Projects, Roles and Lifecycle
Why integration projects fail, what the IT delivery gap is and how MuleSoft's operating model of production and consumption closes it, the delivery methodologies and DevOps practices teams use, the design, implement and manage stages of the API lifecycle, and who does what on a MuleSoft project team.
By the end of this chapter you can
- Identify why IT integration projects often fail
- Define the IT delivery gap and describe how MuleSoft closes it
- Describe the API-led delivery model of production and consumption, and the role of a C4E
- Compare waterfall and agile delivery, and identify key DevOps practices and tools
- Describe the design, implement and manage stages of the API lifecycle
- Describe the roles and responsibilities on a MuleSoft integration project team
Why integration projects fail, and the IT delivery gap
Scenario: A bank's IT team delivers integrations one project at a time with custom code. Every line of business wants something new, the backlog keeps growing, and projects finish late or don't deliver what the business expected.
Why projects fail
Research cited by MuleSoft suggests only about 10% of IT projects are fully successful. Three of the most common reasons:
- A lack of alignment around business outcomes.
- The organization wasn't enabled to actually deliver success.
- The project took too long to realize value.
Technical choices add to it: custom point-to-point code built one project at a time can't be reused, so each project duplicates work and adds cost, maintenance and technical debt. An API designed without a careful plan creates technical debt too.
The IT delivery gap
Demand on IT keeps growing faster than IT's capacity to deliver. The widening gap between business demand and IT delivery capacity is the IT delivery gap, and it creates a bottleneck in central IT.
Working harder in the same way doesn't close it. MuleSoft's answer is a new operating model:
- Central IT focuses on operating, connecting and abstracting systems of record, and produces reusable assets such as APIs.
- Lines of business consume those assets, extend them into new solutions and deliver customer-facing innovation themselves.
- Feedback from consumers improves the assets over time.
This model of production, consumption and feedback lets IT and the business both move faster.
MuleSoft Catalyst
MuleSoft Catalyst is MuleSoft's framework and methodology for customer success, built on three pillars:
| Pillar | Focus |
|---|---|
| Business outcomes | Define clear outcomes and KPIs, aligned with stakeholders |
| Organizational enablement | Make the organization ready: best practices, training and internal support |
| Technology delivery | Make the platform available and the teams ready to build APIs and integrations |
The pillars map onto the three causes of failure. They are broken into six playbooks: Business Outcomes, Anypoint Platform, Projects, Center for Enablement (C4E), Internal Support and Training. Each playbook moves through four phases: plan for success, establish the foundation, build to scale, and measure impact.
Exam tip: "Demand outpaces IT's capacity" is the IT delivery gap. The fix isn't more IT staff doing the same thing: it's central IT producing reusable assets that the business consumes.
The API-led delivery model
Production and consumption
In an API-led delivery model, APIs are built to play specific roles, unlocking data from systems, composing it into processes and delivering experiences, so that each one can be reused:
- Producers build APIs as reusable, discoverable products with proper governance.
- Consumers discover those APIs through self-service, for example in Anypoint Exchange, and build on them without waiting for central IT.
- Reuse compounds: the first project builds core APIs, such as a Customer API and a Product API; the next projects reuse them and add only what's new, so each one is delivered faster than the last.
The Center for Enablement
A Center for Enablement (C4E) is a team, formal or informal, that helps the organization use the platform well. Unlike a traditional center of excellence that builds everything itself, a C4E enables others:
- shares best practices and guidance;
- publishes approved APIs and templates to Exchange so others can find and reuse them;
- encourages reuse and self-service across teams.
Exam tip: A C4E enables self-service and reuse; it isn't a central team that builds every integration. Production and consumption is about IT producing reusable assets and the business consuming them.
Delivery methodologies and DevOps
Waterfall and agile
| Waterfall (traditional) | Agile | |
|---|---|---|
| Requirements | Collected in detail up front | Elaborated progressively |
| Planning | Everything planned at the start | Iterative planning and execution |
| Delivery | One delivery at the end | Incremental delivery from the start |
| Change | Carefully controlled | Expected and incorporated |
| Stakeholders | Engaged at planning and milestones | Engaged throughout |
| Best for | Small, predictable work with fixed scope, time and cost | Larger, complex work that needs flexibility and frequent feedback |
Common agile frameworks are Scrum (iterative delivery in sprints, with defined roles, meetings and deliverables), Kanban (continuous flow on a To Do, Doing, Done board) and Lean (eliminating waste). The Agile Manifesto values individuals and interactions, working software, customer collaboration and responding to change. A definition of done lists everything required before work counts as finished.
A waterfall project can finish on time and on budget and still fail, if customers only see the result at the end and it isn't what they needed. MuleSoft Catalyst works alongside your chosen delivery methodology rather than replacing it.
DevOps practices and tools
| Practice | MuleSoft tools |
|---|---|
| Source control | Projects shared in your source control system from Anypoint Code Builder or Studio |
| Build and deploy automation | The Mule Maven plugin packages and deploys applications as part of a Maven build |
| Automated testing | MUnit, MuleSoft's unit and integration testing framework, run in builds with its Maven plugin |
| Environments and promotion | Sandbox environments for development and testing, then promotion to production with Runtime Manager |
| Scripting and CI/CD | The Anypoint CLI automates platform operations in pipelines |
| Governance in the pipeline | API Governance checks run from the CLI as part of CI/CD |
| Continuous testing | API Functional Monitoring tests APIs' behaviour and performance in test and production |
Automated policies apply the same security and logging policies to every API in an environment, so nobody has to remember to add them.
Exam tip: Agile suits complex work with changing requirements; waterfall suits small, predictable work. In DevOps questions, MUnit is for testing, the Maven plugin for build and deploy, and the CLI for automation.
The API lifecycle: design, implement, manage
MuleSoft recommends treating APIs as products that are designed for their consumers, published for reuse and improved over time.
| Stage | Steps | Tools |
|---|---|---|
| Design | Design the API specification (RAML or OpenAPI); simulate it with a mocking service; get feedback from consumers; validate it, for example against governance rulesets | Anypoint Code Builder or API Designer, the mocking service, Exchange |
| Implement | Build the application from the specification (the interface is scaffolded for you); test it | Anypoint Code Builder or Studio, MUnit |
| Manage | Deploy it; secure it with policies; operate and monitor it, then iterate | Runtime Manager, API Manager, Anypoint Monitoring, API Visualizer |
Design-first
Design-first means defining what an API does, its resources, methods, parameters and responses, in a specification before building how it works. Benefits:
- Faster development: teams build against an agreed contract.
- Better collaboration: frontend developers, testers and product managers can work in parallel using the mock.
- Easier testing and greater reuse.
- Design problems are caught early, when they are cheap to fix.
Publishing the specification to Exchange creates an API portal with documentation and an interactive console, which is the start of the API's life as a reusable product.
Exam tip: Mocking and feedback belong to the design stage, before any implementation. Deploying, securing with policies and monitoring belong to the manage stage.
Roles on a MuleSoft project team
A typical MuleSoft project involves:
| Role | Typical responsibilities |
|---|---|
| Business stakeholders and sponsor | Define the business outcomes and KPIs, and fund the work |
| Project manager or scrum master | Plan and run the delivery, remove blockers |
| Platform architect | Owns the organization's Anypoint Platform strategy |
| Integration or solution architect | Designs the solution: API-led layers, patterns and deployment |
| API owner or product manager | Owns an API as a product, its roadmap and consumers |
| Developers and integrators | Design, build, test and debug APIs and integrations |
| QA testers | Validate that APIs behave as specified |
| Admins, DevOps and operations | Deploy, secure, scale and monitor applications and APIs |
| Governance leads and security architects | Set and enforce standards and policies |
| C4E | Enables reuse, best practices and self-service across teams |
| API consumers | Teams and partners who discover and use the APIs |
Tools line up with roles: developers and integrators work in Anypoint Code Builder, architects and integration leads publish reusable assets to Exchange, and admins and DevOps teams use the management tools to monitor health, enforce policies and scale. MuleSoft, its partners and Customer Success teams can support a project through Catalyst.
Exam tip: Match the task to the role. Defining business outcomes is the business's job; designing the solution is the architect's; building and testing is the developer's; deploying, securing and monitoring is operations and DevOps.
Hands-on exercise
Plan a design-first API project
Walk an API through the lifecycle on paper and assign each step to a role and a tool.
Use a free Salesforce Developer Edition org — never a production org.
0 of 7 steps done
How to check your work: Your plan defines the specification before any code, gets feedback from a mock, tests with MUnit, applies policies at the gateway rather than in code, and ties the project to a measurable business outcome.
Domain quiz: Integration Projects, Roles and Lifecycle
10 questions from the 41 in this domain, different each time and checked as you go. Anything you miss is saved to Mistakes review.
- Questions
- 10
- Time
- Untimed
- Feedback
- After each answer
New questions each time you start, drawn from the bank, unseen ones first.