Skip to content

Commit ecfd301

Browse files
Merge remote-tracking branch 'bitbucket/github' into release_2025-04-08
2 parents ec8c02c + 9b3768c commit ecfd301

File tree

53 files changed

+3593
-93
lines changed

Some content is hidden

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

53 files changed

+3593
-93
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ 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+
## 65.89.0 - 2025-04-08
8+
### Added
9+
- Support for connector source and targets with private endpoints in the Resource Scheduler service
10+
- Support for Cross Region Replication(XRR) for external key managers in the Key Management service
11+
- Support for dry run of function invocation in the Functions service
12+
- Support for collecting diagnostics for ZeroETL pipelines in the GoldenGate service
13+
- Support for adding, removing and switchover to local peers of deployment in different availability and fault domains within in the same region in the GoldenGate service
14+
- Support for creating standby deployments in the GoldenGate service
15+
16+
### Breaking Changes
17+
- The type of properties `Tasks`, `Target`, and `Source` were changed to `TaskDetailsResponse`, `TargetDetailsResponse`, and `SourceDetailsResponse` respectively in the model `ServiceConnector` in the Resource Scheduler service
18+
719
## 65.88.1 - 2025-04-01
820
### Added
921
- Support for the Lustre File service

common/version.go

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

functions/invoke_function_request_response.go

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ type InvokeFunctionRequest struct {
3737
// particular request, please provide the request ID.
3838
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
3939

40+
// Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
41+
IsDryRun *bool `mandatory:"false" contributesTo:"header" name:"is-dry-run"`
42+
4043
// Metadata about the request. This information will not be transmitted to the service, but
4144
// represents information that the SDK will consume to drive retry behavior.
4245
RequestMetadata common.RequestMetadata
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// GoldenGate API
6+
//
7+
// Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
8+
//
9+
10+
package goldengate
11+
12+
import (
13+
"fmt"
14+
"github.com/oracle/oci-go-sdk/v65/common"
15+
"strings"
16+
)
17+
18+
// AddDeploymentLocalPeerDetails The information about adding a deployment peer in list.
19+
type AddDeploymentLocalPeerDetails struct {
20+
21+
// The availability domain of a placement.
22+
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
23+
24+
// The fault domain of a placement.
25+
FaultDomain *string `mandatory:"false" json:"faultDomain"`
26+
}
27+
28+
func (m AddDeploymentLocalPeerDetails) String() string {
29+
return common.PointerString(m)
30+
}
31+
32+
// ValidateEnumValue returns an error when providing an unsupported enum value
33+
// This function is being called during constructing API request process
34+
// Not recommended for calling this function directly
35+
func (m AddDeploymentLocalPeerDetails) ValidateEnumValue() (bool, error) {
36+
errMessage := []string{}
37+
38+
if len(errMessage) > 0 {
39+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
40+
}
41+
return false, nil
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
package goldengate
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// AddDeploymentLocalPeerRequest wrapper for the AddDeploymentLocalPeer operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/goldengate/AddDeploymentLocalPeer.go.html to see an example of how to use AddDeploymentLocalPeerRequest.
19+
type AddDeploymentLocalPeerRequest struct {
20+
21+
// A unique Deployment identifier.
22+
DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"`
23+
24+
// Metadata to add a local deployment
25+
AddDeploymentLocalPeerDetails `contributesTo:"body"`
26+
27+
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
28+
// `if-match` parameter to the value of the etag from a previous GET or POST response for that
29+
// resource. The resource is updated or deleted only if the etag you provide matches the
30+
// resource's current etag value.
31+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
32+
33+
// The client request ID for tracing.
34+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
35+
36+
// A token that uniquely identifies a request so it can be retried, in case of a timeout or server error,
37+
// without the risk of executing that same action again. Retry tokens expire after 24 hours but can be
38+
// invalidated before then due to conflicting operations. For example, if a resource was deleted and purged
39+
// from the system, then a retry of the original creation request is rejected.
40+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
41+
42+
// Metadata about the request. This information will not be transmitted to the service, but
43+
// represents information that the SDK will consume to drive retry behavior.
44+
RequestMetadata common.RequestMetadata
45+
}
46+
47+
func (request AddDeploymentLocalPeerRequest) String() string {
48+
return common.PointerString(request)
49+
}
50+
51+
// HTTPRequest implements the OCIRequest interface
52+
func (request AddDeploymentLocalPeerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
53+
54+
_, err := request.ValidateEnumValue()
55+
if err != nil {
56+
return http.Request{}, err
57+
}
58+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
59+
}
60+
61+
// BinaryRequestBody implements the OCIRequest interface
62+
func (request AddDeploymentLocalPeerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
63+
64+
return nil, false
65+
66+
}
67+
68+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
69+
func (request AddDeploymentLocalPeerRequest) RetryPolicy() *common.RetryPolicy {
70+
return request.RequestMetadata.RetryPolicy
71+
}
72+
73+
// ValidateEnumValue returns an error when providing an unsupported enum value
74+
// This function is being called during constructing API request process
75+
// Not recommended for calling this function directly
76+
func (request AddDeploymentLocalPeerRequest) ValidateEnumValue() (bool, error) {
77+
errMessage := []string{}
78+
if len(errMessage) > 0 {
79+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
80+
}
81+
return false, nil
82+
}
83+
84+
// AddDeploymentLocalPeerResponse wrapper for the AddDeploymentLocalPeer operation
85+
type AddDeploymentLocalPeerResponse struct {
86+
87+
// The underlying http response
88+
RawResponse *http.Response
89+
90+
// A unique Oracle-assigned identifier for an asynchronous request. You can use this to query
91+
// status of the asynchronous operation.
92+
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
93+
94+
// A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
95+
// particular request, please include the request ID.
96+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
97+
}
98+
99+
func (response AddDeploymentLocalPeerResponse) String() string {
100+
return common.PointerString(response)
101+
}
102+
103+
// HTTPResponse implements the OCIResponse interface
104+
func (response AddDeploymentLocalPeerResponse) HTTPResponse() *http.Response {
105+
return response.RawResponse
106+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// GoldenGate API
6+
//
7+
// Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations.
8+
//
9+
10+
package goldengate
11+
12+
import (
13+
"fmt"
14+
"github.com/oracle/oci-go-sdk/v65/common"
15+
"strings"
16+
)
17+
18+
// CollectPipelineDiagnosticDetails Details for collecting pipeline diagnostics
19+
type CollectPipelineDiagnosticDetails struct {
20+
21+
// Name of namespace that serves as a container for all of your buckets
22+
NamespaceName *string `mandatory:"true" json:"namespaceName"`
23+
24+
// Name of the bucket where the object is to be uploaded in the object storage
25+
BucketName *string `mandatory:"true" json:"bucketName"`
26+
27+
// Name of the diagnostic collected and uploaded to object storage
28+
DiagnosticNamePrefix *string `mandatory:"false" json:"diagnosticNamePrefix"`
29+
}
30+
31+
func (m CollectPipelineDiagnosticDetails) String() string {
32+
return common.PointerString(m)
33+
}
34+
35+
// ValidateEnumValue returns an error when providing an unsupported enum value
36+
// This function is being called during constructing API request process
37+
// Not recommended for calling this function directly
38+
func (m CollectPipelineDiagnosticDetails) ValidateEnumValue() (bool, error) {
39+
errMessage := []string{}
40+
41+
if len(errMessage) > 0 {
42+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
43+
}
44+
return false, nil
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
package goldengate
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// CollectPipelineDiagnosticRequest wrapper for the CollectPipelineDiagnostic operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/goldengate/CollectPipelineDiagnostic.go.html to see an example of how to use CollectPipelineDiagnosticRequest.
19+
type CollectPipelineDiagnosticRequest struct {
20+
21+
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline created.
22+
PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"`
23+
24+
// Details for collecting the diagnostic. It includes the object storage information where the diagnostic will be uploaded.
25+
CollectPipelineDiagnosticDetails `contributesTo:"body"`
26+
27+
// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
28+
// `if-match` parameter to the value of the etag from a previous GET or POST response for that
29+
// resource. The resource is updated or deleted only if the etag you provide matches the
30+
// resource's current etag value.
31+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
32+
33+
// The client request ID for tracing.
34+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
35+
36+
// A token that uniquely identifies a request so it can be retried, in case of a timeout or server error,
37+
// without the risk of executing that same action again. Retry tokens expire after 24 hours but can be
38+
// invalidated before then due to conflicting operations. For example, if a resource was deleted and purged
39+
// from the system, then a retry of the original creation request is rejected.
40+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
41+
42+
// Metadata about the request. This information will not be transmitted to the service, but
43+
// represents information that the SDK will consume to drive retry behavior.
44+
RequestMetadata common.RequestMetadata
45+
}
46+
47+
func (request CollectPipelineDiagnosticRequest) String() string {
48+
return common.PointerString(request)
49+
}
50+
51+
// HTTPRequest implements the OCIRequest interface
52+
func (request CollectPipelineDiagnosticRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
53+
54+
_, err := request.ValidateEnumValue()
55+
if err != nil {
56+
return http.Request{}, err
57+
}
58+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
59+
}
60+
61+
// BinaryRequestBody implements the OCIRequest interface
62+
func (request CollectPipelineDiagnosticRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
63+
64+
return nil, false
65+
66+
}
67+
68+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
69+
func (request CollectPipelineDiagnosticRequest) RetryPolicy() *common.RetryPolicy {
70+
return request.RequestMetadata.RetryPolicy
71+
}
72+
73+
// ValidateEnumValue returns an error when providing an unsupported enum value
74+
// This function is being called during constructing API request process
75+
// Not recommended for calling this function directly
76+
func (request CollectPipelineDiagnosticRequest) ValidateEnumValue() (bool, error) {
77+
errMessage := []string{}
78+
if len(errMessage) > 0 {
79+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
80+
}
81+
return false, nil
82+
}
83+
84+
// CollectPipelineDiagnosticResponse wrapper for the CollectPipelineDiagnostic operation
85+
type CollectPipelineDiagnosticResponse struct {
86+
87+
// The underlying http response
88+
RawResponse *http.Response
89+
90+
// A unique Oracle-assigned identifier for an asynchronous request. You can use this to query
91+
// status of the asynchronous operation.
92+
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
93+
94+
// A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
95+
// particular request, please include the request ID.
96+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
97+
}
98+
99+
func (response CollectPipelineDiagnosticResponse) String() string {
100+
return common.PointerString(response)
101+
}
102+
103+
// HTTPResponse implements the OCIResponse interface
104+
func (response CollectPipelineDiagnosticResponse) HTTPResponse() *http.Response {
105+
return response.RawResponse
106+
}

0 commit comments

Comments
 (0)