Documente Academic
Documente Profesional
Documente Cultură
– dataweave syntax
– error handling (questions makes you doubt your answers)
– debugging and what to expect on the output
– data transformation
– accessing and modifying events.
01-API RAML
02-Dataweave
03-ErrorHandling
04-Message Property
IT can build fast while still early but as time moves the IT
project gets complex and harder to build on top of it
Solution: A new IT operating model IT builds reusable assets
and data Business can self-serve on the assets
o Modern API approach
API-Led Connectivity
Experience API
Process API
System API
o What is C4E ?
central it
are productized
consumable
fully leveraged
o Deconstructing API
What is an API?
web service
API proxy
RESTful
recent, simplier
uses existing HTTP communication protocol
POST
GET
PATCH
partially updates
DELETE
deletes a resource
get /companies?country=France
etc…
lightweight data-interchange
format
XML
Making calls
Unsecured API
no authentication required
Secure API
productized
easily govern
build for consumption – reusable
API Designer
Uses RAML
o AnyPoint Exchange
A repository
library of assets
version proxy
rate limit
Runtime Services
deploy applications
Anypoint Platform
uniquely built
deploy anywhere
delivery
Paths
Build to scale
Measure impact
API Notebook
o Mule Applications
can be created visually or through xml
o Workers
dedicated instance of mule that runs the app
each worker runs in separate containers from every other
application
can have different compute power
What are the phases for spec driven development in the Mulesoft world?
Design
Simulate
Feedback
Validate
– API specification and definition are interchangeble. API Specification is much more
concerned with the overall behavior of the API, and how it links to other APIs.
Source: https://github.com/raml-org/raml-spec
Documentation is created from the RAML and shown in the API console
A mocking service can be used in the API console to test the API
Make an API discoverable by publishing it to the Private Exchange
You can publish to the public(needs Mulesoft review)
API portals are auto generated
Automatically generated api endpoint is created that uses mocking service
API portals can be shared to internal or external users
Share the API to external developers by making portal public
You can customize the public portal
o logo
o favicon
o welcome text
o fonts
o image