Repository navigation
Description
Enable HTTP and OpenAPI Execution Without Workflow Engine Dependencies
Problem Statement
Currently, other workflow engine implementations cannot reuse the SDK's HTTP execution and OpenAPI capabilities without pulling in the entire workflow engine infrastructure.
Motivation
The SDK's HTTP transport and OpenAPI processing represent valuable, reusable components that should be available to the broader workflow engine ecosystem. By decoupling these capabilities:
- Reduce Barrier to Entry: Other engines can adopt proven HTTP/OpenAPI handling without architectural constraints
- Promote Interoperability: Shared transport layer enables consistent HTTP behavior across implementations
- Enable Incremental Adoption: Teams can use specific SDK components without committing to the full stack
- Improve Maintainability: Clear separation of concerns between transport, OpenAPI processing, and workflow execution
Proposed Solution
Extract HTTP and OpenAPI functionality into standalone modules under common/:
openworkflow-common-http: Zero-dependency JDK HTTP transportopenworkflow-common-http-jakarta: Jakarta REST transport implementationopenworkflow-common-openapi: OpenAPI document model and request preparationopenworkflow-common-openapi-jackson: Jackson-based OpenAPI reader
These modules provide:
- Pluggable converter pattern for custom JSON types
- No dependencies on workflow contexts or SDK models
- Clean interfaces for HTTP execution and OpenAPI processing
- Full compatibility with existing SDK functionality
Benefits
- For Other Engines: Reuse proven HTTP/OpenAPI implementation without SDK dependencies
- For SDK Users: Clearer module boundaries and reduced coupling
- For Maintainers: Better separation of concerns and testability
- For Ecosystem: Shared foundation for HTTP/OpenAPI handling across implementations
Related
- PR [Fix #1878] Decouple HTTP and OpenAPI execution from workflows #1844: Implementation of this proposal
Activity
[Fix open-workflow-specification#1878] Update main readme