Skip to content

Commit 366e055

Browse files
authored
Merge pull request #145 from oracle/release_2018-12-13
Release 2018 12 13
2 parents 45c946f + aef12be commit 366e055

File tree

137 files changed

+2309
-1535
lines changed

Some content is hidden

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

137 files changed

+2309
-1535
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ 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+
## 3.3.0 - 2018-12-13
8+
### Added
9+
- Support for Data Guard for VM shapes in the Database service
10+
- Support for sparse disk groups for Exadata shapes in the Database service
11+
- Support for a new field, isLatestForMajorVersion, when listing DB versions in the Database service
12+
- Support for in-transit encryption for paravirtualized boot volume and data volume attachments in the Block Storage service
13+
- Support for tagging DNS Zones in the DNS service
14+
- Support for resetting credentials for SCIM clients associated with an Identity provider and updating user capabilities in the Identity service
15+
716
## 3.2.0 - 2018-11-29
817
### Added
918
- Support for getting bucket statistics in the Object Storage service

LICENSE.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
22

3-
This software is dual-licensed to you under the Universal Permissive License (UPL) and Apache License 2.0.  See below for license terms.  You may choose either license, or both.
3+
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
44
 ____________________________
55
The Universal Permissive License (UPL), Version 1.0
66
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
@@ -27,7 +27,7 @@ Apache License
2727

2828
Version 2.0, January 2004
2929

30-
http://www.apache.org/licenses/
30+
http://www.apache.org/licenses/
3131
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3232
1. Definitions.
3333
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
@@ -46,9 +46,9 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
4646
You must give any other recipients of the Work or Derivative Works a copy of this License; and
4747
You must cause any modified files to carry prominent notices stating that You changed the files; and
4848
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
49-
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
49+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
5050

51-
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
51+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5252
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
5353
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
5454
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

