Skip to content

Commit 672c268

Browse files
authored
Releasing version 1.5.12
Releasing version 1.5.12
2 parents 120b803 + 3f7cedf commit 672c268

File tree

91 files changed

+2247
-198
lines changed

Some content is hidden

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

91 files changed

+2247
-198
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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/).
5+
## 1.5.12 - 2019-07-02
6+
### Added
7+
- Support for moving images, instance configurations, and instance pools across compartments in Core Services
8+
- Support for moving autoscaling configurations across compartments in the Compute Autoscaling service
9+
10+
### Fixed
11+
- Fixed a bug where the Streaming service's endpoints in Tokyo, Seoul, and future regions were not reachable from the SDK
12+
513
## 1.5.11 - 2019-06-25
614
### Added
715
- Support for moving senders across compartments in the Email service

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.5.11</version>
8+
<version>1.5.12</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.5.11</version>
46+
<version>1.5.12</version>
4747
</dependency>
4848
</dependencies>
4949
</project>

bmc-addons/bmc-apache-connector-provider/src/main/java/com/oracle/bmc/http/ApacheConfigurator.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import com.oracle.bmc.http.internal.ContentLengthFilter;
77
import lombok.extern.slf4j.Slf4j;
8+
import org.apache.http.client.config.RequestConfig;
9+
import org.glassfish.jersey.apache.connector.ApacheClientProperties;
810
import org.glassfish.jersey.apache.connector.ApacheConnectorProvider;
911
import org.glassfish.jersey.client.ClientConfig;
1012
import org.glassfish.jersey.client.ClientProperties;
@@ -58,9 +60,14 @@ public void customizeClient(Client client) {
5860
}
5961

6062
protected void setConnectorProvider(ClientBuilder builder) {
61-
LOG.info("Setting connector provider to ApacheConnectorProviders");
63+
LOG.info("Setting connector provider to ApacheConnectorProvider");
6264

6365
final ClientConfig clientConfig = new ClientConfig();
66+
// Disable the default behavior to auto compress and deflate the request/response content based on the
67+
// content-encoding.
68+
final RequestConfig requestConfig =
69+
RequestConfig.custom().setContentCompressionEnabled(false).build();
70+
clientConfig.property(ApacheClientProperties.REQUEST_CONFIG, requestConfig);
6471
clientConfig.connectorProvider(new ApacheConnectorProvider());
6572

6673
// Decorate config with any configured client config decorators

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.5.11</version>
8+
<version>1.5.12</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.5.11</version>
39+
<version>1.5.12</version>
4040
</dependency>
4141
</dependencies>
4242
</project>

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.5.11</version>
8+
<version>1.5.12</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

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.5.11</version>
7+
<version>1.5.12</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.5.11</version>
20+
<version>1.5.12</version>
2121
</dependency>
2222
</dependencies>
2323
</project>

bmc-audit/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</artifactId>
8-
<version>1.5.11</version>
8+
<version>1.5.12</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>com.oracle.oci.sdk</groupId>
2121
<artifactId>oci-java-sdk-common</artifactId>
22-
<version>1.5.11</version>
22+
<version>1.5.12</version>
2323
</dependency>
2424
</dependencies>
2525

bmc-autoscaling/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.5.11</version>
7+
<version>1.5.12</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-autoscaling</artifactId>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.oracle.oci.sdk</groupId>
1717
<artifactId>oci-java-sdk-common</artifactId>
18-
<version>1.5.11</version>
18+
<version>1.5.12</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-autoscaling/src/main/java/com/oracle/bmc/autoscaling/AutoScaling.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,21 @@ public interface AutoScaling extends AutoCloseable {
3636
*/
3737
void setRegion(String regionId);
3838

39+
/**
40+
* Moves an autoscaling configuration into a different compartment within the same tenancy. For information
41+
* about moving resources between compartments, see
42+
* [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
43+
* <p>
44+
* When you move an autoscaling configuration to a different compartment, associated resources such as instance
45+
* pools are not moved.
46+
*
47+
* @param request The request object containing the details to send
48+
* @return A response object containing details about the completed operation
49+
* @throws BmcException when an error occurs.
50+
*/
51+
ChangeAutoScalingConfigurationCompartmentResponse changeAutoScalingConfigurationCompartment(
52+
ChangeAutoScalingConfigurationCompartmentRequest request);
53+
3954
/**
4055
* Creates an autoscaling configuration.
4156
* @param request The request object containing the details to send

bmc-autoscaling/src/main/java/com/oracle/bmc/autoscaling/AutoScalingAsync.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,30 @@ public interface AutoScalingAsync extends AutoCloseable {
3636
*/
3737
void setRegion(String regionId);
3838

39+
/**
40+
* Moves an autoscaling configuration into a different compartment within the same tenancy. For information
41+
* about moving resources between compartments, see
42+
* [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
43+
* <p>
44+
* When you move an autoscaling configuration to a different compartment, associated resources such as instance
45+
* pools are not moved.
46+
*
47+
*
48+
* @param request The request object containing the details to send
49+
* @param handler The request handler to invoke upon completion, may be null.
50+
* @return A Future that can be used to get the response if no AsyncHandler was
51+
* provided. Note, if you provide an AsyncHandler and use the Future, some
52+
* types of responses (like java.io.InputStream) may not be able to be read in
53+
* both places as the underlying stream may only be consumed once.
54+
*/
55+
java.util.concurrent.Future<ChangeAutoScalingConfigurationCompartmentResponse>
56+
changeAutoScalingConfigurationCompartment(
57+
ChangeAutoScalingConfigurationCompartmentRequest request,
58+
com.oracle.bmc.responses.AsyncHandler<
59+
ChangeAutoScalingConfigurationCompartmentRequest,
60+
ChangeAutoScalingConfigurationCompartmentResponse>
61+
handler);
62+
3963
/**
4064
* Creates an autoscaling configuration.
4165
*

0 commit comments

Comments
 (0)