Skip to content

Conversation

DO-rrao
Copy link

@DO-rrao DO-rrao commented Sep 3, 2025

Issue

APICLI-2961

Code Changes

  • Added IndexingJob data structure - Created new IndexingJob type with 15 fields including UUID, status, phase, timestamps, and processing metrics

  • Implemented ListIndexingJobs service method - Added HTTP client integration to call /v2/gen-ai/indexing_jobs endpoint with pagination support

  • Created list-indexing-jobs CLI command - Added new command with alias ls-jobs and detailed help documentation explaining all returned fields

  • Built IndexingJob displayer - Implemented output formatting with column mapping for table display and JSON serialization

  • Updated service interface - Extended GenAIService interface to include the new ListIndexingJobs() method

Testing

  • Added unit test - Created TestKnowledgeBaseListIndexingJobs with mock expectations and sample test data

  • Updated command validation - Added "list-indexing-jobs" to expected command names in existing test

  • Built integration test - Implemented HTTP mock server test with authentication and response validation

@DO-rrao DO-rrao requested a review from a team September 3, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant