Skip to content

Commit 47a2f71

Browse files
authored
Merge pull request #99 from oracle/release_2019-01-31
Releasing version 1.3.6
2 parents e53f2b5 + a3fe700 commit 47a2f71

Some content is hidden

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

51 files changed

+3688
-63
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.3.6 - 2018-01-31
17+
### Added
18+
- Support for the Announcements service
19+
1620
## 1.3.5 - 2018-01-24
1721
### Added
1822
- Support for renaming databases during restore-from-backup operations in the Database 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.3.5</version>
8+
<version>1.3.6</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.3.5</version>
46+
<version>1.3.6</version>
4747
</dependency>
4848
</dependencies>
4949
</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.5</version>
8+
<version>1.3.6</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.5</version>
41+
<version>1.3.6</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.5</version>
8+
<version>1.3.6</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

bmc-announcementsservice/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>com.oracle.oci.sdk</groupId>
6+
<artifactId>oci-java-sdk</artifactId>
7+
<version>1.3.6</version>
8+
<relativePath>../pom.xml</relativePath>
9+
</parent>
10+
<artifactId>oci-java-sdk-announcementsservice</artifactId>
11+
<name>Oracle Cloud Infrastructure SDK - Announcements Service</name>
12+
<description>This project contains the SDK used for Oracle Cloud Infrastructure Announcements Service</description>
13+
<url>https://docs.us-phoenix-1.oraclecloud.com/Content/API/SDKDocs/javasdk.htm</url>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>com.oracle.oci.sdk</groupId>
18+
<artifactId>oci-java-sdk-common</artifactId>
19+
<version>1.3.6</version>
20+
</dependency>
21+
</dependencies>
22+
</project>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
/**
2+
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
3+
*/
4+
package com.oracle.bmc.announcementsservice;
5+
6+
import com.oracle.bmc.announcementsservice.requests.*;
7+
import com.oracle.bmc.announcementsservice.responses.*;
8+
9+
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 0.0.1")
10+
public interface Announcement extends AutoCloseable {
11+
12+
/**
13+
* Sets the endpoint to call (ex, https://www.example.com).
14+
* @param endpoint The endpoint of the service.
15+
*/
16+
void setEndpoint(String endpoint);
17+
18+
/**
19+
* Sets the region to call (ex, Region.US_PHOENIX_1).
20+
* <p>
21+
* Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
22+
* @param region The region of the service.
23+
*/
24+
void setRegion(com.oracle.bmc.Region region);
25+
26+
/**
27+
* Sets the region to call (ex, 'us-phoenix-1').
28+
* <p>
29+
* Note, this will first try to map the region ID to a known Region and call
30+
* {@link #setRegion(Region) setRegion}.
31+
* <p>
32+
* If no known Region could be determined, it will create an endpoint based on the
33+
* default endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
34+
* and then call {@link #setEndpoint(String) setEndpoint}.
35+
* @param regionId The public region ID.
36+
*/
37+
void setRegion(String regionId);
38+
39+
/**
40+
* Gets details about single `Announcement` object
41+
*
42+
* @param request The request object containing the details to send
43+
* @return A response object containing details about the completed operation
44+
* @throws BmcException when an error occurs.
45+
*/
46+
GetAnnouncementResponse getAnnouncement(GetAnnouncementRequest request);
47+
48+
/**
49+
* Get user status of specified announcement
50+
*
51+
* @param request The request object containing the details to send
52+
* @return A response object containing details about the completed operation
53+
* @throws BmcException when an error occurs.
54+
*/
55+
GetAnnouncementUserStatusResponse getAnnouncementUserStatus(
56+
GetAnnouncementUserStatusRequest request);
57+
58+
/**
59+
* Gets a list of `Announcement` objects for the current tenancy
60+
*
61+
* @param request The request object containing the details to send
62+
* @return A response object containing details about the completed operation
63+
* @throws BmcException when an error occurs.
64+
*/
65+
ListAnnouncementsResponse listAnnouncements(ListAnnouncementsRequest request);
66+
67+
/**
68+
* Update `Announcement` status with whether user has seen or supressed the announcement
69+
*
70+
* @param request The request object containing the details to send
71+
* @return A response object containing details about the completed operation
72+
* @throws BmcException when an error occurs.
73+
*/
74+
UpdateAnnouncementUserStatusResponse updateAnnouncementUserStatus(
75+
UpdateAnnouncementUserStatusRequest request);
76+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
/**
2+
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
3+
*/
4+
package com.oracle.bmc.announcementsservice;
5+
6+
import com.oracle.bmc.announcementsservice.requests.*;
7+
import com.oracle.bmc.announcementsservice.responses.*;
8+
9+
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 0.0.1")
10+
public interface AnnouncementAsync extends AutoCloseable {
11+
12+
/**
13+
* Sets the endpoint to call (ex, https://www.example.com).
14+
* @param endpoint The endpoint of the serice.
15+
*/
16+
void setEndpoint(String endpoint);
17+
18+
/**
19+
* Sets the region to call (ex, Region.US_PHOENIX_1).
20+
* <p>
21+
* Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.
22+
* @param region The region of the service.
23+
*/
24+
void setRegion(com.oracle.bmc.Region region);
25+
26+
/**
27+
* Sets the region to call (ex, 'us-phoenix-1').
28+
* <p>
29+
* Note, this will first try to map the region ID to a known Region and call
30+
* {@link #setRegion(Region) setRegion}.
31+
* <p>
32+
* If no known Region could be determined, it will create an endpoint based on the
33+
* default endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
34+
* and then call {@link #setEndpoint(String) setEndpoint}.
35+
* @param regionId The public region ID.
36+
*/
37+
void setRegion(String regionId);
38+
39+
/**
40+
* Gets details about single `Announcement` object
41+
*
42+
*
43+
* @param request The request object containing the details to send
44+
* @param handler The request handler to invoke upon completion, may be null.
45+
* @return A Future that can be used to get the response if no AsyncHandler was
46+
* provided. Note, if you provide an AsyncHandler and use the Future, some
47+
* types of responses (like java.io.InputStream) may not be able to be read in
48+
* both places as the underlying stream may only be consumed once.
49+
*/
50+
java.util.concurrent.Future<GetAnnouncementResponse> getAnnouncement(
51+
GetAnnouncementRequest request,
52+
com.oracle.bmc.responses.AsyncHandler<GetAnnouncementRequest, GetAnnouncementResponse>
53+
handler);
54+
55+
/**
56+
* Get user status of specified announcement
57+
*
58+
*
59+
* @param request The request object containing the details to send
60+
* @param handler The request handler to invoke upon completion, may be null.
61+
* @return A Future that can be used to get the response if no AsyncHandler was
62+
* provided. Note, if you provide an AsyncHandler and use the Future, some
63+
* types of responses (like java.io.InputStream) may not be able to be read in
64+
* both places as the underlying stream may only be consumed once.
65+
*/
66+
java.util.concurrent.Future<GetAnnouncementUserStatusResponse> getAnnouncementUserStatus(
67+
GetAnnouncementUserStatusRequest request,
68+
com.oracle.bmc.responses.AsyncHandler<
69+
GetAnnouncementUserStatusRequest, GetAnnouncementUserStatusResponse>
70+
handler);
71+
72+
/**
73+
* Gets a list of `Announcement` objects for the current tenancy
74+
*
75+
*
76+
* @param request The request object containing the details to send
77+
* @param handler The request handler to invoke upon completion, may be null.
78+
* @return A Future that can be used to get the response if no AsyncHandler was
79+
* provided. Note, if you provide an AsyncHandler and use the Future, some
80+
* types of responses (like java.io.InputStream) may not be able to be read in
81+
* both places as the underlying stream may only be consumed once.
82+
*/
83+
java.util.concurrent.Future<ListAnnouncementsResponse> listAnnouncements(
84+
ListAnnouncementsRequest request,
85+
com.oracle.bmc.responses.AsyncHandler<
86+
ListAnnouncementsRequest, ListAnnouncementsResponse>
87+
handler);
88+
89+
/**
90+
* Update `Announcement` status with whether user has seen or supressed the announcement
91+
*
92+
*
93+
* @param request The request object containing the details to send
94+
* @param handler The request handler to invoke upon completion, may be null.
95+
* @return A Future that can be used to get the response if no AsyncHandler was
96+
* provided. Note, if you provide an AsyncHandler and use the Future, some
97+
* types of responses (like java.io.InputStream) may not be able to be read in
98+
* both places as the underlying stream may only be consumed once.
99+
*/
100+
java.util.concurrent.Future<UpdateAnnouncementUserStatusResponse> updateAnnouncementUserStatus(
101+
UpdateAnnouncementUserStatusRequest request,
102+
com.oracle.bmc.responses.AsyncHandler<
103+
UpdateAnnouncementUserStatusRequest,
104+
UpdateAnnouncementUserStatusResponse>
105+
handler);
106+
}

0 commit comments

Comments
 (0)