Skip to content

Commit 60f996d

Browse files
Merge pull request #291 from oracle/release_2021-03-23
Releasing version 1.34.0
2 parents 0a3b998 + b221f07 commit 60f996d

File tree

828 files changed

+58665
-961
lines changed

Some content is hidden

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

828 files changed

+58665
-961
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file.
33

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

6+
## 1.34.0 - 2021-03-23
7+
### Added
8+
- Support for the Network Load Balancing service
9+
- Support for maintenance runs on autonomous databases in the Database service
10+
- Support for announcement preferences in the Announcements service
11+
- Support for domain claiming in the Organizations service
12+
- Support for saved reports in the Usage service
13+
- Support for the HeatWave in-memory analytics accelerator in the MySQL Database service
14+
- Support for community applications in the Marketplace service
15+
- Support for capacity reservations in the Compute service
16+
17+
### Breaking Changes
18+
- Method `getCompartmentId()` is removed from `ListWorkRequestErrorsRequest` of `tenantmanagercontrolplane` service
19+
- Method `getCompartmentId()` is removed from `ListWorkRequestLogsRequest` of `tenantmanagercontrolplane` service
20+
- Value of Enum attribute `Operator` in Usage API service defaults to `UnknownEnumValue` when it receives an invalid value. In the earlier versions, this raises a `Invalid Operator` error
21+
622
## 1.33.2 - 2021-03-16
723
### Added
824
- Support for routing policies and HTTP2 listener protocols in the Load Balancing service

bmc-addons/bmc-apache-connector-provider/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk-addons</artifactId>
7-
<version>1.33.2</version>
7+
<version>1.34.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>com.oracle.oci.sdk</groupId>
4444
<artifactId>oci-java-sdk-common</artifactId>
45-
<version>1.33.2</version>
45+
<version>1.34.0</version>
4646
</dependency>
4747

4848
<!-- Explicitly pull in this version of httpclient and its httpcore dependency to address:

bmc-addons/bmc-resteasy-client-configurator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.oracle.oci.sdk</groupId>
77
<artifactId>oci-java-sdk-addons</artifactId>
8-
<version>1.33.2</version>
8+
<version>1.34.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>com.oracle.oci.sdk</groupId>
4646
<artifactId>oci-java-sdk-common</artifactId>
47-
<version>1.33.2</version>
47+
<version>1.34.0</version>
4848
</dependency>
4949
</dependencies>
5050
</project>

bmc-addons/bmc-sasl/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>oci-java-sdk-addons</artifactId>
99
<groupId>com.oracle.oci.sdk</groupId>
10-
<version>1.33.2</version>
10+
<version>1.34.0</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

@@ -61,7 +61,7 @@
6161
<dependency>
6262
<groupId>com.oracle.oci.sdk</groupId>
6363
<artifactId>oci-java-sdk-common</artifactId>
64-
<version>1.33.2</version>
64+
<version>1.34.0</version>
6565
</dependency>
6666
</dependencies>
6767

bmc-addons/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.oracle.oci.sdk</groupId>
77
<artifactId>oci-java-sdk</artifactId>
8-
<version>1.33.2</version>
8+
<version>1.34.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

bmc-analytics/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk</artifactId>
7-
<version>1.33.2</version>
7+
<version>1.34.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-analytics</artifactId>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.oracle.oci.sdk</groupId>
1717
<artifactId>oci-java-sdk-common</artifactId>
18-
<version>1.33.2</version>
18+
<version>1.34.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-announcementsservice/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk</artifactId>
7-
<version>1.33.2</version>
7+
<version>1.34.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-announcementsservice</artifactId>
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>com.oracle.oci.sdk</groupId>
1919
<artifactId>oci-java-sdk-common</artifactId>
20-
<version>1.33.2</version>
20+
<version>1.34.0</version>
2121
</dependency>
2222
</dependencies>
2323
</project>

