-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
Product / Portfolio Work
-
3
-
False
-
-
False
-
Not Selected
-
-
-
-
Rox Sprint 4.10F, Rox Sprint 4.10G
Overview:
Implement UI functionality to allow users to update the tag pattern of an existing base image reference. Backend adds a new PUT /v2/baseimages/{id} API in PR #18151 (ROX-32108).
Backend API:
- Endpoint: PUT /v2/baseimages/{id}
- Method: UpdateBaseImageTagPattern
- Request payload:
{ id: string; // Base image reference ID base_image_tag_pattern: string; // New tag pattern }
- Response: Empty (success/error)
Acceptance Criteria:
- [ ] Add edit functionality to existing BaseImagesTable component (
ROX-31797) - [ ] Create inline edit or modal for updating tag pattern only (repo path cannot be changed)
- [ ] Call PUT /v2/baseimages/{id} with new tag pattern
- [ ] Display success/error feedback to user
- [ ] Refresh table after successful update
- [ ] Validate tag pattern format client-side before submission
Related Tickets:
ROX-32108- Backend PR adding the APIROX-31797- BaseImagesTable (where edit would be triggered from)ROX-31796- BaseImagesForm (can potentially reuse validation logic)
Notes:
- Only the tag pattern is editable; repository path is immutable after creation
- Backend enforces that repo path must not include tag (tag goes in tag_pattern field)