Skip to content

Remove unused label (v2) copy endpoints - #409

Merged
em3s merged 1 commit into
mainfrom
feat/remove-label-copy
Jul 11, 2026
Merged

em3s merged 1 commit into
mainfrom
feat/remove-label-copy

Conversation

@em3s

@em3s em3s commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the label-copy feature end to end. Neither entry point is used by any client, and dropping them simplifies the DDL surface ahead of the v2 Storage metadata removal (#398).

Changes

  • Remove POST /graph/v2/service/{service}/label/{label}/copy (ServiceLabelController.copy)
  • Remove POST /graph/v2/service/{service}/alias/{alias}/new-label (ServiceAliasController.newLabel)
  • Remove LabelCopyRequest DTO and DdlService.copy
  • Drop both routes from ReadOnlyRequestFilterTest

How to Test

./gradlew :server:test :engine:build

POST .../copy and POST .../new-label now return 404.

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Opus 4.8

Remove the label-copy feature end to end: the two HTTP entry points
(POST .../label/{label}/copy and .../alias/{alias}/new-label), the
LabelCopyRequest DTO, and the DdlService.copy engine method. Neither
endpoint is used by any client, and dropping them simplifies the DDL
surface ahead of the v2 Storage metadata removal.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. maintenance Maintenance work. labels Jul 11, 2026
@em3s em3s changed the title Remove unused label copy endpoints Remove unused label (v2) copy endpoints Jul 11, 2026
@em3s

em3s commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Unused endpoints. Merging.

@em3s
em3s merged commit 2c90dda into main Jul 11, 2026
3 checks passed
@em3s
em3s deleted the feat/remove-label-copy branch July 11, 2026 05:28
@em3s em3s self-assigned this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance work. size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant