lablup / lablup/backend.ai

QuotaScope GraphQL Strawberry v2 Migration

Open
#11,101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Migrate QuotaScope GraphQL API from legacy Graphene (gql_legacy/vfolder.py) to Strawberry-based v2 implementation.

Scope:
- QuotaScope GQL types (Node, Input, Payload) backed by v2 DTOs (common/dto/manager/v2/quota_scope/)
- QuotaScope Adapter layer
- get/search query resolvers
- set_quota_scope_v2 / unset_quota_scope_v2 mutation resolvers
- Schema registration

Foundation already in place:
- v2 DTOs complete (QuotaScopeNode, SetQuotaInput, UnsetQuotaInput, etc.)
- REST v1 handler exists (api/rest/quota_scope/)
- Service actions exist (SetQuotaScopeAction, UnsetQuotaScopeAction, GetQuotaScopeAction, SearchQuotaScopesAction)

Split from BA-5424 (VFolder GQL v2 Migration) as QuotaScope is a separate domain.

Total: 2.5 SP (~2.5 days)

JIRA Issue: BA-5739

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.