Skip to content

Data Index Integration #9

Description

@ricardozanini

Goal

Integrate Data Index GraphQL API with operator controllers

Phase: 2 (Month 2)

Scope

1. GraphQL Client

  • Implement GraphQL client library
  • Query: getWorkflowInstances with filters
  • Query: getWorkflowInstance by ID
  • Handle connection errors gracefully

2. LogicFlowDefinition Integration

  • Query Data Index for active instances
  • Update status.activeInstances
  • Use in deletion validation webhook

3. LogicFlowService Integration

  • Query Data Index for per-version instances
  • Update status.versions[].activeInstances

4. Configuration

  • Discover endpoint from LogicPlatform status
  • Cache endpoint per namespace
  • Retry logic with backoff

Deliverables

  • GraphQL client implementation
  • Controller integrations
  • Endpoint discovery logic
  • Unit tests
  • Integration tests with mock

Dependencies: EPIC 3, 4, 5

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions