Skip to content

Analytics Service APIs - Refence implementation for Workflow Service #504

@NGrech

Description

@NGrech

Implement a database-backed reference of WorkflowService for local testing and to support integration with the execution and trigger services. This will mirror the architecture of DBBackedStudyDataService.

✅ Tasks

  • Design database schema for storing Workflow and WorkflowMetadata.
  • Create SQL migration / table creation scripts
  • Define a WorkflowRepository interface with needed operations
  • Implement a database-backed class DBBackedWorkflowService that satisfies WorkflowService
  • Add mapping functions between domain models and DB rows
  • Write unit tests for all service methods
    • createWorkflow
    • updateWorkflow
    • getWorkflow
    • deleteWorkflow
    • listWorkflows
  • Validate implementation with a test workflow run

Metadata

Metadata

Assignees

Labels

featureNew functionality.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions