API Platform Onboarding Audit¶
This audit is the US-84 baseline for onboarding
github.com/oracle/oci-go-sdk/v65/apiplatform 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 theapiplatformpackage in the module cache; the repo lackedvendor/github.com/oracle/oci-go-sdk/v65/apiplatformonly because nothing imported that package yet.pkg/sdkimports/rollout_services.gonow blank-importsgithub.com/oracle/oci-go-sdk/v65/apiplatformsogo mod vendorkeeps the package in the branch-local inputs.
SDK Audit¶
ApiPlatformInstance¶
- Full CRUD family is present:
CreateApiPlatformInstance,GetApiPlatformInstance,ListApiPlatformInstances,UpdateApiPlatformInstance, andDeleteApiPlatformInstance. - Additional mutator is present:
ChangeApiPlatformInstanceCompartment. GetApiPlatformInstanceResponsereturnsApiPlatformInstance.ListApiPlatformInstancesResponsereturnsApiPlatformInstanceCollection.ListApiPlatformInstancesRequestexposes requiredcompartmentId, plusname,id, andlifecycleState, plus page and sort controls.- Lifecycle states are
CREATING,UPDATING,ACTIVE,DELETING,DELETED, andFAILED. CreateApiPlatformInstanceResponsereturnsApiPlatformInstanceand exposesOpcWorkRequestId.UpdateApiPlatformInstanceResponsereturnsApiPlatformInstancebut does not exposeOpcWorkRequestId.DeleteApiPlatformInstanceResponseexposesOpcWorkRequestId.
Auxiliary Families¶
- Additional SDK-discovered families are
WorkRequest,WorkRequestError, andWorkRequestLog. - No other top-level CRUD family competes with
ApiPlatformInstancefor the first rollout.
Generator Implications For US-89¶
ApiPlatformInstanceis the only publishable top-level kind and already matches the approved follow-on story.- Recommended
formalSpecisapiplatforminstance. - Recommended async classification is
lifecycle. ApiPlatformInstancelooks viable as a direct controller-backed generated rollout without handwritten runtime work because the GET surface projects lifecycle state directly, create and update both return the resource body, and only create and delete carry work-request headers.ChangeApiPlatformInstanceCompartmentand the work-request auxiliaries should stay unpublished initially while the firstApiPlatformInstancerollout lands.
Provider-Facts Coverage¶
formal/sources.lockpins provider facts togithub.com/oracle/terraform-provider-oci@eb653febb1bab4cc6650a96d404a8baf36fdf671.- Matching provider surfaces are
oci_api_platform_api_platform_instanceas both the resource and singular data source, plusoci_api_platform_api_platform_instancesas the list data source. - The provider resource waits on
GetWorkRequestfor create and delete, but its update and compartment-change paths continue throughWaitForUpdatedStatelifecycle rereads. That mixed behavior matches the recommendedasync.strategy=lifecyclebaseline for the first generated rollout.