Skip to content

Commit 3db7a42

Browse files
Releasing version 65.78.0
Releasing version 65.78.0
2 parents fc7b62b + 3067efb commit 3db7a42

File tree

62 files changed

+2824
-191
lines changed

Some content is hidden

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

62 files changed

+2824
-191
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ 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.78.0 - 2024-11-05
8+
### Added
9+
- Support for calling Oracle Cloud Infrastructure services in the `ap-seoul-2` region
10+
- Support for calling Oracle Cloud Infrastructure services in the `ap-suwon-1` region
11+
- Support for calling Oracle Cloud Infrastructure services in the `ap-chuncheon-2` region
12+
- Support for MFA Enablement v2 in the Identity Domains service
13+
- Support for starting, stopping and updating min/max executor count for SQL Endpoints in the Data Flow service
14+
- Support for customer message in the Customer Incident Management Service
15+
- Support for REJECTED limitStatus in the Customer Incident Management Service
16+
17+
### Breaking Changes
18+
- The retry strategy for getting the X509 token from Identity service was modified and is now protected via circuit breaker
19+
- The operations `GetCsiNumber` and `GetStatus` were removed from the `IncidentClient` in the Customer Incident Management Service
20+
- The property `ServiceCategories` was removed from the model `IncidentResourceType` in the Customer Incident Management Service
21+
- The properties `ServiceCategory` and `IssueType` were removed from the model `ServiceCategories` in the Customer Incident Management Service
22+
- The property `ItemKey` was made mandatory in the model `AccountItem` in the Customer Incident Management Service
23+
724
## 65.77.1 - 2024-10-29
825
### Added
926
- Support for L3IP (Layer 3 IP) listeners in the Network Load Balancing service

