Skip to content

Commit e53f2b5

Browse files
authored
Merge pull request #97 from oracle/release_2019-01-24
Releasing version 1.3.5
2 parents bab8f17 + 3f79678 commit e53f2b5

File tree

79 files changed

+594
-234
lines changed

Some content is hidden

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

79 files changed

+594
-234
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
1313
### Added
1414
- N/A
1515

16+
## 1.3.5 - 2018-01-24
17+
### Added
18+
- Support for renaming databases during restore-from-backup operations in the Database service
19+
- Support for calling Oracle Cloud Infrastructure services in the ca-toronto-1 region
20+
21+
### Changed
22+
- Upgraded to Jersey version 2.27 and JAX-RS version 2.1
23+
1624
## 1.3.4 - 2019-01-10
1725
### Added
1826
- Support for device attributes on volume attachments in the Compute service

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

Lines changed: 8 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.3.4</version>
8+
<version>1.3.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -22,6 +22,12 @@
2222
<version>${jersey.version}</version>
2323
</dependency>
2424

25+
<dependency>
26+
<groupId>org.glassfish.jersey.inject</groupId>
27+
<artifactId>jersey-hk2</artifactId>
28+
<version>${jersey.version}</version>
29+
</dependency>
30+
2531
<dependency>
2632
<groupId>org.glassfish.jersey.connectors</groupId>
2733
<artifactId>jersey-apache-connector</artifactId>
@@ -37,7 +43,7 @@
3743
<dependency>
3844
<groupId>com.oracle.oci.sdk</groupId>
3945
<artifactId>oci-java-sdk-common</artifactId>
40-
<version>1.3.4</version>
46+
<version>1.3.5</version>
4147
</dependency>
4248
</dependencies>
4349
</project>

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

@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>com.oracle.oci.sdk</groupId>
4040
<artifactId>oci-java-sdk-common</artifactId>
41-
<version>1.3.4</version>
41+
<version>1.3.5</version>
4242
</dependency>
4343
</dependencies>
4444
</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.3.4</version>
8+
<version>1.3.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

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.3.4</version>
8+
<version>1.3.5</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.3.4</version>
22+
<version>1.3.5</version>
2323
</dependency>
2424
</dependencies>
2525

bmc-audit/src/main/java/com/oracle/bmc/audit/AuditAsyncClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
* Async client implementation for Audit service. <br/>
1313
* There are two ways to use async client:
1414
* 1. Use AsyncHandler: using AsyncHandler, if the response to the call is an {@link java.io.InputStream}, like
15-
* getObject Api in object storage service, developers need to process the stream in AsyncHandler not anywhere else
15+
* getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else,
1616
* because the stream will be closed right after the AsyncHandler is invoked. <br/>
17-
* 2. Use Java Future: using Java Future, develpers need to close the stream after done with Java Furture.<br/>
17+
* 2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.<br/>
1818
* Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler,
19-
* but not both. If the Future will be used, the caller should pass in null as the AsyncHandler. If the AsyncHandler
20-
* is used, it is still safe to use the Future to determine whether or not the request as completed via
19+
* but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler
20+
* is used, it is still safe to use the Future to determine whether or not the request was completed via
2121
* Future.isDone/isCancelled.<br/>
2222
* Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
2323
*/

bmc-bom/pom.xml

