Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
06f22eb
ga5 changes
v-dharmarajv May 9, 2025
f5cebcd
ga5 api changes
v-dharmarajv May 13, 2025
a7a071d
Made GA5 changes and recorded the live tests. (#45409)
v-pivamshi May 20, 2025
4c30693
Addressing arb comments
v-dharmarajv May 21, 2025
cf508ed
Added the parser for the dtmf data. (#45347)
v-pivamshi May 21, 2025
6300665
updating the white space difference
v-dharmarajv May 21, 2025
a34f372
addressing the arb comments
v-dharmarajv May 21, 2025
3beae7c
GA5 Javadoc Issues (#45432)
v-saasomani May 21, 2025
47bb9e9
Re-recorded tests and fixed linting issues (unused imports). (#45448)
v-saasomani May 22, 2025
99dccc2
updating java missing fields
v-dharmarajv May 22, 2025
0baee07
Merge branch 'callautomation/release/ga5' of https://github.com/Azure…
v-dharmarajv May 22, 2025
50ad4c7
lint errors
v-dharmarajv May 22, 2025
6fafaf3
moving transport url
v-dharmarajv May 23, 2025
0b8acfa
Addressing the ARB Comments
v-dharmarajv May 27, 2025
2fe8f65
addressing the arb comments
v-dharmarajv May 27, 2025
b83c48e
addressing all arb comments
v-dharmarajv May 27, 2025
e5964c9
merge from main
v-dharmarajv May 27, 2025
1a568e4
updating the transcription and media streaming options
v-dharmarajv May 28, 2025
2a11acf
Fixed Javadoc issues + updated ga5 version. (#45496)
v-saasomani May 28, 2025
0722329
Fixing the lint errors
v-dharmarajv May 28, 2025
f0b6caa
fixing the lint error
v-dharmarajv May 28, 2025
f2faa81
updating the changelog
v-dharmarajv May 30, 2025
c8f0c56
merge from main
v-dharmarajv Jun 3, 2025
2e374f3
Updating the changelog and release date
v-dharmarajv Jun 4, 2025
adcf1bb
Created feature branch off of callautomation/release/ga5. Updated to …
v-saasomani Jun 4, 2025
0141709
Ran recorded tests. Fixed timeout issue with waiting for incomingCall…
v-saasomani Jun 16, 2025
c319bb9
merging from main
v-dharmarajv Jun 23, 2025
1d871a8
adding teams extension user id
v-dharmarajv Jun 23, 2025
789d7ee
ga6 version
v-dharmarajv Jun 23, 2025
320d949
changelog update
v-dharmarajv Jun 23, 2025
fc8a861
moving the sipheaderprefix to extendable enum
v-dharmarajv Jun 23, 2025
68497db
setting callconnection id to recording request
v-dharmarajv Jul 7, 2025
46890d9
merging from main
v-dharmarajv Jul 10, 2025
db98550
updating the ga version
v-dharmarajv Jul 10, 2025
9143398
Increment package versions for core releases (#45876)
azure-sdk Jun 30, 2025
a408c48
Increment package versions for patch releases (#45841)
jairmyree Jun 26, 2025
a4d4c1f
latest from main autorest version
v-dharmarajv Jul 10, 2025
0aa988b
apispec endpoint from the main
v-dharmarajv Jul 10, 2025
9086a08
Fixing the build issues
v-dharmarajv Jul 11, 2025
5c81e17
cherry pickign the changes
v-dharmarajv Jul 11, 2025
4005a5e
adding recorded test
v-dharmarajv Jul 12, 2025
0ebacb5
pushing latest record file
v-dharmarajv Jul 12, 2025
569ff47
removing the public contructor as per the comments
v-dharmarajv Jul 12, 2025
05e0493
removing tests which are added mistaken
v-dharmarajv Jul 14, 2025
58e5649
Merging from main
v-dharmarajv Jul 14, 2025
819831c
updating the release date for the ga6
v-dharmarajv Jul 25, 2025
a231ded
changelog update
v-dharmarajv Jul 29, 2025
a8a72be
removing the release date
v-dharmarajv Jul 29, 2025
ab59789
reverting version beta until finalize the release date
v-dharmarajv Jul 30, 2025
a356468
merge from main
v-dharmarajv Jul 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merging from main
  • Loading branch information
v-dharmarajv committed Jun 23, 2025
commit c319bb94aea9ab390e4853e2c384decb074ecadd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.4.0 (2025-06-04)
## 1.5.0 (Unreleased)

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
import com.azure.core.http.rest.Response;
import com.azure.core.http.rest.RestProxy;
import com.azure.core.util.Context;
import com.azure.core.util.CoreUtils;
import com.azure.core.util.DateTimeRfc1123;
import com.azure.core.util.FluxUtil;
import com.azure.core.util.serializer.JacksonAdapter;
import com.azure.core.util.serializer.SerializerAdapter;
import java.time.OffsetDateTime;
import java.util.UUID;
import reactor.core.publisher.Mono;

/**
Expand Down Expand Up @@ -192,7 +192,7 @@ public CallRecordingsImpl getCallRecordings() {
* service to perform REST calls.
*/
@Host("{endpoint}")
@ServiceInterface(name = "AzureCommunicationCallAutomationService")
@ServiceInterface(name = "AzureCommunicationCa")
public interface AzureCommunicationCallAutomationServiceService {
@Post("/calling/callConnections")
@ExpectedResponses({ 201 })
Expand Down Expand Up @@ -256,7 +256,11 @@ Mono<Response<CallConnectionPropertiesInternal>> connect(@HostParam("endpoint")
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<CallConnectionPropertiesInternal>>
createCallWithResponseAsync(CreateCallRequestInternal createCallRequest) {
return FluxUtil.withContext(context -> createCallWithResponseAsync(createCallRequest, context));
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return FluxUtil.withContext(context -> service.createCall(this.getEndpoint(), this.getApiVersion(),
createCallRequest, accept, repeatabilityRequestId, repeatabilityFirstSent, context));
}

/**
Expand All @@ -273,8 +277,10 @@ Mono<Response<CallConnectionPropertiesInternal>> connect(@HostParam("endpoint")
public Mono<Response<CallConnectionPropertiesInternal>>
createCallWithResponseAsync(CreateCallRequestInternal createCallRequest, Context context) {
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return service.createCall(this.getEndpoint(), this.getApiVersion(), createCallRequest, accept,
CoreUtils.randomUuid().toString(), DateTimeRfc1123.toRfc1123String(OffsetDateTime.now()), context);
repeatabilityRequestId, repeatabilityFirstSent, context);
}

/**
Expand Down Expand Up @@ -351,7 +357,11 @@ public CallConnectionPropertiesInternal createCall(CreateCallRequestInternal cre
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<CallConnectionPropertiesInternal>>
answerCallWithResponseAsync(AnswerCallRequestInternal answerCallRequest) {
return FluxUtil.withContext(context -> answerCallWithResponseAsync(answerCallRequest, context));
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return FluxUtil.withContext(context -> service.answerCall(this.getEndpoint(), this.getApiVersion(),
answerCallRequest, accept, repeatabilityRequestId, repeatabilityFirstSent, context));
}

/**
Expand All @@ -370,8 +380,10 @@ public CallConnectionPropertiesInternal createCall(CreateCallRequestInternal cre
public Mono<Response<CallConnectionPropertiesInternal>>
answerCallWithResponseAsync(AnswerCallRequestInternal answerCallRequest, Context context) {
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return service.answerCall(this.getEndpoint(), this.getApiVersion(), answerCallRequest, accept,
CoreUtils.randomUuid().toString(), DateTimeRfc1123.toRfc1123String(OffsetDateTime.now()), context);
repeatabilityRequestId, repeatabilityFirstSent, context);
}

/**
Expand Down Expand Up @@ -453,7 +465,11 @@ public CallConnectionPropertiesInternal answerCall(AnswerCallRequestInternal ans
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<Void>> redirectCallWithResponseAsync(RedirectCallRequestInternal redirectCallRequest) {
return FluxUtil.withContext(context -> redirectCallWithResponseAsync(redirectCallRequest, context));
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return FluxUtil.withContext(context -> service.redirectCall(this.getEndpoint(), this.getApiVersion(),
redirectCallRequest, accept, repeatabilityRequestId, repeatabilityFirstSent, context));
}

/**
Expand All @@ -470,8 +486,10 @@ public Mono<Response<Void>> redirectCallWithResponseAsync(RedirectCallRequestInt
public Mono<Response<Void>> redirectCallWithResponseAsync(RedirectCallRequestInternal redirectCallRequest,
Context context) {
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return service.redirectCall(this.getEndpoint(), this.getApiVersion(), redirectCallRequest, accept,
CoreUtils.randomUuid().toString(), DateTimeRfc1123.toRfc1123String(OffsetDateTime.now()), context);
repeatabilityRequestId, repeatabilityFirstSent, context);
}

/**
Expand Down Expand Up @@ -542,7 +560,11 @@ public void redirectCall(RedirectCallRequestInternal redirectCallRequest) {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<Void>> rejectCallWithResponseAsync(RejectCallRequestInternal rejectCallRequest) {
return FluxUtil.withContext(context -> rejectCallWithResponseAsync(rejectCallRequest, context));
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return FluxUtil.withContext(context -> service.rejectCall(this.getEndpoint(), this.getApiVersion(),
rejectCallRequest, accept, repeatabilityRequestId, repeatabilityFirstSent, context));
}

/**
Expand All @@ -559,8 +581,10 @@ public Mono<Response<Void>> rejectCallWithResponseAsync(RejectCallRequestInterna
public Mono<Response<Void>> rejectCallWithResponseAsync(RejectCallRequestInternal rejectCallRequest,
Context context) {
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return service.rejectCall(this.getEndpoint(), this.getApiVersion(), rejectCallRequest, accept,
CoreUtils.randomUuid().toString(), DateTimeRfc1123.toRfc1123String(OffsetDateTime.now()), context);
repeatabilityRequestId, repeatabilityFirstSent, context);
}

/**
Expand Down Expand Up @@ -634,7 +658,11 @@ public void rejectCall(RejectCallRequestInternal rejectCallRequest) {
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<CallConnectionPropertiesInternal>>
connectWithResponseAsync(ConnectRequestInternal connectRequest) {
return FluxUtil.withContext(context -> connectWithResponseAsync(connectRequest, context));
final String accept = "application/json";
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return FluxUtil.withContext(context -> service.connect(this.getEndpoint(), this.getApiVersion(), connectRequest,
accept, repeatabilityRequestId, repeatabilityFirstSent, context));
}

/**
Expand All @@ -653,8 +681,10 @@ public void rejectCall(RejectCallRequestInternal rejectCallRequest) {
public Mono<Response<CallConnectionPropertiesInternal>>
connectWithResponseAsync(ConnectRequestInternal connectRequest, Context context) {
final String accept = "application/json";
return service.connect(this.getEndpoint(), this.getApiVersion(), connectRequest, accept,
CoreUtils.randomUuid().toString(), DateTimeRfc1123.toRfc1123String(OffsetDateTime.now()), context);
String repeatabilityRequestId = UUID.randomUUID().toString();
String repeatabilityFirstSent = DateTimeRfc1123.toRfc1123String(OffsetDateTime.now());
return service.connect(this.getEndpoint(), this.getApiVersion(), connectRequest, accept, repeatabilityRequestId,
repeatabilityFirstSent, context);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.azure.core.client.traits.HttpTrait;
import com.azure.core.credential.AzureKeyCredential;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpHeaderName;
import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
Expand All @@ -20,8 +21,8 @@
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.AddHeadersPolicy;
import com.azure.core.http.policy.AzureKeyCredentialPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
Expand All @@ -32,7 +33,6 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.CoreUtils;
import com.azure.core.util.builder.ClientBuilderUtil;
import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.serializer.JacksonAdapter;
import com.azure.core.util.serializer.SerializerAdapter;
import java.util.ArrayList;
Expand Down Expand Up @@ -71,37 +71,34 @@ public AzureCommunicationCallAutomationServiceImplBuilder() {
}

/*
* The HTTP client used to send the request.
* The HTTP pipeline to send requests through.
*/
@Generated
private HttpClient httpClient;
private HttpPipeline pipeline;

/**
* {@inheritDoc}.
*/
@Generated
@Override
public AzureCommunicationCallAutomationServiceImplBuilder httpClient(HttpClient httpClient) {
this.httpClient = httpClient;
public AzureCommunicationCallAutomationServiceImplBuilder pipeline(HttpPipeline pipeline) {
this.pipeline = pipeline;
return this;
}

/*
* The HTTP pipeline to send requests through.
* The HTTP client used to send the request.
*/
@Generated
private HttpPipeline pipeline;
private HttpClient httpClient;

/**
* {@inheritDoc}.
*/
@Generated
@Override
public AzureCommunicationCallAutomationServiceImplBuilder pipeline(HttpPipeline pipeline) {
if (this.pipeline != null && pipeline == null) {
LOGGER.atInfo().log("HttpPipeline is being set to 'null' when it was previously configured.");
}
this.pipeline = pipeline;
public AzureCommunicationCallAutomationServiceImplBuilder httpClient(HttpClient httpClient) {
this.httpClient = httpClient;
return this;
}

Expand Down Expand Up @@ -273,7 +270,6 @@ public AzureCommunicationCallAutomationServiceImplBuilder retryPolicy(RetryPolic
*/
@Generated
public AzureCommunicationCallAutomationServiceImpl buildClient() {
this.validateClient();
HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline();
String localApiVersion = (apiVersion != null) ? apiVersion : "2025-06-15";
SerializerAdapter localSerializerAdapter
Expand All @@ -283,13 +279,6 @@ public AzureCommunicationCallAutomationServiceImpl buildClient() {
return client;
}

@Generated
private void validateClient() {
// This method is invoked from 'buildInnerClient'/'buildClient' method.
// Developer can customize this method, to validate that the necessary conditions are met for the new client.
Objects.requireNonNull(endpoint, "'endpoint' cannot be null.");
}

@Generated
private HttpPipeline createHttpPipeline() {
Configuration buildConfiguration
Expand All @@ -303,8 +292,10 @@ private HttpPipeline createHttpPipeline() {
policies.add(new UserAgentPolicy(applicationId, clientName, clientVersion, buildConfiguration));
policies.add(new RequestIdPolicy());
policies.add(new AddHeadersFromContextPolicy());
HttpHeaders headers = CoreUtils.createHttpHeadersFromClientOptions(localClientOptions);
if (headers != null) {
HttpHeaders headers = new HttpHeaders();
localClientOptions.getHeaders()
.forEach(header -> headers.set(HttpHeaderName.fromString(header.getName()), header.getValue()));
if (headers.getSize() > 0) {
policies.add(new AddHeadersPolicy(headers));
}
this.pipelinePolicies.stream()
Expand All @@ -327,7 +318,4 @@ private HttpPipeline createHttpPipeline() {
.build();
return httpPipeline;
}

private static final ClientLogger LOGGER
= new ClientLogger(AzureCommunicationCallAutomationServiceImplBuilder.class);
}
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.