Skip to content

Commit df102eb

Browse files
authored
Merge pull request #77 from oracle/release_2018-09-06
Releasing version 1.2.46
2 parents ff5762b + a9d1b23 commit df102eb

File tree

520 files changed

+4053
-3163
lines changed

Some content is hidden

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

520 files changed

+4053
-3163
lines changed

CHANGELOG.md

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

16+
## 1.2.46 - 2018-09-06
17+
### Added
18+
- Support for updating metadata fields on an instance in the Compute service
19+
1620
## 1.2.45 - 2018-08-23
1721
### Added
1822
- Support for fault domains in the Identity 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.2.45</version>
8+
<version>1.2.46</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>com.oracle.oci.sdk</groupId>
3939
<artifactId>oci-java-sdk-common</artifactId>
40-
<version>1.2.45</version>
40+
<version>1.2.46</version>
4141
</dependency>
4242
</dependencies>
4343
</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.2.45</version>
8+
<version>1.2.46</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.2.45</version>
8+
<version>1.2.46</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>com.oracle.oci.sdk</groupId>
2020
<artifactId>oci-java-sdk-common</artifactId>
21-
<version>1.2.45</version>
21+
<version>1.2.46</version>
2222
</dependency>
2323
</dependencies>
2424

bmc-audit/src/main/java/com/oracle/bmc/audit/model/AuditEvent.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
/**
77
*
88
* <br/>
9-
* Note: This model distinguishes fields that are {@code null} because they are unset from fields that are explicitly
10-
* set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a set of all
11-
* explicitly set fields called {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods
12-
* are implemented to take {@link #__explicitlySet__} into account. The constructor, on the other hand, does not
13-
* set {@link #__explicitlySet__} (since the constructor cannot distinguish explicit {@code null} from unset
14-
* {@code null}). As a consequence, objects should always be created or deserialized using the {@link Builder}.
9+
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
10+
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
11+
* the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
12+
* {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
13+
* {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
14+
* (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
1515
**/
1616
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
17+
@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
1718
@lombok.Value
1819
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AuditEvent.Builder.class)
1920
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)

bmc-audit/src/main/java/com/oracle/bmc/audit/model/Configuration.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
/**
77
*
88
* <br/>
9-
* Note: This model distinguishes fields that are {@code null} because they are unset from fields that are explicitly
10-
* set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a set of all
11-
* explicitly set fields called {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods
12-
* are implemented to take {@link #__explicitlySet__} into account. The constructor, on the other hand, does not
13-
* set {@link #__explicitlySet__} (since the constructor cannot distinguish explicit {@code null} from unset
14-
* {@code null}). As a consequence, objects should always be created or deserialized using the {@link Builder}.
9+
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
10+
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
11+
* the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
12+
* {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
13+
* {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
14+
* (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
1515
**/
1616
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
17+
@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
1718
@lombok.Value
1819
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Configuration.Builder.class)
1920
@com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.internal.ExplicitlySetFilter.NAME)

bmc-audit/src/main/java/com/oracle/bmc/audit/model/UpdateConfigurationDetails.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
/**
77
*
88
* <br/>
9-
* Note: This model distinguishes fields that are {@code null} because they are unset from fields that are explicitly
10-
* set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a set of all
11-
* explicitly set fields called {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods
12-
* are implemented to take {@link #__explicitlySet__} into account. The constructor, on the other hand, does not
13-
* set {@link #__explicitlySet__} (since the constructor cannot distinguish explicit {@code null} from unset
14-
* {@code null}). As a consequence, objects should always be created or deserialized using the {@link Builder}.
9+
* Note: Objects should always be created or deserialized using the {@link Builder}. This model distinguishes fields
10+
* that are {@code null} because they are unset from fields that are explicitly set to {@code null}. This is done in
11+
* the setter methods of the {@link Builder}, which maintain a set of all explicitly set fields called
12+
* {@link #__explicitlySet__}. The {@link #hashCode()} and {@link #equals(Object)} methods are implemented to take
13+
* {@link #__explicitlySet__} into account. The constructor, on the other hand, does not set {@link #__explicitlySet__}
14+
* (since the constructor cannot distinguish explicit {@code null} from unset {@code null}).
1515
**/
1616
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918")
17+
@lombok.AllArgsConstructor(onConstructor = @__({@Deprecated}))
1718
@lombok.Value
1819
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(
1920
builder = UpdateConfigurationDetails.Builder.class

bmc-bom/pom.xml

Lines changed: 14 additions & 14 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.2.45</version>
8+
<version>1.2.46</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<artifactId>oci-java-sdk-bom</artifactId>
@@ -19,82 +19,82 @@
1919
<dependency>
2020
<groupId>com.oracle.oci.sdk</groupId>
2121
<artifactId>oci-java-sdk-common</artifactId>
22-
<version>1.2.45</version>
22+
<version>1.2.46</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.2.45</version>
29+
<version>1.2.46</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.2.45</version>
35+
<version>1.2.46</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.2.45</version>
41+
<version>1.2.46</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.2.45</version>
47+
<version>1.2.46</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.2.45</version>
53+
<version>1.2.46</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.2.45</version>
59+
<version>1.2.46</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.2.45</version>
65+
<version>1.2.46</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.2.45</version>
71+
<version>1.2.46</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.2.45</version>
77+
<version>1.2.46</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.2.45</version>
83+
<version>1.2.46</version>
8484
<optional>false</optional>
8585
<type>pom</type>
8686
</dependency>
8787
<dependency>
8888
<groupId>com.oracle.oci.sdk</groupId>
8989
<artifactId>oci-java-sdk-resourcesearch</artifactId>
9090
<optional>false</optional>
91-
<version>1.2.45</version>
91+
<version>1.2.46</version>
9292
</dependency>
9393
<dependency>
9494
<groupId>com.oracle.oci.sdk</groupId>
9595
<optional>false</optional>
9696
<artifactId>oci-java-sdk-addons-apache</artifactId>
97-
<version>1.2.45</version>
97+
<version>1.2.46</version>
9898
</dependency>
9999
</dependencies>
100100
</dependencyManagement>

bmc-common/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.2.45</version>
8+
<version>1.2.46</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
3+
*/
4+
package com.oracle.bmc.auth;
5+
6+
import com.google.common.base.Charsets;
7+
import com.google.common.base.Supplier;
8+
import lombok.RequiredArgsConstructor;
9+
import lombok.ToString;
10+
import org.apache.commons.io.IOUtils;
11+
12+
import java.io.InputStream;
13+
14+
/**
15+
* Supplier for private key in String format
16+
*/
17+
@RequiredArgsConstructor
18+
@ToString
19+
public class StringPrivateKeySupplier implements Supplier<InputStream> {
20+
21+
private final String privateKey;
22+
23+
@Override
24+
public InputStream get() {
25+
return IOUtils.toInputStream(privateKey, Charsets.UTF_8);
26+
}
27+
}

0 commit comments

Comments
 (0)