OCE Onboarding Audit¶
This audit is the US-105 baseline for onboarding
github.com/oracle/oci-go-sdk/v65/oce before services.yaml publishes the
service.
Repo Input Status¶
go.modremains pinned togithub.com/oracle/oci-go-sdk/v65 v65.110.0.v65.110.0already contains theocepackage in the module cache; the repo lackedvendor/github.com/oracle/oci-go-sdk/v65/oceonly because nothing imported that package yet.pkg/sdkimports/rollout_services.gonow blank-importsgithub.com/oracle/oci-go-sdk/v65/ocesogo mod vendorkeeps the package in the branch-local inputs.
SDK Audit¶
OceInstance¶
- Full CRUD family is present:
CreateOceInstance,GetOceInstance,ListOceInstances,UpdateOceInstance, andDeleteOceInstance. - Additional mutator is present:
ChangeOceInstanceCompartment. GetOceInstanceResponsereturnsOceInstance.ListOceInstancesResponsereturnsOceInstanceCollection.ListOceInstancesRequestexposescompartmentId,tenancyId,displayName, andlifecycleState, plus page and sort controls.- Lifecycle states are
CREATING,UPDATING,ACTIVE,DELETING,DELETED, andFAILED. CreateOceInstanceResponse,UpdateOceInstanceResponse, andDeleteOceInstanceResponseall exposeOpcWorkRequestId.- The mutating responses do not project an
OceInstancebody, so the selected kind depends on service-local work-request follow-up before it can reread the live resource through GET. - The package also exposes service-local
GetWorkRequest,ListWorkRequests,ListWorkRequestErrors, andListWorkRequestLogshelpers.
Auxiliary Families¶
- No additional top-level CRUD families are apparent beyond the service-local work-request auxiliaries.
Generator Implications For US-107¶
OceInstanceis the requested initial kind and the only top-level full CRUD family in the package.- Recommended
formalSpecisoceinstance. - Recommended async classification is
workrequestwithworkRequest.source=service-sdkand phasescreate,update, anddelete. OceInstancelooks viable as a direct controller-backed generated rollout because GET/list expose lifecycle state and the service ships the work request helpers needed to follow mutations.- The main rollout risk is identity recovery: the mutation responses only
return work-request headers, so
US-107must recover the affected OCID throughGetWorkRequestand then rereadGetOceInstanceinstead of assuming create or update returns a full resource body.
Provider-Facts Coverage¶
formal/sources.lockpins provider facts togithub.com/oracle/terraform-provider-oci@eb653febb1bab4cc6650a96d404a8baf36fdf671.- Matching provider surfaces are
oci_oce_oce_instanceas the resource,oci_oce_oce_instanceas the singular data source, andoci_oce_oce_instancesas the list data source. - Provider docs publish the same single-instance family as both a resource and singular/list data sources, which matches the SDK's one-family rollout shape.