bmc-announcementsservice/src/main/java/com/oracle/bmc/announcementsservice/AnnouncementAsyncClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class AnnouncementAsyncClient implements AnnouncementAsync {
3131
com.oracle.bmc.Services.serviceBuilder()
3232
.serviceName("ANNOUNCEMENT")
3333
.serviceEndpointPrefix("announcements")
34+
.serviceEndpointTemplate("https://announcements.{region}.{secondLevelDomain}")
3435
.build();
3536

3637
@lombok.Getter(value = lombok.AccessLevel.PACKAGE)

bmc-announcementsservice/src/main/java/com/oracle/bmc/announcementsservice/AnnouncementClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class AnnouncementClient implements Announcement {
1818
com.oracle.bmc.Services.serviceBuilder()
1919
.serviceName("ANNOUNCEMENT")
2020
.serviceEndpointPrefix("announcements")
21+
.serviceEndpointTemplate("https://announcements.{region}.{secondLevelDomain}")
2122
.build();
2223
// attempt twice if it's instance principals, immediately failures will try to refresh the token
2324
private static final int MAX_IMMEDIATE_RETRIES_IF_USING_INSTANCE_PRINCIPALS = 2;
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
/**
2+
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3+
* 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.
4+
*/
5+
package com.oracle.bmc.announcementsservice;
6+
7+
import com.oracle.bmc.announcementsservice.requests.*;
8+
import com.oracle.bmc.announcementsservice.responses.*;
9+
10+
/**
11+
* Manage Oracle Cloud Infrastructure console announcements.
12+
*/
13+
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 0.0.1")
14+
public interface AnnouncementsPreferences extends AutoCloseable {
15+
16+
/**
17+
* Sets the endpoint to call (ex, https://www.example.com).
18+
* @param endpoint The endpoint of the service.
19+
*/
20+
void setEndpoint(String endpoint);
21+
22+
/**
23+
* Gets the set endpoint for REST call (ex, https://www.example.com)
24+
*/
25+
String getEndpoint();
26+
27+
/**
28+
* Sets the region to call (ex, Region.US_PHOENIX_1).
29+
* <p>
30+
* Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
31+
* @param region The region of the service.
32+
*/
33+
void setRegion(com.oracle.bmc.Region region);
34+
35+
/**
36+
* Sets the region to call (ex, 'us-phoenix-1').
37+
* <p>
38+
* Note, this will first try to map the region ID to a known Region and call
39+
* {@link #setRegion(Region) setRegion}.
40+
* <p>
41+
* If no known Region could be determined, it will create an endpoint based on the
42+
* default endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
43+
* and then call {@link #setEndpoint(String) setEndpoint}.
44+
* @param regionId The public region ID.
45+
*/
46+
void setRegion(String regionId);
47+
48+
/**
49+
* Creates a request that specifies preferences for the tenancy regarding receiving announcements by email.
50+
*
51+
* @param request The request object containing the details to send
52+
* @return A response object containing details about the completed operation
53+
* @throws BmcException when an error occurs.
54+
*
55+
* <b>Example: </b>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/announcementsservice/CreateAnnouncementsPreferenceExample.java.html" target="_blank" rel="noopener noreferrer" >here</a> to see how to use CreateAnnouncementsPreference API.
56+
*/
57+
CreateAnnouncementsPreferenceResponse createAnnouncementsPreference(
58+
CreateAnnouncementsPreferenceRequest request);
59+
60+
/**
61+
* Gets the current preferences of the tenancy regarding receiving announcements by email.
62+
*
63+
* @param request The request object containing the details to send
64+
* @return A response object containing details about the completed operation
65+
* @throws BmcException when an error occurs.
66+
*
67+
* <b>Example: </b>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/announcementsservice/GetAnnouncementsPreferenceExample.java.html" target="_blank" rel="noopener noreferrer" >here</a> to see how to use GetAnnouncementsPreference API.
68+
*/
69+
GetAnnouncementsPreferenceResponse getAnnouncementsPreference(
70+
GetAnnouncementsPreferenceRequest request);
71+
72+
/**
73+
* Gets the current preferences of the tenancy regarding receiving announcements by email.
74+
*
75+
* @param request The request object containing the details to send
76+
* @return A response object containing details about the completed operation
77+
* @throws BmcException when an error occurs.
78+
*
79+
* <b>Example: </b>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/announcementsservice/ListAnnouncementsPreferencesExample.java.html" target="_blank" rel="noopener noreferrer" >here</a> to see how to use ListAnnouncementsPreferences API.
80+
*/
81+
ListAnnouncementsPreferencesResponse listAnnouncementsPreferences(
82+
ListAnnouncementsPreferencesRequest request);
83+
84+
/**
85+
* Updates the preferences of the tenancy regarding receiving announcements by email.
86+
*
87+
* @param request The request object containing the details to send
88+
* @return A response object containing details about the completed operation
89+
* @throws BmcException when an error occurs.
90+
*
91+
* <b>Example: </b>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/announcementsservice/UpdateAnnouncementsPreferenceExample.java.html" target="_blank" rel="noopener noreferrer" >here</a> to see how to use UpdateAnnouncementsPreference API.
92+
*/
93+
UpdateAnnouncementsPreferenceResponse updateAnnouncementsPreference(
94+
UpdateAnnouncementsPreferenceRequest request);
95+
96+
/**
97+
* Gets the pre-configured paginators available for list operations in this service which may return multiple
98+
* pages of data. These paginators provide an {@link java.lang.Iterable} interface so that service responses, or
99+
* resources/records, can be iterated through without having to manually deal with pagination and page tokens.
100+
*
101+
* @return The service paginators.
102+
*/
103+
AnnouncementsPreferencesPaginators getPaginators();
104+
}

0 commit comments

Comments
 (0)