Skip to content

Mulesoft

Mulesoft Anypoint Platform is Roche’s enterprise API management layer. The roche-data pipeline publishes generated OpenAPI specifications as managed API proxies with authentication, rate limiting, and monitoring. Additionally, Mulesoft proxies the Collibra API — all Collibra access from this pipeline goes through Mulesoft.

PropertyValue
URLTBD (awaiting A09 resolution)
Auth methodOAuth client credentials (Anypoint Platform)
NetworkRoche corporate network
Access taskA09
GitHub issue#26
VariableSourceDescription
MULESOFT_BASE_URLVault common/mulesoftAnypoint Platform API base URL
MULESOFT_CLIENT_IDGitHub Actions secretsOAuth client ID for Anypoint Platform
MULESOFT_CLIENT_SECRETGitHub Actions secretsOAuth client secret for Anypoint Platform
MULESOFT_ORG_IDGitHub Actions secretsAnypoint Platform organization ID
MULESOFT_MODEL_CLIENT_IDVault {env}/collibraClient ID for Collibra proxy access
MULESOFT_MODEL_CLIENT_SECRETVault {env}/collibraClient secret for Collibra proxy access
ModuleUsage
rdt-model-apiPublishes generated OpenAPI specs to Anypoint Platform as managed API proxies
rdt-model-governUses Mulesoft as proxy to reach Collibra REST API

Mulesoft serves two distinct purposes in this pipeline:

Generated OpenAPI specs are pushed to Anypoint Platform, creating managed API proxies that provide:

  • Authentication and authorization enforcement
  • Rate limiting and throttling
  • Request/response monitoring
  • SLA tier management

All Collibra API access is proxied through Mulesoft using client credentials headers:

Terminal window
curl -H "client_id: $MULESOFT_MODEL_CLIENT_ID" \
-H "client_secret: $MULESOFT_MODEL_CLIENT_SECRET" \
"https://roche.collibra.com/rest/2.0/communities"

Script: scripts/access/check-mulesoft.sh

Required tools: curl

Checks performed:

  1. HTTP connectivity to Anypoint Platform (if MULESOFT_BASE_URL is set)
  2. HTTP status code validation

Expected state: skip — A09 not yet resolved.

  • Collibra proxy: Working (read path confirmed via MULESOFT_MODEL_CLIENT_ID)
  • API publication: Not started — needed for Phase 3 (Consumer access)
  • Workaround: StubClient for API publication; live proxy for Collibra reads

The rdt-model-api module generates and publishes:

ArtifactPathDeployed to
OpenAPI specapis/{entity}/openapi.yamlAnypoint Platform