You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 40accec
Browse filesBrowse the repository at this point in the historyBrowse files
Alexandre Catalan
authored and
Alexandre Catalan
committed
fix(container-registry): address PR review comments for pagination, validation, and naming
Addresses feedback from PR #1693 reviews:
- Refactor artifactory list command to use SDK paginate.All eager pagination
with request/response adapters matching terraform-provider-stackit PR #1870.
- Keep a single request in replication-adapter list: the endpoint does not
accept page_token/page_size query parameters, so the SDK request only
exposes Execute(). Document the limitation and add fetch tests.
- Switch replication-adapter table rendering to table.Display(p) for consistency.
- Add nil check for response in artifactory create command before accessing Id.
- Enforce proxy credentials when configuring a proxy via MarkFlagsRequiredTogether
and validate proxy-description usage to prevent HTTP 400 Bad Request responses.
- Update artifactory delete warning message to reference "artifactories"
rather than "projects" to avoid confusion with STACKIT projects.
Relates to STACKITCRE-382
Copy file name to clipboardExpand all lines: internal/cmd/container-registry/artifactory/delete/delete.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ import (
22
22
23
23
const (
24
24
artifactoryIdArg="ARTIFACTORY_ID"
25
-
warningMessage="Your STACKIT Container Registry projects are recoverable for up to 30 days after deletion via a support request. After this period, projects and their data are permanently unrecoverable."
25
+
warningMessage="Your STACKIT Container Registry artifactories are recoverable for up to 30 days after deletion via a support request. After this period, artifactories and their data are permanently unrecoverable."
expected:="Your STACKIT Container Registry projects are recoverable for up to 30 days after deletion via a support request. After this period, projects and their data are permanently unrecoverable."
217
+
expected:="Your STACKIT Container Registry artifactories are recoverable for up to 30 days after deletion via a support request. After this period, artifactories and their data are permanently unrecoverable."
0 commit comments