Skip to content

feat: add project update and group OpenAPIs - #4918

Merged
leozhang2018 merged 7 commits into
koderover:mainfrom
huanghongbo-hhb:feat/project-update-group-openapi
Aug 24, 2026
Merged

leozhang2018 merged 7 commits into
koderover:mainfrom
huanghongbo-hhb:feat/project-update-group-openapi

Conversation

@huanghongbo-hhb

@huanghongbo-hhb huanghongbo-hhb commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add OpenAPIs for updating projects and managing project groups.

Why

  • Allow external integrations to update project metadata and maintain project grouping.

Main Changes

  • Update only project metadata fields to avoid overwriting unrelated project state.
  • Reuse one validation and assembly path for project group creation and updates.
  • Persist project metadata before best-effort visibility and group-name synchronization.

Risk / Compatibility

  • Existing API contracts are unchanged; derived-data synchronization failures are logged as warnings.

Test

  • go test -vet=off ./pkg/microservice/aslan/core/project/... ./pkg/microservice/aslan/core/common/repository/mongodb/template ./pkg/microservice/aslan/core/common/repository/mongodb

Contact


This change is Reviewable

Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Comment thread pkg/microservice/aslan/core/project/handler/openapi.go
Comment thread pkg/microservice/aslan/core/project/handler/openapi.go
Comment thread pkg/microservice/aslan/core/common/repository/mongodb/project_group.go Outdated
Comment thread pkg/microservice/aslan/core/project/service/product.go
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
@leozhang2018
leozhang2018 merged commit 2b971d9 into koderover:main Aug 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants