Understand the Task
Create a development guide for Platform Services, parallel to the existing Service Provider development guide.
Problem
Contributors have no guidance on how to develop a Platform Service. The Service Provider guide covers:
- Prerequisites and setup
- Template usage
- Project structure
- API creation (ServiceProviderAPI, ProviderConfig)
- Reconciler implementation
- Testing with openmcp-testing
- Best practices
Platform Services need equivalent documentation.
Let's use existing platform service examples as a reference for this dev doc.
Proposed Structure
Mirror the Service Provider guide structure:
/docs/developers/platform-services/
├── index.md (Overview)
├── prerequisites.md
├── template-usage.md (once platform-service-template exists)
├── project-structure.md
├── apis.md (PlatformService, custom config CRD)
├── reconciler.md
├── testing.md
└── best-practices.md
Content Outline
1. Overview
- What is a Platform Service (link to concept)
- Key differences from Service Providers
- When to build a Platform Service
2. Prerequisites
- Clone platform-service-template
- Go installation
- Local openMCP environment setup
3. Template Usage
- CLI generator commands
- Configuration options
4. Project Structure
- API types location
- Controller/reconciler location
- Config CRD pattern
5. API Creation
PlatformService resource (how operators deploy your service)
- Custom config CRD (e.g.,
GatewayServiceConfig)
- Spec and status fields
6. Reconciler Implementation
- Platform cluster access
- Backend cluster access (if needed)
- Resource deployment patterns
7. Testing
- Unit testing
- E2E testing with openmcp-testing
- Local development workflow
8. Best Practices
- When to use Helm/Flux vs direct Go deployment
- Permission scoping
- Configuration patterns
Acceptance Criteria
Dependencies
- Platform Service concept docs expanded (openmcp-project/docs#...)
platform-service-template repository created
Parent Epic
Part of openmcp-project/backlog#514 (Enable Platform Service contributions)
References
Understand the Task
Create a development guide for Platform Services, parallel to the existing Service Provider development guide.
Problem
Contributors have no guidance on how to develop a Platform Service. The Service Provider guide covers:
Platform Services need equivalent documentation.
Let's use existing platform service examples as a reference for this dev doc.
Proposed Structure
Mirror the Service Provider guide structure:
Content Outline
1. Overview
2. Prerequisites
3. Template Usage
4. Project Structure
5. API Creation
PlatformServiceresource (how operators deploy your service)GatewayServiceConfig)6. Reconciler Implementation
7. Testing
8. Best Practices
Acceptance Criteria
/docs/developers/platform-servicesDependencies
platform-service-templaterepository createdParent Epic
Part of openmcp-project/backlog#514 (Enable Platform Service contributions)
References