How azure/apiops works
APIOps automates the API Management lifecycle: an operator extracts APIM artifacts into version-controlled files, reviews and promotes those changes, then publishes them to a configured APIM instance. The README also describes environment-specific configuration and the tool’s focus on API specifications and APIM resources. The graph includes resource-model and policy-fragment layers evidenced by the tree and sampled source; extractor internals and most publisher wiring were not sampled, so those links are limited to the documented workflow.
Main entry points: ResourceGraph.cs Resource graph · extractor/Program.cs Extractor · publisher/Program.cs Publisher · Publisher.cs Publish logic
Components 17
Artifact workflow
- Versioned artifacts
- Review and promotion
APIM resources
- Resource graph
src/common/ResourceGraph.cs - API resources
src/common/Api.cs - Products and groups
src/common/Product.cs - Policies and fragments
src/common/PolicyFragment.cs - Versions and releases
src/common/VersionSet.cs - Resource relationships
src/publisher/Relationships.cs
Application runtime
- Extractor
src/extractor/Program.cs - Extraction logic
src/extractor/Extractor.cs - Publisher
src/publisher/Program.cs - Publish logic
src/publisher/Publisher.cs - Runtime configuration
src/common/Configuration.cs - Service settings
src/common/ManagementService.cs
External systems
- Source APIM
- Target APIM
Other components
- APIM operator
Connections 17
- APIM operator → Extractor: runs extraction
- Extractor → Extraction logic: runs
- Extractor → Runtime configuration: loads settings
- Extractor → Source APIM: exports artifacts
- Extractor → Versioned artifacts: writes artifacts
- Versioned artifacts → Review and promotion: provides changes
- Review and promotion → Publisher: promotes changes
- Publisher → Publish logic: runs
- Publisher → Runtime configuration: loads settings
- Publisher → Service settings: uses service settings
- Publisher → Target APIM: publishes artifacts
- Versioned artifacts → Resource graph: describes resources
- Resource graph → API resources: models resources
- Resource graph → Products and groups: models resources
- Resource graph → Policies and fragments: models resources
- Resource graph → Versions and releases: models resources
- Publish logic → Resource relationships: resolves relationships