Skip to content

Commit

Permalink
Releasing version 65.36.1
Browse files Browse the repository at this point in the history
Releasing version 65.36.1
  • Loading branch information
oci-dex-release-bot authored Apr 25, 2023
2 parents 88ac060 + 67aedd2 commit 767f67e
Show file tree
Hide file tree
Showing 202 changed files with 10,900 additions and 703 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.

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

## 65.36.1 - 2023-04-25
### Added
- Support for enabling mTLS authentication with Listener and for providing custom value for TLS port and Non-TLS Port during AVM Cluster Creation in Database service
- Support for usedDataStorageSizeInGbs property for autonomous database in the Database service
- Support for csiNumber organization in Tenant Manager Control Plane service
- Support for creating and updating an infrastructure with LACP support in Database service
- Support for changePrivateEndpointOutboundConnection operation in Integration Cloud service
- Support for Enable Process in Integration Cloud service
- Support for Disaster Recovery, DR enablement, switchover, and failover feature in Fusion Apps service
- Support for discovery and monitoring of External Exadata infrastructure in Database Management Service

## 65.36.0 - 2023-04-18
### Added
- Support for private endpoints in the Digital Assistant service
Expand Down
14 changes: 12 additions & 2 deletions common/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ type HTTPRequestDispatcher interface {

// CustomClientConfiguration contains configurations set at client level, currently it only includes RetryPolicy
type CustomClientConfiguration struct {
RetryPolicy *RetryPolicy
CircuitBreaker *OciCircuitBreaker
RetryPolicy *RetryPolicy
CircuitBreaker *OciCircuitBreaker
RealmSpecificServiceEndpointTemplateEnabled *bool
}

// BaseClient struct implements all basic operations to call oci web services.
Expand Down Expand Up @@ -703,3 +704,12 @@ func CloseBodyIfValid(httpResponse *http.Response) {
httpResponse.Body.Close()
}
}

// IsOciRealmSpecificServiceEndpointTemplateEnabled returns true if the client is configured to use realm specific service endpoint template
// it will first check the client configuration, if not set, it will check the environment variable
func (client BaseClient) IsOciRealmSpecificServiceEndpointTemplateEnabled() bool {
if client.Configuration.RealmSpecificServiceEndpointTemplateEnabled != nil {
return *client.Configuration.RealmSpecificServiceEndpointTemplateEnabled
}
return IsEnvVarTrue(OciRealmSpecificServiceEndpointTemplateEnabledEnvVar)
}
21 changes: 21 additions & 0 deletions common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const (
realmKeyPropertyName = "realmKey" // e.g. "oc1"
realmDomainComponentPropertyName = "realmDomainComponent" // e.g. "oraclecloud.com"
regionKeyPropertyName = "regionKey" // e.g. "SYD"

// OciRealmSpecificServiceEndpointTemplateEnabledEnvVar is the environment variable name to enable the realm specific service endpoint template.
OciRealmSpecificServiceEndpointTemplateEnabledEnvVar = "OCI_REALM_SPECIFIC_SERVICE_ENDPOINT_TEMPLATE_ENABLED"
)

// External region metadata info flag, used to control adding these metadata region info only once.
Expand All @@ -47,6 +50,9 @@ var readCfgFile, readEnvVar, visitIMDS bool = true, true, false
// getRegionInfoFromInstanceMetadataService gets the region information
var getRegionInfoFromInstanceMetadataService = getRegionInfoFromInstanceMetadataServiceProd

// OciRealmSpecificServiceEndpointTemplateEnabled is the flag to enable the realm specific service endpoint template. This one has higher priority than the environment variable.
var OciRealmSpecificServiceEndpointTemplateEnabled *bool = nil

