MULTIARCH-5990: IBM Cloud Staging Endpoint Support for `ccoctl` #1062
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 256 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.332
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1062"
general
weight: 0.35
taliandre49
Add a
--endpoint flag toccoctl ibmcloudsubcommands to support IBM Cloud credential provisioning against Staging and other API endpoints. This enables creation of credential creation workflows on alternative endpoints.Changes
New --api-endpoint
flagadded to the following ccoctl ibmcloudsubcommands:
create-service-id
delete-service-id
refresh-keysAccepts a base domain (e.g. test.cloud.ibm.com
) and derives the full service
IAM authenticator, identity, and policy management -> https://iam.<endpoint>URLs from it:
Resource Manager -> https://resource-controller.<endpoint>When omitted, all clients use their SDK production defaults unchanged.
pkg/ibmcloud/client.go
:toClientParamsconstructs service URLs from the endpoint when set.gitignore
: Added /ccoctl-to ignore platform-specific build artifactsNotes
flag is opt-in and has no effect on normal production usage<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added an --api-endpoint
option/flag to IBM Cloud provisioning commands (create service ID, delete service ID, refresh keys) to override the IBM Cloud API base domain used for requests.
IBM Cloud client now supports configurable API endpoint routing for IAM and resource-manager calls.Tests
Added coverage for API endpoint normalization and client URL construction behavior.
Chores
Updated version control ignore rules to exclude paths matching /ccoctl-*
in addition to the existing/ccoctl` entry.<!-- end of auto-generated comment: release notes by coderabbit.ai -->