common/configuration.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func parseConfigAtLine(start int, content []string) (info *configFileInfo, err e
321321
func expandPath(filepath string) (expandedPath string) {
322322
cleanedPath := path.Clean(filepath)
323323
expandedPath = cleanedPath
324-
if strings.HasPrefix(cleanedPath, "~/") {
324+
if strings.HasPrefix(cleanedPath, "~") {
325325
rest := cleanedPath[2:]
326326
expandedPath = path.Join(getHomeFolder(), rest)
327327
}

common/http.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ func intSizeFromKind(kind reflect.Kind) int {
631631
case reflect.Int, reflect.Uint:
632632
return strconv.IntSize
633633
default:
634-
Debugln("The type is not valid: %v. Returing int size for arch", kind.String())
634+
Debugf("The type is not valid: %v. Returing int size for arch\n", kind.String())
635635
return strconv.IntSize
636636
}
637637

common/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/attach_paravirtualized_volume_details.go

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ type AttachParavirtualizedVolumeDetails struct {
2727

2828
// Whether the attachment was created in read-only mode.
2929
IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
30+
31+
// Whether to enable encryption in transit for the PV data volume attachment. Defaults to false.
32+
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
3033
}
3134

3235
//GetDisplayName returns DisplayName

core/boot_volume_attachment.go

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ type BootVolumeAttachment struct {
4444
// Avoid entering confidential information.
4545
// Example: `My boot volume`
4646
DisplayName *string `mandatory:"false" json:"displayName"`
47+
48+
// Whether the enable encryption in transit for the PV volume attachment is on or not.
49+
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
4750
}
4851

4952
func (m BootVolumeAttachment) String() string {

core/core_virtualnetwork_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5175,7 +5175,7 @@ func (client VirtualNetworkClient) updatePrivateIp(ctx context.Context, request
51755175
// * If you want to unassign an ephemeral public IP from its private IP, use
51765176
// DeletePublicIp, which
51775177
// unassigns and deletes the ephemeral public IP.
5178-
// **Note:** If a public IP (either ephemeral or reserved) is assigned to a secondary private
5178+
// **Note:** If a public IP is assigned to a secondary private
51795179
// IP (see PrivateIp), and you move that secondary
51805180
// private IP to another VNIC, the public IP moves with it.
51815181
// **Note:** There's a limit to the number of PublicIp

core/create_drg_attachment_details.go

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ type CreateDrgAttachmentDetails struct {
2828
// If you don't specify a route table here, the DRG attachment is created without an associated route
2929
// table. The Networking service does NOT automatically associate the attached VCN's default route table
3030
// with the DRG attachment.
31+
// For information about why you would associate a route table with a DRG attachment, see
32+
// Advanced Scenario: Transit Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
3133
RouteTableId *string `mandatory:"false" json:"routeTableId"`
3234
}
3335

core/create_local_peering_gateway_details.go

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ type CreateLocalPeeringGatewayDetails struct {
4040
// If you don't specify a route table here, the LPG is created without an associated route
4141
// table. The Networking service does NOT automatically associate the attached VCN's default route table
4242
// with the LPG.
43+
// For information about why you would associate a route table with an LPG, see
44+
// Advanced Scenario: Transit Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
4345
RouteTableId *string `mandatory:"false" json:"routeTableId"`
4446
}
4547

core/cross_connect_mapping.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
// If you're a customer who is colocated with Oracle, that means you own both
2323
// the virtual circuit and the physical connection it runs on (cross-connect or
2424
// cross-connect group), so you specify all the information in the mapping. There's
25-
// one exception: for a public virtual circuit, Oracle specifies the BGP IP
25+
// one exception: for a public virtual circuit, Oracle specifies the BGP IPv4
2626
// addresses.
2727
// If you're a provider, then you own the physical connection that the customer's
2828
// virtual circuit runs on, so you contribute information about the cross-connect
@@ -32,7 +32,7 @@ import (
3232
// the provider also specifies the BGP peering information. If the BGP session instead
3333
// goes from Oracle to the customer's edge router, then the customer specifies the BGP
3434
// peering information. There's one exception: for a public virtual circuit, Oracle
35-
// specifies the BGP IP addresses.
35+
// specifies the BGP IPv4 addresses.
3636
type CrossConnectMapping struct {
3737

3838
// The key for BGP MD5 authentication. Only applicable if your system
@@ -46,20 +46,20 @@ type CrossConnectMapping struct {
4646
// customer is connecting via provider).
4747
CrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"crossConnectOrCrossConnectGroupId"`
4848

49-
// The BGP IP address for the router on the other end of the BGP session from
49+
// The BGP IPv4 address for the router on the other end of the BGP session from
5050
// Oracle. Specified by the owner of that router. If the session goes from Oracle
51-
// to a customer, this is the BGP IP address of the customer's edge router. If the
52-
// session goes from Oracle to a provider, this is the BGP IP address of the
51+
// to a customer, this is the BGP IPv4 address of the customer's edge router. If the
52+
// session goes from Oracle to a provider, this is the BGP IPv4 address of the
5353
// provider's edge router. Must use a /30 or /31 subnet mask.
54-
// There's one exception: for a public virtual circuit, Oracle specifies the BGP IP addresses.
54+
// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
5555
// Example: `10.0.0.18/31`
5656
CustomerBgpPeeringIp *string `mandatory:"false" json:"customerBgpPeeringIp"`
5757

58-
// The IP address for Oracle's end of the BGP session. Must use a /30 or /31
58+
// The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31
5959
// subnet mask. If the session goes from Oracle to a customer's edge router,
6060
// the customer specifies this information. If the session goes from Oracle to
6161
// a provider's edge router, the provider specifies this.
62-
// There's one exception: for a public virtual circuit, Oracle specifies the BGP IP addresses.
62+
// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
6363
// Example: `10.0.0.19/31`
6464
OracleBgpPeeringIp *string `mandatory:"false" json:"oracleBgpPeeringIp"`
6565

core/dhcp_dns_option.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
type DhcpDnsOption struct {
2020

2121
// If you set `serverType` to `CustomDnsServer`, specify the
22-
// IP address of at least one DNS server of your choice (three maximum). gd
22+
// IP address of at least one DNS server of your choice (three maximum).
2323
CustomDnsServers []string `mandatory:"false" json:"customDnsServers"`
2424

2525
// * **VcnLocal:** Reserved for future use.

core/drg_attachment.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ type DrgAttachment struct {
3737
// Avoid entering confidential information.
3838
DisplayName *string `mandatory:"false" json:"displayName"`
3939

40-
// The OCID of the route table the DRG attachment is using.
40+
// The OCID of the route table the DRG attachment is using. For information about why you
41+
// would associate a route table with a DRG attachment, see
42+
// Advanced Scenario: Transit Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
4143
RouteTableId *string `mandatory:"false" json:"routeTableId"`
4244

4345
// The date and time the DRG attachment was created, in the format defined by RFC3339.

core/i_scsi_volume_attachment.go

+8
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ type IScsiVolumeAttachment struct {
5656
// Whether the attachment was created in read-only mode.
5757
IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
5858

59+
// Whether the enable encryption in transit for the PV volume attachment is on or not.
60+
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
61+
5962
// The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name.
6063
// (Also called the "CHAP password".)
6164
// Example: `d6866c0d-298b-48ba-95af-309b4faux45e`
@@ -114,6 +117,11 @@ func (m IScsiVolumeAttachment) GetVolumeId() *string {
114117
return m.VolumeId
115118
}
116119

120+
//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled
121+
func (m IScsiVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool {
122+
return m.IsPvEncryptionInTransitEnabled
123+
}
124+
117125
func (m IScsiVolumeAttachment) String() string {
118126
return common.PointerString(m)
119127
}

core/launch_instance_details.go

+20-15
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ type LaunchInstanceDetails struct {
149149
// CreateVnicDetails.
150150
// At least one of them is required; if you provide both, the values must match.
151151
SubnetId *string `mandatory:"false" json:"subnetId"`
152+
153+
// Whether to enable encryption in transit for the PV boot volume attachment. Defaults to false.
154+
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
152155
}
153156

154157
func (m LaunchInstanceDetails) String() string {
@@ -158,21 +161,22 @@ func (m LaunchInstanceDetails) String() string {
158161
// UnmarshalJSON unmarshals from json
159162
func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) {
160163
model := struct {
161-
CreateVnicDetails *CreateVnicDetails `json:"createVnicDetails"`
162-
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
163-
DisplayName *string `json:"displayName"`
164-
ExtendedMetadata map[string]interface{} `json:"extendedMetadata"`
165-
FaultDomain *string `json:"faultDomain"`
166-
FreeformTags map[string]string `json:"freeformTags"`
167-
HostnameLabel *string `json:"hostnameLabel"`
168-
ImageId *string `json:"imageId"`
169-
IpxeScript *string `json:"ipxeScript"`
170-
Metadata map[string]string `json:"metadata"`
171-
SourceDetails instancesourcedetails `json:"sourceDetails"`
172-
SubnetId *string `json:"subnetId"`
173-
AvailabilityDomain *string `json:"availabilityDomain"`
174-
CompartmentId *string `json:"compartmentId"`
175-
Shape *string `json:"shape"`
164+
CreateVnicDetails *CreateVnicDetails `json:"createVnicDetails"`
165+
DefinedTags map[string]map[string]interface{} `json:"definedTags"`
166+
DisplayName *string `json:"displayName"`
167+
ExtendedMetadata map[string]interface{} `json:"extendedMetadata"`
168+
FaultDomain *string `json:"faultDomain"`
169+
FreeformTags map[string]string `json:"freeformTags"`
170+
HostnameLabel *string `json:"hostnameLabel"`
171+
ImageId *string `json:"imageId"`
172+
IpxeScript *string `json:"ipxeScript"`
173+
Metadata map[string]string `json:"metadata"`
174+
SourceDetails instancesourcedetails `json:"sourceDetails"`
175+
SubnetId *string `json:"subnetId"`
176+
IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"`
177+
AvailabilityDomain *string `json:"availabilityDomain"`
178+
CompartmentId *string `json:"compartmentId"`
179+
Shape *string `json:"shape"`
176180
}{}
177181

178182
e = json.Unmarshal(data, &model)
@@ -199,6 +203,7 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) {
199203
m.SourceDetails = nil
200204
}
201205
m.SubnetId = model.SubnetId
206+
m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled
202207
m.AvailabilityDomain = model.AvailabilityDomain
203208
m.CompartmentId = model.CompartmentId
204209
m.Shape = model.Shape

core/launch_options.go

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ type LaunchOptions struct {
4747
// volumes on Oracle provided images.
4848
// * `PARAVIRTUALIZED` - Paravirtualized disk.
4949
RemoteDataVolumeType LaunchOptionsRemoteDataVolumeTypeEnum `mandatory:"true" json:"remoteDataVolumeType"`
50+
51+
// Whether to enable encryption in transit for the PV boot volume attachment. Defaults to false.
52+
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
5053
}
5154

5255
func (m LaunchOptions) String() string {

core/local_peering_gateway.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ type LocalPeeringGateway struct {
8080
// Additional information regarding the peering status, if applicable.
8181
PeeringStatusDetails *string `mandatory:"false" json:"peeringStatusDetails"`
8282

83-
// The OCID of the route table the LPG is using.
83+
// The OCID of the route table the LPG is using. For information about why you
84+
// would associate a route table with an LPG, see
85+
// Advanced Scenario: Transit Routing (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
8486
RouteTableId *string `mandatory:"false" json:"routeTableId"`
8587
}
8688

core/paravirtualized_volume_attachment.go

+8
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ type ParavirtualizedVolumeAttachment struct {
4444
// Whether the attachment was created in read-only mode.
4545
IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
4646

47+
// Whether the enable encryption in transit for the PV volume attachment is on or not.
48+
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
49+
4750
// The current state of the volume attachment.
4851
LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
4952
}
@@ -93,6 +96,11 @@ func (m ParavirtualizedVolumeAttachment) GetVolumeId() *string {
9396
return m.VolumeId
9497
}
9598

99+
//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled
100+
func (m ParavirtualizedVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool {
101+
return m.IsPvEncryptionInTransitEnabled
102+
}
103+
96104
func (m ParavirtualizedVolumeAttachment) String() string {
97105
return common.PointerString(m)
98106
}

0 commit comments

Comments
 (0)