Skip to content

Commit 57427b1

Browse files
authored
Releasing version 15.0.0 (#210)
Squashed commit of the following: commit 1e55444516c005da93fc9edbc5fbb34b58307f3b Author: Sun Yan <[email protected]> Date: Tue Jan 7 18:15:31 2020 +0000 Releasing version 15 0 0
1 parent 06d9215 commit 57427b1

Some content is hidden

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

45 files changed

+99
-65
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

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

7+
## 15.0.0 - 2020-01-07
8+
### Added
9+
- Support for optionally specifying the corporate proxy field when creating Exadata infrastructure in the Database service
10+
- Support for maintenance windows, and rescheduling maintenance runs, on autonomous container databases in the Database service
11+
12+
### Breaking changes
13+
- Field `hostname` in `NodeDetails` from Database service is changed to mandatory
14+
715
## 14.0.0 - 2019-12-17
816
### Added
917
- Support for the API Gateway service

common/auth/federation_client.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,14 @@ func (c *x509FederationClient) getSecurityToken() (securityToken, error) {
290290

291291
var httpResponse *http.Response
292292
defer common.CloseBodyIfValid(httpResponse)
293-
if httpResponse, err = c.authClient.Call(context.Background(), &httpRequest); err != nil {
293+
294+
for retry := 0; retry < 5; retry++ {
295+
if httpResponse, err = c.authClient.Call(context.Background(), &httpRequest); err == nil {
296+
break
297+
}
298+
time.Sleep(250 * time.Microsecond)
299+
}
300+
if err != nil {
294301
return nil, fmt.Errorf("failed to call: %s", err.Error())
295302
}
296303

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/volume_backup_schedule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ const (
223223
)
224224

225225
var mappingVolumeBackupScheduleTimeZone = map[string]VolumeBackupScheduleTimeZoneEnum{
226-
"UTC": VolumeBackupScheduleTimeZoneUtc,
226+
"UTC": VolumeBackupScheduleTimeZoneUtc,
227227
"REGIONAL_DATA_CENTER_TIME": VolumeBackupScheduleTimeZoneRegionalDataCenterTime,
228228
}
229229

database/autonomous_container_database.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ type AutonomousContainerDatabase struct {
4848
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the next maintenance run.
4949
NextMaintenanceRunId *string `mandatory:"false" json:"nextMaintenanceRunId"`
5050

51+
MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`
52+
5153
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
5254
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
5355
// Example: `{"Department": "Finance"}`

database/autonomous_container_database_summary.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ type AutonomousContainerDatabaseSummary struct {
4848
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the next maintenance run.
4949
NextMaintenanceRunId *string `mandatory:"false" json:"nextMaintenanceRunId"`
5050

51+
MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`
52+
5153
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
5254
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
5355
// Example: `{"Department": "Finance"}`

database/create_autonomous_container_database_details.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ type CreateAutonomousContainerDatabaseDetails struct {
3030
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the Autonomous Container Database.
3131
CompartmentId *string `mandatory:"false" json:"compartmentId"`
3232

33+
MaintenanceWindowDetails *MaintenanceWindow `mandatory:"false" json:"maintenanceWindowDetails"`
34+
3335
// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
3436
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
3537
// Example: `{"Department": "Finance"}`

database/create_db_home_base.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import (
1313
"github.com/oracle/oci-go-sdk/common"
1414
)
1515

16-
// CreateDbHomeBase Details for creating a database home.
16+
// CreateDbHomeBase Details for creating a Database Home.
1717
// **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
1818
type CreateDbHomeBase interface {
1919

20-
// The user-provided name of the database home.
20+
// The user-provided name of the Database Home.
2121
GetDisplayName() *string
2222
}
2323

database/create_db_home_details.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/oracle/oci-go-sdk/common"
1313
)
1414

15-
// CreateDbHomeDetails Details for creating a database home.
15+
// CreateDbHomeDetails Details for creating a Database Home.
1616
// **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
1717
type CreateDbHomeDetails struct {
1818

@@ -21,7 +21,7 @@ type CreateDbHomeDetails struct {
2121

2222
Database *CreateDatabaseDetails `mandatory:"true" json:"database"`
2323

24-
// The user-provided name of the database home.
24+
// The user-provided name of the Database Home.
2525
DisplayName *string `mandatory:"false" json:"displayName"`
2626
}
2727

database/create_db_home_from_backup_details.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ import (
1212
"github.com/oracle/oci-go-sdk/common"
1313
)
1414

15-
// CreateDbHomeFromBackupDetails Details for creating a database home if you are creating a database by restoring from a database backup.
15+
// CreateDbHomeFromBackupDetails Details for creating a Database Home if you are creating a database by restoring from a database backup.
1616
// **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
1717
type CreateDbHomeFromBackupDetails struct {
1818
Database *CreateDatabaseFromBackupDetails `mandatory:"true" json:"database"`
1919

20-
// The user-provided name of the database home.
20+
// The user-provided name of the Database Home.
2121
DisplayName *string `mandatory:"false" json:"displayName"`
2222
}
2323

0 commit comments

Comments
 (0)