Skip to content

Commit aa2ab60

Browse files
authored
Releasing version 1.15.1 (#204)
1 parent eb7d0ba commit aa2ab60

File tree

1,593 files changed

+23431
-4307
lines changed

Some content is hidden

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

1,593 files changed

+23431
-4307
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
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.15.1 - 2020-03-17
7+
### Added
8+
- Support for serial console connections in the Database service
9+
- Support for preview database versions in the Database service
10+
- Support for node reboot migration maintenance status and maintenance windows in the Database service
11+
- Support for using instance metadata API v2 for instance principals authentication
12+
13+
### Fixed
14+
- Retries for requests that take an `InputStream` as input will now function correctly.
15+
- Retries will correctly report upload progress to the `ProgressReporter` for the Object Storage upload manager.
16+
17+
### Breaking changes
18+
- In case retries are necessary, the number of `completed` bytes reported to the `ProgressReporter` will decrease. The `completed` bytes number is not monotonically increasing anymore.
19+
- To allow retries, the `MultipartObjectAssembler` of the Object Storage upload manager will always allow overwriting existing parts.
20+
- The `com.oracle.bmc.database.model.AutonomousExadataInfrastructureMaintenanceWindow` class and the `com.oracle.bmc.database.model.AutonomousExadataInfrastructureMaintenanceWindow$DayOfWeek` enum were removed. They were extraneous and not in use anywhere in the API.
21+
622
## 1.14.0 - 2020-03-10
723
### Added
824
- Support for Events service integration with alerts in the Budgets service
@@ -35,7 +51,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
3551
- Support for specifying paid listing types within pricing models in the Marketplace service
3652
- Support for primary and non-primary instance types in the Content and Experience service
3753

38-
3954
### Breaking changes
4055
- Removed LifecycleState enum in Marketplace service (was unused)
4156

bmc-addons/bmc-apache-connector-provider/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.14.0</version>
8+
<version>1.15.1</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -43,7 +43,7 @@
4343
<dependency>
4444
<groupId>com.oracle.oci.sdk</groupId>
4545
<artifactId>oci-java-sdk-common</artifactId>
46-
<version>1.14.0</version>
46+
<version>1.15.1</version>
4747
</dependency>
4848

4949
<!-- 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.14.0</version>
8+
<version>1.15.1</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>com.oracle.oci.sdk</groupId>
3838
<artifactId>oci-java-sdk-common</artifactId>
39-
<version>1.14.0</version>
39+
<version>1.15.1</version>
4040
</dependency>
4141
</dependencies>
4242
</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.14.0</version>
10+
<version>1.15.1</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.14.0</version>
64+
<version>1.15.1</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.14.0</version>
8+
<version>1.15.1</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.14.0</version>
7+
<version>1.15.1</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.14.0</version>
18+
<version>1.15.1</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-analytics/src/main/java/com/oracle/bmc/analytics/AnalyticsClient.java

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,51 @@ public AnalyticsClient(
213213
java.util.List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
214214
String endpoint,
215215
java.util.concurrent.ExecutorService executorService) {
216+
this(
217+
authenticationDetailsProvider,
218+
configuration,
219+
clientConfigurator,
220+
defaultRequestSignerFactory,
221+
signingStrategyRequestSignerFactories,
222+
additionalClientConfigurators,
223+
endpoint,
224+
executorService,
225+
com.oracle.bmc.http.internal.RestClientFactoryBuilder.builder());
226+
}
227+
228+
/**
229+
* Creates a new service instance using the given authentication provider and client configuration. Additionally,
230+
* a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
231+
* <p>
232+
* This is an advanced constructor for clients that want to take control over how requests are signed.
233+
* Use the {@link Builder} to get access to all these parameters.
234+
*
235+
* @param authenticationDetailsProvider The authentication details provider, required.
236+
* @param configuration The client configuration, optional.
237+
* @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional.
238+
* @param defaultRequestSignerFactory The request signer factory used to create the request signer for this service.
239+
* @param signingStrategyRequestSignerFactories The request signer factories for each signing strategy used to create the request signer
240+
* @param additionalClientConfigurators Additional client configurators to be run after the primary configurator.
241+
* @param endpoint Endpoint, or null to leave unset (note, may be overridden by {@code authenticationDetailsProvider})
242+
* @param executorService ExecutorService used by the client, or null to use the default configured ThreadPoolExecutor
243+
* @param restClientFactoryBuilder the builder for the {@link com.oracle.bmc.http.internal.RestClientFactory}
244+
*/
245+
protected AnalyticsClient(
246+
com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
247+
com.oracle.bmc.ClientConfiguration configuration,
248+
com.oracle.bmc.http.ClientConfigurator clientConfigurator,
249+
com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory,
250+
java.util.Map<
251+
com.oracle.bmc.http.signing.SigningStrategy,
252+
com.oracle.bmc.http.signing.RequestSignerFactory>
253+
signingStrategyRequestSignerFactories,
254+
java.util.List<com.oracle.bmc.http.ClientConfigurator> additionalClientConfigurators,
255+
String endpoint,
256+
java.util.concurrent.ExecutorService executorService,
257+
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder) {
216258
this.authenticationDetailsProvider = authenticationDetailsProvider;
217259
com.oracle.bmc.http.internal.RestClientFactory restClientFactory =
218-
com.oracle.bmc.http.internal.RestClientFactoryBuilder.builder()
260+
restClientFactoryBuilder
219261
.clientConfigurator(clientConfigurator)
220262
.additionalClientConfigurators(additionalClientConfigurators)
221263
.build();

bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/SortBy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public static SortBy create(String key) {
4141
if (map.containsKey(key)) {
4242
return map.get(key);
4343
}
44-
throw new RuntimeException("Invalid SortBy: " + key);
44+
throw new IllegalArgumentException("Invalid SortBy: " + key);
4545
}
4646
}

bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/SortOrder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public static SortOrder create(String key) {
3737
if (map.containsKey(key)) {
3838
return map.get(key);
3939
}
40-
throw new RuntimeException("Invalid SortOrder: " + key);
40+
throw new IllegalArgumentException("Invalid SortOrder: " + key);
4141
}
4242
}

bmc-analytics/src/main/java/com/oracle/bmc/analytics/model/WorkRequestSortBy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public static WorkRequestSortBy create(String key) {
4141
if (map.containsKey(key)) {
4242
return map.get(key);
4343
}
44-
throw new RuntimeException("Invalid WorkRequestSortBy: " + key);
44+
throw new IllegalArgumentException("Invalid WorkRequestSortBy: " + key);
4545
}
4646
}

0 commit comments

Comments
 (0)