Skip to content

Commit 5d41d94

Browse files
committed
Vendored - oci-go-sdk v65.73.0 changes for existing & new services
1 parent ec8a26a commit 5d41d94

File tree

329 files changed

+18885
-854
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+18885
-854
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ require (
6868
)
6969

7070
// Uncomment this line to get OCI Go SDK from local source instead of github
71-
//replace github.com/oracle/oci-go-sdk => ../../oracle/oci-go-sdk
71+
replace github.com/oracle/oci-go-sdk/v65 v65.72.0 => ./vendor/github.com/oracle/oci-go-sdk
7272

7373
go 1.21

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ
140140
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
141141
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
142142
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
143-
github.com/oracle/oci-go-sdk/v65 v65.72.0 h1:gPCb5fBUsZMyafIilPPB2B36yqjkKnnwwiJT4xexUMg=
144-
github.com/oracle/oci-go-sdk/v65 v65.72.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0=
145143
github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4=
146144
github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI=
147145
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=

internal/service/ai_document/ai_document_processor_job_resource.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -466,21 +466,21 @@ func (s *AiDocumentProcessorJobResourceCrud) mapToDocumentFeature(fieldKeyFormat
466466
tmp := modelId.(string)
467467
details.ModelId = &tmp
468468
}
469-
if tenancyId, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "tenancy_id")); ok {
470-
tmp := tenancyId.(string)
471-
details.TenancyId = &tmp
472-
}
469+
//if tenancyId, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "tenancy_id")); ok {
470+
// tmp := tenancyId.(string)
471+
// details.TenancyId = &tmp
472+
//}
473473
baseObject = details
474474
case strings.ToLower("KEY_VALUE_EXTRACTION"):
475475
details := oci_ai_document.DocumentKeyValueExtractionFeature{}
476476
if modelId, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "model_id")); ok {
477477
tmp := modelId.(string)
478478
details.ModelId = &tmp
479479
}
480-
if tenancyId, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "tenancy_id")); ok {
481-
tmp := tenancyId.(string)
482-
details.TenancyId = &tmp
483-
}
480+
//if tenancyId, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "tenancy_id")); ok {
481+
// tmp := tenancyId.(string)
482+
// details.TenancyId = &tmp
483+
//}
484484
baseObject = details
485485
case strings.ToLower("LANGUAGE_CLASSIFICATION"):
486486
details := oci_ai_document.DocumentLanguageClassificationFeature{}
@@ -519,19 +519,19 @@ func DocumentFeatureToMap(obj oci_ai_document.DocumentFeature) map[string]interf
519519
result["model_id"] = string(*v.ModelId)
520520
}
521521

522-
if v.TenancyId != nil {
523-
result["tenancy_id"] = string(*v.TenancyId)
524-
}
522+
//if v.TenancyId != nil {
523+
// result["tenancy_id"] = string(*v.TenancyId)
524+
//}
525525
case oci_ai_document.DocumentKeyValueExtractionFeature:
526526
result["feature_type"] = "KEY_VALUE_EXTRACTION"
527527

528528
if v.ModelId != nil {
529529
result["model_id"] = string(*v.ModelId)
530530
}
531531

532-
if v.TenancyId != nil {
533-
result["tenancy_id"] = string(*v.TenancyId)
534-
}
532+
//if v.TenancyId != nil {
533+
// result["tenancy_id"] = string(*v.TenancyId)
534+
//}
535535
case oci_ai_document.DocumentLanguageClassificationFeature:
536536
result["feature_type"] = "LANGUAGE_CLASSIFICATION"
537537

vendor/github.com/oracle/oci-go-sdk/v65/aidocument/add_model_lock_details.go

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/v65/aidocument/add_model_lock_request_response.go

Lines changed: 113 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/oracle/oci-go-sdk/v65/aidocument/add_project_lock_details.go

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)