Skip to content

Commit

Permalink
Release ACS Rooms PSTN to GA (#39437)
Browse files Browse the repository at this point in the history
* update to PSTN GA

* update assets.json

* revert pom file

* update assets.json

* update changelog

* update assets.json

* update changelog

* update versioning

* update assets.json

* changelog typo

* update readme to new version
  • Loading branch information
allchiang-msft authored Apr 3, 2024
1 parent 9bcc8fb commit a22c9eb
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 20 deletions.
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ com.azure:azure-communication-jobrouter;1.1.2;1.2.0-beta.1
com.azure:azure-communication-messages;1.0.1;1.1.0-beta.1
com.azure:azure-communication-networktraversal;1.1.0-beta.2;1.1.0-beta.3
com.azure:azure-communication-phonenumbers;1.1.11;1.2.0-beta.4
com.azure:azure-communication-rooms;1.0.9;1.1.0-beta.2
com.azure:azure-communication-rooms;1.0.9;1.1.0
com.azure:azure-communication-sms;1.1.22;1.2.0-beta.1
com.azure:azure-containers-containerregistry;1.2.6;1.3.0-beta.1
com.azure:azure-containers-containerregistry-perf;1.0.0-beta.1;1.0.0-beta.1
Expand Down
11 changes: 2 additions & 9 deletions sdk/communication/azure-communication-rooms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
# Release History

## 1.1.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
## 1.1.0 (2024-04-15)

- General Availability version of PSTN dial-out capability feature.

## 1.0.9 (2024-03-20)

Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-rooms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-rooms</artifactId>
<version>1.0.2</version>
<version>1.1.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-rooms/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/communication/azure-communication-rooms",
"Tag": "java/communication/azure-communication-rooms_b6caf378c7"
"Tag": "java/communication/azure-communication-rooms_c1bfd681a1"
}
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-rooms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>com.azure</groupId>
<artifactId>azure-communication-rooms</artifactId>
<packaging>jar</packaging>
<version>1.1.0-beta.2</version> <!-- {x-version-update;com.azure:azure-communication-rooms;current} -->
<version>1.1.0</version> <!-- {x-version-update;com.azure:azure-communication-rooms;current} -->
<name>Microsoft Azure library for ACS Room Service</name>
<description>
This package contains clients and data structures used to create, update, get, delete the Azure Communication Room Service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public enum RoomsServiceVersion implements ServiceVersion {
V2023_06_14("2023-06-14"),

/**
* Service version {@code 2023-10-30-preview}
* Service version {@code 2024-04-15}
*/
V2023_10_30_PREVIEW("2023-10-30-preview");
V2024_04_15("2024-04-15");

private final String version;

Expand All @@ -39,6 +39,6 @@ public String getVersion() {
* @return the latest {@link RoomsServiceVersion}
*/
public static RoomsServiceVersion getLatest() {
return V2023_10_30_PREVIEW;
return V2024_04_15;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public AzureCommunicationRoomServiceImplBuilder retryPolicy(RetryPolicy retryPol
@Generated
public AzureCommunicationRoomServiceImpl buildClient() {
HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline();
String localApiVersion = (apiVersion != null) ? apiVersion : "2023-10-30-preview";
String localApiVersion = (apiVersion != null) ? apiVersion : "2024-04-15";
SerializerAdapter localSerializerAdapter =
(serializerAdapter != null) ? serializerAdapter : JacksonAdapter.createDefaultSerializerAdapter();
AzureCommunicationRoomServiceImpl client =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ private RoomsAsyncClient setupAsyncClient(HttpClient httpClient, String testName
RoomsClientBuilder builder = getRoomsClientWithConnectionString(
buildAsyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient()
: httpClient),
RoomsServiceVersion.V2023_10_30_PREVIEW);
RoomsServiceVersion.V2024_04_15);
communicationClient = getCommunicationIdentityClientBuilder(httpClient).buildClient();
return addLoggingPolicy(builder, testName).buildAsyncClient();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ private RoomsClient setupSyncClient(HttpClient httpClient, String testName) {
RoomsClientBuilder builder = getRoomsClientWithConnectionString(
buildSyncAssertingClient(httpClient == null ? interceptorManager.getPlaybackClient()
: httpClient),
RoomsServiceVersion.V2023_10_30_PREVIEW);
RoomsServiceVersion.V2024_04_15);

communicationClient = getCommunicationIdentityClientBuilder(httpClient).buildClient();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To update generated files for rooms service, run the following command
### Code generation settings
``` yaml
require:
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/16f827b7e3392f4f5bc407a626b292cab29abdf9/specification/communication/data-plane/Rooms/readme.md
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/91813ca7a287fe944262e992413ce4d51d987276/specification/communication/data-plane/Rooms/readme.md
use: '@autorest/java@4.1.17'
java: true
title: AzureCommunicationRoomService
Expand Down

0 comments on commit a22c9eb

Please sign in to comment.