Skip to content

Commit

Permalink
Merge remote-tracking branch 'bitbucket/github' into release_2024-02-06
Browse files Browse the repository at this point in the history
  • Loading branch information
oci-dex-release-bot committed Feb 6, 2024
2 parents b512a6c + 4da6299 commit 9bc9863
Show file tree
Hide file tree
Showing 248 changed files with 20,177 additions and 1,401 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)

## 65.58.0 - 2024-02-06
### Added
- Support for the Globally Distributed Database service
- Support for secret auto-rotation in the Secret Management service
- Support for dedicated key management in the Key Management service
- Support for resource locking operations in the Digital Media service
- Support for data sources, including prometheus emitter, in the Management Agent service
- Support for Bring Your Own Certificates (BYOC) in the MySQL HeatWave Database service

### Breaking Changes
- The property Type was changed from ListWorkRequestsTypeEnum to []OperationTypesEnum and made mandatory in the ListWorkRequestsRequest model in the Management Agent Service
- The Enums EditModesEnum and DatatypesEnum were removed in the Management Agent Service


## 65.57.0 - 2024-01-30
### Added
- Support for OCI Control Center service
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com

GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement ##SPECNAME##
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement globallydistributeddatabase ##SPECNAME##
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Are you a Developer using the OCI SDK? If so, please fill out our survey to help