Lines changed: 16 additions & 16 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.3.4</version>
8+
<version>1.3.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<artifactId>oci-java-sdk-bom</artifactId>
@@ -19,91 +19,91 @@
1919
<dependency>
2020
<groupId>com.oracle.oci.sdk</groupId>
2121
<artifactId>oci-java-sdk-common</artifactId>
22-
<version>1.3.4</version>
22+
<version>1.3.5</version>
2323
<optional>false</optional>
2424
</dependency>
2525
<!-- Service modules, alpha sorted -->
2626
<dependency>
2727
<groupId>com.oracle.oci.sdk</groupId>
2828
<artifactId>oci-java-sdk-audit</artifactId>
29-
<version>1.3.4</version>
29+
<version>1.3.5</version>
3030
<optional>false</optional>
3131
</dependency>
3232
<dependency>
3333
<groupId>com.oracle.oci.sdk</groupId>
3434
<artifactId>oci-java-sdk-containerengine</artifactId>
35-
<version>1.3.4</version>
35+
<version>1.3.5</version>
3636
<optional>false</optional>
3737
</dependency>
3838
<dependency>
3939
<groupId>com.oracle.oci.sdk</groupId>
4040
<artifactId>oci-java-sdk-core</artifactId>
41-
<version>1.3.4</version>
41+
<version>1.3.5</version>
4242
<optional>false</optional>
4343
</dependency>
4444
<dependency>
4545
<groupId>com.oracle.oci.sdk</groupId>
4646
<artifactId>oci-java-sdk-database</artifactId>
47-
<version>1.3.4</version>
47+
<version>1.3.5</version>
4848
<optional>false</optional>
4949
</dependency>
5050
<dependency>
5151
<groupId>com.oracle.oci.sdk</groupId>
5252
<artifactId>oci-java-sdk-dns</artifactId>
53-
<version>1.3.4</version>
53+
<version>1.3.5</version>
5454
<optional>false</optional>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.oracle.oci.sdk</groupId>
5858
<artifactId>oci-java-sdk-email</artifactId>
59-
<version>1.3.4</version>
59+
<version>1.3.5</version>
6060
<optional>false</optional>
6161
</dependency>
6262
<dependency>
6363
<groupId>com.oracle.oci.sdk</groupId>
6464
<artifactId>oci-java-sdk-filestorage</artifactId>
65-
<version>1.3.4</version>
65+
<version>1.3.5</version>
6666
<optional>false</optional>
6767
</dependency>
6868
<dependency>
6969
<groupId>com.oracle.oci.sdk</groupId>
7070
<artifactId>oci-java-sdk-identity</artifactId>
71-
<version>1.3.4</version>
71+
<version>1.3.5</version>
7272
<optional>false</optional>
7373
</dependency>
7474
<dependency>
7575
<groupId>com.oracle.oci.sdk</groupId>
7676
<artifactId>oci-java-sdk-loadbalancer</artifactId>
77-
<version>1.3.4</version>
77+
<version>1.3.5</version>
7878
<optional>false</optional>
7979
</dependency>
8080
<dependency>
8181
<groupId>com.oracle.oci.sdk</groupId>
8282
<artifactId>oci-java-sdk-objectstorage</artifactId>
83-
<version>1.3.4</version>
83+
<version>1.3.5</version>
8484
<optional>false</optional>
8585
</dependency>
8686
<dependency>
8787
<groupId>com.oracle.oci.sdk</groupId>
8888
<artifactId>oci-java-sdk-addons-resteasy-client-configurator</artifactId>
89-
<version>1.3.4</version>
89+
<version>1.3.5</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>com.oracle.oci.sdk</groupId>
9393
<artifactId>oci-java-sdk-resourcesearch</artifactId>
9494
<optional>false</optional>
95-
<version>1.3.4</version>
95+
<version>1.3.5</version>
9696
</dependency>
9797
<dependency>
9898
<groupId>com.oracle.oci.sdk</groupId>
9999
<optional>false</optional>
100100
<artifactId>oci-java-sdk-addons-apache</artifactId>
101-
<version>1.3.4</version>
101+
<version>1.3.5</version>
102102
</dependency>
103103
<dependency>
104104
<groupId>com.oracle.oci.sdk</groupId>
105105
<artifactId>oci-java-sdk-keymanagement</artifactId>
106-
<version>1.3.4</version>
106+
<version>1.3.5</version>
107107
<optional>false</optional>
108108
</dependency>
109109
</dependencies>

bmc-common/pom.xml

Lines changed: 9 additions & 6 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.3.4</version>
8+
<version>1.3.5</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -47,11 +47,6 @@
4747
<artifactId>jsr305</artifactId>
4848
</dependency>
4949

50-
<dependency>
51-
<groupId>com.fasterxml.jackson.jaxrs</groupId>
52-
<artifactId>jackson-jaxrs-json-provider</artifactId>
53-
</dependency>
54-
5550
<dependency>
5651
<groupId>com.fasterxml.jackson.datatype</groupId>
5752
<artifactId>jackson-datatype-jsr310</artifactId>
@@ -65,6 +60,14 @@
6560
<groupId>org.glassfish.jersey.core</groupId>
6661
<artifactId>jersey-client</artifactId>
6762
</dependency>
63+
<dependency>
64+
<groupId>org.glassfish.jersey.inject</groupId>
65+
<artifactId>jersey-hk2</artifactId>
66+
</dependency>
67+
<dependency>
68+
<groupId>org.glassfish.jersey.media</groupId>
69+
<artifactId>jersey-media-json-jackson</artifactId>
70+
</dependency>
6871

6972
<dependency>
7073
<groupId>org.bouncycastle</groupId>

bmc-common/src/main/java/com/oracle/bmc/Region.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
@RequiredArgsConstructor
2323
public enum Region {
2424
// OC1
25+
CA_TORONTO_1("ca-toronto-1", Realm.OC1),
2526
// regionCode for FRA shouldn't be needed, but left for backwards compat
2627
EU_FRANKFURT_1("eu-frankfurt-1", "fra", Realm.OC1),
2728
// regionCode for LHR shouldn't be needed, but left for backwards compat

bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import com.oracle.bmc.http.signing.internal.Constants;
2020
import com.oracle.bmc.model.BmcException;
2121
import com.oracle.bmc.requests.BmcRequest;
22-
import lombok.AllArgsConstructor;
22+
2323
import lombok.EqualsAndHashCode;
2424
import lombok.Getter;
2525
import lombok.extern.slf4j.Slf4j;
@@ -309,10 +309,15 @@ public X509FederationRequest(
309309
}
310310
}
311311

312-
@Getter
313-
@AllArgsConstructor
314312
public static class SecurityToken {
315-
@JsonProperty("token")
313+
public SecurityToken(@JsonProperty("token") String token) {
314+
this.token = token;
315+
}
316+
316317
private String token;
318+
319+
public String getToken() {
320+
return token;
321+
}
317322
}
318323
}

0 commit comments

Comments
 (0)