dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
803 stars 460 forks source link

Write Postman Tests for Embeddings AI Endpoints #28721

Open victoralfaro-dotcms opened 1 month ago

victoralfaro-dotcms commented 1 month ago

Parent Issue

https://github.com/dotCMS/core/issues/27973

User Story

As a Java developer, I want to write Postman tests for the following Embeddings AI Endpoints:

Acceptance Criteria

dotCMS Version

master

Proposed Objective

Quality Assurance

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Assumptions & Initiation Needs

Quality Assurance Notes & Workarounds

Sub-Tasks & Estimates

  1. Review API documentation for Embeddings AI endpoints (2 hours)
  2. Set up Postman environment and variables (2 hours)
  3. Write tests for /api/v1/ai/embeddings (POST) (3 hours)
  4. Write tests for /api/v1/ai/embeddings (DELETE) (3 hours)
  5. Write tests for /api/v1/ai/embeddings/db (DELETE) (3 hours)
  6. Write tests for /api/v1/ai/embeddings/indexCount (GET) (3 hours)
  7. Validate tests with various scenarios and inputs (4 hours)
  8. Document test results and share with the team (2 hours)
  9. Update documentation to reflect the new tests (1 hour)

Total Estimate: 23 hours

victoralfaro-dotcms commented 1 week ago

PR: https://github.com/dotCMS/core/pull/28913