cims/account_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
type AccountItem struct {
2525

2626
// Unique identifier for the item.
27-
ItemKey *string `mandatory:"true" json:"itemKey"`
27+
ItemKey *string `mandatory:"false" json:"itemKey"`
2828

2929
// The display name of the item. Avoid entering confidential information.
3030
Name *string `mandatory:"false" json:"name"`

cims/activity_item.go

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ import (
2323
// ActivityItem Details about the ActivityItem object.
2424
type ActivityItem struct {
2525

26-
// Unique identifier for the item.
27-
ItemKey *string `mandatory:"true" json:"itemKey"`
28-
2926
// Comments added with the activity on the support ticket.
3027
Comments *string `mandatory:"true" json:"comments"`
3128

32-
// The time when the activity was created, in milliseconds since epoch time.
29+
// The time when the activity was created, in seconds since epoch time.
3330
TimeCreated *int `mandatory:"true" json:"timeCreated"`
3431

35-
// The time when the activity was updated, in milliseconds since epoch time.
32+
// The time when the activity was updated, in seconds since epoch time.
3633
TimeUpdated *int `mandatory:"true" json:"timeUpdated"`
3734

35+
// Unique identifier for the item.
36+
ItemKey *string `mandatory:"false" json:"itemKey"`
37+
3838
// The display name of the item. Avoid entering confidential information.
3939
Name *string `mandatory:"false" json:"name"`
4040

@@ -44,6 +44,9 @@ type ActivityItem struct {
4444

4545
IssueType *IssueType `mandatory:"false" json:"issueType"`
4646

47+
// attachmentID for the ItemType Attachments only for Alloy realm.
48+
AttachmentID *string `mandatory:"false" json:"attachmentID"`
49+
4750
// The type of activity occuring on the support ticket.
4851
ActivityType ActivityItemActivityTypeEnum `mandatory:"true" json:"activityType"`
4952

cims/cims_incident_client.go

Lines changed: 17 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ func (client *IncidentClient) ConfigurationProvider() *common.ConfigurationProvi
9595
return client.config
9696
}
9797

98-
// CreateIncident Operation to create a support ticket.
98+
// CreateIncident Creates a support ticket in the specified tenancy.
99+
// For more information, see Creating Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident.htm).
99100
//
100101
// # See also
101102
//
@@ -152,64 +153,8 @@ func (client IncidentClient) createIncident(ctx context.Context, request common.
152153
return response, err
153154
}
154155

155-
// GetCsiNumber Fetches csi number of the user.
156-
//
157-
// # See also
158-
//
159-
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/GetCsiNumber.go.html to see an example of how to use GetCsiNumber API.
160-
func (client IncidentClient) GetCsiNumber(ctx context.Context, request GetCsiNumberRequest) (response GetCsiNumberResponse, err error) {
161-
var ociResponse common.OCIResponse
162-
policy := common.NoRetryPolicy()
163-
if client.RetryPolicy() != nil {
164-
policy = *client.RetryPolicy()
165-
}
166-
if request.RetryPolicy() != nil {
167-
policy = *request.RetryPolicy()
168-
}
169-
ociResponse, err = common.Retry(ctx, request, client.getCsiNumber, policy)
170-
if err != nil {
171-
if ociResponse != nil {
172-
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
173-
opcRequestId := httpResponse.Header.Get("opc-request-id")
174-
response = GetCsiNumberResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
175-
} else {
176-
response = GetCsiNumberResponse{}
177-
}
178-
}
179-
return
180-
}
181-
if convertedResponse, ok := ociResponse.(GetCsiNumberResponse); ok {
182-
response = convertedResponse
183-
} else {
184-
err = fmt.Errorf("failed to convert OCIResponse into GetCsiNumberResponse")
185-
}
186-
return
187-
}
188-
189-
// getCsiNumber implements the OCIOperation interface (enables retrying operations)
190-
func (client IncidentClient) getCsiNumber(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
191-
192-
httpRequest, err := request.HTTPRequest(http.MethodGet, "/v2/incidents/getCsiNumber", binaryReqBody, extraHeaders)
193-
if err != nil {
194-
return nil, err
195-
}
196-
197-
var response GetCsiNumberResponse
198-
var httpResponse *http.Response
199-
httpResponse, err = client.Call(ctx, &httpRequest)
200-
defer common.CloseBodyIfValid(httpResponse)
201-
response.RawResponse = httpResponse
202-
if err != nil {
203-
apiReferenceLink := ""
204-
err = common.PostProcessServiceError(err, "Incident", "GetCsiNumber", apiReferenceLink)
205-
return response, err
206-
}
207-
208-
err = common.UnmarshalResponse(httpResponse, &response)
209-
return response, err
210-
}
211-
212-
// GetIncident Gets details about the specified support ticket.
156+
// GetIncident Gets the specified support ticket.
157+
// For more information, see Getting Details for a Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/get-incident.htm).
213158
//
214159
// # See also
215160
//
@@ -266,64 +211,14 @@ func (client IncidentClient) getIncident(ctx context.Context, request common.OCI
266211
return response, err
267212
}
268213

269-
// GetStatus Gets the status of the service.
270-
//
271-
// # See also
272-
//
273-
// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/cims/GetStatus.go.html to see an example of how to use GetStatus API.
274-
func (client IncidentClient) GetStatus(ctx context.Context, request GetStatusRequest) (response GetStatusResponse, err error) {
275-
var ociResponse common.OCIResponse
276-
policy := common.NoRetryPolicy()
277-
if client.RetryPolicy() != nil {
278-
policy = *client.RetryPolicy()
279-
}
280-
if request.RetryPolicy() != nil {
281-
policy = *request.RetryPolicy()
282-
}
283-
ociResponse, err = common.Retry(ctx, request, client.getStatus, policy)
284-
if err != nil {
285-
if ociResponse != nil {
286-
if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
287-
opcRequestId := httpResponse.Header.Get("opc-request-id")
288-
response = GetStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
289-
} else {
290-
response = GetStatusResponse{}
291-
}
292-
}
293-
return
294-
}
295-
if convertedResponse, ok := ociResponse.(GetStatusResponse); ok {
296-
response = convertedResponse
297-
} else {
298-
err = fmt.Errorf("failed to convert OCIResponse into GetStatusResponse")
299-
}
300-
return
301-
}
302-
303-
// getStatus implements the OCIOperation interface (enables retrying operations)
304-
func (client IncidentClient) getStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
305-
306-
httpRequest, err := request.HTTPRequest(http.MethodGet, "/v2/incidents/status", binaryReqBody, extraHeaders)
307-
if err != nil {
308-
return nil, err
309-
}
310-
311-
var response GetStatusResponse
312-
var httpResponse *http.Response
313-
httpResponse, err = client.Call(ctx, &httpRequest)
314-
defer common.CloseBodyIfValid(httpResponse)
315-
response.RawResponse = httpResponse
316-
if err != nil {
317-
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/Status/GetStatus"
318-
err = common.PostProcessServiceError(err, "Incident", "GetStatus", apiReferenceLink)
319-
return response, err
320-
}
321-
322-
err = common.UnmarshalResponse(httpResponse, &response)
323-
return response, err
324-
}
325-
326-
// ListIncidentResourceTypes During support ticket creation, returns the list of all possible products that Oracle Cloud Infrastructure supports.
214+
// ListIncidentResourceTypes Depending on the selected `productType`, either
215+
// lists available products (service groups, services, service categories, and subcategories) for technical support tickets or
216+
// lists limits and current usage for limit increase tickets.
217+
// This operation is called during creation of technical support and limit increase tickets.
218+
// For more information about listing products, see
219+
// Listing Products for Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-taxonomy.htm).
220+
// For more information about listing limits, see
221+
// Listing Limits for Service Limit Increase Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-limit.htm).
327222
//
328223
// # See also
329224
//
@@ -380,7 +275,8 @@ func (client IncidentClient) listIncidentResourceTypes(ctx context.Context, requ
380275
return response, err
381276
}
382277

