发布

  • [OPIK-4938] [BE] Add project-scoped REST endpoints and integration tests (#5753)

    frostbyte_neo 发布于 2026-03-20 14:35:14 +00:00

    • [OPIK-4938] [BE] Add project-scoped endpoint tests for prompts, datasets, experiments, and dashboards

    Add FindProjectPrompts, FindProjectDatasets, FindProjectExperiments, and
    FindProjectDashboards nested test classes that mirror their workspace-scoped
    counterparts, exercising the /v1/private/projects/{projectId}/{resource}
    endpoints with filtering, pagination, and sorting coverage.

    Also extract shared assertion helpers (assertPromptsPage, assertDashboardPage)
    to outer test classes for reuse, and add getProjectDashboards/getProjectPrompts
    client methods to the respective resource clients.

    • Revision 2: Fix missing @RequiredPermissions on ProjectPromptsResource and rename duplicate "By" in test method names

    • Revision 3: Remove @RequiredPermissions from ProjectPromptsResource that caused test compilation issue

    • Revision 4: Apply spotless formatting

    下载附件