// Endpoint returns a endpoint for a service
func (region Region) Endpoint(service string) string {
return fmt.Sprintf("%s.%s.%s", service, region, region.secondLevelDomain())
Expand Down Expand Up @@ -388,3 +394,18 @@ func getRegionInfoFromInstanceMetadataServiceProd() ([]byte, error) {

return content, nil
}

// TemplateParamForPerRealmEndpoint is a template parameter for per-realm endpoint.
type TemplateParamForPerRealmEndpoint struct {
Template string
EndsWithDot bool
}

// SetMissingTemplateParams function will parse the {} template in client host and replace with empty string.
func SetMissingTemplateParams(client *BaseClient) {
templateRegex := regexp.MustCompile(`{.*?}`)
templates := templateRegex.FindAllString(client.Host, -1)
for _, template := range templates {
client.Host = strings.Replace(client.Host, template, "", -1)
}
}
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.

3 changes: 3 additions & 0 deletions database/autonomous_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ type AutonomousDatabase struct {
// The quantity of data in the database, in gigabytes.
DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"`

// The storage space consumed by Autonomous Database in GBs.
UsedDataStorageSizeInGBs *int `mandatory:"false" json:"usedDataStorageSizeInGBs"`

// The infrastructure type this resource belongs to.
InfrastructureType AutonomousDatabaseInfrastructureTypeEnum `mandatory:"false" json:"infrastructureType,omitempty"`

Expand Down
3 changes: 3 additions & 0 deletions database/autonomous_database_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ type AutonomousDatabaseSummary struct {
// The quantity of data in the database, in gigabytes.
DataStorageSizeInGBs *int `mandatory:"false" json:"dataStorageSizeInGBs"`

// The storage space consumed by Autonomous Database in GBs.
UsedDataStorageSizeInGBs *int `mandatory:"false" json:"usedDataStorageSizeInGBs"`

// The infrastructure type this resource belongs to.
InfrastructureType AutonomousDatabaseSummaryInfrastructureTypeEnum `mandatory:"false" json:"infrastructureType,omitempty"`

Expand Down
9 changes: 9 additions & 0 deletions database/cloud_autonomous_vm_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ type CloudAutonomousVmCluster struct {
// The compute model of the Cloud Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
ComputeModel CloudAutonomousVmClusterComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`

// Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS
IsMtlsEnabledVmCluster *bool `mandatory:"false" json:"isMtlsEnabledVmCluster"`

// The number of CPU cores enabled per VM cluster node.
CpuCoreCountPerNode *int `mandatory:"false" json:"cpuCoreCountPerNode"`

Expand All @@ -115,6 +118,12 @@ type CloudAutonomousVmCluster struct {

MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`

// The SCAN Listenenr TLS port. Default is 2484.
ScanListenerPortTls *int `mandatory:"false" json:"scanListenerPortTls"`

// The SCAN Listener Non TLS port. Default is 1521.
ScanListenerPortNonTls *int `mandatory:"false" json:"scanListenerPortNonTls"`

// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
Expand Down
9 changes: 9 additions & 0 deletions database/cloud_autonomous_vm_cluster_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ type CloudAutonomousVmClusterSummary struct {
// The compute model of the Cloud Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
ComputeModel CloudAutonomousVmClusterSummaryComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`

// Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS
IsMtlsEnabledVmCluster *bool `mandatory:"false" json:"isMtlsEnabledVmCluster"`

// The number of CPU cores enabled per VM cluster node.
CpuCoreCountPerNode *int `mandatory:"false" json:"cpuCoreCountPerNode"`

Expand All @@ -115,6 +118,12 @@ type CloudAutonomousVmClusterSummary struct {

MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`

// The SCAN Listenenr TLS port. Default is 2484.
ScanListenerPortTls *int `mandatory:"false" json:"scanListenerPortTls"`

// The SCAN Listener Non TLS port. Default is 1521.
ScanListenerPortNonTls *int `mandatory:"false" json:"scanListenerPortNonTls"`

// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
Expand Down
9 changes: 9 additions & 0 deletions database/create_cloud_autonomous_vm_cluster_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,20 @@ type CreateCloudAutonomousVmClusterDetails struct {
// The compute model of the Cloud Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
ComputeModel CreateCloudAutonomousVmClusterDetailsComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`

// Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS
IsMtlsEnabledVmCluster *bool `mandatory:"false" json:"isMtlsEnabledVmCluster"`

// The list of database servers.
DbServers []string `mandatory:"false" json:"dbServers"`

MaintenanceWindowDetails *MaintenanceWindow `mandatory:"false" json:"maintenanceWindowDetails"`

// The SCAN Listener TLS port. Default is 2484.
ScanListenerPortTls *int `mandatory:"false" json:"scanListenerPortTls"`

// The SCAN Listener Non TLS port. Default is 1521.
ScanListenerPortNonTls *int `mandatory:"false" json:"scanListenerPortNonTls"`

// The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle PaaS and IaaS services in the cloud.
// License Included allows you to subscribe to new Oracle Database software licenses and the Database service.
// Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html), this attribute must be null because the attribute is already set at the
Expand Down
2 changes: 2 additions & 0 deletions database/create_exadata_infrastructure_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ type CreateExadataInfrastructureDetails struct {
// using the UpdateExadatainfrastructure API.
IsCpsOfflineReportEnabled *bool `mandatory:"false" json:"isCpsOfflineReportEnabled"`

NetworkBondingModeDetails *NetworkBondingModeDetails `mandatory:"false" json:"networkBondingModeDetails"`

// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
Expand Down
72 changes: 39 additions & 33 deletions database/exadata_infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ type ExadataInfrastructure struct {
// using the UpdateExadatainfrastructure API.
IsCpsOfflineReportEnabled *bool `mandatory:"false" json:"isCpsOfflineReportEnabled"`

NetworkBondingModeDetails *NetworkBondingModeDetails `mandatory:"false" json:"networkBondingModeDetails"`

// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
// Example: `{"Department": "Finance"}`
Expand Down Expand Up @@ -193,45 +195,48 @@ type ExadataInfrastructureLifecycleStateEnum string

// Set of constants representing the allowable values for ExadataInfrastructureLifecycleStateEnum
const (
ExadataInfrastructureLifecycleStateCreating ExadataInfrastructureLifecycleStateEnum = "CREATING"
ExadataInfrastructureLifecycleStateRequiresActivation ExadataInfrastructureLifecycleStateEnum = "REQUIRES_ACTIVATION"
ExadataInfrastructureLifecycleStateActivating ExadataInfrastructureLifecycleStateEnum = "ACTIVATING"
ExadataInfrastructureLifecycleStateActive ExadataInfrastructureLifecycleStateEnum = "ACTIVE"
ExadataInfrastructureLifecycleStateActivationFailed ExadataInfrastructureLifecycleStateEnum = "ACTIVATION_FAILED"
ExadataInfrastructureLifecycleStateFailed ExadataInfrastructureLifecycleStateEnum = "FAILED"
ExadataInfrastructureLifecycleStateUpdating ExadataInfrastructureLifecycleStateEnum = "UPDATING"
ExadataInfrastructureLifecycleStateDeleting ExadataInfrastructureLifecycleStateEnum = "DELETING"
ExadataInfrastructureLifecycleStateDeleted ExadataInfrastructureLifecycleStateEnum = "DELETED"
ExadataInfrastructureLifecycleStateDisconnected ExadataInfrastructureLifecycleStateEnum = "DISCONNECTED"
ExadataInfrastructureLifecycleStateMaintenanceInProgress ExadataInfrastructureLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS"
ExadataInfrastructureLifecycleStateCreating ExadataInfrastructureLifecycleStateEnum = "CREATING"
ExadataInfrastructureLifecycleStateRequiresActivation ExadataInfrastructureLifecycleStateEnum = "REQUIRES_ACTIVATION"
ExadataInfrastructureLifecycleStateActivating ExadataInfrastructureLifecycleStateEnum = "ACTIVATING"
ExadataInfrastructureLifecycleStateActive ExadataInfrastructureLifecycleStateEnum = "ACTIVE"
ExadataInfrastructureLifecycleStateActivationFailed ExadataInfrastructureLifecycleStateEnum = "ACTIVATION_FAILED"
ExadataInfrastructureLifecycleStateFailed ExadataInfrastructureLifecycleStateEnum = "FAILED"
ExadataInfrastructureLifecycleStateUpdating ExadataInfrastructureLifecycleStateEnum = "UPDATING"
ExadataInfrastructureLifecycleStateDeleting ExadataInfrastructureLifecycleStateEnum = "DELETING"
ExadataInfrastructureLifecycleStateDeleted ExadataInfrastructureLifecycleStateEnum = "DELETED"
ExadataInfrastructureLifecycleStateDisconnected ExadataInfrastructureLifecycleStateEnum = "DISCONNECTED"
ExadataInfrastructureLifecycleStateMaintenanceInProgress ExadataInfrastructureLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS"
ExadataInfrastructureLifecycleStateWaitingForConnectivity ExadataInfrastructureLifecycleStateEnum = "WAITING_FOR_CONNECTIVITY"
)

var mappingExadataInfrastructureLifecycleStateEnum = map[string]ExadataInfrastructureLifecycleStateEnum{
"CREATING": ExadataInfrastructureLifecycleStateCreating,
"REQUIRES_ACTIVATION": ExadataInfrastructureLifecycleStateRequiresActivation,
"ACTIVATING": ExadataInfrastructureLifecycleStateActivating,
"ACTIVE": ExadataInfrastructureLifecycleStateActive,
"ACTIVATION_FAILED": ExadataInfrastructureLifecycleStateActivationFailed,
"FAILED": ExadataInfrastructureLifecycleStateFailed,
"UPDATING": ExadataInfrastructureLifecycleStateUpdating,
"DELETING": ExadataInfrastructureLifecycleStateDeleting,
"DELETED": ExadataInfrastructureLifecycleStateDeleted,
"DISCONNECTED": ExadataInfrastructureLifecycleStateDisconnected,
"MAINTENANCE_IN_PROGRESS": ExadataInfrastructureLifecycleStateMaintenanceInProgress,
"CREATING": ExadataInfrastructureLifecycleStateCreating,
"REQUIRES_ACTIVATION": ExadataInfrastructureLifecycleStateRequiresActivation,
"ACTIVATING": ExadataInfrastructureLifecycleStateActivating,
"ACTIVE": ExadataInfrastructureLifecycleStateActive,
"ACTIVATION_FAILED": ExadataInfrastructureLifecycleStateActivationFailed,
"FAILED": ExadataInfrastructureLifecycleStateFailed,
"UPDATING": ExadataInfrastructureLifecycleStateUpdating,
"DELETING": ExadataInfrastructureLifecycleStateDeleting,
"DELETED": ExadataInfrastructureLifecycleStateDeleted,
"DISCONNECTED": ExadataInfrastructureLifecycleStateDisconnected,
"MAINTENANCE_IN_PROGRESS": ExadataInfrastructureLifecycleStateMaintenanceInProgress,
"WAITING_FOR_CONNECTIVITY": ExadataInfrastructureLifecycleStateWaitingForConnectivity,
}

var mappingExadataInfrastructureLifecycleStateEnumLowerCase = map[string]ExadataInfrastructureLifecycleStateEnum{
"creating": ExadataInfrastructureLifecycleStateCreating,
"requires_activation": ExadataInfrastructureLifecycleStateRequiresActivation,
"activating": ExadataInfrastructureLifecycleStateActivating,
"active": ExadataInfrastructureLifecycleStateActive,
"activation_failed": ExadataInfrastructureLifecycleStateActivationFailed,
"failed": ExadataInfrastructureLifecycleStateFailed,
"updating": ExadataInfrastructureLifecycleStateUpdating,
"deleting": ExadataInfrastructureLifecycleStateDeleting,
"deleted": ExadataInfrastructureLifecycleStateDeleted,
"disconnected": ExadataInfrastructureLifecycleStateDisconnected,
"maintenance_in_progress": ExadataInfrastructureLifecycleStateMaintenanceInProgress,
"creating": ExadataInfrastructureLifecycleStateCreating,
"requires_activation": ExadataInfrastructureLifecycleStateRequiresActivation,
"activating": ExadataInfrastructureLifecycleStateActivating,
"active": ExadataInfrastructureLifecycleStateActive,
"activation_failed": ExadataInfrastructureLifecycleStateActivationFailed,
"failed": ExadataInfrastructureLifecycleStateFailed,
"updating": ExadataInfrastructureLifecycleStateUpdating,
"deleting": ExadataInfrastructureLifecycleStateDeleting,
"deleted": ExadataInfrastructureLifecycleStateDeleted,
"disconnected": ExadataInfrastructureLifecycleStateDisconnected,
"maintenance_in_progress": ExadataInfrastructureLifecycleStateMaintenanceInProgress,
"waiting_for_connectivity": ExadataInfrastructureLifecycleStateWaitingForConnectivity,
}

// GetExadataInfrastructureLifecycleStateEnumValues Enumerates the set of values for ExadataInfrastructureLifecycleStateEnum
Expand All @@ -257,6 +262,7 @@ func GetExadataInfrastructureLifecycleStateEnumStringValues() []string {
"DELETED",
"DISCONNECTED",
"MAINTENANCE_IN_PROGRESS",
"WAITING_FOR_CONNECTIVITY",
}
}

Expand Down
Loading

0 comments on commit 767f67e

Please sign in to comment.