## 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
Goal
Integrate Data Index GraphQL API with operator controllers
Phase: 2 (Month 2)
Scope
1. GraphQL Client
getWorkflowInstanceswith filtersgetWorkflowInstanceby ID2. LogicFlowDefinition Integration
status.activeInstances3. LogicFlowService Integration
status.versions[].activeInstances4. Configuration
Deliverables
Dependencies: EPIC 3, 4, 5