Skip to content

Commit bf59043

Browse files
author
DEXREQ Automation
committed
Merge pull request #2564 in SDK/oci-go-sdk from merge_to_github2023-10-23 to github
Releasing Version 65.51.0 Squashed commit of the following: commit eed0ed69e13c25ab3fff7296ee06d16d42f341ee Author: oci-dex-release-bot <oci-dex-releases-bot_ww@oracle.com> Date: Mon Oct 23 17:39:50 2023 +0000 Releasing version 65 51 0
1 parent b81ccef commit bf59043

File tree

319 files changed

+21434
-943
lines changed

Some content is hidden

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

319 files changed

+21434
-943
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ 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.51.0 - 2023-10-24
8+
### Added
9+
- Support for optional parameters for autonomous container database create and update operations in the Database service
10+
- Support for maintenance runs for autonomous container database resources in the Database service
11+
- Support for runtime unsupported connections for Oracle Database and MySQL database types in the Database Tools service
12+
- Support for PostgreSQL, Generic JDBC connections with runtime unsupported in the Database Tools service
13+
- Support for resource locking in the Database Tools service
14+
- Support for proxy sessions for Oracle database connections in the Database Tools service
15+
- Support for global active tables in the NoSQL Database service
16+
- Support for application dependency management (ADM) remediation features in the Application Dependency Management service
17+
- Support for additional connections types for Amazon Kinesis, Amazon Redshift, Elasticsearch, Generic, Google BigQuery, Google Cloud Storage and Redis Database resources in the Golden Gate service
18+
- Support for optional parameters for the list alarms status operation in the Monitoring Service
19+
20+
### Breaking Changes
21+
- Support for retries by default on operations of the Database Tools service
22+
- Support for retries by default on operations of the Monitoring service
23+
- The property `OpcRetryToken` was removed from `ChangeDatabaseToolsPrivateEndpointCompartmentRequest` and `ChangeDatabaseToolsConnectionCompartmentRequest` models in the Database Tools service
24+
25+
726
## 65.50.0 - 2023-10-17
827
### Added
928
- Support for the Caching Service

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ clean: $(TARGETS_CLEAN)
4646

4747
$(TARGETS_LINT): lint-%:%
4848
@echo "linting and formatting: $<"
49-
@(cd $< && gofmt -s -w .)
49+
@(cd $< && gofmt -s -w . && gofmt -s -w .)
5050
@if [ \( $< = common \) -o \( $< = common/auth \) ]; then\
5151
(cd $< && $(GOLINT) -set_exit_status .);\
5252
else\
@@ -55,7 +55,7 @@ $(TARGETS_LINT): lint-%:%
5555

5656
$(TARGETS_STATIC): staticcheck-%:%
5757
@echo "Formating and Static-Checking: $<"
58-
@(cd $< && gofmt -s -w .)
58+
@(cd $< && gofmt -s -w . && gofmt -s -w .)
5959
@(cd $< && $(STATICCHECK) ./...);\
6060

6161

@@ -111,5 +111,5 @@ release: gen-version build pre-doc
111111

112112
build-autotest:
113113
@if [ -d $(AUTOTEST_DIR) ]; then\
114-
(cd $(AUTOTEST_DIR) && gofmt -s -w . && go test -c);\
114+
(cd $(AUTOTEST_DIR) && gofmt -s -w . && gofmt -s -w . && go test -c);\
115115
fi
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
// Copyright (c) 2016, 2018, 2023, 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 adm
6+
7+
import (
8+
"fmt"
9+
"github.com/oracle/oci-go-sdk/v65/common"
10+
"net/http"
11+
"strings"
12+
)
13+
14+
// ActivateRemediationRecipeRequest wrapper for the ActivateRemediationRecipe operation
15+
//
16+
// # See also
17+
//
18+
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/adm/ActivateRemediationRecipe.go.html to see an example of how to use ActivateRemediationRecipeRequest.
19+
type ActivateRemediationRecipeRequest struct {
20+
21+
// The Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
22+
RemediationRecipeId *string `mandatory:"true" contributesTo:"path" name:"remediationRecipeId"`
23+
24+
// For optimistic concurrency control. In the PUT or DELETE call
25+
// for a resource, set the `if-match` parameter to the value of the
26+
// etag from a previous GET or POST response for that resource.
27+
// The resource will be updated or deleted only if the etag you
28+
// provide matches the resource's current etag value.
29+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
30+
31+
// The client request ID for tracing.
32+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
33+
34+
// Metadata about the request. This information will not be transmitted to the service, but
35+
// represents information that the SDK will consume to drive retry behavior.
36+
RequestMetadata common.RequestMetadata
37+
}
38+
39+
func (request ActivateRemediationRecipeRequest) String() string {
40+
return common.PointerString(request)
41+
}
42+
43+
// HTTPRequest implements the OCIRequest interface
44+
func (request ActivateRemediationRecipeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
45+
46+
_, err := request.ValidateEnumValue()
47+
if err != nil {
48+
return http.Request{}, err
49+
}
50+
return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders)
51+
}
52+
53+
// BinaryRequestBody implements the OCIRequest interface
54+
func (request ActivateRemediationRecipeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
55+
56+
return nil, false
57+
58+
}
59+
60+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
61+
func (request ActivateRemediationRecipeRequest) RetryPolicy() *common.RetryPolicy {
62+
return request.RequestMetadata.RetryPolicy
63+
}
64+
65+
// ValidateEnumValue returns an error when providing an unsupported enum value
66+
// This function is being called during constructing API request process
67+
// Not recommended for calling this function directly
68+
func (request ActivateRemediationRecipeRequest) ValidateEnumValue() (bool, error) {
69+
errMessage := []string{}
70+
if len(errMessage) > 0 {
71+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
72+
}
73+
return false, nil
74+
}
75+
76+
// ActivateRemediationRecipeResponse wrapper for the ActivateRemediationRecipe operation
77+
type ActivateRemediationRecipeResponse struct {
78+
79+
// The underlying http response
80+
RawResponse *http.Response
81+
82+
// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
83+
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
84+
85+
// Unique Oracle-assigned identifier for the request. If you need to contact
86+
// Oracle about a particular request, please provide the request ID.
87+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
88+
}
89+
90+
func (response ActivateRemediationRecipeResponse) String() string {
91+
return common.PointerString(response)
92+
}
93+
94+
// HTTPResponse implements the OCIResponse interface
95+
func (response ActivateRemediationRecipeResponse) HTTPResponse() *http.Response {
96+
return response.RawResponse
97+
}

0 commit comments

Comments
 (0)