## Dependencies
- Install [Go programming language](https://golang.org/dl/), Go1.17, 1.18, 1.19 and 1.20 is supported By OCI Go SDK.
- Install [Go programming language](https://golang.org/dl/), Go1.17, 1.18, 1.19, 1.20, and 1.21 are supported By OCI Go SDK.
- Install [GNU Make](https://www.gnu.org/software/make/), using the package manager or binary distribution tool appropriate for your platform.

## Versioning
Expand Down
2 changes: 1 addition & 1 deletion common/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions generativeai/generativeai_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (client GenerativeAiClient) changeDedicatedAiClusterCompartment(ctx context
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/ChangeDedicatedAiClusterCompartment"
err = common.PostProcessServiceError(err, "GenerativeAi", "ChangeDedicatedAiClusterCompartment", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -211,7 +211,7 @@ func (client GenerativeAiClient) changeEndpointCompartment(ctx context.Context,
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/ChangeEndpointCompartment"
err = common.PostProcessServiceError(err, "GenerativeAi", "ChangeEndpointCompartment", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -274,7 +274,7 @@ func (client GenerativeAiClient) changeModelCompartment(ctx context.Context, req
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/ChangeModelCompartment"
err = common.PostProcessServiceError(err, "GenerativeAi", "ChangeModelCompartment", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -337,7 +337,7 @@ func (client GenerativeAiClient) createDedicatedAiCluster(ctx context.Context, r
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/CreateDedicatedAiCluster"
err = common.PostProcessServiceError(err, "GenerativeAi", "CreateDedicatedAiCluster", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -401,7 +401,7 @@ func (client GenerativeAiClient) createEndpoint(ctx context.Context, request com
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/CreateEndpoint"
err = common.PostProcessServiceError(err, "GenerativeAi", "CreateEndpoint", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -465,7 +465,7 @@ func (client GenerativeAiClient) createModel(ctx context.Context, request common
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/CreateModel"
err = common.PostProcessServiceError(err, "GenerativeAi", "CreateModel", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -524,7 +524,7 @@ func (client GenerativeAiClient) deleteDedicatedAiCluster(ctx context.Context, r
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/DeleteDedicatedAiCluster"
err = common.PostProcessServiceError(err, "GenerativeAi", "DeleteDedicatedAiCluster", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -582,7 +582,7 @@ func (client GenerativeAiClient) deleteEndpoint(ctx context.Context, request com
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/DeleteEndpoint"
err = common.PostProcessServiceError(err, "GenerativeAi", "DeleteEndpoint", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -640,7 +640,7 @@ func (client GenerativeAiClient) deleteModel(ctx context.Context, request common
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/DeleteModel"
err = common.PostProcessServiceError(err, "GenerativeAi", "DeleteModel", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -698,7 +698,7 @@ func (client GenerativeAiClient) getDedicatedAiCluster(ctx context.Context, requ
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/GetDedicatedAiCluster"
err = common.PostProcessServiceError(err, "GenerativeAi", "GetDedicatedAiCluster", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -756,7 +756,7 @@ func (client GenerativeAiClient) getEndpoint(ctx context.Context, request common
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/GetEndpoint"
err = common.PostProcessServiceError(err, "GenerativeAi", "GetEndpoint", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -814,7 +814,7 @@ func (client GenerativeAiClient) getModel(ctx context.Context, request common.OC
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/GetModel"
err = common.PostProcessServiceError(err, "GenerativeAi", "GetModel", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -872,7 +872,7 @@ func (client GenerativeAiClient) getWorkRequest(ctx context.Context, request com
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequest/GetWorkRequest"
err = common.PostProcessServiceError(err, "GenerativeAi", "GetWorkRequest", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -930,7 +930,7 @@ func (client GenerativeAiClient) listDedicatedAiClusters(ctx context.Context, re
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiClusterCollection/ListDedicatedAiClusters"
err = common.PostProcessServiceError(err, "GenerativeAi", "ListDedicatedAiClusters", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -988,7 +988,7 @@ func (client GenerativeAiClient) listEndpoints(ctx context.Context, request comm
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/EndpointCollection/ListEndpoints"
err = common.PostProcessServiceError(err, "GenerativeAi", "ListEndpoints", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1046,7 +1046,7 @@ func (client GenerativeAiClient) listModels(ctx context.Context, request common.
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/ModelCollection/ListModels"
err = common.PostProcessServiceError(err, "GenerativeAi", "ListModels", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1104,7 +1104,7 @@ func (client GenerativeAiClient) listWorkRequestErrors(ctx context.Context, requ
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequestError/ListWorkRequestErrors"
err = common.PostProcessServiceError(err, "GenerativeAi", "ListWorkRequestErrors", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1162,7 +1162,7 @@ func (client GenerativeAiClient) listWorkRequestLogs(ctx context.Context, reques
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequestLogEntry/ListWorkRequestLogs"
err = common.PostProcessServiceError(err, "GenerativeAi", "ListWorkRequestLogs", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1220,7 +1220,7 @@ func (client GenerativeAiClient) listWorkRequests(ctx context.Context, request c
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequest/ListWorkRequests"
err = common.PostProcessServiceError(err, "GenerativeAi", "ListWorkRequests", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1278,7 +1278,7 @@ func (client GenerativeAiClient) updateDedicatedAiCluster(ctx context.Context, r
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/UpdateDedicatedAiCluster"
err = common.PostProcessServiceError(err, "GenerativeAi", "UpdateDedicatedAiCluster", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1336,7 +1336,7 @@ func (client GenerativeAiClient) updateEndpoint(ctx context.Context, request com
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/UpdateEndpoint"
err = common.PostProcessServiceError(err, "GenerativeAi", "UpdateEndpoint", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -1394,7 +1394,7 @@ func (client GenerativeAiClient) updateModel(ctx context.Context, request common
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/UpdateModel"
err = common.PostProcessServiceError(err, "GenerativeAi", "UpdateModel", apiReferenceLink)
return response, err
}
Expand Down
6 changes: 3 additions & 3 deletions generativeaiinference/generativeaiinference_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (client GenerativeAiInferenceClient) embedText(ctx context.Context, request
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/20231130/EmbedTextResult/EmbedText"
err = common.PostProcessServiceError(err, "GenerativeAiInference", "EmbedText", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -212,7 +212,7 @@ func (client GenerativeAiInferenceClient) generateText(ctx context.Context, requ
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/20231130/GenerateTextResult/GenerateText"
err = common.PostProcessServiceError(err, "GenerativeAiInference", "GenerateText", apiReferenceLink)
return response, err
}
Expand Down Expand Up @@ -275,7 +275,7 @@ func (client GenerativeAiInferenceClient) summarizeText(ctx context.Context, req
defer common.CloseBodyIfValid(httpResponse)
response.RawResponse = httpResponse
if err != nil {
apiReferenceLink := ""
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/20231130/SummarizeTextResult/SummarizeText"
err = common.PostProcessServiceError(err, "GenerativeAiInference", "SummarizeText", apiReferenceLink)
return response, err
}
Expand Down
72 changes: 72 additions & 0 deletions globallydistributeddatabase/action_type.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.

// Globally Distributed Database
//
// Use the Globally Distributed Database service APIs to create and manage distributed databases.
//

package globallydistributeddatabase

import (
"strings"
)

// ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string

// Set of constants representing the allowable values for ActionTypeEnum
const (
ActionTypeCreated ActionTypeEnum = "CREATED"
ActionTypeUpdated ActionTypeEnum = "UPDATED"
ActionTypeDeleted ActionTypeEnum = "DELETED"
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
ActionTypeRelated ActionTypeEnum = "RELATED"
ActionTypeFailed ActionTypeEnum = "FAILED"
)

var mappingActionTypeEnum = map[string]ActionTypeEnum{
"CREATED": ActionTypeCreated,
"UPDATED": ActionTypeUpdated,
"DELETED": ActionTypeDeleted,
"IN_PROGRESS": ActionTypeInProgress,
"RELATED": ActionTypeRelated,
"FAILED": ActionTypeFailed,
}

var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{
"created": ActionTypeCreated,
"updated": ActionTypeUpdated,
"deleted": ActionTypeDeleted,
"in_progress": ActionTypeInProgress,
"related": ActionTypeRelated,
"failed": ActionTypeFailed,
}

// GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetActionTypeEnumValues() []ActionTypeEnum {
values := make([]ActionTypeEnum, 0)
for _, v := range mappingActionTypeEnum {
values = append(values, v)
}
return values
}

// GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetActionTypeEnumStringValues() []string {
return []string{
"CREATED",
"UPDATED",
"DELETED",
"IN_PROGRESS",
"RELATED",
"FAILED",
}
}

// GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool) {
enum, ok := mappingActionTypeEnumLowerCase[strings.ToLower(val)]
return enum, ok
}
Loading

0 comments on commit 9bc9863

Please sign in to comment.