Skip to content

oci: add an SDK-compat test (no oci-go-sdk usage exists yet) #1089

Description

@NitinKumar004

Unlike AWS/Azure/GCP, no test anywhere drives an OCI handler through `github.com/oracle/oci-go-sdk` — the dependency isn't even in go.mod. `docs/oci-conventions.md` recommends adding one "where the SDK makes it practical." The existing raw-REST tests are thorough, but an SDK-compat test would catch wire-shape issues (e.g. the null-vs-[] bug fixed in #1087) that only manifest when a real client deserializes the response into typed structs.

Scope: add `github.com/oracle/oci-go-sdk/v65` as a test-only dependency and one round-trip test per service (identity compartment CRUD, vcn CRUD) in the style of the AWS/Azure/GCP SDK-compat tests already in the repo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions