Skip to content

Commit

Permalink
Merge pull request #33 from oracle/release_20171211
Browse files Browse the repository at this point in the history
Releasing version 1.2.20
  • Loading branch information
nathan-vu authored Dec 12, 2017
2 parents 1267800 + 8dbcf18 commit 93f368b
Show file tree
Hide file tree
Showing 59 changed files with 2,445 additions and 74 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
### Fixed
- N/A

### Changed
- N/A

### Added
- N/A

## 1.2.20 - 2017-12-11

### Added
- Support for retrieving custom operation metadata, such as the OCID of a resource, from responsePayload attribute on the AuditEvent model of the Audit Service
- Support for public peering for FastConnect
- Support for specifying an authorized entity name in a Letter of Authority for FastConnect
- Support for showing a list of bandwidth shapes for FastConnect provider

### Deprecated
- The `listVirtualCircuitBandwidthShapes` operation in `VirtualNetwork` has been deprecated. Use the `listFastConnectProviderVirtualCircuitBandwidthShapes` operation instead
- When using `CreateVirtualCircuitDetails`, supplying a `providerName` is deprecated and `providerServiceId` should be used instead

## 1.2.18 - 2017-11-27

### Changed
Expand Down
4 changes: 2 additions & 2 deletions bmc-audit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-common</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
</dependency>
</dependencies>

Expand Down
21 changes: 19 additions & 2 deletions bmc-audit/src/main/java/com/oracle/bmc/audit/model/AuditEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,15 @@ public Builder responseTime(java.util.Date responseTime) {
return this;
}

@com.fasterxml.jackson.annotation.JsonProperty("responsePayload")
private java.util.Map<String, Object> responsePayload;

public Builder responsePayload(java.util.Map<String, Object> responsePayload) {
this.responsePayload = responsePayload;
this.__explicitlySet__.add("responsePayload");
return this;
}

@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set<String> __explicitlySet__ = new java.util.HashSet<String>();

Expand All @@ -199,7 +208,8 @@ public AuditEvent build() {
requestResource,
responseHeaders,
responseStatus,
responseTime);
responseTime,
responsePayload);
__instance__.__explicitlySet__.addAll(__explicitlySet__);
return __instance__;
}
Expand All @@ -224,7 +234,8 @@ public Builder copy(AuditEvent o) {
.requestResource(o.getRequestResource())
.responseHeaders(o.getResponseHeaders())
.responseStatus(o.getResponseStatus())
.responseTime(o.getResponseTime());
.responseTime(o.getResponseTime())
.responsePayload(o.getResponsePayload());

copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
return copiedBuilder;
Expand Down Expand Up @@ -346,6 +357,12 @@ public static Builder builder() {
@com.fasterxml.jackson.annotation.JsonProperty("responseTime")
java.util.Date responseTime;

/**
* Metadata of interest from the response payload. For example, the OCID of a resource.
**/
@com.fasterxml.jackson.annotation.JsonProperty("responsePayload")
java.util.Map<String, Object> responsePayload;

@com.fasterxml.jackson.annotation.JsonIgnore
private final java.util.Set<String> __explicitlySet__ = new java.util.HashSet<String>();
}
16 changes: 8 additions & 8 deletions bmc-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -24,7 +24,7 @@
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-common</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>

Expand All @@ -33,37 +33,37 @@
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-audit</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-core</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-database</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-identity</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-loadbalancer</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-objectstorage</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<optional>false</optional>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion bmc-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions bmc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-common</artifactId>
<version>1.2.18</version>
<version>1.2.20</version>
</dependency>
</dependencies>

Expand Down
75 changes: 71 additions & 4 deletions bmc-core/src/main/java/com/oracle/bmc/core/VirtualNetwork.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,32 @@ public interface VirtualNetwork extends AutoCloseable {
*/
void setRegion(String regionId);

/**
* Adds one or more customer public IP prefixes to the specified public virtual circuit.
* Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit})
* to add prefixes to the virtual circuit. Oracle must verify the customer's ownership
* of each prefix before traffic for that prefix will flow across the virtual circuit.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
*/
BulkAddVirtualCircuitPublicPrefixesResponse bulkAddVirtualCircuitPublicPrefixes(
BulkAddVirtualCircuitPublicPrefixesRequest request);

/**
* Removes one or more customer public IP prefixes from the specified public virtual circuit.
* Use this operation (and not {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit})
* to remove prefixes from the virtual circuit. When the virtual circuit's state switches
* back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
*/
BulkDeleteVirtualCircuitPublicPrefixesResponse bulkDeleteVirtualCircuitPublicPrefixes(
BulkDeleteVirtualCircuitPublicPrefixesRequest request);

/**
* Connects this local peering gateway (LPG) to another one in the same region.
* <p>
Expand Down Expand Up @@ -675,6 +701,17 @@ GetCrossConnectLetterOfAuthorityResponse getCrossConnectLetterOfAuthority(
*/
GetDrgAttachmentResponse getDrgAttachment(GetDrgAttachmentRequest request);

/**
* Gets the specified provider service.
* For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
*/
GetFastConnectProviderServiceResponse getFastConnectProviderService(
GetFastConnectProviderServiceRequest request);

/**
* Gets the specified IPSec connection's basic information, including the static routes for the
* on-premises router. If you want the status of the connection (whether it's up or down), use
Expand Down Expand Up @@ -884,6 +921,20 @@ ListCrossconnectPortSpeedShapesResponse listCrossconnectPortSpeedShapes(
ListFastConnectProviderServicesResponse listFastConnectProviderServices(
ListFastConnectProviderServicesRequest request);

/**
* Gets the list of available virtual circuit bandwidth levels for a provider.
* You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit.
* <p>
* For more information about virtual circuits, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
*/
ListFastConnectProviderVirtualCircuitBandwidthShapesResponse
listFastConnectProviderVirtualCircuitBandwidthShapes(
ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request);

/**
* Lists the IPSec connections for the specified compartment. You can filter the
* results by DRG or CPE.
Expand Down Expand Up @@ -974,10 +1025,7 @@ ListLocalPeeringGatewaysResponse listLocalPeeringGateways(
ListVcnsResponse listVcns(ListVcnsRequest request);

/**
* Lists the available bandwidth levels for virtual circuits. You need this
* information so you can specify your desired bandwidth level (that is, shape)
* when you create a virtual circuit.
* For the compartment ID, provide the OCID of your tenancy (the root compartment).
* The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID of your tenancy (the root compartment).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
Expand All @@ -986,6 +1034,17 @@ ListLocalPeeringGatewaysResponse listLocalPeeringGateways(
ListVirtualCircuitBandwidthShapesResponse listVirtualCircuitBandwidthShapes(
ListVirtualCircuitBandwidthShapesRequest request);

/**
* Lists the public IP prefixes and their details for the specified
* public virtual circuit.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs.
*/
ListVirtualCircuitPublicPrefixesResponse listVirtualCircuitPublicPrefixes(
ListVirtualCircuitPublicPrefixesRequest request);

/**
* Lists the virtual circuits in the specified compartment.
*
Expand Down Expand Up @@ -1166,6 +1225,14 @@ UpdateLocalPeeringGatewayResponse updateLocalPeeringGateway(
* the associated BGP session is back up. For more information
* about the various states and how to test connectivity, see
* [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
* <p>
* To change the list of public IP prefixes for a public virtual circuit,
* use {@link #bulkAddVirtualCircuitPublicPrefixes(BulkAddVirtualCircuitPublicPrefixesRequest) bulkAddVirtualCircuitPublicPrefixes}
* and
* {@link #bulkDeleteVirtualCircuitPublicPrefixes(BulkDeleteVirtualCircuitPublicPrefixesRequest) bulkDeleteVirtualCircuitPublicPrefixes}.
* Updating the list of prefixes does NOT cause the BGP session to go down. However,
* Oracle must verify the customer's ownership of each added prefix before
* traffic for that prefix will flow across the virtual circuit.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
Expand Down
Loading

0 comments on commit 93f368b

Please sign in to comment.