383-
// ListIncidents Returns the list of support tickets raised by the tenancy.
278+
// ListIncidents Lists support tickets for the specified tenancy.
279+
// For more information, see Listing Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incidents.htm).
384280
//
385281
// # See also
386282
//
@@ -437,7 +333,8 @@ func (client IncidentClient) listIncidents(ctx context.Context, request common.O
437333
return response, err
438334
}
439335

440-
// UpdateIncident Updates the specified support ticket's information.
336+
// UpdateIncident Updates the specified support ticket.
337+
// For more information, see Updating Support Requests (https://docs.cloud.oracle.com/iaas/Content/GSG/support/update-incident.htm).
441338
//
442339
// # See also
443340
//
@@ -495,6 +392,7 @@ func (client IncidentClient) updateIncident(ctx context.Context, request common.
495392
}
496393

497394
// ValidateUser Checks whether the requested user is valid.
395+
// For more information, see Validating a User (https://docs.cloud.oracle.com/iaas/Content/GSG/support/validate-user.htm).
498396
//
499397
// # See also
500398
//

cims/create_account_item_details.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
)
2222

2323
// CreateAccountItemDetails Details about the issue that the account support ticket relates to. Avoid entering confidential information.
24+
// For information about `ACCOUNT` support tickets, see Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
2425
type CreateAccountItemDetails struct {
2526
Category *CreateCategoryDetails `mandatory:"false" json:"category"`
2627

cims/create_incident.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ type CreateIncident struct {
2727

2828
Ticket *CreateTicketDetails `mandatory:"true" json:"ticket"`
2929

30-
// The kind of support ticket, such as a technical support request or a limit increase request.
30+
// The kind of support ticket (type of support request).
31+
// For information about `ACCOUNT` support tickets, see
32+
// Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
33+
// For information about `LIMIT` support tickets, see
34+
// Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
35+
// For information about `TECH` support tickets, see
36+
// Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
3137
ProblemType ProblemTypeEnum `mandatory:"true" json:"problemType"`
3238

3339
// The Customer Support Identifier (CSI) number associated with the support account.

cims/create_incident_request_response.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ type CreateIncidentRequest struct {
2525
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
2626

2727
// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account.
28+
// User OCID is mandatory for OCI Users and optional for Multicloud users.
2829
Ocid *string `mandatory:"false" contributesTo:"header" name:"ocid"`
2930

3031
// The region of the tenancy.
@@ -40,6 +41,7 @@ type CreateIncidentRequest struct {
4041
Idtoken *string `mandatory:"false" contributesTo:"header" name:"idtoken"`
4142

4243
// The OCID of identity domain.
44+
// DomainID is mandatory if the user is part of Non Default Identity domain.
4345
Domainid *string `mandatory:"false" contributesTo:"header" name:"domainid"`
4446

4547
// Metadata about the request. This information will not be transmitted to the service, but

cims/create_limit_item_details.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
)
2222

2323
// CreateLimitItemDetails Details about the service limit increase request. Avoid entering confidential information.
24+
// For information about `LIMIT` support tickets, see Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
2425
type CreateLimitItemDetails struct {
2526
Category *CreateCategoryDetails `mandatory:"false" json:"category"`
2627

@@ -105,18 +106,21 @@ const (
105106
CreateLimitItemDetailsLimitStatusApproved CreateLimitItemDetailsLimitStatusEnum = "APPROVED"
106107
CreateLimitItemDetailsLimitStatusPartiallyApproved CreateLimitItemDetailsLimitStatusEnum = "PARTIALLY_APPROVED"
107108
CreateLimitItemDetailsLimitStatusNotApproved CreateLimitItemDetailsLimitStatusEnum = "NOT_APPROVED"
109+
CreateLimitItemDetailsLimitStatusRejected CreateLimitItemDetailsLimitStatusEnum = "REJECTED"
108110
)
109111

110112
var mappingCreateLimitItemDetailsLimitStatusEnum = map[string]CreateLimitItemDetailsLimitStatusEnum{
111113
"APPROVED": CreateLimitItemDetailsLimitStatusApproved,
112114
"PARTIALLY_APPROVED": CreateLimitItemDetailsLimitStatusPartiallyApproved,
113115
"NOT_APPROVED": CreateLimitItemDetailsLimitStatusNotApproved,
116+
"REJECTED": CreateLimitItemDetailsLimitStatusRejected,
114117
}
115118

116119
var mappingCreateLimitItemDetailsLimitStatusEnumLowerCase = map[string]CreateLimitItemDetailsLimitStatusEnum{
117120
"approved": CreateLimitItemDetailsLimitStatusApproved,
118121
"partially_approved": CreateLimitItemDetailsLimitStatusPartiallyApproved,
119122
"not_approved": CreateLimitItemDetailsLimitStatusNotApproved,
123+
"rejected": CreateLimitItemDetailsLimitStatusRejected,
120124
}
121125

122126
// GetCreateLimitItemDetailsLimitStatusEnumValues Enumerates the set of values for CreateLimitItemDetailsLimitStatusEnum
@@ -134,6 +138,7 @@ func GetCreateLimitItemDetailsLimitStatusEnumStringValues() []string {
134138
"APPROVED",
135139
"PARTIALLY_APPROVED",
136140
"NOT_APPROVED",
141+
"REJECTED",
137142
}
138143
}
139144

cims/create_tech_support_item_details.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
)
2222

2323
// CreateTechSupportItemDetails Details about the issue that the technical support ticket relates to. Avoid entering confidential information.
24+
// For information about `TECH` support tickets, see Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
2425
type CreateTechSupportItemDetails struct {
2526
Category *CreateCategoryDetails `mandatory:"false" json:"category"`
2627

cims/create_user_details.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ type CreateUserDetails struct {
4343
// Organization of the user.
4444
OrganizationName *string `mandatory:"true" json:"organizationName"`
4545

46-
// The kind of support ticket, such as a technical support request or a limit increase request.
46+
// The kind of support ticket (type of support request).
47+
// For information about `ACCOUNT` support tickets, see
48+
// Creating a Billing Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm).
49+
// For information about `LIMIT` support tickets, see
50+
// Creating a Service Limit Increase Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm).
51+
// For information about `TECH` support tickets, see
52+
// Creating a Technical Support Request (https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm).
4753
ProblemType ProblemTypeEnum `mandatory:"true" json:"problemType"`
4854
}
4955

0 commit comments

Comments
 (0)