From 247fc76cc4a790983898ae058550d3e83d50d3b1 Mon Sep 17 00:00:00 2001 From: Zihan Zhang <43592314+zihzhan-msft@users.noreply.github.com> Date: Mon, 14 Jun 2021 16:08:36 -0700 Subject: [PATCH] Feature/communication server calling (#22055) * Onboard Communication CallingServer Client SDK. * fix(callingServer): correct most style issues (#21915) * fix(callingServer): correct most style issues * fix(callingServer): correct most style issues * fix(*): revert generated files out of scope * Update FarmBeats SDK (#21836) * Update FarmBeats SDK * Release prep * Regenerate computer vision SDK (#21788) * Regenerate computer vision SDK * Update computer vision version * Unify README embedme Usage into a Wrapper Script (#21859) Unify README embedme Usage into a Wrapper Script * Enable caching of local maven repository (#21797) - Normalize the maven options across the pipelines - Use json/ps to produce artifact list instead of yml * Increment package version after release of com.azure azure-verticals-agrifood-farming (#21904) * Skip non-existant files during version update for hardcoded exceptions (#21905) * Fix build. * fix(*): finish style check, add test base (#21941) * Update swagger location and obj models. * Zihzhan/communication server calling (#21943) * Update swagger location and obj models. * Fix sourceAlternateIdentity not pass issue. * Style check fix. * Update API version. * unit test for CallClientBuilder and other samll fixes (#21964) * fix(*): add unit tests * fix(*): add sync conversation client tests * Fix AddParticipant issues (#21967) * Playback unit test for CallClient and CallAsyncClient (#22014) * Added Unit tests for CallClient and CallAsyncClient * comment change * Add-remove participant unit tests (#22025) * fix(*): remove test url * fix(*): style issues * Using the latest swagger file (#22038) * Added join call, add-remove participant for out-call (#22040) * sync with dot net sdk (#22044) * Adding PlayAudio Api to Conversation Client (Out-Call) (#22021) * Added the PlayAudio Api for Out-call/ConversationClient * Added test for the playAudio apis * Fixed test caused due to merge coonflicts * Minor fixes Co-authored-by: Paresh Arvind Patil * Refactor code (#22053) * Deserialize events (#22064) * Fix review suggestions (#22068) * fix(*): fix issue with tests failing in maven (#22067) * fix(*): fix issue with tests failing in maven * fix(*): remove pom changes * fix review feedbacks (#22071) * unit tests for out-call add/remove (#22074) * unit tests for delete call (#22075) * remove unused generated events (#22076) * fix(*): fix package version issues * fix(*): add callingserver to version.txt * fix(*): update readme.md (not complete) * fix(*): fix package version issues * fix(*): update readme.md * fix(*): update readme.md * fix(*): remove instances of 'var' and adding correct type. 'var' fails in CI. * fix(*): update readme.md * fix(*): update readme.md * fix event de-serialization issue by adding deafult constructors (#22090) * fix(*): fix pom issue * PR review fixes (#22099) * fix review feedbacks * fix reviews * Use JSON annotated event definition (#22101) * Use json annotated event definition * update newly generated classes * pr review fix (#22108) * PR review fixes * PR review fixes * Merge latest master (#22113) * Use different connection strings for Spring ServiceBus binders integration tests. (#21966) * update changelog (#21427) * update changelog for 3.5.0 entry * Upgrade Spring UTs/ITs to use JUnit 5. (#21670) * Fix Broken Link Explaining Spring Duration Conversions (#21942) * [Communication]: Remove unused code in pom and test files (#21654) * Remove unused code in pom and test files * Restore unintended change * Revert a test file change * Restore tests.yml * Remove unused env variable in tests.yml * Remove tests.yml * Keep skipping SMS tests in INT * Try to skip jacoco in INT * try different syntax * Try use string as much as we can * Try escape quotes * Try use a variable inside loop * Fix a typo * Move variable to a different place * Try Macro syntax * Remove variable, use stage name instead * Fix syntax * Try a different syntax * Try something simple * Move variables to the right place * Flip logic * Renamve variable * Give up on customizing jacoco.skip * Try to use variable to skp jacoco * Try different syntax * Move variable declaration * Try to set variable * Try PreSteps * Remove local variable * Remove unnecessary overwrite * Remove quotes Co-authored-by: JP Chen * [Automation] Generate Fluent Lite from deviceprovisioningservices#package-2020-03 (#21938) Co-authored-by: timtay-microsoft * Adds AsyncCloseable (#21991) * Adding AsyncCloseable with codesnippet. * Implementing AsyncCloseable and deleting AsyncAutoCloseable. * Add CHANGELOG entry. * Removing azure-core as an explicit dependency. * Fix use in AmqpReceiveLinkProcessor. * Sync eng/common directory with azure-sdk-tools for PR 1611 (#21853) * Add API status check * Increment package version after release of com.azure.resourcemanager azure-resourcemanager-deviceprovisioningservices (#21994) * Update Build Script to Perform Additional Tasks (#21993) * Arch board review feedback for ACR (#21913) * Update ACR changes * Update the swagger to the new values. * read me update * Add support for ACR beta 3 * Incorporate CR comments * Set AMQP connection idle timeout to 60 seconds. (#21995) * Angiurgiu/add missing chat thread async client options methods (#21939) * Removed the item return check on listReadReceipts for Live/Record tests. Removed .sleep statements * Added missing Options methods in ChatThreadAsyncClient * Updated incorrect test name used for logging Co-authored-by: Andrei Giurgiu * add ut test for jre certificates (#21989) * Update the default authentication scope for the public cloud. (#22005) * Support getting rows as objects and map errors (#21997) * Update samples and map errors * Fix version tag * mgmt, support multiple source/destination ASG in NSG (#21980) * mgmt, support multiple source/destination ASG in NSG * checkstyle * changelog * Add integration test for keyvault certificate (#21573) * mgmt, fix sample as previous ARM template get deleted (#22011) * Add more test for jca integration test. (#21523) * azure-messaging-eventhubs-checkpointstore-blob Post Release Version Increment (#22010) * Update CODEOWNERs for Mixed Reality Authentication (#22004) This change adds me as a code owner of the Mixed Reality Authentication library. * Bump versions of core amqp and servicebus (#22020) * Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#22031) * Add autoscale RU support for azure-spring-data-cosmos (#21851) * Add autoscale RU support for azure-spring-data-cosmos Resolves #12711 * Added sample to read me for auto scale throughput * Fixed readme link Co-authored-by: Kushagra Thapar * Adding a No Op version of the List RR with Options test, for code coverage (#22035) Co-authored-by: Andrei Giurgiu * Prepare azure-sdk-bom for Release (#22001) Prepare azure-sdk-bom for Release * mgmt core, move ArmChallengeAuthenticationPolicy from experimental (#21961) * mgmt core, move ArmChallengeAuthenticationPolicy from experimental * reuse ArmChallengeAuthenticationPolicy in azure-resourcemanager-resources * Check if a queue exists but the name is used for a topic and vice versa (#19513) * add check existing queue * return an empty simple response * Make Library/Libraries Used in Bug Report More Explicit (#22047) Make Library/Libraries Used in Bug and Query Issue Templates More Explicit * Updaing AAP jar version for signed jar and moving it it azure devops feed from blob storage (#22046) * Add the ability to check for open pull request to a different repo. (#22059) Co-authored-by: Chidozie Ononiwu * Use sparse-checkout When Performing a POM Only Release (#22037) Use sparse-checkout When Performing a POM Only Release * Dispose link immediately if updateDisposition timeout. (#22036) * Set azure-sdk-bom to In-Dev (#22052) Set azure-sdk-bom to In-Dev * Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#22062) * mgmt, aks support spot vm (#22016) * support spot vm in aks * changlog * rename method * Expose CbsAuthorizationType (#22072) * Adding CbsAuthorizationType model. * Deleting implementation CbsAuthorizationType. * Update AzureTokenManagerProvider to use ExpandableEnum CbsAuthorizationType. * Fix CbsAuthorizationType imports. * Fixing Event Hubs breaks. * Fix Service Bus breaks. * Addressed API Feedback for Storage STG77 (#22023) * Metrics Advisor SDK APIs aligning with most recent swagger updates (#21936) * Adding more doc to FeedType types and correcting typo in addFeedback API name * Using the name Sql, MongoDb, InfluxDb * Initial impl of credential entities and its integration with data feed * Apply Fluent, Immutable as appropriate * Updating listMetricEnrichedSeriesData signature to take detectionId as first argument * Renaming listAnomaliesForAlert and listAnomaliesForDetectionConfig to listAnomalies * Adding ClientOptions * Renaming listIncidentsForAlert and listIncidentsForDetectionConfig to listIncidents * Adding DimensionKey::get(..) and renaming TOPN enum-value to TOP_N * Add options overload API's * revert DataFeedIngestionOption changes * Updating BoundaryDirection, DataFeedRollupType, DataFeedSourceType and SingleBoundaryDirection to ExpandableStringEnum * Adding doc for DataFeedSource abstract type, renaming AzureCosmosDataFeedSource to AzureCosmosDbDataFeedSource, deleting unused ElasticsearchDataFeedSource and HttpRequestDataFeedSource * Removing setSubscriptionKey() and setApiKey(), instead adding an update method to atomically update the keys * MA Credentials: Removing Entity suffix and adding DataSource prefix * Rename ErrorCode to MetricsAdvisorErrorCode * update listDataFeedIngestionStatus * Addressing feedback for the last commit (Fixingspotbug and checkstyle) * consider datasource prefix for credential as one word (archfeedback) * Renaming DataSourceCredentialType to DatasourceCredentialType * Adding tests for Data Source Credentials. Rename userfacing type DataSourceAuthenticationType to DatasourceAuthenticationType (Datasource as one word) * Adding junit tests for data source cred async apis * Adding sync tests for Data Source Credentials and recordings * Adding samples and code snippets for Credential Entity API * Adding test skeleton for associating cred to datafeed * Use single word datasource for DataSourceDataLakeGen2SharedKey * Removing unsupported value 'Secondly' from Granularity * Hiding clientSecret getter from AzureLogAnalyticsDataFeedSource * Finishing Cred association with DataFeedSources * Completing tests for Cred association with DataFeedSources * Adding test recordings for Cred to DataFeedSource association * Adding cred association to AzureLogAnalytics DataFeed * Add valid cred for log analytics * rename to updateKey * rename env vars * Moving admin models to admininstration.models package * Removing equality assert on LogAna ids * Update Changelog (#7) * Fix pipeline error - export admin models (#8) * Moving MetricsAdvisorServiceVersion to root package * Override setDimensionFilter in Feedback types to ensure fluent chain * Adding addFeedbackWithResponse in sync client * Use the param name credentialId consistently, removing unsupported connectionstring cred from data-explorer * Rename DATA_LAKE_GEN2SHARED_KEY enum-val to DATA_LAKE_GEN2_SHARED_KEY, use DataFeedRollupSettings::rollupIdentificationValue param name consiistently * Use from prefix (instead of using prefix) for all factory methods to create data-source with credentials * Introduced MetricsAdvisorKeys that composes subscription and api key * Renaming error types to MetricsAdvisorError and MetricsAdvisorResponseException * update module info and add final Co-authored-by: samvaity Co-authored-by: Sameeksha Vaity * Update AMQP Error Context and adding more AMQP error codes (#22060) * Adding documentation to potential Amqp errors. * Making valueMap for AmqpResponseCode final. * Update AmqpErrorContext to contain ErrorInfo. * Add revapi.json suppression. The serialization itself is compatible based on "Compatible changes" in https://docs.oracle.com/javase/6/docs/platform/serialization/spec/version.html#6678 * Adding test case. * Adding more error conditions. * Fixed mapping cosmos converter to handle value nodes (#22073) * Added value query suport to spring data cosmos query annotation * Fixed mapping cosmos converter regression * Test Wagon Changes to Determine Install Performance (#22082) Wagon Changes to Improve Install Performance * [Storage] Use FluxUtil for reliable download. (#22080) * first draft. * indent. * npes. * timeout. * fix empty case. * checkstyle * tests * Rename confidential ledger package (#22056) * Rename confidential ledger package * Use 1.0.0-beta.2 as dependency version * Added support for generating SAS tokens at the account and Table service level. (#21944) * Added support for generating SAS tokens at the Account and Table Service in all clients. Updated CHANGELOG. * Added partition key and row key values for SAS generation. * Fixed CheckStyle issues. * Fixed SpotBugs issue. * Removed more unused imports. * Renamed classes used for generating table-level SAS tokens. Made clients throw an exception when trying to generate SAS tokens if not authenticated with an AzureNamedKeyCredential. * Made client builders throw an IllegalStateException if more than one authentication setting is applied. * Changed module-info.java to export the tables package to all other packages. * Added tests for SAS models. * Added builder tests for when multiple forms of authentication are set. * Updated builders to throw when no endpoint or form of authentication are provided. * Fixed CheckStyle issues. * Fixed test name. * Removed unnecessary exports for implementation packages in module-info.java * Applied PR feedback: - Added extra clarity to when SAS models' toString() methods can return an empty String. - Removed unnecessary empty constructors in TableSasIpRange and TableSasPermission. - Changed builder parameter validation logic to the `buildClient()` and `buildAsyncClient()` methods. - Builders now also throw an IllegalStateException when calling `buildClient()` and `buildAsyncClient()` if multiple forms of authentication are provided, with the exception of 'sasToken' + 'connectionString'; or if 'endpoint' and/or 'sasToken' are set alongside a 'connectionString' and the endpoint and/or SAS token in the latter are different, respectively. - Removed "en-us" from all links in JavaDoc. - Updated CHANGELOG. * Added tests and renamed test classes to match clients and builders. * Updated CHANGELOG and client builders' JavaDoc. * Applied APIView feedback. * Updated CHANGELOG again. * Removed unused imports. Simplified SAS token comparison logic. * Fixed SAS token generation at the table level. Re-ordered query parameters in SAS tokens for both accounts and tables. Added tests for SAS tokens. * Updated CHANGELOG. * Fixed test and CheckStyle issues. * Added @Immutable and @Fluent annotations where appropriate. Made more models and classes in the sas package final. * Added more @Immutable annotations. * Fetch specific branch name only in git-branch-push script (#21998) Co-authored-by: Ben Broderick Phillips * Use generate matrix job name parameter as display name (#22089) Co-authored-by: Ben Broderick Phillips * Update proton-j and qpid-proton-j-extensions (#22081) * Use sparse checkout for Update Package Version release stage (#22002) * Fix subscription bugs in ReactorSession and ReactorConnection (#22085) * Fix error where Mono for dispose of was not being subscribed to. * Fix error where close operations were not being subscribed to. * Fixing distinct to distinctUntilChanged * Update CHANGELOG with authorization type. * mgmt, support parameters in policy (#22103) * mgmt, support parameters in policy * changelog * use immutable collection * Fixing max length of userAgent header (#22018) * Fixing max length of userAgent header * Addressed CR feedback * Restricting the total UserAgent length to 255 characters * Fixing unit test regression Co-authored-by: Xiaobing Zhu <71206407+ZhuXiaoBing-cn@users.noreply.github.com> Co-authored-by: zhihaoguo Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: timtay-microsoft Co-authored-by: Connie Yau Co-authored-by: Pallavi Taneja Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: angiurgiu Co-authored-by: Andrei Giurgiu Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: lzc-1997-abel <70368631+lzc-1997-abel@users.noreply.github.com> Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Craig Treasure Co-authored-by: John Mannix Co-authored-by: Kushagra Thapar Co-authored-by: Francesco Scuccimarri Co-authored-by: Naveen Singh Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Anu Thomas Chandy Co-authored-by: samvaity Co-authored-by: Sameeksha Vaity Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Co-authored-by: Jianghao Lu Co-authored-by: vcolin7 Co-authored-by: Ben Broderick Phillips Co-authored-by: Fabian Meiswinkel * pr review fix (#22125) * pr review fix * pr review fix * Chrwhit/master update two (#22123) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta * pr review fix (#22131) * PR review fix (#22138) * PR review fix * PR review fix * pr review fix * Chrwhit/merge master three (#22146) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * fix(*): update communication comon package version in callingServer Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> * Chrwhit/merge master four (#22151) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * Increment version for core releases (#22124) Increment package version after release of Core libraries * Update datafeed tests to remove error code asserts (#22121) * Made Tables service interfaces public (#22130) * Made service interfaces public for Key Vault and Tables impl clients. * Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files. * Added check for null credentials in Key Vault Administration Builders. * Reverted changes made to KV libraries. * Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128) * Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148) * Client throughput control: Deferring store invocation (#22144) * Dummy * Deferring teh request when ClinetThrouhgputControl is enabled * Client throughput control: defer store invocation * Adding additional test-coverage in throughput tests * Reacting to code review feedback. * Adding back createItem_withBulk test * Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145) * Update format of new Changelog Entry * Add parsing of changelog sections * Update ChangeLog Logic Co-authored-by: Chidozie Ononiwu * fix(*): update server calling pom Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Sameeksha Vaity Co-authored-by: vcolin7 Co-authored-by: Liudmila Molkova Co-authored-by: Fabian Meiswinkel Co-authored-by: Chidozie Ononiwu * fix(*): add tests, 70% coverage * fix(*): remove var * new schema fix + new class model (#22164) * New swagger schema applied * New class model applied * roll back azure common lib (#22165) * Chrwhit/merge master five (#22177) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * Increment version for core releases (#22124) Increment package version after release of Core libraries * Update datafeed tests to remove error code asserts (#22121) * Made Tables service interfaces public (#22130) * Made service interfaces public for Key Vault and Tables impl clients. * Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files. * Added check for null credentials in Key Vault Administration Builders. * Reverted changes made to KV libraries. * Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128) * Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148) * Client throughput control: Deferring store invocation (#22144) * Dummy * Deferring teh request when ClinetThrouhgputControl is enabled * Client throughput control: defer store invocation * Adding additional test-coverage in throughput tests * Reacting to code review feedback. * Adding back createItem_withBulk test * Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145) * Update format of new Changelog Entry * Add parsing of changelog sections * Update ChangeLog Logic Co-authored-by: Chidozie Ononiwu * [Communication]: Update readme to release version (#22149) * Update readme to release version * Ignore transitive API errors from core Co-authored-by: JP Chen * Update pom (#22155) Co-authored-by: JP Chen * Update EventGrid Version to 4.4.0 (#22156) * Prepared storage for GA release of STG77 (#22152) * Identity versions Update June 2021 (#22153) * updated keyvault jca changelog for local jre keystore certificates (#22133) * mgmt, support vm boot diagnostics on managed storage account (#22162) * Cosmos Spark: Not-nullable properties to include "id" (#22143) * Id not nullable * Unit tests * Adding _ts * Integration tests * Update the release dates (#22169) Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Sameeksha Vaity Co-authored-by: vcolin7 Co-authored-by: Liudmila Molkova Co-authored-by: Fabian Meiswinkel Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Vinay Gera Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com> * fix(calling-server): update common version * Adding ACS Recording Download SDK (#22026) This change adds new 'DownloadStream', 'DownloadStreamWithResponse', 'DownloadTo' and 'DownloadToWithResponse' methods to allow users to download their requested content related to ACS Recording. * new schema minor fix (#22183) * refactor and minor fixes * minor fixes * Making ProgressReporter.reportProgress to release the lock everytime. (#22182) * Rebasing master into feature/communication-ServerCalling (#22185) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * Increment version for core releases (#22124) Increment package version after release of Core libraries * Update datafeed tests to remove error code asserts (#22121) * Made Tables service interfaces public (#22130) * Made service interfaces public for Key Vault and Tables impl clients. * Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files. * Added check for null credentials in Key Vault Administration Builders. * Reverted changes made to KV libraries. * Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128) * Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148) * Client throughput control: Deferring store invocation (#22144) * Dummy * Deferring teh request when ClinetThrouhgputControl is enabled * Client throughput control: defer store invocation * Adding additional test-coverage in throughput tests * Reacting to code review feedback. * Adding back createItem_withBulk test * Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145) * Update format of new Changelog Entry * Add parsing of changelog sections * Update ChangeLog Logic Co-authored-by: Chidozie Ononiwu * [Communication]: Update readme to release version (#22149) * Update readme to release version * Ignore transitive API errors from core Co-authored-by: JP Chen * Update pom (#22155) Co-authored-by: JP Chen * Update EventGrid Version to 4.4.0 (#22156) * Prepared storage for GA release of STG77 (#22152) * Identity versions Update June 2021 (#22153) * updated keyvault jca changelog for local jre keystore certificates (#22133) * mgmt, support vm boot diagnostics on managed storage account (#22162) * Cosmos Spark: Not-nullable properties to include "id" (#22143) * Id not nullable * Unit tests * Adding _ts * Integration tests * Update the release dates (#22169) * Increment package version after release of com.azure azure-identity (#22168) * Added support for metadata in messages (#22158) * Added support for metadata in messages * Updated tests to reflect various PATCH scenarios. Reverted the autorest convention change * Re-added V2021_03_07 Co-authored-by: Andrei Giurgiu * Fix Azure Core Amqp Sample issue #18806 by lihong 202105271344 (#21885) * Change Track 2 SB sendMessages() API for messages are being sent at a slow pace (#21014) * [BUG] Track 2 SB API (Batch Send Messages) doesn't seem to work. Messages are being sent at a slow pace. #16127 * Implement an Event Hubs Shared Access Key Credential (#21228) * Fix issue#16466 Implement an Event Hubs Shared Access Key Credential 202105061703 by LiHong * Prepare for metricsadvisor Beta release (#22175) * Prepare monitor query for release (#22166) * Increment version for communication releases (#22171) * Increment package version after release of com.azure azure-communication-identity * Increment package version after release of com.azure azure-communication-common * Increment package version after release of com.azure azure-communication-phonenumbers * Increment package version after release of com.azure azure-communication-sms * Increment package version after release of com.azure azure-ai-metricsadvisor (#22179) * Update azure-search-documents After Release (#22176) * Fix title in changelog (#22181) * Increment version for storage releases (#22172) * Increment package version after release of com.azure azure-storage-internal-avro * Increment package version after release of com.azure azure-storage-common * Increment package version after release of com.azure azure-storage-blob * Increment package version after release of com.azure azure-storage-queue * Increment package version after release of com.azure azure-storage-file-share * Increment package version after release of com.azure azure-storage-blob-batch * Increment package version after release of com.azure azure-storage-blob-nio * Increment package version after release of com.azure azure-storage-blob-cryptography * Increment package version after release of com.azure azure-storage-file-datalake * Increment package version after release of com.azure azure-storage-blob-changefeed * Adding IoT Hub connection string sample (#22157) * Adding IoTHubConnection string sample. * Tables list/get access policies changes (#22161) * Fixed serialization issues with listAccessPolicies() and setAccessPolicies in TableAsyncClient and TableClient. Added tests. * Added a test for service properties and statistics. * Fixed CheckStyle issues. * Applied PR feedback. * Fixed compilation error(?). * Made TableAccessPolicies final. * Fixed another CheckStyle issue. * Fixed another CheckStyle issue. Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Sameeksha Vaity Co-authored-by: vcolin7 Co-authored-by: Liudmila Molkova Co-authored-by: Fabian Meiswinkel Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Vinay Gera Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com> Co-authored-by: angiurgiu Co-authored-by: Andrei Giurgiu Co-authored-by: Hong Li(MSFT) <74638143+hongli750210@users.noreply.github.com> * fix(serverCalling): update some test recordings * Onboard Communication CallingServer Client SDK. * fix(callingServer): correct most style issues (#21915) * fix(callingServer): correct most style issues * fix(callingServer): correct most style issues * fix(*): revert generated files out of scope * Update FarmBeats SDK (#21836) * Update FarmBeats SDK * Release prep * Fix build. * fix(*): finish style check, add test base (#21941) * Update swagger location and obj models. * Zihzhan/communication server calling (#21943) * Update swagger location and obj models. * Fix sourceAlternateIdentity not pass issue. * Style check fix. * Update API version. * unit test for CallClientBuilder and other samll fixes (#21964) * fix(*): add unit tests * fix(*): add sync conversation client tests * Fix AddParticipant issues (#21967) * Playback unit test for CallClient and CallAsyncClient (#22014) * Added Unit tests for CallClient and CallAsyncClient * comment change * Add-remove participant unit tests (#22025) * fix(*): remove test url * fix(*): style issues * Using the latest swagger file (#22038) * Added join call, add-remove participant for out-call (#22040) * sync with dot net sdk (#22044) * Adding PlayAudio Api to Conversation Client (Out-Call) (#22021) * Added the PlayAudio Api for Out-call/ConversationClient * Added test for the playAudio apis * Fixed test caused due to merge coonflicts * Minor fixes Co-authored-by: Paresh Arvind Patil * Refactor code (#22053) * Deserialize events (#22064) * Fix review suggestions (#22068) * fix(*): fix issue with tests failing in maven (#22067) * fix(*): fix issue with tests failing in maven * fix(*): remove pom changes * fix review feedbacks (#22071) * unit tests for out-call add/remove (#22074) * unit tests for delete call (#22075) * remove unused generated events (#22076) * fix(*): fix package version issues * fix(*): add callingserver to version.txt * fix(*): update readme.md (not complete) * fix(*): fix package version issues * fix(*): update readme.md * fix(*): update readme.md * fix(*): remove instances of 'var' and adding correct type. 'var' fails in CI. * fix(*): update readme.md * fix(*): update readme.md * fix(*): fix pom issue * fix event de-serialization issue by adding deafult constructors (#22090) * PR review fixes (#22099) * fix review feedbacks * fix reviews * Use JSON annotated event definition (#22101) * Use json annotated event definition * update newly generated classes * pr review fix (#22108) * PR review fixes * PR review fixes * Merge latest master (#22113) * Use different connection strings for Spring ServiceBus binders integration tests. (#21966) * update changelog (#21427) * update changelog for 3.5.0 entry * Upgrade Spring UTs/ITs to use JUnit 5. (#21670) * Fix Broken Link Explaining Spring Duration Conversions (#21942) * [Communication]: Remove unused code in pom and test files (#21654) * Remove unused code in pom and test files * Restore unintended change * Revert a test file change * Restore tests.yml * Remove unused env variable in tests.yml * Remove tests.yml * Keep skipping SMS tests in INT * Try to skip jacoco in INT * try different syntax * Try use string as much as we can * Try escape quotes * Try use a variable inside loop * Fix a typo * Move variable to a different place * Try Macro syntax * Remove variable, use stage name instead * Fix syntax * Try a different syntax * Try something simple * Move variables to the right place * Flip logic * Renamve variable * Give up on customizing jacoco.skip * Try to use variable to skp jacoco * Try different syntax * Move variable declaration * Try to set variable * Try PreSteps * Remove local variable * Remove unnecessary overwrite * Remove quotes Co-authored-by: JP Chen * [Automation] Generate Fluent Lite from deviceprovisioningservices#package-2020-03 (#21938) Co-authored-by: timtay-microsoft * Adds AsyncCloseable (#21991) * Adding AsyncCloseable with codesnippet. * Implementing AsyncCloseable and deleting AsyncAutoCloseable. * Add CHANGELOG entry. * Removing azure-core as an explicit dependency. * Fix use in AmqpReceiveLinkProcessor. * Sync eng/common directory with azure-sdk-tools for PR 1611 (#21853) * Add API status check * Increment package version after release of com.azure.resourcemanager azure-resourcemanager-deviceprovisioningservices (#21994) * Update Build Script to Perform Additional Tasks (#21993) * Arch board review feedback for ACR (#21913) * Update ACR changes * Update the swagger to the new values. * read me update * Add support for ACR beta 3 * Incorporate CR comments * Set AMQP connection idle timeout to 60 seconds. (#21995) * Angiurgiu/add missing chat thread async client options methods (#21939) * Removed the item return check on listReadReceipts for Live/Record tests. Removed .sleep statements * Added missing Options methods in ChatThreadAsyncClient * Updated incorrect test name used for logging Co-authored-by: Andrei Giurgiu * add ut test for jre certificates (#21989) * Update the default authentication scope for the public cloud. (#22005) * Support getting rows as objects and map errors (#21997) * Update samples and map errors * Fix version tag * mgmt, support multiple source/destination ASG in NSG (#21980) * mgmt, support multiple source/destination ASG in NSG * checkstyle * changelog * Add integration test for keyvault certificate (#21573) * mgmt, fix sample as previous ARM template get deleted (#22011) * Add more test for jca integration test. (#21523) * azure-messaging-eventhubs-checkpointstore-blob Post Release Version Increment (#22010) * Update CODEOWNERs for Mixed Reality Authentication (#22004) This change adds me as a code owner of the Mixed Reality Authentication library. * Bump versions of core amqp and servicebus (#22020) * Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#22031) * Add autoscale RU support for azure-spring-data-cosmos (#21851) * Add autoscale RU support for azure-spring-data-cosmos Resolves #12711 * Added sample to read me for auto scale throughput * Fixed readme link Co-authored-by: Kushagra Thapar * Adding a No Op version of the List RR with Options test, for code coverage (#22035) Co-authored-by: Andrei Giurgiu * Prepare azure-sdk-bom for Release (#22001) Prepare azure-sdk-bom for Release * mgmt core, move ArmChallengeAuthenticationPolicy from experimental (#21961) * mgmt core, move ArmChallengeAuthenticationPolicy from experimental * reuse ArmChallengeAuthenticationPolicy in azure-resourcemanager-resources * Check if a queue exists but the name is used for a topic and vice versa (#19513) * add check existing queue * return an empty simple response * Make Library/Libraries Used in Bug Report More Explicit (#22047) Make Library/Libraries Used in Bug and Query Issue Templates More Explicit * Updaing AAP jar version for signed jar and moving it it azure devops feed from blob storage (#22046) * Add the ability to check for open pull request to a different repo. (#22059) Co-authored-by: Chidozie Ononiwu * Use sparse-checkout When Performing a POM Only Release (#22037) Use sparse-checkout When Performing a POM Only Release * Dispose link immediately if updateDisposition timeout. (#22036) * Set azure-sdk-bom to In-Dev (#22052) Set azure-sdk-bom to In-Dev * Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#22062) * mgmt, aks support spot vm (#22016) * support spot vm in aks * changlog * rename method * Expose CbsAuthorizationType (#22072) * Adding CbsAuthorizationType model. * Deleting implementation CbsAuthorizationType. * Update AzureTokenManagerProvider to use ExpandableEnum CbsAuthorizationType. * Fix CbsAuthorizationType imports. * Fixing Event Hubs breaks. * Fix Service Bus breaks. * Addressed API Feedback for Storage STG77 (#22023) * Metrics Advisor SDK APIs aligning with most recent swagger updates (#21936) * Adding more doc to FeedType types and correcting typo in addFeedback API name * Using the name Sql, MongoDb, InfluxDb * Initial impl of credential entities and its integration with data feed * Apply Fluent, Immutable as appropriate * Updating listMetricEnrichedSeriesData signature to take detectionId as first argument * Renaming listAnomaliesForAlert and listAnomaliesForDetectionConfig to listAnomalies * Adding ClientOptions * Renaming listIncidentsForAlert and listIncidentsForDetectionConfig to listIncidents * Adding DimensionKey::get(..) and renaming TOPN enum-value to TOP_N * Add options overload API's * revert DataFeedIngestionOption changes * Updating BoundaryDirection, DataFeedRollupType, DataFeedSourceType and SingleBoundaryDirection to ExpandableStringEnum * Adding doc for DataFeedSource abstract type, renaming AzureCosmosDataFeedSource to AzureCosmosDbDataFeedSource, deleting unused ElasticsearchDataFeedSource and HttpRequestDataFeedSource * Removing setSubscriptionKey() and setApiKey(), instead adding an update method to atomically update the keys * MA Credentials: Removing Entity suffix and adding DataSource prefix * Rename ErrorCode to MetricsAdvisorErrorCode * update listDataFeedIngestionStatus * Addressing feedback for the last commit (Fixingspotbug and checkstyle) * consider datasource prefix for credential as one word (archfeedback) * Renaming DataSourceCredentialType to DatasourceCredentialType * Adding tests for Data Source Credentials. Rename userfacing type DataSourceAuthenticationType to DatasourceAuthenticationType (Datasource as one word) * Adding junit tests for data source cred async apis * Adding sync tests for Data Source Credentials and recordings * Adding samples and code snippets for Credential Entity API * Adding test skeleton for associating cred to datafeed * Use single word datasource for DataSourceDataLakeGen2SharedKey * Removing unsupported value 'Secondly' from Granularity * Hiding clientSecret getter from AzureLogAnalyticsDataFeedSource * Finishing Cred association with DataFeedSources * Completing tests for Cred association with DataFeedSources * Adding test recordings for Cred to DataFeedSource association * Adding cred association to AzureLogAnalytics DataFeed * Add valid cred for log analytics * rename to updateKey * rename env vars * Moving admin models to admininstration.models package * Removing equality assert on LogAna ids * Update Changelog (#7) * Fix pipeline error - export admin models (#8) * Moving MetricsAdvisorServiceVersion to root package * Override setDimensionFilter in Feedback types to ensure fluent chain * Adding addFeedbackWithResponse in sync client * Use the param name credentialId consistently, removing unsupported connectionstring cred from data-explorer * Rename DATA_LAKE_GEN2SHARED_KEY enum-val to DATA_LAKE_GEN2_SHARED_KEY, use DataFeedRollupSettings::rollupIdentificationValue param name consiistently * Use from prefix (instead of using prefix) for all factory methods to create data-source with credentials * Introduced MetricsAdvisorKeys that composes subscription and api key * Renaming error types to MetricsAdvisorError and MetricsAdvisorResponseException * update module info and add final Co-authored-by: samvaity Co-authored-by: Sameeksha Vaity * Update AMQP Error Context and adding more AMQP error codes (#22060) * Adding documentation to potential Amqp errors. * Making valueMap for AmqpResponseCode final. * Update AmqpErrorContext to contain ErrorInfo. * Add revapi.json suppression. The serialization itself is compatible based on "Compatible changes" in https://docs.oracle.com/javase/6/docs/platform/serialization/spec/version.html#6678 * Adding test case. * Adding more error conditions. * Fixed mapping cosmos converter to handle value nodes (#22073) * Added value query suport to spring data cosmos query annotation * Fixed mapping cosmos converter regression * Test Wagon Changes to Determine Install Performance (#22082) Wagon Changes to Improve Install Performance * [Storage] Use FluxUtil for reliable download. (#22080) * first draft. * indent. * npes. * timeout. * fix empty case. * checkstyle * tests * Rename confidential ledger package (#22056) * Rename confidential ledger package * Use 1.0.0-beta.2 as dependency version * Added support for generating SAS tokens at the account and Table service level. (#21944) * Added support for generating SAS tokens at the Account and Table Service in all clients. Updated CHANGELOG. * Added partition key and row key values for SAS generation. * Fixed CheckStyle issues. * Fixed SpotBugs issue. * Removed more unused imports. * Renamed classes used for generating table-level SAS tokens. Made clients throw an exception when trying to generate SAS tokens if not authenticated with an AzureNamedKeyCredential. * Made client builders throw an IllegalStateException if more than one authentication setting is applied. * Changed module-info.java to export the tables package to all other packages. * Added tests for SAS models. * Added builder tests for when multiple forms of authentication are set. * Updated builders to throw when no endpoint or form of authentication are provided. * Fixed CheckStyle issues. * Fixed test name. * Removed unnecessary exports for implementation packages in module-info.java * Applied PR feedback: - Added extra clarity to when SAS models' toString() methods can return an empty String. - Removed unnecessary empty constructors in TableSasIpRange and TableSasPermission. - Changed builder parameter validation logic to the `buildClient()` and `buildAsyncClient()` methods. - Builders now also throw an IllegalStateException when calling `buildClient()` and `buildAsyncClient()` if multiple forms of authentication are provided, with the exception of 'sasToken' + 'connectionString'; or if 'endpoint' and/or 'sasToken' are set alongside a 'connectionString' and the endpoint and/or SAS token in the latter are different, respectively. - Removed "en-us" from all links in JavaDoc. - Updated CHANGELOG. * Added tests and renamed test classes to match clients and builders. * Updated CHANGELOG and client builders' JavaDoc. * Applied APIView feedback. * Updated CHANGELOG again. * Removed unused imports. Simplified SAS token comparison logic. * Fixed SAS token generation at the table level. Re-ordered query parameters in SAS tokens for both accounts and tables. Added tests for SAS tokens. * Updated CHANGELOG. * Fixed test and CheckStyle issues. * Added @Immutable and @Fluent annotations where appropriate. Made more models and classes in the sas package final. * Added more @Immutable annotations. * Fetch specific branch name only in git-branch-push script (#21998) Co-authored-by: Ben Broderick Phillips * Use generate matrix job name parameter as display name (#22089) Co-authored-by: Ben Broderick Phillips * Update proton-j and qpid-proton-j-extensions (#22081) * Use sparse checkout for Update Package Version release stage (#22002) * Fix subscription bugs in ReactorSession and ReactorConnection (#22085) * Fix error where Mono for dispose of was not being subscribed to. * Fix error where close operations were not being subscribed to. * Fixing distinct to distinctUntilChanged * Update CHANGELOG with authorization type. * mgmt, support parameters in policy (#22103) * mgmt, support parameters in policy * changelog * use immutable collection * Fixing max length of userAgent header (#22018) * Fixing max length of userAgent header * Addressed CR feedback * Restricting the total UserAgent length to 255 characters * Fixing unit test regression Co-authored-by: Xiaobing Zhu <71206407+ZhuXiaoBing-cn@users.noreply.github.com> Co-authored-by: zhihaoguo Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: timtay-microsoft Co-authored-by: Connie Yau Co-authored-by: Pallavi Taneja Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: angiurgiu Co-authored-by: Andrei Giurgiu Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: lzc-1997-abel <70368631+lzc-1997-abel@users.noreply.github.com> Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Craig Treasure Co-authored-by: John Mannix Co-authored-by: Kushagra Thapar Co-authored-by: Francesco Scuccimarri Co-authored-by: Naveen Singh Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Anu Thomas Chandy Co-authored-by: samvaity Co-authored-by: Sameeksha Vaity Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Co-authored-by: Jianghao Lu Co-authored-by: vcolin7 Co-authored-by: Ben Broderick Phillips Co-authored-by: Fabian Meiswinkel * pr review fix (#22125) * pr review fix * pr review fix * Chrwhit/master update two (#22123) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta * pr review fix (#22131) * PR review fix (#22138) * PR review fix * PR review fix * pr review fix * Chrwhit/merge master three (#22146) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * fix(*): update communication comon package version in callingServer Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> * Chrwhit/merge master four (#22151) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * Increment version for core releases (#22124) Increment package version after release of Core libraries * Update datafeed tests to remove error code asserts (#22121) * Made Tables service interfaces public (#22130) * Made service interfaces public for Key Vault and Tables impl clients. * Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files. * Added check for null credentials in Key Vault Administration Builders. * Reverted changes made to KV libraries. * Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128) * Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148) * Client throughput control: Deferring store invocation (#22144) * Dummy * Deferring teh request when ClinetThrouhgputControl is enabled * Client throughput control: defer store invocation * Adding additional test-coverage in throughput tests * Reacting to code review feedback. * Adding back createItem_withBulk test * Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145) * Update format of new Changelog Entry * Add parsing of changelog sections * Update ChangeLog Logic Co-authored-by: Chidozie Ononiwu * fix(*): update server calling pom Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Sameeksha Vaity Co-authored-by: vcolin7 Co-authored-by: Liudmila Molkova Co-authored-by: Fabian Meiswinkel Co-authored-by: Chidozie Ononiwu * fix(*): add tests, 70% coverage * fix(*): remove var * new schema fix + new class model (#22164) * New swagger schema applied * New class model applied * roll back azure common lib (#22165) * Chrwhit/merge master five (#22177) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * Increment version for core releases (#22124) Increment package version after release of Core libraries * Update datafeed tests to remove error code asserts (#22121) * Made Tables service interfaces public (#22130) * Made service interfaces public for Key Vault and Tables impl clients. * Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files. * Added check for null credentials in Key Vault Administration Builders. * Reverted changes made to KV libraries. * Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128) * Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148) * Client throughput control: Deferring store invocation (#22144) * Dummy * Deferring teh request when ClinetThrouhgputControl is enabled * Client throughput control: defer store invocation * Adding additional test-coverage in throughput tests * Reacting to code review feedback. * Adding back createItem_withBulk test * Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145) * Update format of new Changelog Entry * Add parsing of changelog sections * Update ChangeLog Logic Co-authored-by: Chidozie Ononiwu * [Communication]: Update readme to release version (#22149) * Update readme to release version * Ignore transitive API errors from core Co-authored-by: JP Chen * Update pom (#22155) Co-authored-by: JP Chen * Update EventGrid Version to 4.4.0 (#22156) * Prepared storage for GA release of STG77 (#22152) * Identity versions Update June 2021 (#22153) * updated keyvault jca changelog for local jre keystore certificates (#22133) * mgmt, support vm boot diagnostics on managed storage account (#22162) * Cosmos Spark: Not-nullable properties to include "id" (#22143) * Id not nullable * Unit tests * Adding _ts * Integration tests * Update the release dates (#22169) Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Sameeksha Vaity Co-authored-by: vcolin7 Co-authored-by: Liudmila Molkova Co-authored-by: Fabian Meiswinkel Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Vinay Gera Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com> * fix(calling-server): update common version * Adding ACS Recording Download SDK (#22026) This change adds new 'DownloadStream', 'DownloadStreamWithResponse', 'DownloadTo' and 'DownloadToWithResponse' methods to allow users to download their requested content related to ACS Recording. * new schema minor fix (#22183) * refactor and minor fixes * minor fixes * Making ProgressReporter.reportProgress to release the lock everytime. (#22182) * Rebasing master into feature/communication-ServerCalling (#22185) * Exposes management node in azure-core-amqp (#22095) * Update AmqpConnection to have a getManagementNode. * Adding AmqpManagementNode. * Update AmqpConnection, AmqpManagementNode, AmqpSession to use AsyncCloseable. * Adding AsyncCloseable to AmqpLink. * ClaimsBasedSecurityNode.java uses AsyncCloseable. * Implements CbsNode's closeAsync() and adds tests. * ReactorSession implements closeAsync() * ReactorConnection uses closeAsync(). Renames dispose() to closeAsync(). Fixes errors where some close operations were not subscribed to. * RequestResponseChannel. Remove close operation with message. * Adding DeliveryOutcome models and DeliveryState enum. * Add authorization scope to connection options. * Add MessageUtils to serialize and deserialize AmqpAnnotatedMessage * Update AmqpManagementNode to expose delivery outcomes because they can be associated with messages. * Adding MessageUtil support for converting DeliveryOutcome and Outcomes. * Fixing build breaks from ConnectionOptions. * Adding management channel class. * Adding management channel into ReactorConnection. * Update ExceptionUtil to return instead of throwing on unknown amqp error codes. * Moving ManagementChannel formatting. * Add javadocs to ReceivedDeliveryOutcome. * Add tests for ManagementChannel * Adding tests for message utils. * Fix javadoc on ModifiedDeliveryOutcome * ReactorConnection: Hook up dispose method. * EventHubs: Fixing instances of ConnectionOptions. * ServiceBus: Fix build errors using ConnectionOptions. * Adding MessageUtilsTests. * Updating CHANGELOG. * Annotate HttpRange with Immutable (#22119) * Cosmos Spark: Changing inferSchema.forceNullableProperties default to true (#22049) * Changing default * Docs * Tests * new test * doc update * Change log * Make getScopes in the ARM Authentication Policy Public (#22120) Make getScopes in the ARM Authentication Policy Public * [Communication]: Update version, changelog, and dependency for June release (#22061) * Update version, changelog, and dependency for June release * Update Chat, SMS, and PhoneNumbers for release * Correction for chat version number * Typo in chat pom * Unrelease Chat; update change logs for other sdks * Nit fix Co-authored-by: JP Chen * Increment version for videoanalyzer releases (#21814) * Increment package version after release of com.azure azure-media-videoanalyzer-edge * Update version_client.txt Co-authored-by: giakas * Add module-info to jca and jca test module and change package name of jca test module (#22041) * Fix error in aad-starter-sample (#22109) * EventGrid Add 4.4.0 new system events. (#22126) * Updates to monitor query based on API review feedback (#22114) * API consistency review feedback * Remove commented code * fix tests * Refactor building prefer header * Fix Management Bug (#22122) * Adding missing return statement. * Using common logic for status codes. * Adding isSuccessful. * mgmt, upgrade aks (#22136) * Add domain_hint in aad-stater. (#22134) * Increment version for core releases (#22124) Increment package version after release of Core libraries * Update datafeed tests to remove error code asserts (#22121) * Made Tables service interfaces public (#22130) * Made service interfaces public for Key Vault and Tables impl clients. * Removed kvErrorStrings.properties files from Key Vault SDKs. Made KeyVaultErrorCodeStrings store the constants that were in the files. * Added check for null credentials in Key Vault Administration Builders. * Reverted changes made to KV libraries. * Adding lmolkova as owner for core, opentelemetry, and azure monitor exporter (#22128) * Re-generate EventGrid 4.4.0 events without FarmsBeat events (#22148) * Client throughput control: Deferring store invocation (#22144) * Dummy * Deferring teh request when ClinetThrouhgputControl is enabled * Client throughput control: defer store invocation * Adding additional test-coverage in throughput tests * Reacting to code review feedback. * Adding back createItem_withBulk test * Sync eng/common directory with azure-sdk-tools for PR 1633 (#22145) * Update format of new Changelog Entry * Add parsing of changelog sections * Update ChangeLog Logic Co-authored-by: Chidozie Ononiwu * [Communication]: Update readme to release version (#22149) * Update readme to release version * Ignore transitive API errors from core Co-authored-by: JP Chen * Update pom (#22155) Co-authored-by: JP Chen * Update EventGrid Version to 4.4.0 (#22156) * Prepared storage for GA release of STG77 (#22152) * Identity versions Update June 2021 (#22153) * updated keyvault jca changelog for local jre keystore certificates (#22133) * mgmt, support vm boot diagnostics on managed storage account (#22162) * Cosmos Spark: Not-nullable properties to include "id" (#22143) * Id not nullable * Unit tests * Adding _ts * Integration tests * Update the release dates (#22169) * Increment package version after release of com.azure azure-identity (#22168) * Added support for metadata in messages (#22158) * Added support for metadata in messages * Updated tests to reflect various PATCH scenarios. Reverted the autorest convention change * Re-added V2021_03_07 Co-authored-by: Andrei Giurgiu * Fix Azure Core Amqp Sample issue #18806 by lihong 202105271344 (#21885) * Change Track 2 SB sendMessages() API for messages are being sent at a slow pace (#21014) * [BUG] Track 2 SB API (Batch Send Messages) doesn't seem to work. Messages are being sent at a slow pace. #16127 * Implement an Event Hubs Shared Access Key Credential (#21228) * Fix issue#16466 Implement an Event Hubs Shared Access Key Credential 202105061703 by LiHong * Prepare for metricsadvisor Beta release (#22175) * Prepare monitor query for release (#22166) * Increment version for communication releases (#22171) * Increment package version after release of com.azure azure-communication-identity * Increment package version after release of com.azure azure-communication-common * Increment package version after release of com.azure azure-communication-phonenumbers * Increment package version after release of com.azure azure-communication-sms * Increment package version after release of com.azure azure-ai-metricsadvisor (#22179) * Update azure-search-documents After Release (#22176) * Fix title in changelog (#22181) * Increment version for storage releases (#22172) * Increment package version after release of com.azure azure-storage-internal-avro * Increment package version after release of com.azure azure-storage-common * Increment package version after release of com.azure azure-storage-blob * Increment package version after release of com.azure azure-storage-queue * Increment package version after release of com.azure azure-storage-file-share * Increment package version after release of com.azure azure-storage-blob-batch * Increment package version after release of com.azure azure-storage-blob-nio * Increment package version after release of com.azure azure-storage-blob-cryptography * Increment package version after release of com.azure azure-storage-file-datalake * Increment package version after release of com.azure azure-storage-blob-changefeed * Adding IoT Hub connection string sample (#22157) * Adding IoTHubConnection string sample. * Tables list/get access policies changes (#22161) * Fixed serialization issues with listAccessPolicies() and setAccessPolicies in TableAsyncClient and TableClient. Added tests. * Added a test for service properties and statistics. * Fixed CheckStyle issues. * Applied PR feedback. * Fixed compilation error(?). * Made TableAccessPolicies final. * Fixed another CheckStyle issue. * Fixed another CheckStyle issue. Co-authored-by: Connie Yau Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Matias Quaranta Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: giakas Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Rujun Chen Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Sameeksha Vaity Co-authored-by: vcolin7 Co-authored-by: Liudmila Molkova Co-authored-by: Fabian Meiswinkel Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Vinay Gera Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com> Co-authored-by: angiurgiu Co-authored-by: Andrei Giurgiu Co-authored-by: Hong Li(MSFT) <74638143+hongli750210@users.noreply.github.com> * fix(serverCalling): update some test recordings * fix(*): remove eventgrid * fix(*): fix test recordings * fix(*): versioning * fix(*): disable some tests till we get new recordings * fix(*): remove accidental changes * Renamed Response to result (#22191) * fix unit tests with new schema (#22201) * fix live tests * fix live tests * fix(testing): improve coverage * fix javadoc (#22221) * fix(*): add first live tests * fix(*): add first live tests * Multiple changes (#22226) * Fixing PR Comments * Improving coverage * Adding downloadToFile test * Fixing rebase * PR review feedbacks (#22228) * Fix pr review feedbacks * Fix pr review feedbacks * Fix pr review feedbacks * Fix pr review feedbacks * make event immutable (#22240) * pr review fixes (#22241) * Multiple Changes. (#22250) * Fixing getFluxStream * Adding new tests to test smaller block sizes * Update azure-communication-common version. * Add dependency version update tag for org.mockito * fix(*): update tests * pr review test fixes (#22263) * pr review fixes (#22264) * PR review fixes (#22265) * pr review fixes * pr review fixes * pr review fixes (#22267) * pr review fixes (#22274) * PR Fixes (#22276) * pr review fix (#22280) Co-authored-by: chrwhit <35080559+chrwhit@users.noreply.github.com> Co-authored-by: Jianghao Lu Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Co-authored-by: Wes Haggard Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: Ben Broderick Phillips Co-authored-by: Arif Saikat <71465659+arifsaikat-microsoft@users.noreply.github.com> Co-authored-by: Christian Whitehead Co-authored-by: Paresh Arvind Patil Co-authored-by: Paresh Arvind Patil Co-authored-by: Xiaobing Zhu <71206407+ZhuXiaoBing-cn@users.noreply.github.com> Co-authored-by: zhihaoguo Co-authored-by: Jianping Chen Co-authored-by: JP Chen Co-authored-by: timtay-microsoft Co-authored-by: Connie Yau Co-authored-by: Pallavi Taneja Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Co-authored-by: angiurgiu Co-authored-by: Andrei Giurgiu Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com> Co-authored-by: Srikanta <51379715+srnagar@users.noreply.github.com> Co-authored-by: Weidong Xu Co-authored-by: lzc-1997-abel <70368631+lzc-1997-abel@users.noreply.github.com> Co-authored-by: gaohan <1135494872@qq.com> Co-authored-by: Craig Treasure Co-authored-by: John Mannix Co-authored-by: Kushagra Thapar Co-authored-by: Francesco Scuccimarri Co-authored-by: Naveen Singh Co-authored-by: Chidozie Ononiwu Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Co-authored-by: Anu Thomas Chandy Co-authored-by: samvaity Co-authored-by: Sameeksha Vaity Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Co-authored-by: vcolin7 Co-authored-by: Fabian Meiswinkel Co-authored-by: Matias Quaranta Co-authored-by: giakas Co-authored-by: Rujun Chen Co-authored-by: Liudmila Molkova Co-authored-by: Vinay Gera Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com> Co-authored-by: Franko Morales <67804607+cochi2@users.noreply.github.com> Co-authored-by: Hong Li(MSFT) <74638143+hongli750210@users.noreply.github.com> Co-authored-by: Franko Morales --- eng/.docsettings.yml | 1 + .../checkstyle/checkstyle-suppressions.xml | 4 + eng/jacoco-test-coverage/pom.xml | 5 + eng/versioning/version_client.txt | 1 + .../CHANGELOG.md | 19 + .../README.md | 176 +++ .../azure-communication-callingserver/pom.xml | 154 +++ .../callingserver/CallConnection.java | 234 ++++ .../callingserver/CallConnectionAsync.java | 440 ++++++ .../CallingServerAsyncClient.java | 444 ++++++ .../callingserver/CallingServerClient.java | 208 +++ .../CallingServerClientBuilder.java | 346 +++++ .../callingserver/ContentDownloader.java | 286 ++++ .../callingserver/ServerCall.java | 301 +++++ .../callingserver/ServerCallAsync.java | 586 ++++++++ ...CommunicationCallingServerServiceImpl.java | 133 ++ ...cationCallingServerServiceImplBuilder.java | 230 ++++ .../implementation/CallConnectionsImpl.java | 812 +++++++++++ .../implementation/Constants.java | 30 + .../implementation/ServerCallsImpl.java | 1195 +++++++++++++++++ .../CallConnectionRequestConverter.java | 69 + .../CallingServerErrorConverter.java | 60 + ...ncelAllMediaOperationsResultConverter.java | 29 + .../CommunicationIdentifierConverter.java | 130 ++ .../InviteParticipantRequestConverter.java | 46 + .../converters/JoinCallRequestConverter.java | 53 + .../converters/PlayAudioResultConverter.java | 28 + .../converters/ResultInfoConverter.java | 27 + .../converters/package-info.java | 4 + ...llConnectionStateChangedEventInternal.java | 91 ++ ...CallRecordingStateChangeEventInternal.java | 118 ++ .../CallRecordingStateResultInternal.java | 39 + .../CancelAllMediaOperationsRequest.java | 38 + ...ancelAllMediaOperationsResultInternal.java | 117 ++ .../CommunicationCloudEnvironmentModel.java | 37 + .../models/CommunicationError.java | 110 ++ .../models/CommunicationErrorException.java | 37 + .../models/CommunicationIdentifierModel.java | 120 ++ .../CommunicationParticipantInternal.java | 90 ++ .../CommunicationUserIdentifierModel.java | 38 + .../models/CreateCallRequest.java | 200 +++ .../models/CreateCallResultInternal.java | 38 + .../models/InviteParticipantsRequest.java | 117 ++ ...InviteParticipantsResultEventInternal.java | 91 ++ .../models/JoinCallRequest.java | 145 ++ .../models/JoinCallResultInternal.java | 38 + .../MicrosoftTeamsUserIdentifierModel.java | 95 ++ .../ParticipantsUpdatedEventInternal.java | 65 + .../models/PhoneNumberIdentifierModel.java | 38 + .../models/PlayAudioRequest.java | 152 +++ .../models/PlayAudioResultEventInternal.java | 91 ++ .../models/PlayAudioResultInternal.java | 117 ++ .../models/ResultInfoInternal.java | 96 ++ .../models/StartCallRecordingRequest.java | 38 + .../StartCallRecordingResultInternal.java | 38 + .../models/ToneInfoInternal.java | 69 + .../models/ToneReceivedEventInternal.java | 64 + .../implementation/models/package-info.java | 9 + .../implementation/package-info.java | 9 + .../models/CallConnectionState.java | 61 + .../callingserver/models/CallModality.java | 34 + .../callingserver/models/CallParticipant.java | 80 ++ .../models/CallRecordingState.java | 34 + .../models/CallRecordingStateResult.java | 35 + .../models/CallingServerError.java | 103 ++ .../models/CallingServerErrorException.java | 40 + .../CancelAllMediaOperationsResult.java | 85 ++ .../models/CreateCallOptions.java | 135 ++ .../models/EventSubscriptionType.java | 34 + .../callingserver/models/JoinCallOptions.java | 145 ++ .../callingserver/models/JoinCallResult.java | 33 + .../callingserver/models/OperationStatus.java | 40 + .../models/ParallelDownloadOptions.java | 119 ++ .../models/PlayAudioOptions.java | 116 ++ .../callingserver/models/PlayAudioResult.java | 81 ++ .../models/ProgressReceiver.java | 25 + .../models/ProgressReporter.java | 175 +++ .../callingserver/models/ResultInfo.java | 70 + .../models/StartCallRecordingResult.java | 33 + .../callingserver/models/ToneInfo.java | 51 + .../callingserver/models/ToneValue.java | 79 ++ .../CallConnectionStateChangedEvent.java | 93 ++ .../events/CallRecordingStateChangeEvent.java | 111 ++ .../models/events/CallingServerEventBase.java | 11 + .../models/events/CallingServerEventType.java | 49 + .../events/InviteParticipantResultEvent.java | 90 ++ .../events/ParticipantsUpdatedEvent.java | 91 ++ .../models/events/PlayAudioResultEvent.java | 90 ++ .../models/events/ToneReceivedEvent.java | 71 + .../models/events/package-info.java | 8 + .../callingserver/models/package-info.java | 6 + .../callingserver/package-info.java | 5 + .../src/main/java/module-info.java | 16 + ...ure-communication-callingserver.properties | 2 + ...gServerAsyncClientJavaDocCodeSnippets.java | 61 + ...erverClientBuilderJavaDocCodeSnippets.java | 35 + ...allingServerClientJavaDocCodeSnippets.java | 61 + .../ConversationClientReadmeSamples.java | 130 ++ .../callingserver/ReadmeSamples.java | 89 ++ .../CallConnectionAsyncLiveTests.java | 347 +++++ .../CallConnectionLiveTests.java | 329 +++++ .../CallingServerClientBuilderUnitTests.java | 221 +++ .../callingserver/CallingServerTestBase.java | 275 ++++ .../callingserver/CallingServerTestUtils.java | 92 ++ .../DownloadContentAsyncLiveTests.java | 172 +++ .../DownloadContentLiveTests.java | 118 ++ .../ServerCallAsyncLiveTests.java | 386 ++++++ .../callingserver/ServerCallLiveTests.java | 370 +++++ .../callingserver/ServerCallUnitTests.java | 68 + ...CreateAddRemoveHangupScenarioAsync[1].json | 76 ++ ...oveHangupScenarioWithResponseAsync[1].json | 76 ++ ...s.runCreateJoinHangupScenarioAsync[1].json | 78 ++ ...oinHangupScenarioWithResponseAsync[1].json | 78 ++ ...reatePlayCancelHangupScenarioAsync[1].json | 81 ++ ...celHangupScenarioWithResponseAsync[1].json | 81 ++ ...ddRemoveHangupScenarioWithResponse[1].json | 76 ++ ...s.runCreateAddRemoveHangupScenario[1].json | 76 ++ ...eateJoinHangupScenarioWithResponse[1].json | 78 ++ ...eTests.runCreateJoinHangupScenario[1].json | 78 ++ ...ayCancelHangupScenarioWithResponse[1].json | 81 ++ ....runCreatePlayCancelHangupScenario[1].json | 81 ++ ...cLiveTests.downloadContent404Async[1].json | 19 + ...yncLiveTests.downloadMetadataAsync[1].json | 23 + ...ests.downloadMetadataRetryingAsync[1].json | 39 + ...ests.downloadMetadataToStreamAsync[1].json | 23 + ...AsyncLiveTests.downloadToFileAsync[1].json | 43 + ...eTests.downloadToFileRetryingAsync[1].json | 40 + ...tAsyncLiveTests.downloadVideoAsync[1].json | 23 + ...ontentLiveTests.downloadContent404[1].json | 19 + ...Tests.downloadContentStreamFailure[1].json | 22 + ...tLiveTests.downloadContentWrongUrl[1].json | 4 + ...iveTests.downloadMetadataStreaming[1].json | 23 + ...dContentLiveTests.downloadMetadata[1].json | 23 + ...loadContentLiveTests.downloadVideo[1].json | 23 + ...iveTests.runAddRemoveScenarioAsync[1].json | 76 ++ ...AddRemoveScenarioWithResponseAsync[1].json | 76 ++ ...veTests.runAllClientFunctionsAsync[1].json | 217 +++ ...llClientFunctionsWithResponseAsync[1].json | 217 +++ ...iveTests.runPlayAudioFunctionAsync[1].json | 103 ++ ...PlayAudioFunctionWithResponseAsync[1].json | 103 ++ ...LiveTests.startRecordingFailsAsync[1].json | 25 + ...s.runAddRemoveScenarioWithResponse[1].json | 76 ++ ...CallLiveTests.runAddRemoveScenario[1].json | 76 ++ ....runAllClientFunctionsWithResponse[1].json | 217 +++ ...allLiveTests.runAllClientFunctions[1].json | 217 +++ ...s.runPlayAudioFunctionWithResponse[1].json | 103 ++ ...CallLiveTests.runPlayAudioFunction[1].json | 103 ++ ...rCallLiveTests.startRecordingFails[1].json | 25 + .../swagger/README.md | 95 ++ .../tests.yml | 7 + .../HmacAuthenticationPolicy.java | 7 +- .../src/main/java/module-info.java | 3 +- sdk/communication/ci.yml | 2 + sdk/communication/pom.xml | 8 + 154 files changed, 16419 insertions(+), 2 deletions(-) create mode 100644 sdk/communication/azure-communication-callingserver/CHANGELOG.md create mode 100644 sdk/communication/azure-communication-callingserver/README.md create mode 100644 sdk/communication/azure-communication-callingserver/pom.xml create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnection.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnectionAsync.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerAsyncClient.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClient.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClientBuilder.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ContentDownloader.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCall.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCallAsync.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImpl.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImplBuilder.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/CallConnectionsImpl.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/Constants.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/ServerCallsImpl.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallConnectionRequestConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallingServerErrorConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CancelAllMediaOperationsResultConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CommunicationIdentifierConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/InviteParticipantRequestConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/JoinCallRequestConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/PlayAudioResultConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/ResultInfoConverter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/package-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallConnectionStateChangedEventInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateChangeEventInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateResultInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsRequest.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsResultInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationCloudEnvironmentModel.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationError.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationErrorException.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationIdentifierModel.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationParticipantInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationUserIdentifierModel.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallRequest.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallResultInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsRequest.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsResultEventInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallRequest.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallResultInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/MicrosoftTeamsUserIdentifierModel.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ParticipantsUpdatedEventInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PhoneNumberIdentifierModel.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioRequest.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultEventInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ResultInfoInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingRequest.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingResultInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneInfoInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneReceivedEventInternal.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/package-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/package-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallConnectionState.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallModality.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallParticipant.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingState.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingStateResult.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerError.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerErrorException.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CancelAllMediaOperationsResult.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CreateCallOptions.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/EventSubscriptionType.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallOptions.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallResult.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/OperationStatus.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ParallelDownloadOptions.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioOptions.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioResult.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReceiver.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReporter.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ResultInfo.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/StartCallRecordingResult.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneInfo.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneValue.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallConnectionStateChangedEvent.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallRecordingStateChangeEvent.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventBase.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventType.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/InviteParticipantResultEvent.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ParticipantsUpdatedEvent.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/PlayAudioResultEvent.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ToneReceivedEvent.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/package-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/package-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/package-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/java/module-info.java create mode 100644 sdk/communication/azure-communication-callingserver/src/main/resources/azure-communication-callingserver.properties create mode 100644 sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerAsyncClientJavaDocCodeSnippets.java create mode 100644 sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientBuilderJavaDocCodeSnippets.java create mode 100644 sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientJavaDocCodeSnippets.java create mode 100644 sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java create mode 100644 sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionAsyncLiveTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionLiveTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerClientBuilderUnitTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestBase.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestUtils.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentAsyncLiveTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentLiveTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallAsyncLiveTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallLiveTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallUnitTests.java create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioWithResponseAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioWithResponseAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioWithResponseAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenarioWithResponse[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenario[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenarioWithResponse[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenario[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenarioWithResponse[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenario[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadContent404Async[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataRetryingAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataToStreamAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileRetryingAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadVideoAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContent404[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentStreamFailure[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentWrongUrl[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadataStreaming[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadata[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadVideo[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioWithResponseAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsWithResponseAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionWithResponseAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.startRecordingFailsAsync[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenarioWithResponse[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenario[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctionsWithResponse[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctions[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunctionWithResponse[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunction[1].json create mode 100644 sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.startRecordingFails[1].json create mode 100644 sdk/communication/azure-communication-callingserver/swagger/README.md create mode 100644 sdk/communication/azure-communication-callingserver/tests.yml diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index da01b44b34666..50b913ab73d33 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -124,6 +124,7 @@ known_content_issues: - ['sdk/core/README.md', '#3113'] - ['sdk/core/azure-core-experimental/README.md', '#3113'] - ['sdk/cognitiveservices/ms-azure-cs-textanalytics/README.md', '#3113'] + - ['sdk/communication/azure-communication-callingserver/swagger/README.md', '#3113'] - ['sdk/communication/azure-communication-chat/swagger/README.md', '#3113'] - ['sdk/communication/azure-communication-sms/swagger/README.md', '#3113'] - ['sdk/communication/azure-communication-identity/swagger/README.md', '#3113'] diff --git a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml index dd6f6ae5eb993..d0173db14e35e 100755 --- a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml +++ b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml @@ -598,4 +598,8 @@ the main ServiceBusClientBuilder. --> + + + + diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index decdd7c8cce26..03b9c438960af 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -81,6 +81,11 @@ azure-communication-phonenumbers 1.1.0-beta.1 + + com.azure + azure-communication-callingserver + 1.0.0-beta.1 + com.azure azure-containers-containerregistry diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index f25d3cf4b708c..223b98aa5a417 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -52,6 +52,7 @@ com.azure:azure-analytics-synapse-spark;1.0.0-beta.3;1.0.0-beta.4 com.azure:azure-analytics-synapse-managedprivateendpoints;1.0.0-beta.3;1.0.0-beta.4 com.azure:azure-analytics-synapse-monitoring;1.0.0-beta.3;1.0.0-beta.4 com.azure:azure-communication-chat;1.0.0;1.1.0-beta.1 +com.azure:azure-communication-callingserver;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-communication-common;1.0.2;1.1.0-beta.1 com.azure:azure-communication-sms;1.0.3;1.1.0-beta.1 com.azure:azure-communication-identity;1.1.1;1.2.0-beta.1 diff --git a/sdk/communication/azure-communication-callingserver/CHANGELOG.md b/sdk/communication/azure-communication-callingserver/CHANGELOG.md new file mode 100644 index 0000000000000..b8532b23f4860 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/CHANGELOG.md @@ -0,0 +1,19 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) +This is the first release of Azure Communication Calling Server SDK. For more information, please see the [README][read_me]. + +This is a Public Preview version, so breaking changes are possible in subsequent releases as we improve the product. To provide feedback, please submit an issue in our [Azure SDK for .NET GitHub repo](https://github.com/Azure/azure-sdk-for-net/issues). + +### Features Added +- Create outbound call to an Azure Communication Service user or a phone number. +- Hangup the existing call. +- Play audio in the call. +- Outbound APIs for call recording including start, pause, resume and stop. +- Subscribe to tone and receive tone selections via events. +- Invite and remove participants from the call. + + +[read_me]: https://github.com/Azure/azure-sdk-for-java/blob/feature/communication-ServerCalling/sdk/communication/azure-communication-callingserver/README.md + + diff --git a/sdk/communication/azure-communication-callingserver/README.md b/sdk/communication/azure-communication-callingserver/README.md new file mode 100644 index 0000000000000..28ad4c684c2ea --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/README.md @@ -0,0 +1,176 @@ +# Azure Communication CallingServer Service client library for Java + +This package contains a Java SDK for Azure Communication CallingServer Service. + +[Source code][source] | [Package (Maven)][package] | [API reference documentation][api_documentation] +| [Product documentation][product_docs] + +## Getting started + +### Prerequisites + +- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). +- [Java Development Kit (JDK)](https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable) version 8 or above. +- [Apache Maven](https://maven.apache.org/download.cgi). +- A deployed Communication Services resource. You can use the [Azure Portal](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp) or the [Azure PowerShell](https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice) to set it up. + +### Include the package + +[//]: # ({x-version-update-start;com.azure:azure-communication-callingserver;current}) +```xml + + com.azure + azure-communication-callingserver + 1.0.0-beta.1 + +``` +[//]: # ({x-version-update-end}) + +## Key concepts + +At a high level the Azure Communication CallingServer API will support two kinds of scenarios: + +- In-call app: Contoso server app is a participant in the call. + +- Out-call app: Contoso server app is not a participant in the call - Server app can subscribe to events for calls between specific users or even all users belonging to the ACS azure resource. + +Based on if the Contoso app join a call or not, APIs can be divided into two categories: + +- In-call APIs: Contoso app is one of the participant in a call. It can be applicable for app to person (A2P) or person to app (P2A) case, or multi-party/group calls that server apps joined as a participant to provide audio/prompt. + +- Out-of-call APIs: Contoso app can invoke these set of APIs without joining a call. It is applicable for actions on P2P calls, A2P calls, P2A calls and group calls. + +## Examples + +### Authenticate the client + + +You can provide the connection string using the connectionString() function of `CallingServerClientBuilder`. Once you initialized a `CallingServerClient` class, you can do the different server calling operations. + +```java +// Your connectionString retrieved from your Azure Communication Service +String connectionString = "endpoint=https://.communication.azure.com/;accesskey="; + +// Initialize the calling server client +final CallingServerClientBuilder builder = new CallingServerClientBuilder(); +builder.connectionString(connectionString); +CallingServerClient callingServerClient = builder.buildClient(); +``` + +### Create call, Add participant and Hangup a call + +#### Create a Call: + +```java +CommunicationIdentifier source = new CommunicationUserIdentifier(""); +CommunicationIdentifier firstCallee = new CommunicationUserIdentifier(""); +CommunicationIdentifier secondCallee = new CommunicationUserIdentifier(""); + +CommunicationIdentifier[] targets = new CommunicationIdentifier[] { firstCallee, secondCallee }; + +String callbackUri = ""; + +CallModality[] requestedMediaTypes = new CallModality[] { CallModality.AUDIO, CallModality.VIDEO }; + +EventSubscriptionType[] requestedCallEvents = new EventSubscriptionType[] { + EventSubscriptionType.DTMF_RECEIVED, + EventSubscriptionType.PARTICIPANTS_UPDATED }; + +CreateCallOptions createCallOptions = new CreateCallOptions( + callbackUri, + requestedMediaTypes, + requestedCallEvents); + +CallConnection callConnection = callingServerClient.createCallConnection(source, targets, createCallOptions); +``` + +#### Add a participant to a Call: + +```java +CommunicationIdentifier thirdCallee = new CommunicationUserIdentifier(""); +callConnection.addParticipant(thirdCallee, "ACS User 3", ""); +``` + +#### Hangup a Call: + +```java +callConnection.hangup(); +``` + +### Start, Pause, Resume, Stop and Get a recording + +#### Start a Recording: + +```java +String serverCallId = ""; +String recordingStateCallbackUri = ""; +ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); +StartCallRecordingResponse response = serverCall.startRecording(recordingStateCallbackUri); +String recordingId = response.getRecordingId(); +``` + +#### Pause a Recording: + +```java +serverCall.pauseRecording(recordingId); +``` + +#### Resume a Recording: + +```java +serverCall.resumeRecording(recordingId); +``` + +#### Stop a Recording: + +```java +serverCall.stopRecording(recordingId); +``` + +#### Get the Recording State: + +```java +CallRecordingStateResult callRecordingStateResult = serverCall.getRecordingState(recordingId); +``` + +### Play Audio in Call + +#### Play Audio: + +```java +String audioFileUri = ""; +String audioFileId = ""; +String callbackUri = ""; +String context = ""; +PlayAudioResponse playAudioResponse = serverCall.playAudio(audioFileUri, audioFileId, callbackUri, context); +``` + +## Troubleshooting + +If you recieve a CommunicationErrorException with the messagae: "Action is invalid when call is not in Established state." This usually means the call has ended. This can occur if the participants all leave +the call, or participants did not accept the call before the call timed out. + +If you fail to start a call because of an HMAC validation error, be sure your access key is correct, and +that you are passing in a valid conversation id. + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a [Contributor License Agreement (CLA)][cla] declaring that you have the right to, and actually do, grant us the rights to use your contribution. + +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments. + +## Next steps + +Check out other client libraries for Azure Communication Services + + +[cla]: https://cla.microsoft.com +[coc]: https://opensource.microsoft.com/codeofconduct/ +[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ +[coc_contact]: mailto:opencode@microsoft.com +[product_docs]: https://docs.microsoft.com/azure/communication-services/ +[package]: https://search.maven.org/artifact/com.azure/azure-communication-callingserver +[api_documentation]: https://aka.ms/java-docs +[source]: https://github.com/Azure/azure-sdk-for-java/tree/feature/communication-ServerCalling/sdk/communication/azure-communication-callingserver/src diff --git a/sdk/communication/azure-communication-callingserver/pom.xml b/sdk/communication/azure-communication-callingserver/pom.xml new file mode 100644 index 0000000000000..71903ce125dca --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/pom.xml @@ -0,0 +1,154 @@ + + + 4.0.0 + + + com.azure + azure-client-sdk-parent + 1.7.0 + ../../parents/azure-client-sdk-parent + + + com.azure + azure-communication-callingserver + jar + 1.0.0-beta.1 + + Microsoft Azure client library for CallingServer service + + This package contains clients and data structures used to make call with Azure Communication CallingServer Service. + For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callingserver/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callingserver/CHANGELOG.md. + + https://github.com/Azure/azure-sdk-for-java + + + + azure-java-build-docs + ${site.url}/site/${project.artifactId} + + + + + https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + + src/main + src/test + 0.70 + 0.70 + true + + + + + com.azure + azure-core + 1.17.0 + + + com.azure + azure-communication-common + 1.1.0-beta.1 + + + com.azure + azure-communication-identity + 1.1.1 + test + + + com.azure + azure-core-test + 1.6.3 + test + + + com.nimbusds + nimbus-jose-jwt + 9.8.1 + test + + + org.junit.jupiter + junit-jupiter-api + 5.7.2 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.7.2 + test + + + org.junit.jupiter + junit-jupiter-params + 5.7.2 + test + + + org.hamcrest + hamcrest-all + 1.3 + test + + + org.mockito + mockito-core + 3.9.0 + test + + + io.projectreactor + reactor-test + 3.4.6 + test + + + com.azure + azure-core-http-okhttp + 1.7.0 + test + + + com.azure + azure-identity + 1.3.1 + test + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.5 + + + com/azure/communication/callingserver/*.class + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + + + com.azure:* + + + + + + + + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnection.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnection.java new file mode 100644 index 0000000000000..c7efc1b675e50 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnection.java @@ -0,0 +1,234 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CancelAllMediaOperationsResult; +import com.azure.communication.callingserver.models.PlayAudioOptions; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; + +/** + * Sync Client that supports call connection operations. + */ +public final class CallConnection { + private final CallConnectionAsync callConnectionAsync; + private final ClientLogger logger = new ClientLogger(CallConnection.class); + + CallConnection(CallConnectionAsync callConnectionAsync) { + this.callConnectionAsync = callConnectionAsync; + } + + /** + * Get the call connection id property + * + * @return the id value. + */ + public String getCallConnectionId() { + return callConnectionAsync.getCallConnectionId(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param loop The flag indicating whether audio file needs to be played in loop or not. + * @param audioFileId An id for the media in the AudioFileUri, using which we cache the media. + * @param callbackUri call back uri to receive notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PlayAudioResult playAudio( + String audioFileUri, + boolean loop, + String audioFileId, + String callbackUri, + String operationContext) { + return callConnectionAsync + .playAudioInternal(audioFileUri, loop, audioFileId, callbackUri, operationContext).block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PlayAudioResult playAudio(String audioFileUri, PlayAudioOptions playAudioOptions) { + return callConnectionAsync.playAudioInternal(audioFileUri, playAudioOptions).block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param loop The flag indicating whether audio file needs to be played in loop or not. + * @param audioFileId An id for the media in the AudioFileUri, using which we cache the media. + * @param callbackUri call back uri to receive notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param context A {@link Context} representing the request context. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response playAudioWithResponse( + String audioFileUri, + boolean loop, + String audioFileId, + String callbackUri, + String operationContext, + Context context) { + return callConnectionAsync + .playAudioWithResponseInternal( + audioFileUri, + loop, + audioFileId, + callbackUri, + operationContext, + context) + .block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @param context A {@link Context} representing the request context. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response playAudioWithResponse( + String audioFileUri, + PlayAudioOptions playAudioOptions, + Context context) { + return callConnectionAsync + .playAudioWithResponseInternal(audioFileUri, playAudioOptions, context) + .block(); + } + + /** + * Disconnect the current caller in a group-call or end a p2p-call. + * + * @return response for a successful hangup request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void hangup() { + return callConnectionAsync.hangup().block(); + } + + /** + * Disconnect the current caller in a group-call or end a p2p-call. + * + * @param context A {@link Context} representing the request context. + * @return response for a successful hangup request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response hangupWithResponse(Context context) { + return callConnectionAsync.hangupWithResponse(context).block(); + } + + /** + * Cancel all media operations in the call. + * + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful cancel all media operations request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CancelAllMediaOperationsResult cancelAllMediaOperations(String operationContext) { + return callConnectionAsync.cancelAllMediaOperations(operationContext).block(); + } + + /** + * Cancel all media operations in the call. + * + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param context A {@link Context} representing the request context. + * @return response for a successful cancel all media operations request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelAllMediaOperationsWithResponse( + String operationContext, + Context context) { + return callConnectionAsync.cancelAllMediaOperationsWithResponse(operationContext, context).block(); + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void addParticipant( + CommunicationIdentifier participant, + String alternateCallerId, + String operationContext) { + return callConnectionAsync.addParticipant(participant, alternateCallerId, operationContext).block(); + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param context A {@link Context} representing the request context. + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response addParticipantWithResponse( + CommunicationIdentifier participant, + String alternateCallerId, + String operationContext, + Context context) { + return callConnectionAsync + .addParticipantWithResponse(participant, alternateCallerId, operationContext, context).block(); + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void removeParticipant(String participantId) { + return callConnectionAsync.removeParticipant(participantId).block(); + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @param context A {@link Context} representing the request context. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response removeParticipantWithResponse(String participantId, Context context) { + return callConnectionAsync.removeParticipantWithResponse(participantId, context).block(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnectionAsync.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnectionAsync.java new file mode 100644 index 0000000000000..d618e563bd28d --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallConnectionAsync.java @@ -0,0 +1,440 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import static com.azure.core.util.FluxUtil.monoError; +import static com.azure.core.util.FluxUtil.withContext; + +import java.util.Objects; + +import com.azure.communication.callingserver.implementation.CallConnectionsImpl; +import com.azure.communication.callingserver.implementation.converters.InviteParticipantRequestConverter; +import com.azure.communication.callingserver.implementation.converters.CancelAllMediaOperationsResultConverter; +import com.azure.communication.callingserver.implementation.converters.CallingServerErrorConverter; +import com.azure.communication.callingserver.implementation.converters.PlayAudioResultConverter; +import com.azure.communication.callingserver.implementation.models.CommunicationErrorException; +import com.azure.communication.callingserver.implementation.models.CancelAllMediaOperationsRequest; +import com.azure.communication.callingserver.implementation.models.InviteParticipantsRequest; +import com.azure.communication.callingserver.implementation.models.PlayAudioRequest; +import com.azure.communication.callingserver.models.CancelAllMediaOperationsResult; +import com.azure.communication.callingserver.models.PlayAudioOptions; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; + +import reactor.core.publisher.Mono; + +/** + * Async client that supports call connection operations. + */ +public final class CallConnectionAsync { + + private final String callConnectionId; + private final CallConnectionsImpl callConnectionInternal; + private final ClientLogger logger = new ClientLogger(CallConnectionAsync.class); + + CallConnectionAsync(String callConnectionId, CallConnectionsImpl callConnectionInternal) { + this.callConnectionId = callConnectionId; + this.callConnectionInternal = callConnectionInternal; + } + + /** + * Get the call connection id property + * + * @return the id value. + */ + public String getCallConnectionId() { + return callConnectionId; + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param loop The flag indicating whether audio file needs to be played in loop or not. + * @param audioFileId An id for the media in the AudioFileUri, using which we cache the media. + * @param callbackUri call back uri to receive notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudio( + String audioFileUri, + boolean loop, + String audioFileId, + String callbackUri, + String operationContext) { + return playAudioInternal(audioFileUri, loop, audioFileId, callbackUri, operationContext); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudio(String audioFileUri, PlayAudioOptions playAudioOptions) { + return playAudioInternal(audioFileUri, playAudioOptions); + + } + + Mono playAudioInternal( + String audioFileUri, + boolean loop, + String audioFileId, + String callbackUri, + String operationContext) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + PlayAudioRequest playAudioRequest = + new PlayAudioRequest() + .setAudioFileUri(audioFileUri) + .setLoop(loop) + .setAudioFileId(audioFileId) + .setOperationContext(operationContext) + .setCallbackUri(callbackUri); + return playAudioInternal(playAudioRequest); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono playAudioInternal(String audioFileUri, PlayAudioOptions playAudioOptions) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + PlayAudioRequest request = new PlayAudioRequest().setAudioFileUri(audioFileUri); + if (playAudioOptions != null) { + request + .setLoop(playAudioOptions.isLoop()) + .setOperationContext(playAudioOptions.getOperationContext()) + .setAudioFileId(playAudioOptions.getAudioFileId()) + .setCallbackUri(playAudioOptions.getCallbackUri()); + } + return playAudioInternal(request); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono playAudioInternal(PlayAudioRequest playAudioRequest) { + try { + return callConnectionInternal.playAudioAsync(callConnectionId, playAudioRequest) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(result -> Mono.just(PlayAudioResultConverter.convert(result))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param loop The flag indicating whether audio file needs to be played in loop or not. + * @param audioFileId An id for the media in the AudioFileUri, using which we cache the media. + * @param callbackUri call back uri to receive notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponse( + String audioFileUri, + boolean loop, + String audioFileId, + String callbackUri, + String operationContext) { + return playAudioWithResponseInternal( + audioFileUri, + loop, + audioFileId, + callbackUri, + operationContext, + null); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponse( + String audioFileUri, + PlayAudioOptions playAudioOptions) { + return playAudioWithResponseInternal(audioFileUri, playAudioOptions, null); + } + + Mono> playAudioWithResponseInternal( + String audioFileUri, + boolean loop, + String audioFileId, + String callbackUri, + String operationContext, + Context context) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + PlayAudioRequest playAudioRequest = + new PlayAudioRequest() + .setAudioFileUri(audioFileUri) + .setLoop(loop) + .setAudioFileId(audioFileId) + .setOperationContext(operationContext) + .setCallbackUri(callbackUri); + return playAudioWithResponseInternal(playAudioRequest, context); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + + + } + + Mono> playAudioWithResponseInternal( + String audioFileUri, + PlayAudioOptions playAudioOptions, + Context context) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + PlayAudioRequest request = new PlayAudioRequest().setAudioFileUri(audioFileUri); + if (playAudioOptions != null) { + request + .setLoop(playAudioOptions.isLoop()) + .setOperationContext(playAudioOptions.getOperationContext()) + .setAudioFileId(playAudioOptions.getAudioFileId()) + .setCallbackUri(playAudioOptions.getCallbackUri()); + } + return playAudioWithResponseInternal(request, context); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> playAudioWithResponseInternal( + PlayAudioRequest playAudioRequest, + Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return callConnectionInternal + .playAudioWithResponseAsync(callConnectionId, playAudioRequest, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> + new SimpleResponse<>(response, PlayAudioResultConverter.convert(response.getValue()))); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Hangup a call. + * + * @return response for a successful hangup request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono hangup() { + try { + return callConnectionInternal.hangupCallAsync(callConnectionId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Hangup a call. + * + * @return response for a successful hangup request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> hangupWithResponse() { + return hangupWithResponse(null); + } + + Mono> hangupWithResponse(Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return callConnectionInternal.hangupCallWithResponseAsync(callConnectionId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Cancel all media operations in the call. + * + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelAllMediaOperations(String operationContext) { + try { + CancelAllMediaOperationsRequest request = new CancelAllMediaOperationsRequest(); + request.setOperationContext(operationContext); + return callConnectionInternal.cancelAllMediaOperationsAsync(callConnectionId, request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(result -> Mono.just(CancelAllMediaOperationsResultConverter.convert(result))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Cancel all media operations in the call. + * + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelAllMediaOperationsWithResponse(String operationContext) { + return cancelAllMediaOperationsWithResponse(operationContext, null); + } + + Mono> cancelAllMediaOperationsWithResponse( + String operationContext, + Context context) { + try { + CancelAllMediaOperationsRequest request = new CancelAllMediaOperationsRequest(); + request.setOperationContext(operationContext); + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return callConnectionInternal + .cancelAllMediaOperationsWithResponseAsync(callConnectionId, request, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> + new SimpleResponse<>(response, CancelAllMediaOperationsResultConverter.convert(response.getValue()))); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono addParticipant( + CommunicationIdentifier participant, + String alternateCallerId, + String operationContext) { + try { + Objects.requireNonNull(participant, "'participant' cannot be null."); + InviteParticipantsRequest request = InviteParticipantRequestConverter.convert(participant, + alternateCallerId, + operationContext, + null); + return callConnectionInternal.inviteParticipantsAsync(callConnectionId, request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> addParticipantWithResponse( + CommunicationIdentifier participant, + String alternateCallerId, + String operationContext) { + return addParticipantWithResponse(participant, alternateCallerId, operationContext, null); + } + + Mono> addParticipantWithResponse( + CommunicationIdentifier participant, + String alternateCallerId, + String operationContext, + Context context) { + try { + Objects.requireNonNull(participant, "'participant' cannot be null."); + InviteParticipantsRequest request = + InviteParticipantRequestConverter + .convert(participant, alternateCallerId, operationContext, null); + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return callConnectionInternal + .inviteParticipantsWithResponseAsync(callConnectionId, request, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono removeParticipant(String participantId) { + try { + return callConnectionInternal.removeParticipantAsync(callConnectionId, participantId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> removeParticipantWithResponse(String participantId) { + return removeParticipantWithResponse(participantId, null); + } + + Mono> removeParticipantWithResponse(String participantId, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return callConnectionInternal + .removeParticipantWithResponseAsync(callConnectionId, participantId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerAsyncClient.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerAsyncClient.java new file mode 100644 index 0000000000000..eb8a1d240a9d6 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerAsyncClient.java @@ -0,0 +1,444 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.implementation.AzureCommunicationCallingServerServiceImpl; +import com.azure.communication.callingserver.implementation.CallConnectionsImpl; +import com.azure.communication.callingserver.implementation.ServerCallsImpl; +import com.azure.communication.callingserver.implementation.converters.CallConnectionRequestConverter; +import com.azure.communication.callingserver.implementation.converters.JoinCallRequestConverter; +import com.azure.communication.callingserver.implementation.converters.CallingServerErrorConverter; +import com.azure.communication.callingserver.implementation.models.CommunicationErrorException; +import com.azure.communication.callingserver.implementation.models.CreateCallRequest; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.JoinCallOptions; +import com.azure.communication.callingserver.models.ParallelDownloadOptions; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.HttpRange; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +import java.io.IOException; +import java.io.OutputStream; +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousFileChannel; +import java.nio.file.OpenOption; +import java.nio.file.Path; +import java.nio.file.StandardOpenOption; +import java.util.HashSet; +import java.util.Objects; +import java.util.Set; + +import static com.azure.core.util.FluxUtil.fluxError; +import static com.azure.core.util.FluxUtil.monoError; +import static com.azure.core.util.FluxUtil.withContext; + + +/** + * An Async Client that supports calling server operations. + * + *

Instantiating a asynchronous Calling Server Client

+ * + * {@codesnippet com.azure.communication.callingserver.CallingServerAsyncClient.pipeline.instantiation} + * + *

View {@link CallingServerClientBuilder this} for additional ways to construct the client.

+ * + * @see CallingServerClientBuilder + */ +@ServiceClient(builder = CallingServerClientBuilder.class, isAsync = true) +public final class CallingServerAsyncClient { + private final CallConnectionsImpl callConnectionInternal; + private final ServerCallsImpl serverCallInternal; + private final ClientLogger logger = new ClientLogger(CallingServerAsyncClient.class); + private final ContentDownloader contentDownloader; + + CallingServerAsyncClient(AzureCommunicationCallingServerServiceImpl callServiceClient) { + callConnectionInternal = callServiceClient.getCallConnections(); + serverCallInternal = callServiceClient.getServerCalls(); + + contentDownloader = new ContentDownloader( + callServiceClient.getEndpoint(), + callServiceClient.getHttpPipeline()); + } + + /** + * Create a Call Connection Request from source identity to targets identity. + * + * @param source The source of the call. + * @param targets The targets of the call. + * @param createCallOptions The call Options. + * @return response for a successful CreateCallConnection request. + * + * {@codesnippet com.azure.communication.callingserver.CallingServerAsyncClient.create.call.connection.async} + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createCallConnection( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(targets, "'targets' cannot be null."); + Objects.requireNonNull(createCallOptions, "'createCallOptions' cannot be null."); + CreateCallRequest request = CallConnectionRequestConverter.convert(source, targets, createCallOptions); + return callConnectionInternal.createCallAsync(request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(response -> Mono.just(new CallConnectionAsync(response.getCallConnectionId(), callConnectionInternal))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Create a Call Connection Request from source identity to targets identity. + * + * @param source The source of the call. + * @param targets The targets of the call. + * @param createCallOptions The call Options. + * @return response for a successful CreateCallConnection request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createCallConnectionWithResponse( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(targets, "'targets' cannot be null."); + Objects.requireNonNull(createCallOptions, "'CreateCallOptions' cannot be null."); + CreateCallRequest request = CallConnectionRequestConverter.convert(source, targets, createCallOptions); + return callConnectionInternal.createCallWithResponseAsync(request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> new SimpleResponse<>(response, new CallConnectionAsync(response.getValue().getCallConnectionId(), callConnectionInternal))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono createCallConnectionInternal( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(targets, "'targets' cannot be null."); + Objects.requireNonNull(createCallOptions, "'createCallOptions' cannot be null."); + CreateCallRequest request = CallConnectionRequestConverter.convert(source, targets, createCallOptions); + return callConnectionInternal.createCallAsync(request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(response -> Mono.just(new CallConnection(new CallConnectionAsync(response.getCallConnectionId(), callConnectionInternal)))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> createCallConnectionWithResponseInternal( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions, + Context context) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(targets, "'targets' cannot be null."); + Objects.requireNonNull(createCallOptions, "'CreateCallOptions' cannot be null."); + CreateCallRequest request = CallConnectionRequestConverter.convert(source, targets, createCallOptions); + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return callConnectionInternal.createCallWithResponseAsync(request, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> new SimpleResponse<>(response, + new CallConnection(new CallConnectionAsync(response.getValue().getCallConnectionId(), callConnectionInternal)))); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Join a Call + * + * @param serverCallId The server call id. + * @param source to Join Call. + * @param joinCallOptions join call options. + * @return response for a successful join request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono join( + String serverCallId, + CommunicationIdentifier source, + JoinCallOptions joinCallOptions) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(joinCallOptions, "'joinCallOptions' cannot be null."); + return serverCallInternal + .joinCallAsync(serverCallId, JoinCallRequestConverter.convert(source, joinCallOptions)) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(response -> Mono.just(new CallConnectionAsync(response.getCallConnectionId(), callConnectionInternal))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Join a Call + * + * @param serverCallId The server call id. + * @param source to Join Call. + * @param joinCallOptions join call options. + * @return response for a successful join request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>joinWithResponse( + String serverCallId, + CommunicationIdentifier source, + JoinCallOptions joinCallOptions) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(joinCallOptions, "'joinCallOptions' cannot be null."); + return serverCallInternal. + joinCallWithResponseAsync(serverCallId, JoinCallRequestConverter.convert(source, joinCallOptions)) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> new SimpleResponse<>(response, + new CallConnectionAsync(response.getValue().getCallConnectionId(), callConnectionInternal))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono joinInternal( + String serverCallId, + CommunicationIdentifier source, + JoinCallOptions joinCallOptions) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(joinCallOptions, "'joinCallOptions' cannot be null."); + return serverCallInternal + .joinCallAsync(serverCallId, JoinCallRequestConverter.convert(source, joinCallOptions)) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(response -> + Mono.just(new CallConnection(new CallConnectionAsync(response.getCallConnectionId(), + callConnectionInternal)))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono>joinWithResponseInternal( + String serverCallId, + CommunicationIdentifier source, + JoinCallOptions joinCallOptions, + Context context) { + try { + Objects.requireNonNull(source, "'source' cannot be null."); + Objects.requireNonNull(joinCallOptions, "'joinCallOptions' cannot be null."); + + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .joinCallWithResponseAsync(serverCallId, JoinCallRequestConverter.convert(source, joinCallOptions), contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> + new SimpleResponse<>( + response, + new CallConnection(new CallConnectionAsync(response.getValue().getCallConnectionId(), + callConnectionInternal)))); + }); + + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Get CallConnection object + * + * @param callConnectionId The call connection id. + * @return CallConnection + */ + public CallConnectionAsync getCallConnection(String callConnectionId) { + Objects.requireNonNull(callConnectionId, "'callConnectionId' cannot be null."); + return new CallConnectionAsync(callConnectionId, callConnectionInternal); + } + + CallConnection getCallConnectionInternal(String callConnectionId) { + Objects.requireNonNull(callConnectionId, "'callConnectionId' cannot be null."); + return new CallConnection(new CallConnectionAsync(callConnectionId, callConnectionInternal)); + } + + /** + * Get ServerCall object + * + * @param serverCallId The server call id. + * @return ServerCall + */ + public ServerCallAsync initializeServerCall(String serverCallId) { + Objects.requireNonNull(serverCallId, "'serverCallId' cannot be null."); + return new ServerCallAsync(serverCallId, serverCallInternal); + } + + ServerCall initializeServerCallInternal(String serverCallId) { + Objects.requireNonNull(serverCallId, "'serverCallId' cannot be null."); + return new ServerCall(new ServerCallAsync(serverCallId, serverCallInternal)); + } + + /** + * Download the recording content, e.g. Recording's metadata, Recording video, from the ACS endpoint + * passed as parameter. + * @param sourceEndpoint - URL where the content is located. + * @return A {@link Flux} object containing the byte stream of the content requested. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public Flux downloadStream(String sourceEndpoint) { + try { + Objects.requireNonNull(sourceEndpoint, "'sourceEndpoint' cannot be null"); + return downloadStream(sourceEndpoint, null); + } catch (RuntimeException ex) { + return fluxError(logger, ex); + } + } + + /** + * Download the recording content, e.g. Recording's metadata, Recording video, from the ACS endpoint + * passed as parameter. + * @param sourceEndpoint - URL where the content is located. + * @param httpRange - An optional {@link HttpRange} value containing the range of bytes to download. If missing, + * the whole content will be downloaded. + * @return A {@link Flux} object containing the byte stream of the content requested. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public Flux downloadStream(String sourceEndpoint, HttpRange httpRange) { + try { + Objects.requireNonNull(sourceEndpoint, "'sourceEndpoint' cannot be null"); + return contentDownloader.downloadStreamWithResponse(sourceEndpoint, httpRange, null) + .map(Response::getValue) + .flux() + .flatMap(flux -> flux); + } catch (RuntimeException ex) { + return fluxError(logger, ex); + } + } + + /** + * Download the recording content, (e.g. Recording's metadata, Recording video, etc.) from the {@code endpoint}. + * @param sourceEndpoint - URL where the content is located. + * @param range - An optional {@link HttpRange} value containing the range of bytes to download. If missing, + * the whole content will be downloaded. + * @return A {@link Mono} object containing a {@link Response} with the byte stream of the content requested. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> downloadStreamWithResponse(String sourceEndpoint, HttpRange range) { + try { + Objects.requireNonNull(sourceEndpoint, "'sourceEndpoint' cannot be null"); + return contentDownloader.downloadStreamWithResponse(sourceEndpoint, range, null); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Download the content located in {@code endpoint} into a file marked by {@code path}. + * This download will be done using parallel workers. + * @param sourceEndpoint - ACS URL where the content is located. + * @param destinationPath - File location. + * @param parallelDownloadOptions - an optional {@link ParallelDownloadOptions} object to modify how the parallel + * download will work. + * @param overwrite - True to overwrite the file if it exists. + * @return response for a successful downloadTo request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono downloadTo( + String sourceEndpoint, + Path destinationPath, + ParallelDownloadOptions parallelDownloadOptions, + boolean overwrite) { + try { + return downloadToWithResponse(sourceEndpoint, destinationPath, parallelDownloadOptions, overwrite, null) + .then(); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Download the content located in {@code endpoint} into a file marked by {@code path}. + * This download will be done using parallel workers. + * @param sourceEndpoint - ACS URL where the content is located. + * @param destinationPath - File location. + * @param parallelDownloadOptions - an optional {@link ParallelDownloadOptions} object to modify how the parallel + * download will work. + * @param overwrite - True to overwrite the file if it exists. + * @return Response containing the http response information from the download. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> downloadToWithResponse( + String sourceEndpoint, + Path destinationPath, + ParallelDownloadOptions parallelDownloadOptions, + boolean overwrite) { + try { + return downloadToWithResponse(sourceEndpoint, destinationPath, parallelDownloadOptions, overwrite, null); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> downloadToWithResponse( + String sourceEndpoint, + OutputStream destinationStream, + HttpRange httpRange, + Context context) { + + return contentDownloader.downloadToStreamWithResponse(sourceEndpoint, destinationStream, httpRange, context); + } + + Mono> downloadToWithResponse( + String sourceEndpoint, + Path destinationPath, + ParallelDownloadOptions parallelDownloadOptions, + boolean overwrite, + Context context) { + Objects.requireNonNull(sourceEndpoint, "'sourceEndpoint' cannot be null"); + Objects.requireNonNull(destinationPath, "'destinationPath' cannot be null"); + + Set openOptions = new HashSet<>(); + + if (overwrite) { + openOptions.add(StandardOpenOption.CREATE); + } else { + openOptions.add(StandardOpenOption.CREATE_NEW); + } + openOptions.add(StandardOpenOption.WRITE); + + try { + AsynchronousFileChannel file = AsynchronousFileChannel.open(destinationPath, openOptions, null); + return downloadToWithResponse(sourceEndpoint, destinationPath, file, parallelDownloadOptions, context); + } catch (IOException ex) { + return monoError(logger, new RuntimeException(ex)); + } + } + + Mono> downloadToWithResponse( + String sourceEndpoint, + Path destinationPath, + AsynchronousFileChannel fileChannel, + ParallelDownloadOptions parallelDownloadOptions, + Context context + ) { + ParallelDownloadOptions finalParallelDownloadOptions = + parallelDownloadOptions == null + ? new ParallelDownloadOptions() + : parallelDownloadOptions; + + return Mono.just(fileChannel).flatMap( + c -> contentDownloader.downloadToFileWithResponse(sourceEndpoint, c, finalParallelDownloadOptions, context)) + .doFinally(signalType -> contentDownloader.downloadToFileCleanup(fileChannel, destinationPath, signalType)); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClient.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClient.java new file mode 100644 index 0000000000000..d4cc6795e6517 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClient.java @@ -0,0 +1,208 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.JoinCallOptions; +import com.azure.communication.callingserver.models.ParallelDownloadOptions; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.HttpRange; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +import java.io.OutputStream; +import java.nio.file.Path; +import java.util.Objects; + + +/** + * A Sync Client that supports calling server operations. + * + *

Instantiating a synchronous Calling Server Client

+ * + * {@codesnippet com.azure.communication.callingserver.CallingServerClient.pipeline.instantiation} + * + *

View {@link CallingServerClientBuilder this} for additional ways to construct the client.

+ * + * @see CallingServerClientBuilder + */ +@ServiceClient(builder = CallingServerClientBuilder.class) +public final class CallingServerClient { + private final CallingServerAsyncClient callingServerAsyncClient; + + CallingServerClient(CallingServerAsyncClient callingServerAsyncClient) { + this.callingServerAsyncClient = callingServerAsyncClient; + } + + /** + * Create a call connection request from source identity to targets identity. + * + * @param source The source of the call. + * @param targets The targets of the call. + * @param createCallOptions The call Options. + * @return response for a successful CreateCallConnection request. + * + * {@codesnippet com.azure.communication.callingserver.CallingServerClient.create.call.connection} + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CallConnection createCallConnection( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions) { + return callingServerAsyncClient.createCallConnectionInternal(source, targets, createCallOptions).block(); + } + + /** + * Create a Call Connection Request from source identity to targets identity. + * + * @param source The source of the call. + * @param targets The targets of the call. + * @param createCallOptions The call Options. + * @param context A {@link Context} representing the request context. + * @return response for a successful CreateCallConnection request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createCallConnectionWithResponse( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions, + Context context) { + return callingServerAsyncClient + .createCallConnectionWithResponseInternal(source, targets, createCallOptions, context).block(); + } + + /** + * Join a call + * + * @param serverCallId The server call id. + * @param source of Join Call request. + * @param joinCallOptions to Join Call. + * @return CallConnection for a successful Join request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CallConnection join( + String serverCallId, + CommunicationIdentifier source, + JoinCallOptions joinCallOptions) { + return callingServerAsyncClient.joinInternal(serverCallId, source, joinCallOptions).block(); + } + + /** + * Join a call + * + * @param serverCallId The server call id. + * @param source of Join Call request. + * @param joinCallOptions to Join Call. + * @param context A {@link Context} representing the request context. + * @return response for a successful Join request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response joinWithResponse( + String serverCallId, + CommunicationIdentifier source, + JoinCallOptions joinCallOptions, + Context context) { + return callingServerAsyncClient.joinWithResponseInternal(serverCallId, source, joinCallOptions, context).block(); + } + + /** + * Get CallConnection object + * + * @param callConnectionId The call connection id. + * @return CallConnection + */ + public CallConnection getCallConnection(String callConnectionId) { + return callingServerAsyncClient.getCallConnectionInternal(callConnectionId); + } + + /** + * Get ServerCall object + * + * @param serverCallId The server call id. + * @return ServerCall + */ + public ServerCall initializeServerCall(String serverCallId) { + return callingServerAsyncClient.initializeServerCallInternal(serverCallId); + } + + /** + * Download the recording content, e.g. Recording's metadata, Recording video, etc., from + * {@code endpoint} and write it into the {@link OutputStream} passed as parameter. + * @param sourceEndpoint - ACS URL where the content is located. + * @param destinationStream - A stream where to write the downloaded content. + * @param httpRange - An optional {@link HttpRange} value containing the range of bytes to download. If missing, + * the whole content will be downloaded. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void downloadTo(String sourceEndpoint, OutputStream destinationStream, HttpRange httpRange) { + downloadToWithResponse(sourceEndpoint, destinationStream, httpRange, null); + } + + /** + * Download the recording content, e.g. Recording's metadata, Recording video, etc., from + * {@code endpoint} and write it in the {@link OutputStream} passed as parameter. + * @param sourceEndpoint - ACS URL where the content is located. + * @param destinationStream - A stream where to write the downloaded content. + * @param httpRange - An optional {@link HttpRange} value containing the range of bytes to download. If missing, + * the whole content will be downloaded. + * @param context A {@link Context} representing the request context. + * @return Response containing the http response information from the download. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response downloadToWithResponse(String sourceEndpoint, + OutputStream destinationStream, + HttpRange httpRange, + Context context) { + Objects.requireNonNull(sourceEndpoint, "'sourceEndpoint' cannot be null"); + Objects.requireNonNull(destinationStream, "'destinationStream' cannot be null"); + return callingServerAsyncClient + .downloadToWithResponse(sourceEndpoint, destinationStream, httpRange, context) + .block(); + } + + /** + * Download the content located in {@code endpoint} into a file marked by {@code path}. + * This download will be done using parallel workers. + * @param sourceEndpoint - ACS URL where the content is located. + * @param destinationPath - File location. + * @param parallelDownloadOptions - an optional {@link ParallelDownloadOptions} object to modify how the parallel + * download will work. + * @param overwrite - True to overwrite the file if it exists. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void downloadTo(String sourceEndpoint, + Path destinationPath, + ParallelDownloadOptions parallelDownloadOptions, + boolean overwrite) { + downloadToWithResponse(sourceEndpoint, destinationPath, parallelDownloadOptions, overwrite, null); + } + + /** + * Download the content located in {@code endpoint} into a file marked by {@code path}. + * This download will be done using parallel workers. + * @param sourceEndpoint - ACS URL where the content is located. + * @param destinationPath - File location. + * @param parallelDownloadOptions - an optional {@link ParallelDownloadOptions} object to modify how the parallel + * download will work. + * @param overwrite - True to overwrite the file if it exists. + * @param context A {@link Context} representing the request context. + * @return Response containing the http response information from the download. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response downloadToWithResponse(String sourceEndpoint, + Path destinationPath, + ParallelDownloadOptions parallelDownloadOptions, + boolean overwrite, + Context context) { + Objects.requireNonNull(sourceEndpoint, "'sourceEndpoint' cannot be null"); + Objects.requireNonNull(destinationPath, "'destinationPath' cannot be null"); + return callingServerAsyncClient.downloadToWithResponse(sourceEndpoint, destinationPath, + parallelDownloadOptions, overwrite, context).block(); + } +} + + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClientBuilder.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClientBuilder.java new file mode 100644 index 0000000000000..f7e0f9b929f52 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/CallingServerClientBuilder.java @@ -0,0 +1,346 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.implementation.AzureCommunicationCallingServerServiceImpl; +import com.azure.communication.callingserver.implementation.AzureCommunicationCallingServerServiceImplBuilder; +import com.azure.communication.common.implementation.CommunicationConnectionString; +import com.azure.communication.common.implementation.HmacAuthenticationPolicy; +import com.azure.core.annotation.ServiceClientBuilder; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.credential.TokenCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.BearerTokenAuthenticationPolicy; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.http.policy.RequestIdPolicy; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.util.ClientOptions; +import com.azure.core.util.Configuration; +import com.azure.core.util.CoreUtils; +import com.azure.core.util.logging.ClientLogger; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; + + +/** + * CallingServerClientBuilder that creates CallingServerAsyncClient and CallingServerClient. + * + *

Instantiating synchronous and asynchronous Calling Server Clients

+ * + * {@codesnippet com.azure.communication.callingserver.CallingServerClientBuilder.pipeline.instantiation} + */ +@ServiceClientBuilder(serviceClients = { CallingServerClient.class, CallingServerAsyncClient.class }) +public final class CallingServerClientBuilder { + private static final String SDK_NAME = "name"; + private static final String SDK_VERSION = "version"; + private static final String APP_CONFIG_PROPERTIES = "azure-communication-callingserver.properties"; + + private final ClientLogger logger = new ClientLogger(CallingServerClientBuilder.class); + private String connectionString; + private String endpoint; + private AzureKeyCredential azureKeyCredential; + private TokenCredential tokenCredential; + private HttpClient httpClient; + private HttpLogOptions httpLogOptions = new HttpLogOptions(); + private HttpPipeline pipeline; + private Configuration configuration; + private final Map properties = CoreUtils.getProperties(APP_CONFIG_PROPERTIES); + private final List customPolicies = new ArrayList<>(); + private ClientOptions clientOptions; + private RetryPolicy retryPolicy; + + /** + * Set endpoint of the service + * + * @param endpoint url of the service + * @return CallingServerClientBuilder + */ + public CallingServerClientBuilder endpoint(String endpoint) { + this.endpoint = Objects.requireNonNull(endpoint, "'endpoint' cannot be null."); + return this; + } + + /** + * Set endpoint of the service + * + * @param pipeline HttpPipeline to use, if a pipeline is not supplied, the + * credential and httpClient fields must be set + * @return CallingServerClientBuilder + */ + public CallingServerClientBuilder pipeline(HttpPipeline pipeline) { + this.pipeline = Objects.requireNonNull(pipeline, "'pipeline' cannot be null."); + return this; + } + + /** + * Sets the {@link TokenCredential} used to authenticate HTTP requests. + * + * @param tokenCredential {@link TokenCredential} used to authenticate HTTP + * requests. + * @return The updated {@link CallingServerClientBuilder} object. + * @throws NullPointerException If {@code tokenCredential} is null. + */ + public CallingServerClientBuilder credential(TokenCredential tokenCredential) { + this.tokenCredential = Objects.requireNonNull(tokenCredential, "'tokenCredential' cannot be null."); + return this; + } + + /** + * Sets the {@link AzureKeyCredential} used to authenticate HTTP requests. + * + * @param keyCredential The {@link AzureKeyCredential} used to authenticate HTTP + * requests. + * @return The updated {@link CallingServerClientBuilder} object. + * @throws NullPointerException If {@code keyCredential} is null. + */ + public CallingServerClientBuilder credential(AzureKeyCredential keyCredential) { + this.azureKeyCredential = Objects.requireNonNull(keyCredential, "'keyCredential' cannot be null."); + return this; + } + + /** + * Set connectionString to use + * + * @param connectionString connection string to set + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder connectionString(String connectionString) { + Objects.requireNonNull(connectionString, "'connectionString' cannot be null."); + this.connectionString = connectionString; + return this; + } + + /** + * Sets the retry policy to use (using the RetryPolicy type). + * + * @param retryPolicy object to be applied + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder retryPolicy(RetryPolicy retryPolicy) { + this.retryPolicy = Objects.requireNonNull(retryPolicy, "'retryPolicy' cannot be null."); + return this; + } + + /** + * Sets the configuration object used to retrieve environment configuration + * values during building of the client. + * + * @param configuration Configuration store used to retrieve environment + * configurations. + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder configuration(Configuration configuration) { + this.configuration = Objects.requireNonNull(configuration, "'configuration' cannot be null."); + return this; + } + + /** + * Sets the {@link HttpLogOptions} for service requests. + * + * @param logOptions The logging configuration to use when sending and receiving + * HTTP requests/responses. + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder httpLogOptions(HttpLogOptions logOptions) { + this.httpLogOptions = Objects.requireNonNull(logOptions, "'logOptions' cannot be null."); + return this; + } + + /** + * Sets the {@link CallingServerClientBuilder} that is used when making API requests. + *

+ * If a service version is not provided, the service version that will be used + * will be the latest known service version based on the version of the client + * library being used. If no service version is specified, updating to a newer + * version of the client library will have the result of potentially moving to a + * newer service version. + *

+ * Targeting a specific service version may also mean that the service will + * return an error for newer APIs. + * + * @param version {@link CallingServerClientBuilder} of the service to be used when + * making requests. + * @return the updated CallingServerClientBuilder object + */ + public CallingServerClientBuilder serviceVersion(CallingServerClientBuilder version) { + return this; + } + + /** + * Set httpClient to use + * + * @param httpClient httpClient to use, overridden by the pipeline field. + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder httpClient(HttpClient httpClient) { + this.httpClient = Objects.requireNonNull(httpClient, "'httpClient' cannot be null."); + return this; + } + + /** + * Apply additional HttpPipelinePolicy + * + * @param customPolicy HttpPipelinePolicy object to be applied after + * AzureKeyCredentialPolicy, UserAgentPolicy, RetryPolicy, and CookiePolicy + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder addPolicy(HttpPipelinePolicy customPolicy) { + this.customPolicies.add(Objects.requireNonNull(customPolicy, "'customPolicy' cannot be null.")); + return this; + } + + /** + * Create asynchronous client applying HMACAuthenticationPolicy, + * UserAgentPolicy, RetryPolicy, and CookiePolicy. Additional HttpPolicies + * specified by additionalPolicies will be applied after them + * + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerAsyncClient buildAsyncClient() { + return new CallingServerAsyncClient(createServiceImpl()); + } + + /** + * Create synchronous client applying HmacAuthenticationPolicy, UserAgentPolicy, + * RetryPolicy, and CookiePolicy. Additional HttpPolicies specified by + * additionalPolicies will be applied after them + * + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClient buildClient() { + return new CallingServerClient(buildAsyncClient()); + } + + private AzureCommunicationCallingServerServiceImpl createServiceImpl() { + boolean isConnectionStringSet = connectionString != null && !connectionString.trim().isEmpty(); + boolean isEndpointSet = endpoint != null && !endpoint.trim().isEmpty(); + boolean isAzureKeyCredentialSet = azureKeyCredential != null; + boolean isTokenCredentialSet = tokenCredential != null; + + if (isConnectionStringSet && isEndpointSet) { + throw logger.logExceptionAsError(new IllegalArgumentException( + "Both 'connectionString' and 'endpoint' are set. Just one may be used.")); + } + + if (isConnectionStringSet && isAzureKeyCredentialSet) { + throw logger.logExceptionAsError(new IllegalArgumentException( + "Both 'connectionString' and 'keyCredential' are set. Just one may be used.")); + } + + if (isConnectionStringSet && isTokenCredentialSet) { + throw logger.logExceptionAsError(new IllegalArgumentException( + "Both 'connectionString' and 'tokenCredential' are set. Just one may be used.")); + } + + if (isAzureKeyCredentialSet && isTokenCredentialSet) { + throw logger.logExceptionAsError(new IllegalArgumentException( + "Both 'tokenCredential' and 'keyCredential' are set. Just one may be used.")); + } + + if (isConnectionStringSet) { + CommunicationConnectionString connectionStringObject = new CommunicationConnectionString(connectionString); + String endpoint = connectionStringObject.getEndpoint(); + String accessKey = connectionStringObject.getAccessKey(); + endpoint(endpoint).credential(new AzureKeyCredential(accessKey)); + } + + Objects.requireNonNull(endpoint); + if (pipeline == null) { + Objects.requireNonNull(httpClient); + } + + HttpPipeline builderPipeline = pipeline; + if (pipeline == null) { + builderPipeline = createHttpPipeline(httpClient); + } + + AzureCommunicationCallingServerServiceImplBuilder clientBuilder = new AzureCommunicationCallingServerServiceImplBuilder(); + clientBuilder.endpoint(endpoint).pipeline(builderPipeline); + + return clientBuilder.buildClient(); + } + + /** + * Allows the user to set a variety of client-related options, such as + * user-agent string, headers, etc. + * + * @param clientOptions object to be applied + * @return The updated {@link CallingServerClientBuilder} object. + */ + public CallingServerClientBuilder clientOptions(ClientOptions clientOptions) { + this.clientOptions = clientOptions; + return this; + } + + private HttpPipelinePolicy createHttpPipelineAuthPolicy() { + if (tokenCredential != null && azureKeyCredential != null) { + throw logger.logExceptionAsError(new IllegalArgumentException( + "Both 'credential' and 'keyCredential' are set. Just one may be used.")); + } + if (tokenCredential != null) { + return new BearerTokenAuthenticationPolicy(tokenCredential, + "https://communication.azure.com//.default"); + } else if (azureKeyCredential != null) { + return new HmacAuthenticationPolicy(azureKeyCredential); + } else { + throw logger.logExceptionAsError( + new IllegalArgumentException("Missing credential information while building a client.")); + } + } + + private HttpPipeline createHttpPipeline(HttpClient httpClient) { + if (pipeline != null) { + return pipeline; + } + + List policyList = new ArrayList<>(); + + ClientOptions buildClientOptions = (clientOptions == null) ? new ClientOptions() : clientOptions; + HttpLogOptions buildLogOptions = (httpLogOptions == null) ? new HttpLogOptions() : httpLogOptions; + + String applicationId = null; + if (!CoreUtils.isNullOrEmpty(buildClientOptions.getApplicationId())) { + applicationId = buildClientOptions.getApplicationId(); + } else if (!CoreUtils.isNullOrEmpty(buildLogOptions.getApplicationId())) { + applicationId = buildLogOptions.getApplicationId(); + } + + // Add required policies + String clientName = properties.getOrDefault(SDK_NAME, "UnknownName"); + String clientVersion = properties.getOrDefault(SDK_VERSION, "UnknownVersion"); + policyList.add(new UserAgentPolicy(applicationId, clientName, clientVersion, configuration)); + policyList.add(new RequestIdPolicy()); + policyList.add((retryPolicy == null) ? new RetryPolicy() : retryPolicy); + policyList.add(createHttpPipelineAuthPolicy()); + policyList.add(new CookiePolicy()); + + // Add additional policies + if (!customPolicies.isEmpty()) { + policyList.addAll(customPolicies); + } + + // Add logging policy + policyList.add(new HttpLoggingPolicy(getHttpLogOptions())); + + return new HttpPipelineBuilder().policies(policyList.toArray(new HttpPipelinePolicy[0])).httpClient(httpClient) + .build(); + } + + private HttpLogOptions getHttpLogOptions() { + if (httpLogOptions == null) { + httpLogOptions = new HttpLogOptions(); + } + + return httpLogOptions; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ContentDownloader.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ContentDownloader.java new file mode 100644 index 0000000000000..6ee8317fe7f1c --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ContentDownloader.java @@ -0,0 +1,286 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.implementation.Constants; +import com.azure.communication.callingserver.models.CallingServerErrorException; +import com.azure.communication.callingserver.models.ParallelDownloadOptions; +import com.azure.communication.callingserver.models.ProgressReporter; +import com.azure.core.http.HttpMethod; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpRange; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.HttpResponse; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.logging.ClientLogger; +import reactor.core.Exceptions; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; +import reactor.core.publisher.SignalType; +import reactor.core.scheduler.Schedulers; +import reactor.util.function.Tuple2; + +import java.io.IOException; +import java.io.OutputStream; +import java.io.UncheckedIOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousFileChannel; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.concurrent.atomic.AtomicLong; +import java.util.concurrent.locks.Lock; +import java.util.concurrent.locks.ReentrantLock; +import java.util.function.Function; + +import static java.lang.StrictMath.toIntExact; + +class ContentDownloader { + private final String resourceEndpoint; + private final HttpPipeline httpPipeline; + private final ClientLogger logger = new ClientLogger(ContentDownloader.class); + + ContentDownloader(String resourceEndpoint, HttpPipeline httpPipeline) { + this.resourceEndpoint = resourceEndpoint; + this.httpPipeline = httpPipeline; + } + + Mono> downloadToStreamWithResponse( + String sourceEndpoint, + OutputStream destinationStream, + HttpRange httpRange, + Context context) { + return downloadStreamWithResponse(sourceEndpoint, httpRange, context) + .flatMap(response -> response.getValue().reduce(destinationStream, (outputStream, buffer) -> { + try { + outputStream.write(FluxUtil.byteBufferToArray(buffer)); + return outputStream; + } catch (IOException ex) { + throw logger.logExceptionAsError(Exceptions.propagate(new UncheckedIOException(ex))); + } + }).thenReturn(new SimpleResponse<>(response.getRequest(), response.getStatusCode(), + response.getHeaders(), null))); + } + + Mono>> downloadStreamWithResponse( + String sourceEndpoint, + HttpRange httpRange, + Context context) { + Mono httpResponse = makeDownloadRequest(sourceEndpoint, httpRange, context); + return httpResponse.map(response -> { + Flux result = getFluxStream(response, sourceEndpoint, httpRange, context); + return new SimpleResponse<>(response.getRequest(), response.getStatusCode(), + response.getHeaders(), result); + }); + } + + Mono> downloadToFileWithResponse( + String sourceEndpoint, + AsynchronousFileChannel destinationFile, + ParallelDownloadOptions parallelDownloadOptions, + Context context) { + Lock progressLock = new ReentrantLock(); + AtomicLong totalProgress = new AtomicLong(0); + + Function>>> downloadFunc = + range -> downloadStreamWithResponse(sourceEndpoint, range, context); + + return downloadFirstChunk(parallelDownloadOptions, downloadFunc) + .flatMap(setupTuple2 -> { + long newCount = setupTuple2.getT1(); + int numChunks = calculateNumBlocks(newCount, parallelDownloadOptions.getBlockSizeLong()); + + // In case it is an empty blob, this ensures we still actually perform a download operation. + numChunks = numChunks == 0 ? 1 : numChunks; + + Response> initialResponse = setupTuple2.getT2(); + return Flux.range(0, numChunks) + .flatMap(chunkNum -> downloadChunk(chunkNum, initialResponse, + parallelDownloadOptions, newCount, downloadFunc, + response -> + writeBodyToFile(response, destinationFile, chunkNum, + parallelDownloadOptions, progressLock, totalProgress).flux())) + .then(Mono.just(new SimpleResponse<>(initialResponse, null))); + }); + } + + private Flux getFluxStream( + HttpResponse httpResponse, + String sourceEndpoint, + HttpRange httpRange, + Context context) { + return FluxUtil.createRetriableDownloadFlux( + () -> getResponseBody(httpResponse), + (Throwable throwable, Long aLong) -> { + if (throwable instanceof CallingServerErrorException) { + CallingServerErrorException exception = (CallingServerErrorException) throwable; + if (exception.getResponse().getStatusCode() == 416) { + return makeDownloadRequest(sourceEndpoint, null, context) + .map(this::getResponseBody) + .flux() + .flatMap(flux -> flux); + } + } + + HttpRange range; + if (httpRange != null) { + range = new HttpRange(aLong + 1, httpRange.getLength() - aLong - 1); + } else { + range = new HttpRange(aLong + 1); + } + + return makeDownloadRequest(sourceEndpoint, range, context) + .map(this::getResponseBody) + .flux() + .flatMap(flux -> flux); + }, + Constants.ContentDownloader.MAX_RETRIES + ); + } + + private Flux getResponseBody(HttpResponse response) { + switch (response.getStatusCode()) { + case 200: + case 206: + return response.getBody(); + case 416: // Retriable with new HttpRange, potentially bytes=0- + return FluxUtil.fluxError(logger, + new CallingServerErrorException(formatExceptionMessage(response), response)); + default: + throw logger.logExceptionAsError( + new CallingServerErrorException(formatExceptionMessage(response), response) + ); + } + } + + private String formatExceptionMessage(HttpResponse httpResponse) { + return String.format("Service Request failed!%nStatus: %s", httpResponse.getStatusCode()); + } + + private Mono makeDownloadRequest( + String sourceEndpoint, + HttpRange httpRange, + Context context) { + HttpRequest request = getHttpRequest(sourceEndpoint, httpRange); + URL urlToSignWith = getUrlToSignRequestWith(sourceEndpoint); + + Context finalContext; + if (context == null) { + finalContext = new Context("hmacSignatureURL", urlToSignWith); + } else { + finalContext = context.addData("hmacSignatureURL", urlToSignWith); + } + + return httpPipeline.send(request, finalContext); + } + + private URL getUrlToSignRequestWith(String endpoint) { + try { + String path = new URL(endpoint).getPath(); + + if (path.startsWith("/")) { + path = path.substring(1); + } + + return new URL(resourceEndpoint + path); + } catch (MalformedURLException ex) { + throw logger.logExceptionAsError(new IllegalArgumentException(ex)); + } + } + + private HttpRequest getHttpRequest(String sourceEndpoint, HttpRange httpRange) { + HttpRequest request = new HttpRequest(HttpMethod.GET, sourceEndpoint); + + if (null != httpRange) { + request.setHeader(Constants.HeaderNames.RANGE, httpRange.toString()); + } + + return request; + } + + private Mono>>> downloadFirstChunk( + ParallelDownloadOptions parallelDownloadOptions, + Function>>> downloader) { + return downloader.apply(new HttpRange(0, parallelDownloadOptions.getBlockSizeLong())) + .subscribeOn(Schedulers.boundedElastic()) + .flatMap(response -> { + // Extract the total length of the blob from the contentRange header. e.g. "bytes 1-6/7" + long totalLength = extractTotalBlobLength( + response.getHeaders().getValue(Constants.HeaderNames.CONTENT_RANGE) + ); + + return Mono.zip(Mono.just(totalLength), Mono.just(response)); + }); + } + + private long extractTotalBlobLength(String contentRange) { + return contentRange == null ? 0 : Long.parseLong(contentRange.split("/")[1]); + } + + private int calculateNumBlocks(long dataSize, long blockLength) { + // Can successfully cast to an int because MaxBlockSize is an int, which this expression must be less than. + int numBlocks = toIntExact(dataSize / blockLength); + // Include an extra block for trailing data. + if (dataSize % blockLength != 0) { + numBlocks++; + } + return numBlocks; + } + + private Flux downloadChunk( + Integer chunkNum, + Response> initialResponse, + ParallelDownloadOptions parallelDownloadOptions, + long newCount, + Function>>> downloader, + Function>, Flux> returnTransformer) { + if (chunkNum == 0) { + return returnTransformer.apply(initialResponse); + } + + // Calculate whether we need a full chunk or something smaller because we are at the end. + long modifier = chunkNum.longValue() * parallelDownloadOptions.getBlockSizeLong(); + long chunkSizeActual = Math.min(parallelDownloadOptions.getBlockSizeLong(), + newCount - modifier); + HttpRange chunkRange = new HttpRange(modifier, chunkSizeActual); + + // Make the download call. + return downloader.apply(chunkRange) + .subscribeOn(Schedulers.boundedElastic()) + .flatMapMany(returnTransformer); + } + + private static Mono writeBodyToFile( + Response> response, + AsynchronousFileChannel file, + long chunkNum, + ParallelDownloadOptions parallelDownloadOptions, + Lock progressLock, + AtomicLong totalProgress) { + // Extract the body. + Flux data = response.getValue(); + + // Report progress as necessary. + data = ProgressReporter.addParallelProgressReporting(data, + parallelDownloadOptions.getProgressReceiver(), progressLock, totalProgress); + + // Write to the file. + return FluxUtil.writeFile(data, file, chunkNum * parallelDownloadOptions.getBlockSizeLong()); + } + + void downloadToFileCleanup(AsynchronousFileChannel channel, Path filePath, SignalType signalType) { + try { + channel.close(); + if (!signalType.equals(SignalType.ON_COMPLETE)) { + Files.deleteIfExists(filePath); + logger.verbose("Downloading to file failed. Cleaning up resources."); + } + } catch (IOException e) { + throw logger.logExceptionAsError(new UncheckedIOException(e)); + } + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCall.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCall.java new file mode 100644 index 0000000000000..653db215187f7 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCall.java @@ -0,0 +1,301 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallRecordingStateResult; +import com.azure.communication.callingserver.models.PlayAudioOptions; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.callingserver.models.StartCallRecordingResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +/** + * Sync Client that supports server call operations. + */ +public final class ServerCall { + private final ServerCallAsync serverCallAsync; + + ServerCall(ServerCallAsync serverCallAsync) { + this.serverCallAsync = serverCallAsync; + } + + /** + * Get the server call id property + * + * @return the id value. + */ + public String getServerCallId() { + return serverCallAsync.getServerCallId(); + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param callBackUri callBackUri to get notifications. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void addParticipant( + CommunicationIdentifier participant, + String callBackUri, + String alternateCallerId, + String operationContext) { + return serverCallAsync.addParticipant(participant, alternateCallerId, operationContext, callBackUri).block(); + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param callBackUri callBackUri to get notifications. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param context A {@link Context} representing the request context. + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response addParticipantWithResponse( + CommunicationIdentifier participant, + String callBackUri, + String alternateCallerId, + String operationContext, + Context context) { + return serverCallAsync.addParticipantWithResponse( + participant, + callBackUri, + alternateCallerId, + operationContext, + context).block(); + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void removeParticipant(String participantId) { + return serverCallAsync.removeParticipant(participantId).block(); + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @param context A {@link Context} representing the request context. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response removeParticipantWithResponse(String participantId, Context context) { + return serverCallAsync.removeParticipantWithResponse(participantId, context).block(); + } + + /** + * Start recording + * + * @param recordingStateCallbackUri The uri to send state change callbacks. + * @return result for a successful start recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public StartCallRecordingResult startRecording(String recordingStateCallbackUri) { + return serverCallAsync.startRecording(recordingStateCallbackUri).block(); + } + + /** + * Start recording + * + * @param recordingStateCallbackUri The uri to send state change callbacks. + * @param context A {@link Context} representing the request context. + * @return result for a successful start recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startRecordingWithResponse( + String recordingStateCallbackUri, + Context context) { + return serverCallAsync.startRecordingWithResponse(recordingStateCallbackUri, context).block(); + } + + /** + * Stop recording + * + * @param recordingId The recording id to stop. + * @return response for a successful stop recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void stopRecording(String recordingId) { + return serverCallAsync.stopRecording(recordingId).block(); + } + + /** + * Stop recording + * + * @param recordingId The recording id to stop. + * @param context A {@link Context} representing the request context. + * @return response for a successful stop recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response stopRecordingWithResponse(String recordingId, Context context) { + return serverCallAsync.stopRecordingWithResponse(recordingId, context).block(); + } + + /** + * Pause recording + * + * @param recordingId The recording id to stop. + * @return response for a successful pause recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void pauseRecording(String recordingId) { + return serverCallAsync.pauseRecording(recordingId).block(); + } + + /** + * Pause recording + * + * @param recordingId The recording id to stop. + * @param context A {@link Context} representing the request context. + * @return response for a successful pause recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response pauseRecordingWithResponse(String recordingId, Context context) { + return serverCallAsync.pauseRecordingWithResponse(recordingId, context).block(); + } + + /** + * Resume recording + * + * @param recordingId The recording id to stop. + * @return response for a successful resume recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Void resumeRecording(String recordingId) { + return serverCallAsync.resumeRecording(recordingId).block(); + } + + /** + * Resume recording + * + * @param recordingId The recording id to stop. + * @param context A {@link Context} representing the request context. + * @return response for a successful resume recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response resumeRecordingWithResponse(String recordingId, Context context) { + return serverCallAsync.resumeRecordingWithResponse(recordingId, context).block(); + } + + /** + * Get recording state + * + * @param recordingId The recording id to stop. + * @return response for a successful get recording state request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CallRecordingStateResult getRecordingState(String recordingId) { + return serverCallAsync.getRecordingState(recordingId).block(); + } + + /** + * Get recording state + * + * @param recordingId The recording id to stop. + * @param context A {@link Context} representing the request context. + * @return response for a successful get recording state request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getRecordingStateWithResponse(String recordingId, Context context) { + return serverCallAsync.getRecordingStateWithResponse(recordingId, context).block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param audioFileId An id for the media in the AudioFileUri, using which we cache the media. + * @param callbackUri The callback Uri to receive PlayAudio status notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PlayAudioResult playAudio( + String audioFileUri, + String audioFileId, + String callbackUri, + String operationContext) { + return serverCallAsync.playAudioInternal(audioFileUri, audioFileId, callbackUri, operationContext).block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PlayAudioResult playAudio(String audioFileUri, PlayAudioOptions playAudioOptions) { + return serverCallAsync.playAudioInternal(audioFileUri, playAudioOptions).block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param audioFileId An id for the media in the AudioFileUri, using which we cache the media. + * @param callbackUri The callback Uri to receive PlayAudio status notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param context A {@link Context} representing the request context. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response playAudioWithResponse( + String audioFileUri, + String audioFileId, + String callbackUri, + String operationContext, + Context context) { + return serverCallAsync + .playAudioWithResponseInternal( + audioFileUri, + audioFileId, + callbackUri, + operationContext, + context).block(); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @param context A {@link Context} representing the request context. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response playAudioWithResponse( + String audioFileUri, + PlayAudioOptions playAudioOptions, + Context context) { + return serverCallAsync.playAudioWithResponseInternal(audioFileUri, playAudioOptions, context).block(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCallAsync.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCallAsync.java new file mode 100644 index 0000000000000..067bec9db3baa --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/ServerCallAsync.java @@ -0,0 +1,586 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.implementation.ServerCallsImpl; +import com.azure.communication.callingserver.implementation.converters.CallingServerErrorConverter; +import com.azure.communication.callingserver.implementation.converters.InviteParticipantRequestConverter; +import com.azure.communication.callingserver.implementation.converters.PlayAudioResultConverter; +import com.azure.communication.callingserver.implementation.models.CommunicationErrorException; +import com.azure.communication.callingserver.implementation.models.InviteParticipantsRequest; +import com.azure.communication.callingserver.implementation.models.PlayAudioRequest; +import com.azure.communication.callingserver.implementation.models.StartCallRecordingRequest; +import com.azure.communication.callingserver.models.CallRecordingStateResult; +import com.azure.communication.callingserver.models.PlayAudioOptions; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.callingserver.models.StartCallRecordingResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import reactor.core.publisher.Mono; + +import java.net.URI; +import java.net.URISyntaxException; +import java.security.InvalidParameterException; +import java.util.Objects; + +import static com.azure.core.util.FluxUtil.monoError; +import static com.azure.core.util.FluxUtil.withContext; + +/** + * Async client that supports server call operations. + */ +public final class ServerCallAsync { + private final String serverCallId; + private final ServerCallsImpl serverCallInternal; + private final ClientLogger logger = new ClientLogger(ServerCallAsync.class); + + ServerCallAsync(String serverCallId, ServerCallsImpl serverCallInternal) { + this.serverCallId = serverCallId; + this.serverCallInternal = serverCallInternal; + } + + /** + * Get the server call id property + * + * @return the id value. + */ + public String getServerCallId() { + return serverCallId; + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param callBackUri callBackUri to get notifications. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono addParticipant( + CommunicationIdentifier participant, + String callBackUri, + String alternateCallerId, + String operationContext) { + try { + Objects.requireNonNull(participant, "'participant' cannot be null."); + InviteParticipantsRequest request = + InviteParticipantRequestConverter.convert(participant, + alternateCallerId, + operationContext, + callBackUri); + return serverCallInternal.inviteParticipantsAsync(serverCallId, request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Add a participant to the call. + * + * @param participant Invited participant. + * @param callBackUri callBackUri to get notifications. + * @param alternateCallerId The phone number to use when adding a phone number participant. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return response for a successful add participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> addParticipantWithResponse( + CommunicationIdentifier participant, + String callBackUri, + String alternateCallerId, + String operationContext) { + return addParticipantWithResponse(participant, + callBackUri, + alternateCallerId, + operationContext, + null); + } + + Mono> addParticipantWithResponse( + CommunicationIdentifier participant, + String callBackUri, + String alternateCallerId, + String operationContext, + Context context) { + try { + Objects.requireNonNull(participant, "'participant' cannot be null."); + InviteParticipantsRequest request = + InviteParticipantRequestConverter.convert(participant, + alternateCallerId, + operationContext, + callBackUri); + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .inviteParticipantsWithResponseAsync(serverCallId, request, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono removeParticipant(String participantId) { + try { + return serverCallInternal.removeParticipantAsync(serverCallId, participantId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Remove a participant from the call. + * + * @param participantId Participant id. + * @return response for a successful remove participant request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> removeParticipantWithResponse(String participantId) { + return removeParticipantWithResponse(participantId, null); + } + + Mono> removeParticipantWithResponse(String participantId, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .removeParticipantWithResponseAsync(serverCallId, participantId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Start recording + * + * @param recordingStateCallbackUri The uri to send state change callbacks. + * @throws InvalidParameterException is recordingStateCallbackUri is absolute uri. + * @return response for a successful start recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startRecording(String recordingStateCallbackUri) { + try { + Objects.requireNonNull(recordingStateCallbackUri, "'recordingStateCallbackUri' cannot be null."); + if (!Boolean.TRUE.equals(new URI(recordingStateCallbackUri).isAbsolute())) { + throw logger.logExceptionAsError(new InvalidParameterException("'recordingStateCallbackUri' has to be an absolute Uri")); + } + StartCallRecordingRequest request = new StartCallRecordingRequest(); + request.setRecordingStateCallbackUri(recordingStateCallbackUri); + return serverCallInternal.startRecordingAsync(serverCallId, request) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(result -> Mono.just(new StartCallRecordingResult(result.getRecordingId()))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } catch (URISyntaxException ex) { + return monoError(logger, new RuntimeException(ex.getMessage())); + } + } + + /** + * Start recording + * + * @param recordingStateCallbackUri The uri to send state change callbacks. + * @throws InvalidParameterException is recordingStateCallbackUri is absolute uri. + * @return response for a successful start recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startRecordingWithResponse(String recordingStateCallbackUri) { + return startRecordingWithResponse(recordingStateCallbackUri, null); + } + + Mono> startRecordingWithResponse( + String recordingStateCallbackUri, + Context context) { + try { + Objects.requireNonNull(recordingStateCallbackUri, "'recordingStateCallbackUri' cannot be null."); + if (!Boolean.TRUE.equals(new URI(recordingStateCallbackUri).isAbsolute())) { + throw logger.logExceptionAsError(new InvalidParameterException("'recordingStateCallbackUri' has to be an absolute Uri")); + } + StartCallRecordingRequest request = new StartCallRecordingRequest(); + request.setRecordingStateCallbackUri(recordingStateCallbackUri); + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .startRecordingWithResponseAsync(serverCallId, request, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> + new SimpleResponse<>(response, new StartCallRecordingResult(response.getValue().getRecordingId()))); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } catch (URISyntaxException ex) { + return monoError(logger, new RuntimeException(ex.getMessage())); + } + } + + /** + * Stop recording + * + * @param recordingId The recording id to stop. + * @return response for a successful stop recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono stopRecording(String recordingId) { + try { + return serverCallInternal.stopRecordingAsync(serverCallId, recordingId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Stop recording + * + * @param recordingId The recording id to stop. + * @return response for a successful stop recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> stopRecordingWithResponse(String recordingId) { + return stopRecordingWithResponse(recordingId, null); + } + + Mono> stopRecordingWithResponse(String recordingId, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .stopRecordingWithResponseAsync(serverCallId, recordingId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Pause recording + * + * @param recordingId The recording id to stop. + * @return response for a successful pause recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono pauseRecording(String recordingId) { + try { + return serverCallInternal.pauseRecordingAsync(serverCallId, recordingId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Pause recording + * + * @param recordingId The recording id to stop. + * @return response for a successful pause recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> pauseRecordingWithResponse(String recordingId) { + return pauseRecordingWithResponse(recordingId, null); + } + + Mono> pauseRecordingWithResponse(String recordingId, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .pauseRecordingWithResponseAsync(serverCallId, recordingId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Resume recording + * + * @param recordingId The recording id to stop. + * @return response for a successful resume recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resumeRecording(String recordingId) { + try { + return serverCallInternal.resumeRecordingAsync(serverCallId, recordingId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Resume recording + * + * @param recordingId The recording id to stop. + * @return response for a successful resume recording request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resumeRecordingWithResponse(String recordingId) { + return resumeRecordingWithResponse(recordingId, null); + } + + Mono> resumeRecordingWithResponse(String recordingId, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .resumeRecordingWithResponseAsync(serverCallId, recordingId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Get recording state + * + * @param recordingId The recording id to stop. + * @return response for a successful get recording state request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getRecordingState(String recordingId) { + try { + return serverCallInternal.recordingStateAsync(serverCallId, recordingId) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(result -> Mono.just(new CallRecordingStateResult(result.getRecordingState()))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Get recording state + * + * @param recordingId The recording id to stop. + * @return response for a successful get recording state request. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getRecordingStateWithResponse(String recordingId) { + return getRecordingStateWithResponse(recordingId, null); + } + + Mono> getRecordingStateWithResponse(String recordingId, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .recordingStateWithResponseAsync(serverCallId, recordingId, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> + new SimpleResponse<>(response, new CallRecordingStateResult(response.getValue().getRecordingState()))); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param audioFileId Tne id for the media in the AudioFileUri, using which we cache the media resource. + * @param callbackUri The callback Uri to receive PlayAudio status notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudio( + String audioFileUri, + String audioFileId, + String callbackUri, + String operationContext) { + return playAudioInternal(audioFileUri, audioFileId, callbackUri, operationContext); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudio(String audioFileUri, PlayAudioOptions playAudioOptions) { + return playAudioInternal(audioFileUri, playAudioOptions); + } + + Mono playAudioInternal( + String audioFileUri, + String audioFileId, + String callbackUri, + String operationContext) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + + //Currently we do not support loop on the audio media for out-call, thus setting the loop to false + PlayAudioRequest playAudioRequest = + new PlayAudioRequest() + .setAudioFileUri(audioFileUri) + .setLoop(false) + .setAudioFileId(audioFileId) + .setOperationContext(operationContext) + .setCallbackUri(callbackUri); + return playAudioInternal(playAudioRequest); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono playAudioInternal(String audioFileUri, PlayAudioOptions playAudioOptions) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + + //Currently we do not support loop on the audio media for out-call, thus setting the loop to false + PlayAudioRequest request = new PlayAudioRequest().setAudioFileUri(audioFileUri); + if (playAudioOptions != null) { + request + .setLoop(false) + .setOperationContext(playAudioOptions.getOperationContext()) + .setAudioFileId(playAudioOptions.getAudioFileId()) + .setCallbackUri(playAudioOptions.getCallbackUri()); + } + return playAudioInternal(request); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + + } + + Mono playAudioInternal(PlayAudioRequest playAudioRequest) { + try { + return serverCallInternal.playAudioAsync(serverCallId, playAudioRequest) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .flatMap(result -> Mono.just(PlayAudioResultConverter.convert(result))); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param audioFileId Tne id for the media in the AudioFileUri, using which we cache the media resource. + * @param callbackUri The callback Uri to receive PlayAudio status notifications. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponse( + String audioFileUri, + String audioFileId, + String callbackUri, + String operationContext) { + return playAudioWithResponseInternal(audioFileUri, audioFileId, callbackUri, operationContext, null); + } + + /** + * Play audio in a call. + * + * @param audioFileUri The media resource uri of the play audio request. Currently only Wave file (.wav) format + * audio prompts are supported. More specifically, the audio content in the wave file must + * be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * @param playAudioOptions Options for play audio. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponse( + String audioFileUri, + PlayAudioOptions playAudioOptions) { + return playAudioWithResponseInternal(audioFileUri, playAudioOptions, null); + } + + Mono> playAudioWithResponseInternal( + String audioFileUri, + String audioFileId, + String callbackUri, + String operationContext, + Context context) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + + //Currently we do not support loop on the audio media for out-call, thus setting the loop to false + PlayAudioRequest playAudioRequest = + new PlayAudioRequest() + .setAudioFileUri(audioFileUri) + .setLoop(false) + .setAudioFileId(audioFileId) + .setOperationContext(operationContext) + .setCallbackUri(callbackUri); + return playAudioWithResponse(playAudioRequest, context); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + + + } + + Mono> playAudioWithResponseInternal( + String audioFileUri, + PlayAudioOptions playAudioOptions, + Context context) { + try { + Objects.requireNonNull(audioFileUri, "'audioFileUri' cannot be null."); + + //Currently we do not support loop on the audio media for out-call, thus setting the loop to false + PlayAudioRequest request = new PlayAudioRequest().setAudioFileUri(audioFileUri); + if (playAudioOptions != null) { + request + .setLoop(false) + .setOperationContext(playAudioOptions.getOperationContext()) + .setAudioFileId(playAudioOptions.getAudioFileId()) + .setCallbackUri(playAudioOptions.getCallbackUri()); + } + return playAudioWithResponse(request, context); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + Mono> playAudioWithResponse(PlayAudioRequest playAudioRequest, Context context) { + try { + return withContext(contextValue -> { + contextValue = context == null ? contextValue : context; + return serverCallInternal + .playAudioWithResponseAsync(serverCallId, playAudioRequest, contextValue) + .onErrorMap(CommunicationErrorException.class, CallingServerErrorConverter::translateException) + .map(response -> + new SimpleResponse<>(response, PlayAudioResultConverter.convert(response.getValue()))); + }); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImpl.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImpl.java new file mode 100644 index 0000000000000..8e504c2dabb94 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImpl.java @@ -0,0 +1,133 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation; + +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.core.util.serializer.SerializerAdapter; + +/** Initializes a new instance of the AzureCommunicationCallingServerService type. */ +public final class AzureCommunicationCallingServerServiceImpl { + /** The endpoint of the Azure Communication resource. */ + private final String endpoint; + + /** + * Gets The endpoint of the Azure Communication resource. + * + * @return the endpoint value. + */ + public String getEndpoint() { + return this.endpoint; + } + + /** Api Version. */ + private final String apiVersion; + + /** + * Gets Api Version. + * + * @return the apiVersion value. + */ + public String getApiVersion() { + return this.apiVersion; + } + + /** The HTTP pipeline to send requests through. */ + private final HttpPipeline httpPipeline; + + /** + * Gets The HTTP pipeline to send requests through. + * + * @return the httpPipeline value. + */ + public HttpPipeline getHttpPipeline() { + return this.httpPipeline; + } + + /** The serializer to serialize an object into a string. */ + private final SerializerAdapter serializerAdapter; + + /** + * Gets The serializer to serialize an object into a string. + * + * @return the serializerAdapter value. + */ + public SerializerAdapter getSerializerAdapter() { + return this.serializerAdapter; + } + + /** The CallConnectionsImpl object to access its operations. */ + private final CallConnectionsImpl callConnections; + + /** + * Gets the CallConnectionsImpl object to access its operations. + * + * @return the CallConnectionsImpl object. + */ + public CallConnectionsImpl getCallConnections() { + return this.callConnections; + } + + /** The ServerCallsImpl object to access its operations. */ + private final ServerCallsImpl serverCalls; + + /** + * Gets the ServerCallsImpl object to access its operations. + * + * @return the ServerCallsImpl object. + */ + public ServerCallsImpl getServerCalls() { + return this.serverCalls; + } + + /** + * Initializes an instance of AzureCommunicationCallingServerService client. + * + * @param endpoint The endpoint of the Azure Communication resource. + * @param apiVersion Api Version. + */ + AzureCommunicationCallingServerServiceImpl(String endpoint, String apiVersion) { + this( + new HttpPipelineBuilder() + .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) + .build(), + JacksonAdapter.createDefaultSerializerAdapter(), + endpoint, + apiVersion); + } + + /** + * Initializes an instance of AzureCommunicationCallingServerService client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param endpoint The endpoint of the Azure Communication resource. + * @param apiVersion Api Version. + */ + AzureCommunicationCallingServerServiceImpl(HttpPipeline httpPipeline, String endpoint, String apiVersion) { + this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, apiVersion); + } + + /** + * Initializes an instance of AzureCommunicationCallingServerService client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param serializerAdapter The serializer to serialize an object into a string. + * @param endpoint The endpoint of the Azure Communication resource. + * @param apiVersion Api Version. + */ + AzureCommunicationCallingServerServiceImpl( + HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, String endpoint, String apiVersion) { + this.httpPipeline = httpPipeline; + this.serializerAdapter = serializerAdapter; + this.endpoint = endpoint; + this.apiVersion = apiVersion; + this.callConnections = new CallConnectionsImpl(this); + this.serverCalls = new ServerCallsImpl(this); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImplBuilder.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImplBuilder.java new file mode 100644 index 0000000000000..0af415c24b57a --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/AzureCommunicationCallingServerServiceImplBuilder.java @@ -0,0 +1,230 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation; + +import com.azure.core.annotation.ServiceClientBuilder; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.http.policy.HttpPolicyProviders; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.util.Configuration; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.core.util.serializer.SerializerAdapter; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** A builder for creating a new instance of the AzureCommunicationCallingServerService type. */ +@ServiceClientBuilder(serviceClients = {AzureCommunicationCallingServerServiceImpl.class}) +public final class AzureCommunicationCallingServerServiceImplBuilder { + private static final String SDK_NAME = "name"; + + private static final String SDK_VERSION = "version"; + + private final Map properties = new HashMap<>(); + + /** Create an instance of the AzureCommunicationCallingServerServiceImplBuilder. */ + public AzureCommunicationCallingServerServiceImplBuilder() { + this.pipelinePolicies = new ArrayList<>(); + } + + /* + * The endpoint of the Azure Communication resource. + */ + private String endpoint; + + /** + * Sets The endpoint of the Azure Communication resource. + * + * @param endpoint the endpoint value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder endpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /* + * Api Version + */ + private String apiVersion; + + /** + * Sets Api Version. + * + * @param apiVersion the apiVersion value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder apiVersion(String apiVersion) { + this.apiVersion = apiVersion; + return this; + } + + /* + * The HTTP pipeline to send requests through + */ + private HttpPipeline pipeline; + + /** + * Sets The HTTP pipeline to send requests through. + * + * @param pipeline the pipeline value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder pipeline(HttpPipeline pipeline) { + this.pipeline = pipeline; + return this; + } + + /* + * The serializer to serialize an object into a string + */ + private SerializerAdapter serializerAdapter; + + /** + * Sets The serializer to serialize an object into a string. + * + * @param serializerAdapter the serializerAdapter value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder serializerAdapter(SerializerAdapter serializerAdapter) { + this.serializerAdapter = serializerAdapter; + return this; + } + + /* + * The HTTP client used to send the request. + */ + private HttpClient httpClient; + + /** + * Sets The HTTP client used to send the request. + * + * @param httpClient the httpClient value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder httpClient(HttpClient httpClient) { + this.httpClient = httpClient; + return this; + } + + /* + * The configuration store that is used during construction of the service + * client. + */ + private Configuration configuration; + + /** + * Sets The configuration store that is used during construction of the service client. + * + * @param configuration the configuration value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder configuration(Configuration configuration) { + this.configuration = configuration; + return this; + } + + /* + * The logging configuration for HTTP requests and responses. + */ + private HttpLogOptions httpLogOptions; + + /** + * Sets The logging configuration for HTTP requests and responses. + * + * @param httpLogOptions the httpLogOptions value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder httpLogOptions(HttpLogOptions httpLogOptions) { + this.httpLogOptions = httpLogOptions; + return this; + } + + /* + * The retry policy that will attempt to retry failed requests, if + * applicable. + */ + private RetryPolicy retryPolicy; + + /** + * Sets The retry policy that will attempt to retry failed requests, if applicable. + * + * @param retryPolicy the retryPolicy value. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder retryPolicy(RetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + return this; + } + + /* + * The list of Http pipeline policies to add. + */ + private final List pipelinePolicies; + + /** + * Adds a custom Http pipeline policy. + * + * @param customPolicy The custom Http pipeline policy to add. + * @return the AzureCommunicationCallingServerServiceImplBuilder. + */ + public AzureCommunicationCallingServerServiceImplBuilder addPolicy(HttpPipelinePolicy customPolicy) { + pipelinePolicies.add(customPolicy); + return this; + } + + /** + * Builds an instance of AzureCommunicationCallingServerServiceImpl with the provided parameters. + * + * @return an instance of AzureCommunicationCallingServerServiceImpl. + */ + public AzureCommunicationCallingServerServiceImpl buildClient() { + if (apiVersion == null) { + this.apiVersion = "2021-06-15-preview"; + } + if (pipeline == null) { + this.pipeline = createHttpPipeline(); + } + if (serializerAdapter == null) { + this.serializerAdapter = JacksonAdapter.createDefaultSerializerAdapter(); + } + AzureCommunicationCallingServerServiceImpl client = + new AzureCommunicationCallingServerServiceImpl(pipeline, serializerAdapter, endpoint, apiVersion); + return client; + } + + private HttpPipeline createHttpPipeline() { + Configuration buildConfiguration = + (configuration == null) ? Configuration.getGlobalConfiguration() : configuration; + if (httpLogOptions == null) { + httpLogOptions = new HttpLogOptions(); + } + List policies = new ArrayList<>(); + String clientName = properties.getOrDefault(SDK_NAME, "UnknownName"); + String clientVersion = properties.getOrDefault(SDK_VERSION, "UnknownVersion"); + policies.add( + new UserAgentPolicy(httpLogOptions.getApplicationId(), clientName, clientVersion, buildConfiguration)); + HttpPolicyProviders.addBeforeRetryPolicies(policies); + policies.add(retryPolicy == null ? new RetryPolicy() : retryPolicy); + policies.add(new CookiePolicy()); + policies.addAll(this.pipelinePolicies); + HttpPolicyProviders.addAfterRetryPolicies(policies); + policies.add(new HttpLoggingPolicy(httpLogOptions)); + HttpPipeline httpPipeline = + new HttpPipelineBuilder() + .policies(policies.toArray(new HttpPipelinePolicy[0])) + .httpClient(httpClient) + .build(); + return httpPipeline; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/CallConnectionsImpl.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/CallConnectionsImpl.java new file mode 100644 index 0000000000000..7593a6c1d74aa --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/CallConnectionsImpl.java @@ -0,0 +1,812 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation; + +import com.azure.communication.callingserver.implementation.models.CancelAllMediaOperationsRequest; +import com.azure.communication.callingserver.implementation.models.CancelAllMediaOperationsResultInternal; +import com.azure.communication.callingserver.implementation.models.CommunicationErrorException; +import com.azure.communication.callingserver.implementation.models.CreateCallRequest; +import com.azure.communication.callingserver.implementation.models.CreateCallResultInternal; +import com.azure.communication.callingserver.implementation.models.InviteParticipantsRequest; +import com.azure.communication.callingserver.implementation.models.PlayAudioRequest; +import com.azure.communication.callingserver.implementation.models.PlayAudioResultInternal; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +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.FluxUtil; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in CallConnections. */ +public final class CallConnectionsImpl { + /** The proxy service used to perform REST calls. */ + private final CallConnectionsService service; + + /** The service client containing this operation class. */ + private final AzureCommunicationCallingServerServiceImpl client; + + /** + * Initializes an instance of CallConnectionsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + CallConnectionsImpl(AzureCommunicationCallingServerServiceImpl client) { + this.service = + RestProxy.create(CallConnectionsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for AzureCommunicationCallingServerServiceCallConnections to be used by + * the proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AzureCommunicationCa") + private interface CallConnectionsService { + @Post("/calling/callConnections") + @ExpectedResponses({201}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> createCall( + @HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") CreateCallRequest callRequest, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/callConnections/{callConnectionId}/:hangup") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> hangupCall( + @HostParam("endpoint") String endpoint, + @PathParam("callConnectionId") String callConnectionId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/callConnections/{callConnectionId}/:playAudio") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> playAudio( + @HostParam("endpoint") String endpoint, + @PathParam("callConnectionId") String callConnectionId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") PlayAudioRequest request, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/callConnections/{callConnectionId}/:cancelAllMediaOperations") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> cancelAllMediaOperations( + @HostParam("endpoint") String endpoint, + @PathParam("callConnectionId") String callConnectionId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") CancelAllMediaOperationsRequest cancelAllMediaOperationRequest, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/callConnections/{callConnectionId}/participants") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> inviteParticipants( + @HostParam("endpoint") String endpoint, + @PathParam("callConnectionId") String callConnectionId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") InviteParticipantsRequest inviteParticipantsRequest, + @HeaderParam("Accept") String accept, + Context context); + + @Delete("/calling/callConnections/{callConnectionId}/participants/{participantId}") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> removeParticipant( + @HostParam("endpoint") String endpoint, + @PathParam("callConnectionId") String callConnectionId, + @PathParam("participantId") String participantId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Create a new call. + * + * @param callRequest Create call request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the create call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createCallWithResponseAsync(CreateCallRequest callRequest) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.createCall( + this.client.getEndpoint(), this.client.getApiVersion(), callRequest, accept, context)); + } + + /** + * Create a new call. + * + * @param callRequest Create call request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the create call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createCallWithResponseAsync( + CreateCallRequest callRequest, Context context) { + final String accept = "application/json"; + return service.createCall(this.client.getEndpoint(), this.client.getApiVersion(), callRequest, accept, context); + } + + /** + * Create a new call. + * + * @param callRequest Create call request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the create call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createCallAsync(CreateCallRequest callRequest) { + return createCallWithResponseAsync(callRequest) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Create a new call. + * + * @param callRequest Create call request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the create call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createCallAsync(CreateCallRequest callRequest, Context context) { + return createCallWithResponseAsync(callRequest, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Create a new call. + * + * @param callRequest Create call request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the create call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CreateCallResultInternal createCall(CreateCallRequest callRequest) { + return createCallAsync(callRequest).block(); + } + + /** + * Create a new call. + * + * @param callRequest Create call request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the create call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createCallWithResponse(CreateCallRequest callRequest, Context context) { + return createCallWithResponseAsync(callRequest, context).block(); + } + + /** + * Hangup a call. + * + * @param callConnectionId The call connection id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> hangupCallWithResponseAsync(String callConnectionId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.hangupCall( + this.client.getEndpoint(), + callConnectionId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Hangup a call. + * + * @param callConnectionId The call connection id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> hangupCallWithResponseAsync(String callConnectionId, Context context) { + final String accept = "application/json"; + return service.hangupCall( + this.client.getEndpoint(), callConnectionId, this.client.getApiVersion(), accept, context); + } + + /** + * Hangup a call. + * + * @param callConnectionId The call connection id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono hangupCallAsync(String callConnectionId) { + return hangupCallWithResponseAsync(callConnectionId).flatMap((Response res) -> Mono.empty()); + } + + /** + * Hangup a call. + * + * @param callConnectionId The call connection id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono hangupCallAsync(String callConnectionId, Context context) { + return hangupCallWithResponseAsync(callConnectionId, context).flatMap((Response res) -> Mono.empty()); + } + + /** + * Hangup a call. + * + * @param callConnectionId The call connection id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void hangupCall(String callConnectionId) { + hangupCallAsync(callConnectionId).block(); + } + + /** + * Hangup a call. + * + * @param callConnectionId The call connection id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response hangupCallWithResponse(String callConnectionId, Context context) { + return hangupCallWithResponseAsync(callConnectionId, context).block(); + } + + /** + * Play audio in a call. + * + * @param callConnectionId The call connection id. + * @param request Play audio request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponseAsync( + String callConnectionId, PlayAudioRequest request) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.playAudio( + this.client.getEndpoint(), + callConnectionId, + this.client.getApiVersion(), + request, + accept, + context)); + } + + /** + * Play audio in a call. + * + * @param callConnectionId The call connection id. + * @param request Play audio request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponseAsync( + String callConnectionId, PlayAudioRequest request, Context context) { + final String accept = "application/json"; + return service.playAudio( + this.client.getEndpoint(), callConnectionId, this.client.getApiVersion(), request, accept, context); + } + + /** + * Play audio in a call. + * + * @param callConnectionId The call connection id. + * @param request Play audio request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudioAsync(String callConnectionId, PlayAudioRequest request) { + return playAudioWithResponseAsync(callConnectionId, request) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Play audio in a call. + * + * @param callConnectionId The call connection id. + * @param request Play audio request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudioAsync( + String callConnectionId, PlayAudioRequest request, Context context) { + return playAudioWithResponseAsync(callConnectionId, request, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Play audio in a call. + * + * @param callConnectionId The call connection id. + * @param request Play audio request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PlayAudioResultInternal playAudio(String callConnectionId, PlayAudioRequest request) { + return playAudioAsync(callConnectionId, request).block(); + } + + /** + * Play audio in a call. + * + * @param callConnectionId The call connection id. + * @param request Play audio request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response playAudioWithResponse( + String callConnectionId, PlayAudioRequest request, Context context) { + return playAudioWithResponseAsync(callConnectionId, request, context).block(); + } + + /** + * Cancel all media operations. + * + * @param callConnectionId The call connection id. + * @param cancelAllMediaOperationRequest The cancel all media operations context. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelAllMediaOperationsWithResponseAsync( + String callConnectionId, CancelAllMediaOperationsRequest cancelAllMediaOperationRequest) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.cancelAllMediaOperations( + this.client.getEndpoint(), + callConnectionId, + this.client.getApiVersion(), + cancelAllMediaOperationRequest, + accept, + context)); + } + + /** + * Cancel all media operations. + * + * @param callConnectionId The call connection id. + * @param cancelAllMediaOperationRequest The cancel all media operations context. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cancelAllMediaOperationsWithResponseAsync( + String callConnectionId, CancelAllMediaOperationsRequest cancelAllMediaOperationRequest, Context context) { + final String accept = "application/json"; + return service.cancelAllMediaOperations( + this.client.getEndpoint(), + callConnectionId, + this.client.getApiVersion(), + cancelAllMediaOperationRequest, + accept, + context); + } + + /** + * Cancel all media operations. + * + * @param callConnectionId The call connection id. + * @param cancelAllMediaOperationRequest The cancel all media operations context. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelAllMediaOperationsAsync( + String callConnectionId, CancelAllMediaOperationsRequest cancelAllMediaOperationRequest) { + return cancelAllMediaOperationsWithResponseAsync(callConnectionId, cancelAllMediaOperationRequest) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Cancel all media operations. + * + * @param callConnectionId The call connection id. + * @param cancelAllMediaOperationRequest The cancel all media operations context. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cancelAllMediaOperationsAsync( + String callConnectionId, CancelAllMediaOperationsRequest cancelAllMediaOperationRequest, Context context) { + return cancelAllMediaOperationsWithResponseAsync(callConnectionId, cancelAllMediaOperationRequest, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Cancel all media operations. + * + * @param callConnectionId The call connection id. + * @param cancelAllMediaOperationRequest The cancel all media operations context. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CancelAllMediaOperationsResultInternal cancelAllMediaOperations( + String callConnectionId, CancelAllMediaOperationsRequest cancelAllMediaOperationRequest) { + return cancelAllMediaOperationsAsync(callConnectionId, cancelAllMediaOperationRequest).block(); + } + + /** + * Cancel all media operations. + * + * @param callConnectionId The call connection id. + * @param cancelAllMediaOperationRequest The cancel all media operations context. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the cancel all media operations. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cancelAllMediaOperationsWithResponse( + String callConnectionId, CancelAllMediaOperationsRequest cancelAllMediaOperationRequest, Context context) { + return cancelAllMediaOperationsWithResponseAsync(callConnectionId, cancelAllMediaOperationRequest, context) + .block(); + } + + /** + * Invite participants to the call. + * + * @param callConnectionId The call connection id. + * @param inviteParticipantsRequest Invite participant request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> inviteParticipantsWithResponseAsync( + String callConnectionId, InviteParticipantsRequest inviteParticipantsRequest) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.inviteParticipants( + this.client.getEndpoint(), + callConnectionId, + this.client.getApiVersion(), + inviteParticipantsRequest, + accept, + context)); + } + + /** + * Invite participants to the call. + * + * @param callConnectionId The call connection id. + * @param inviteParticipantsRequest Invite participant request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> inviteParticipantsWithResponseAsync( + String callConnectionId, InviteParticipantsRequest inviteParticipantsRequest, Context context) { + final String accept = "application/json"; + return service.inviteParticipants( + this.client.getEndpoint(), + callConnectionId, + this.client.getApiVersion(), + inviteParticipantsRequest, + accept, + context); + } + + /** + * Invite participants to the call. + * + * @param callConnectionId The call connection id. + * @param inviteParticipantsRequest Invite participant request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono inviteParticipantsAsync( + String callConnectionId, InviteParticipantsRequest inviteParticipantsRequest) { + return inviteParticipantsWithResponseAsync(callConnectionId, inviteParticipantsRequest) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Invite participants to the call. + * + * @param callConnectionId The call connection id. + * @param inviteParticipantsRequest Invite participant request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono inviteParticipantsAsync( + String callConnectionId, InviteParticipantsRequest inviteParticipantsRequest, Context context) { + return inviteParticipantsWithResponseAsync(callConnectionId, inviteParticipantsRequest, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Invite participants to the call. + * + * @param callConnectionId The call connection id. + * @param inviteParticipantsRequest Invite participant request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void inviteParticipants(String callConnectionId, InviteParticipantsRequest inviteParticipantsRequest) { + inviteParticipantsAsync(callConnectionId, inviteParticipantsRequest).block(); + } + + /** + * Invite participants to the call. + * + * @param callConnectionId The call connection id. + * @param inviteParticipantsRequest Invite participant request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response inviteParticipantsWithResponse( + String callConnectionId, InviteParticipantsRequest inviteParticipantsRequest, Context context) { + return inviteParticipantsWithResponseAsync(callConnectionId, inviteParticipantsRequest, context).block(); + } + + /** + * Remove participant from the call. + * + * @param callConnectionId The call connection id. + * @param participantId The participant id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> removeParticipantWithResponseAsync(String callConnectionId, String participantId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.removeParticipant( + this.client.getEndpoint(), + callConnectionId, + participantId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Remove participant from the call. + * + * @param callConnectionId The call connection id. + * @param participantId The participant id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> removeParticipantWithResponseAsync( + String callConnectionId, String participantId, Context context) { + final String accept = "application/json"; + return service.removeParticipant( + this.client.getEndpoint(), + callConnectionId, + participantId, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Remove participant from the call. + * + * @param callConnectionId The call connection id. + * @param participantId The participant id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono removeParticipantAsync(String callConnectionId, String participantId) { + return removeParticipantWithResponseAsync(callConnectionId, participantId) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Remove participant from the call. + * + * @param callConnectionId The call connection id. + * @param participantId The participant id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono removeParticipantAsync(String callConnectionId, String participantId, Context context) { + return removeParticipantWithResponseAsync(callConnectionId, participantId, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Remove participant from the call. + * + * @param callConnectionId The call connection id. + * @param participantId The participant id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void removeParticipant(String callConnectionId, String participantId) { + removeParticipantAsync(callConnectionId, participantId).block(); + } + + /** + * Remove participant from the call. + * + * @param callConnectionId The call connection id. + * @param participantId The participant id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response removeParticipantWithResponse( + String callConnectionId, String participantId, Context context) { + return removeParticipantWithResponseAsync(callConnectionId, participantId, context).block(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/Constants.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/Constants.java new file mode 100644 index 0000000000000..e31a00bb73013 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/Constants.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation; + +/*** + * Constants to be used by CallingServer. + */ +public final class Constants { + public static final int KB = 1024; + public static final int MB = KB * 1024; + + /*** + * Content downloader constants + */ + public static class ContentDownloader { + public static final int DEFAULT_CONCURRENT_TRANSFERS_COUNT = 5; + public static final int DEFAULT_BUFFER_SIZE = 4 * MB; + public static final int DEFAULT_INITIAL_DOWNLOAD_RANGE_SIZE = 256 * MB; + public static final int MAX_RETRIES = 4; + } + + /*** + * HTTP Header Names + */ + public static class HeaderNames { + public static final String RANGE = "Range"; + public static final String CONTENT_RANGE = "Content-Range"; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/ServerCallsImpl.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/ServerCallsImpl.java new file mode 100644 index 0000000000000..ed3b628daa51d --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/ServerCallsImpl.java @@ -0,0 +1,1195 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation; + +import com.azure.communication.callingserver.implementation.models.CallRecordingStateResultInternal; +import com.azure.communication.callingserver.implementation.models.CommunicationErrorException; +import com.azure.communication.callingserver.implementation.models.InviteParticipantsRequest; +import com.azure.communication.callingserver.implementation.models.JoinCallRequest; +import com.azure.communication.callingserver.implementation.models.JoinCallResultInternal; +import com.azure.communication.callingserver.implementation.models.PlayAudioRequest; +import com.azure.communication.callingserver.implementation.models.PlayAudioResultInternal; +import com.azure.communication.callingserver.implementation.models.StartCallRecordingRequest; +import com.azure.communication.callingserver.implementation.models.StartCallRecordingResultInternal; +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +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.FluxUtil; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in ServerCalls. */ +public final class ServerCallsImpl { + /** The proxy service used to perform REST calls. */ + private final ServerCallsService service; + + /** The service client containing this operation class. */ + private final AzureCommunicationCallingServerServiceImpl client; + + /** + * Initializes an instance of ServerCallsImpl. + * + * @param client the instance of the service client containing this operation class. + */ + ServerCallsImpl(AzureCommunicationCallingServerServiceImpl client) { + this.service = + RestProxy.create(ServerCallsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for AzureCommunicationCallingServerServiceServerCalls to be used by the + * proxy service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "AzureCommunicationCa") + private interface ServerCallsService { + @Post("/calling/serverCalls/{serverCallId}/participants") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> inviteParticipants( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") InviteParticipantsRequest inviteParticipantsRequest, + @HeaderParam("Accept") String accept, + Context context); + + @Delete("/calling/serverCalls/{serverCallId}/participants/{participantId}") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> removeParticipant( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @PathParam("participantId") String participantId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/serverCalls/{serverCallId}/recordings") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> startRecording( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") StartCallRecordingRequest request, + @HeaderParam("Accept") String accept, + Context context); + + @Get("/calling/serverCalls/{serverCallId}/recordings/{recordingId}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> recordingState( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @PathParam("recordingId") String recordingId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Delete("/calling/serverCalls/{serverCallId}/recordings/{recordingId}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> stopRecording( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @PathParam("recordingId") String recordingId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/serverCalls/{serverCallId}/recordings/{recordingId}/:pause") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> pauseRecording( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @PathParam("recordingId") String recordingId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/serverCalls/{serverCallId}/recordings/{recordingId}/:resume") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> resumeRecording( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @PathParam("recordingId") String recordingId, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/serverCalls/{serverCallId}/:join") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> joinCall( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") JoinCallRequest callRequest, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/calling/serverCalls/{serverCallId}/:playAudio") + @ExpectedResponses({202}) + @UnexpectedResponseExceptionType(CommunicationErrorException.class) + Mono> playAudio( + @HostParam("endpoint") String endpoint, + @PathParam("serverCallId") String serverCallId, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") PlayAudioRequest request, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Invite participants to the call. + * + * @param serverCallId The server call id. + * @param inviteParticipantsRequest The invite participant request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> inviteParticipantsWithResponseAsync( + String serverCallId, InviteParticipantsRequest inviteParticipantsRequest) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.inviteParticipants( + this.client.getEndpoint(), + serverCallId, + this.client.getApiVersion(), + inviteParticipantsRequest, + accept, + context)); + } + + /** + * Invite participants to the call. + * + * @param serverCallId The server call id. + * @param inviteParticipantsRequest The invite participant request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> inviteParticipantsWithResponseAsync( + String serverCallId, InviteParticipantsRequest inviteParticipantsRequest, Context context) { + final String accept = "application/json"; + return service.inviteParticipants( + this.client.getEndpoint(), + serverCallId, + this.client.getApiVersion(), + inviteParticipantsRequest, + accept, + context); + } + + /** + * Invite participants to the call. + * + * @param serverCallId The server call id. + * @param inviteParticipantsRequest The invite participant request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono inviteParticipantsAsync( + String serverCallId, InviteParticipantsRequest inviteParticipantsRequest) { + return inviteParticipantsWithResponseAsync(serverCallId, inviteParticipantsRequest) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Invite participants to the call. + * + * @param serverCallId The server call id. + * @param inviteParticipantsRequest The invite participant request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono inviteParticipantsAsync( + String serverCallId, InviteParticipantsRequest inviteParticipantsRequest, Context context) { + return inviteParticipantsWithResponseAsync(serverCallId, inviteParticipantsRequest, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Invite participants to the call. + * + * @param serverCallId The server call id. + * @param inviteParticipantsRequest The invite participant request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void inviteParticipants(String serverCallId, InviteParticipantsRequest inviteParticipantsRequest) { + inviteParticipantsAsync(serverCallId, inviteParticipantsRequest).block(); + } + + /** + * Invite participants to the call. + * + * @param serverCallId The server call id. + * @param inviteParticipantsRequest The invite participant request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response inviteParticipantsWithResponse( + String serverCallId, InviteParticipantsRequest inviteParticipantsRequest, Context context) { + return inviteParticipantsWithResponseAsync(serverCallId, inviteParticipantsRequest, context).block(); + } + + /** + * Remove participant from the call. + * + * @param serverCallId Server call id. + * @param participantId Participant id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> removeParticipantWithResponseAsync(String serverCallId, String participantId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.removeParticipant( + this.client.getEndpoint(), + serverCallId, + participantId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Remove participant from the call. + * + * @param serverCallId Server call id. + * @param participantId Participant id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> removeParticipantWithResponseAsync( + String serverCallId, String participantId, Context context) { + final String accept = "application/json"; + return service.removeParticipant( + this.client.getEndpoint(), serverCallId, participantId, this.client.getApiVersion(), accept, context); + } + + /** + * Remove participant from the call. + * + * @param serverCallId Server call id. + * @param participantId Participant id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono removeParticipantAsync(String serverCallId, String participantId) { + return removeParticipantWithResponseAsync(serverCallId, participantId) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Remove participant from the call. + * + * @param serverCallId Server call id. + * @param participantId Participant id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono removeParticipantAsync(String serverCallId, String participantId, Context context) { + return removeParticipantWithResponseAsync(serverCallId, participantId, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Remove participant from the call. + * + * @param serverCallId Server call id. + * @param participantId Participant id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void removeParticipant(String serverCallId, String participantId) { + removeParticipantAsync(serverCallId, participantId).block(); + } + + /** + * Remove participant from the call. + * + * @param serverCallId Server call id. + * @param participantId Participant id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response removeParticipantWithResponse(String serverCallId, String participantId, Context context) { + return removeParticipantWithResponseAsync(serverCallId, participantId, context).block(); + } + + /** + * Start call recording request. + * + * @param serverCallId The server call id. + * @param request The request body of start call recording request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of start call recording operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startRecordingWithResponseAsync( + String serverCallId, StartCallRecordingRequest request) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.startRecording( + this.client.getEndpoint(), + serverCallId, + this.client.getApiVersion(), + request, + accept, + context)); + } + + /** + * Start call recording request. + * + * @param serverCallId The server call id. + * @param request The request body of start call recording request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of start call recording operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> startRecordingWithResponseAsync( + String serverCallId, StartCallRecordingRequest request, Context context) { + final String accept = "application/json"; + return service.startRecording( + this.client.getEndpoint(), serverCallId, this.client.getApiVersion(), request, accept, context); + } + + /** + * Start call recording request. + * + * @param serverCallId The server call id. + * @param request The request body of start call recording request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of start call recording operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startRecordingAsync( + String serverCallId, StartCallRecordingRequest request) { + return startRecordingWithResponseAsync(serverCallId, request) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Start call recording request. + * + * @param serverCallId The server call id. + * @param request The request body of start call recording request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of start call recording operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono startRecordingAsync( + String serverCallId, StartCallRecordingRequest request, Context context) { + return startRecordingWithResponseAsync(serverCallId, request, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Start call recording request. + * + * @param serverCallId The server call id. + * @param request The request body of start call recording request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of start call recording operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public StartCallRecordingResultInternal startRecording(String serverCallId, StartCallRecordingRequest request) { + return startRecordingAsync(serverCallId, request).block(); + } + + /** + * Start call recording request. + * + * @param serverCallId The server call id. + * @param request The request body of start call recording request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of start call recording operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response startRecordingWithResponse( + String serverCallId, StartCallRecordingRequest request, Context context) { + return startRecordingWithResponseAsync(serverCallId, request, context).block(); + } + + /** + * Get call recording state. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return call recording state. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> recordingStateWithResponseAsync( + String serverCallId, String recordingId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.recordingState( + this.client.getEndpoint(), + serverCallId, + recordingId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Get call recording state. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return call recording state. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> recordingStateWithResponseAsync( + String serverCallId, String recordingId, Context context) { + final String accept = "application/json"; + return service.recordingState( + this.client.getEndpoint(), serverCallId, recordingId, this.client.getApiVersion(), accept, context); + } + + /** + * Get call recording state. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return call recording state. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono recordingStateAsync(String serverCallId, String recordingId) { + return recordingStateWithResponseAsync(serverCallId, recordingId) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Get call recording state. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return call recording state. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono recordingStateAsync( + String serverCallId, String recordingId, Context context) { + return recordingStateWithResponseAsync(serverCallId, recordingId, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Get call recording state. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return call recording state. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public CallRecordingStateResultInternal recordingState(String serverCallId, String recordingId) { + return recordingStateAsync(serverCallId, recordingId).block(); + } + + /** + * Get call recording state. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return call recording state. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response recordingStateWithResponse( + String serverCallId, String recordingId, Context context) { + return recordingStateWithResponseAsync(serverCallId, recordingId, context).block(); + } + + /** + * Stop recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> stopRecordingWithResponseAsync(String serverCallId, String recordingId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.stopRecording( + this.client.getEndpoint(), + serverCallId, + recordingId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Stop recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> stopRecordingWithResponseAsync( + String serverCallId, String recordingId, Context context) { + final String accept = "application/json"; + return service.stopRecording( + this.client.getEndpoint(), serverCallId, recordingId, this.client.getApiVersion(), accept, context); + } + + /** + * Stop recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono stopRecordingAsync(String serverCallId, String recordingId) { + return stopRecordingWithResponseAsync(serverCallId, recordingId).flatMap((Response res) -> Mono.empty()); + } + + /** + * Stop recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono stopRecordingAsync(String serverCallId, String recordingId, Context context) { + return stopRecordingWithResponseAsync(serverCallId, recordingId, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Stop recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void stopRecording(String serverCallId, String recordingId) { + stopRecordingAsync(serverCallId, recordingId).block(); + } + + /** + * Stop recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response stopRecordingWithResponse(String serverCallId, String recordingId, Context context) { + return stopRecordingWithResponseAsync(serverCallId, recordingId, context).block(); + } + + /** + * Pause recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> pauseRecordingWithResponseAsync(String serverCallId, String recordingId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.pauseRecording( + this.client.getEndpoint(), + serverCallId, + recordingId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Pause recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> pauseRecordingWithResponseAsync( + String serverCallId, String recordingId, Context context) { + final String accept = "application/json"; + return service.pauseRecording( + this.client.getEndpoint(), serverCallId, recordingId, this.client.getApiVersion(), accept, context); + } + + /** + * Pause recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono pauseRecordingAsync(String serverCallId, String recordingId) { + return pauseRecordingWithResponseAsync(serverCallId, recordingId).flatMap((Response res) -> Mono.empty()); + } + + /** + * Pause recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono pauseRecordingAsync(String serverCallId, String recordingId, Context context) { + return pauseRecordingWithResponseAsync(serverCallId, recordingId, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Pause recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void pauseRecording(String serverCallId, String recordingId) { + pauseRecordingAsync(serverCallId, recordingId).block(); + } + + /** + * Pause recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response pauseRecordingWithResponse(String serverCallId, String recordingId, Context context) { + return pauseRecordingWithResponseAsync(serverCallId, recordingId, context).block(); + } + + /** + * Resume recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resumeRecordingWithResponseAsync(String serverCallId, String recordingId) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.resumeRecording( + this.client.getEndpoint(), + serverCallId, + recordingId, + this.client.getApiVersion(), + accept, + context)); + } + + /** + * Resume recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resumeRecordingWithResponseAsync( + String serverCallId, String recordingId, Context context) { + final String accept = "application/json"; + return service.resumeRecording( + this.client.getEndpoint(), serverCallId, recordingId, this.client.getApiVersion(), accept, context); + } + + /** + * Resume recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resumeRecordingAsync(String serverCallId, String recordingId) { + return resumeRecordingWithResponseAsync(serverCallId, recordingId) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Resume recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the completion. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resumeRecordingAsync(String serverCallId, String recordingId, Context context) { + return resumeRecordingWithResponseAsync(serverCallId, recordingId, context) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Resume recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void resumeRecording(String serverCallId, String recordingId) { + resumeRecordingAsync(serverCallId, recordingId).block(); + } + + /** + * Resume recording a call. + * + * @param serverCallId The server call id. + * @param recordingId The recording id. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response resumeRecordingWithResponse(String serverCallId, String recordingId, Context context) { + return resumeRecordingWithResponseAsync(serverCallId, recordingId, context).block(); + } + + /** + * Join a call. + * + * @param serverCallId The server call id. + * @param callRequest The join call request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the join call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> joinCallWithResponseAsync( + String serverCallId, JoinCallRequest callRequest) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.joinCall( + this.client.getEndpoint(), + serverCallId, + this.client.getApiVersion(), + callRequest, + accept, + context)); + } + + /** + * Join a call. + * + * @param serverCallId The server call id. + * @param callRequest The join call request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the join call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> joinCallWithResponseAsync( + String serverCallId, JoinCallRequest callRequest, Context context) { + final String accept = "application/json"; + return service.joinCall( + this.client.getEndpoint(), serverCallId, this.client.getApiVersion(), callRequest, accept, context); + } + + /** + * Join a call. + * + * @param serverCallId The server call id. + * @param callRequest The join call request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the join call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono joinCallAsync(String serverCallId, JoinCallRequest callRequest) { + return joinCallWithResponseAsync(serverCallId, callRequest) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Join a call. + * + * @param serverCallId The server call id. + * @param callRequest The join call request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the join call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono joinCallAsync( + String serverCallId, JoinCallRequest callRequest, Context context) { + return joinCallWithResponseAsync(serverCallId, callRequest, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Join a call. + * + * @param serverCallId The server call id. + * @param callRequest The join call request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the join call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public JoinCallResultInternal joinCall(String serverCallId, JoinCallRequest callRequest) { + return joinCallAsync(serverCallId, callRequest).block(); + } + + /** + * Join a call. + * + * @param serverCallId The server call id. + * @param callRequest The join call request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload of the join call operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response joinCallWithResponse( + String serverCallId, JoinCallRequest callRequest, Context context) { + return joinCallWithResponseAsync(serverCallId, callRequest, context).block(); + } + + /** + * Play audio in a call. + * + * @param serverCallId The server call id. + * @param request Play audio request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponseAsync( + String serverCallId, PlayAudioRequest request) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.playAudio( + this.client.getEndpoint(), + serverCallId, + this.client.getApiVersion(), + request, + accept, + context)); + } + + /** + * Play audio in a call. + * + * @param serverCallId The server call id. + * @param request Play audio request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> playAudioWithResponseAsync( + String serverCallId, PlayAudioRequest request, Context context) { + final String accept = "application/json"; + return service.playAudio( + this.client.getEndpoint(), serverCallId, this.client.getApiVersion(), request, accept, context); + } + + /** + * Play audio in a call. + * + * @param serverCallId The server call id. + * @param request Play audio request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudioAsync(String serverCallId, PlayAudioRequest request) { + return playAudioWithResponseAsync(serverCallId, request) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Play audio in a call. + * + * @param serverCallId The server call id. + * @param request Play audio request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono playAudioAsync( + String serverCallId, PlayAudioRequest request, Context context) { + return playAudioWithResponseAsync(serverCallId, request, context) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Play audio in a call. + * + * @param serverCallId The server call id. + * @param request Play audio request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public PlayAudioResultInternal playAudio(String serverCallId, PlayAudioRequest request) { + return playAudioAsync(serverCallId, request).block(); + } + + /** + * Play audio in a call. + * + * @param serverCallId The server call id. + * @param request Play audio request. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws CommunicationErrorException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response payload for play audio operation. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response playAudioWithResponse( + String serverCallId, PlayAudioRequest request, Context context) { + return playAudioWithResponseAsync(serverCallId, request, context).block(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallConnectionRequestConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallConnectionRequestConverter.java new file mode 100644 index 0000000000000..49d5357d607b3 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallConnectionRequestConverter.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.CreateCallRequest; +import com.azure.communication.callingserver.implementation.models.PhoneNumberIdentifierModel; +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.common.CommunicationIdentifier; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.LinkedList; +import java.util.List; +import java.util.stream.Collectors; + +/** + * A converter for {@link CreateCallRequest} + */ +public final class CallConnectionRequestConverter { + + /** + * Converts to {@link CreateCallRequest}. + */ + public static CreateCallRequest convert( + CommunicationIdentifier source, + CommunicationIdentifier[] targets, + CreateCallOptions createCallOptions) { + if (source == null || targets == null || targets.length == 0) { + return null; + } + + CreateCallRequest createCallRequest = + new CreateCallRequest() + .setSource(CommunicationIdentifierConverter.convert(source)) + .setTargets(new ArrayList<>(Arrays.asList(targets)) + .stream() + .map(CommunicationIdentifierConverter::convert) + .collect(Collectors.toList())); + + if (createCallOptions == null) { + return createCallRequest; + } + + List requestedMediaTypes = new LinkedList<>(); + for (CallModality modality : createCallOptions.getRequestedMediaTypes()) { + requestedMediaTypes.add(CallModality.fromString(modality.toString())); + } + + List requestedCallEvents = new LinkedList<>(); + for (EventSubscriptionType requestedCallEvent : createCallOptions.getRequestedCallEvents()) { + requestedCallEvents.add(EventSubscriptionType.fromString(requestedCallEvent.toString())); + } + + PhoneNumberIdentifierModel sourceAlternateIdentity = null; + if (createCallOptions.getAlternateCallerId() != null) { + sourceAlternateIdentity = new PhoneNumberIdentifierModel() + .setValue(createCallOptions.getAlternateCallerId().getPhoneNumber()); + } + + return createCallRequest + .setRequestedMediaTypes(requestedMediaTypes) + .setRequestedCallEvents(requestedCallEvents) + .setAlternateCallerId(sourceAlternateIdentity) + .setCallbackUri(createCallOptions.getCallbackUri()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallingServerErrorConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallingServerErrorConverter.java new file mode 100644 index 0000000000000..4099ec4e20963 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CallingServerErrorConverter.java @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.CommunicationError; +import com.azure.communication.callingserver.implementation.models.CommunicationErrorException; +import com.azure.communication.callingserver.models.CallingServerError; +import com.azure.communication.callingserver.models.CallingServerErrorException; + +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Collectors; + +/** + * A converter between {@link CommunicationError} and {@link CallingServerError}. + */ +public final class CallingServerErrorConverter { + /** + * Maps from {@link CommunicationError} to {@link CallingServerError}. + */ + public static CallingServerError convert(CommunicationError communicationError) { + if (communicationError == null) { + return null; + } + + List details = new ArrayList<>(); + + if (communicationError.getDetails() != null) { + details = communicationError + .getDetails() + .stream() + .map(CallingServerErrorConverter::convert) + .collect(Collectors.toList()); + } + + return new CallingServerError( + communicationError.getMessage(), + communicationError.getCode(), + communicationError.getTarget(), + details, + convert(communicationError.getInnerError()) + ); + } + + /** + * Maps from {@link CommunicationErrorException} to {@link CallingServerErrorException}. + */ + public static CallingServerErrorException translateException(CommunicationErrorException exception) { + CallingServerError error = null; + if (exception.getValue() != null) { + error = CallingServerErrorConverter.convert(exception.getValue()); + } + return new CallingServerErrorException(exception.getMessage(), exception.getResponse(), error); + } + + private CallingServerErrorConverter() { + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CancelAllMediaOperationsResultConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CancelAllMediaOperationsResultConverter.java new file mode 100644 index 0000000000000..76a4dff8b8417 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CancelAllMediaOperationsResultConverter.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.CancelAllMediaOperationsResultInternal; +import com.azure.communication.callingserver.models.CancelAllMediaOperationsResult; + +/** + * A converter between {@link CancelAllMediaOperationsResultInternal} and {@link CancelAllMediaOperationsResult}. + */ +public class CancelAllMediaOperationsResultConverter { + + /** + * Maps from {@link CancelAllMediaOperationsResultInternal} to {@link CancelAllMediaOperationsResult}. + */ + public static CancelAllMediaOperationsResult convert(CancelAllMediaOperationsResultInternal resultInternal) { + if (resultInternal == null) { + return null; + } + + return new CancelAllMediaOperationsResult( + resultInternal.getId(), + resultInternal.getStatus(), + resultInternal.getOperationContext(), + ResultInfoConverter.convert(resultInternal.getResultInfo())); + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CommunicationIdentifierConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CommunicationIdentifierConverter.java new file mode 100644 index 0000000000000..06ad0d062fcfb --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/CommunicationIdentifierConverter.java @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.CommunicationCloudEnvironmentModel; +import com.azure.communication.callingserver.implementation.models.CommunicationIdentifierModel; +import com.azure.communication.callingserver.implementation.models.CommunicationUserIdentifierModel; +import com.azure.communication.callingserver.implementation.models.MicrosoftTeamsUserIdentifierModel; +import com.azure.communication.callingserver.implementation.models.PhoneNumberIdentifierModel; +import com.azure.communication.common.CommunicationCloudEnvironment; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.communication.common.MicrosoftTeamsUserIdentifier; +import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.communication.common.UnknownIdentifier; + +import java.util.ArrayList; +import java.util.Objects; + +/** + * A converter between {@link CommunicationIdentifierModel} and {@link CommunicationIdentifier}. + */ +public class CommunicationIdentifierConverter { + + /** + * Maps from {@link CommunicationIdentifierModel} to {@link CommunicationIdentifier}. + */ + public static CommunicationIdentifier convert(CommunicationIdentifierModel identifier) { + if (identifier == null) { + return null; + } + + assertSingleType(identifier); + String rawId = identifier.getRawId(); + + if (identifier.getCommunicationUser() != null) { + Objects.requireNonNull(identifier.getCommunicationUser().getId()); + return new CommunicationUserIdentifier(identifier.getCommunicationUser().getId()); + } + + if (identifier.getPhoneNumber() != null) { + PhoneNumberIdentifierModel phoneNumberModel = identifier.getPhoneNumber(); + Objects.requireNonNull(phoneNumberModel.getValue()); + return new PhoneNumberIdentifier(phoneNumberModel.getValue()).setRawId(rawId); + } + + if (identifier.getMicrosoftTeamsUser() != null) { + MicrosoftTeamsUserIdentifierModel teamsUserIdentifierModel = identifier.getMicrosoftTeamsUser(); + Objects.requireNonNull(teamsUserIdentifierModel.getUserId()); + Objects.requireNonNull(teamsUserIdentifierModel.getCloud()); + Objects.requireNonNull(rawId); + return new MicrosoftTeamsUserIdentifier(teamsUserIdentifierModel.getUserId(), + teamsUserIdentifierModel.isAnonymous()) + .setRawId(rawId) + .setCloudEnvironment(CommunicationCloudEnvironment + .fromString(teamsUserIdentifierModel.getCloud().toString())); + } + + Objects.requireNonNull(rawId); + return new UnknownIdentifier(rawId); + } + + /** + * Maps from {@link CommunicationIdentifier} to {@link CommunicationIdentifierModel}. + */ + public static CommunicationIdentifierModel convert(CommunicationIdentifier identifier) + throws IllegalArgumentException { + + if (identifier == null) { + return null; + } + + if (identifier instanceof CommunicationUserIdentifier) { + CommunicationUserIdentifier communicationUserIdentifier = (CommunicationUserIdentifier) identifier; + return new CommunicationIdentifierModel() + .setCommunicationUser( + new CommunicationUserIdentifierModel().setId(communicationUserIdentifier.getId())); + } + + if (identifier instanceof PhoneNumberIdentifier) { + PhoneNumberIdentifier phoneNumberIdentifier = (PhoneNumberIdentifier) identifier; + return new CommunicationIdentifierModel() + .setRawId(phoneNumberIdentifier.getRawId()) + .setPhoneNumber(new PhoneNumberIdentifierModel().setValue(phoneNumberIdentifier.getPhoneNumber())); + } + + if (identifier instanceof MicrosoftTeamsUserIdentifier) { + MicrosoftTeamsUserIdentifier teamsUserIdentifier = (MicrosoftTeamsUserIdentifier) identifier; + return new CommunicationIdentifierModel() + .setRawId(teamsUserIdentifier.getRawId()) + .setMicrosoftTeamsUser(new MicrosoftTeamsUserIdentifierModel() + .setIsAnonymous(teamsUserIdentifier.isAnonymous()) + .setUserId(teamsUserIdentifier.getUserId()) + .setCloud(CommunicationCloudEnvironmentModel.fromString( + teamsUserIdentifier.getCloudEnvironment().toString()))); + } + + if (identifier instanceof UnknownIdentifier) { + UnknownIdentifier unknownIdentifier = (UnknownIdentifier) identifier; + return new CommunicationIdentifierModel().setRawId(unknownIdentifier.getId()); + } + + throw new IllegalArgumentException(String.format("Unknown identifier class '%s'", identifier.getClass().getName())); + } + + private static void assertSingleType(CommunicationIdentifierModel identifier) { + CommunicationUserIdentifierModel communicationUser = identifier.getCommunicationUser(); + PhoneNumberIdentifierModel phoneNumber = identifier.getPhoneNumber(); + MicrosoftTeamsUserIdentifierModel microsoftTeamsUser = identifier.getMicrosoftTeamsUser(); + + ArrayList presentProperties = new ArrayList<>(); + if (communicationUser != null) { + presentProperties.add(communicationUser.getClass().getName()); + } + if (phoneNumber != null) { + presentProperties.add(phoneNumber.getClass().getName()); + } + if (microsoftTeamsUser != null) { + presentProperties.add(microsoftTeamsUser.getClass().getName()); + } + + if (presentProperties.size() > 1) { + throw new IllegalArgumentException( + String.format( + "Only one of the identifier models in %s should be present.", + String.join(", ", presentProperties))); + } + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/InviteParticipantRequestConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/InviteParticipantRequestConverter.java new file mode 100644 index 0000000000000..90eb327a56b01 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/InviteParticipantRequestConverter.java @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.InviteParticipantsRequest; +import com.azure.communication.callingserver.implementation.models.PhoneNumberIdentifierModel; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.PhoneNumberIdentifier; + +import java.util.Collections; +import java.util.LinkedList; + +/** + * A converter for {@link InviteParticipantsRequest} + */ +public final class InviteParticipantRequestConverter { + + /** + * Converts to {@link InviteParticipantsRequest}. + */ + public static InviteParticipantsRequest convert( + CommunicationIdentifier participant, + String alternateCallerId, + String operationContext, + String callBackUri) { + if (participant == null) { + return null; + } + + PhoneNumberIdentifierModel phoneNumberIdentifierModel = + (alternateCallerId == null || alternateCallerId.isEmpty()) ? null + : CommunicationIdentifierConverter + .convert(new PhoneNumberIdentifier(alternateCallerId)).getPhoneNumber(); + + return new InviteParticipantsRequest() + .setParticipants(new LinkedList<>(Collections + .singletonList(CommunicationIdentifierConverter.convert(participant)))) + .setAlternateCallerId(phoneNumberIdentifierModel) + .setOperationContext(operationContext) + .setCallbackUri(callBackUri); + } + + private InviteParticipantRequestConverter() { + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/JoinCallRequestConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/JoinCallRequestConverter.java new file mode 100644 index 0000000000000..ffacfb51c67b5 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/JoinCallRequestConverter.java @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.JoinCallRequest; +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.JoinCallOptions; +import com.azure.communication.common.CommunicationIdentifier; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +/** + * A converter for {@link JoinCallRequest} + */ +public final class JoinCallRequestConverter { + + /** + * Converts to {@link JoinCallRequest}. + */ + public static JoinCallRequest convert(CommunicationIdentifier source, JoinCallOptions joinCallOptions) { + if (source == null) { + return null; + } + + JoinCallRequest joinCallRequest = new JoinCallRequest() + .setSource(CommunicationIdentifierConverter.convert(source)); + + if (joinCallOptions == null) { + return joinCallRequest; + } + + joinCallRequest.setSubject(joinCallOptions.getSubject()); + joinCallRequest.setCallbackUri(joinCallOptions.getCallbackUri()); + + List requestedModalities = new ArrayList<>(); + Collections.addAll(requestedModalities, joinCallOptions.getRequestedMediaTypes()); + joinCallRequest.setRequestedMediaTypes(requestedModalities); + + List requestedCallEvents = new ArrayList<>(); + Collections.addAll(requestedCallEvents, joinCallOptions.getRequestedCallEvents()); + joinCallRequest.setRequestedCallEvents(requestedCallEvents); + + return joinCallRequest; + } + + private JoinCallRequestConverter() { + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/PlayAudioResultConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/PlayAudioResultConverter.java new file mode 100644 index 0000000000000..80d27380b8900 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/PlayAudioResultConverter.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.PlayAudioResultInternal; +import com.azure.communication.callingserver.models.PlayAudioResult; + +/** + * A converter between {@link PlayAudioResultInternal} and {@link PlayAudioResult}. + */ +public final class PlayAudioResultConverter { + + /** + * Maps from {@link PlayAudioResultInternal} to {@link PlayAudioResult}. + */ + public static PlayAudioResult convert(PlayAudioResultInternal playAudioResultInternal) { + if (playAudioResultInternal == null) { + return null; + } + + return new PlayAudioResult( + playAudioResultInternal.getId(), + playAudioResultInternal.getStatus(), + playAudioResultInternal.getOperationContext(), + ResultInfoConverter.convert(playAudioResultInternal.getResultInfo())); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/ResultInfoConverter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/ResultInfoConverter.java new file mode 100644 index 0000000000000..7fbe7ac1525f2 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/ResultInfoConverter.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; + +import com.azure.communication.callingserver.implementation.models.ResultInfoInternal; +import com.azure.communication.callingserver.models.ResultInfo; + +/** + * A converter between {@link ResultInfoInternal} and {@link ResultInfo}. + */ +public final class ResultInfoConverter { + + /** + * Maps from {@link ResultInfoInternal} to {@link ResultInfo}. + */ + public static ResultInfo convert(ResultInfoInternal resultInfoInternal) { + if (resultInfoInternal == null) { + return null; + } + + return new ResultInfo( + resultInfoInternal.getCode(), + resultInfoInternal.getSubcode(), + resultInfoInternal.getMessage()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/package-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/package-info.java new file mode 100644 index 0000000000000..1bb1c1261e57d --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/converters/package-info.java @@ -0,0 +1,4 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.implementation.converters; diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallConnectionStateChangedEventInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallConnectionStateChangedEventInternal.java new file mode 100644 index 0000000000000..3e29101ece8ff --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallConnectionStateChangedEventInternal.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.CallConnectionState; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The call connection state changed event. */ +@Fluent +public final class CallConnectionStateChangedEventInternal { + /* + * The server call.id. + */ + @JsonProperty(value = "serverCallId") + private String serverCallId; + + /* + * The call connection id. + */ + @JsonProperty(value = "callConnectionId") + private String callConnectionId; + + /* + * The call connection state. + */ + @JsonProperty(value = "callConnectionState") + private CallConnectionState callConnectionState; + + /** + * Get the serverCallId property: The server call.id. + * + * @return the serverCallId value. + */ + public String getServerCallId() { + return this.serverCallId; + } + + /** + * Set the serverCallId property: The server call.id. + * + * @param serverCallId the serverCallId value to set. + * @return the CallConnectionStateChangedEventInternal object itself. + */ + public CallConnectionStateChangedEventInternal setServerCallId(String serverCallId) { + this.serverCallId = serverCallId; + return this; + } + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return this.callConnectionId; + } + + /** + * Set the callConnectionId property: The call connection id. + * + * @param callConnectionId the callConnectionId value to set. + * @return the CallConnectionStateChangedEventInternal object itself. + */ + public CallConnectionStateChangedEventInternal setCallConnectionId(String callConnectionId) { + this.callConnectionId = callConnectionId; + return this; + } + + /** + * Get the callConnectionState property: The call connection state. + * + * @return the callConnectionState value. + */ + public CallConnectionState getCallConnectionState() { + return this.callConnectionState; + } + + /** + * Set the callConnectionState property: The call connection state. + * + * @param callConnectionState the callConnectionState value to set. + * @return the CallConnectionStateChangedEventInternal object itself. + */ + public CallConnectionStateChangedEventInternal setCallConnectionState(CallConnectionState callConnectionState) { + this.callConnectionState = callConnectionState; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateChangeEventInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateChangeEventInternal.java new file mode 100644 index 0000000000000..6c2f8d352f5e8 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateChangeEventInternal.java @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.CallRecordingState; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.OffsetDateTime; + +/** The call recording state change event. */ +@Fluent +public final class CallRecordingStateChangeEventInternal { + /* + * The call recording id + */ + @JsonProperty(value = "recordingId") + private String recordingId; + + /* + * The recording state of the recording + */ + @JsonProperty(value = "state") + private CallRecordingState state; + + /* + * The time of the recording started + */ + @JsonProperty(value = "startDateTime") + private OffsetDateTime startDateTime; + + /* + * The server call.id. + */ + @JsonProperty(value = "serverCallId") + private String serverCallId; + + /** + * Get the recordingId property: The call recording id. + * + * @return the recordingId value. + */ + public String getRecordingId() { + return this.recordingId; + } + + /** + * Set the recordingId property: The call recording id. + * + * @param recordingId the recordingId value to set. + * @return the CallRecordingStateChangeEventInternal object itself. + */ + public CallRecordingStateChangeEventInternal setRecordingId(String recordingId) { + this.recordingId = recordingId; + return this; + } + + /** + * Get the state property: The recording state of the recording. + * + * @return the state value. + */ + public CallRecordingState getState() { + return this.state; + } + + /** + * Set the state property: The recording state of the recording. + * + * @param state the state value to set. + * @return the CallRecordingStateChangeEventInternal object itself. + */ + public CallRecordingStateChangeEventInternal setState(CallRecordingState state) { + this.state = state; + return this; + } + + /** + * Get the startDateTime property: The time of the recording started. + * + * @return the startDateTime value. + */ + public OffsetDateTime getStartDateTime() { + return this.startDateTime; + } + + /** + * Set the startDateTime property: The time of the recording started. + * + * @param startDateTime the startDateTime value to set. + * @return the CallRecordingStateChangeEventInternal object itself. + */ + public CallRecordingStateChangeEventInternal setStartDateTime(OffsetDateTime startDateTime) { + this.startDateTime = startDateTime; + return this; + } + + /** + * Get the serverCallId property: The server call.id. + * + * @return the serverCallId value. + */ + public String getServerCallId() { + return this.serverCallId; + } + + /** + * Set the serverCallId property: The server call.id. + * + * @param serverCallId the serverCallId value to set. + * @return the CallRecordingStateChangeEventInternal object itself. + */ + public CallRecordingStateChangeEventInternal setServerCallId(String serverCallId) { + this.serverCallId = serverCallId; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateResultInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateResultInternal.java new file mode 100644 index 0000000000000..41d34d7bfad96 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CallRecordingStateResultInternal.java @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.CallRecordingState; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The response payload of get call recording state operation. */ +@Fluent +public final class CallRecordingStateResultInternal { + /* + * The recording state of the recording + */ + @JsonProperty(value = "recordingState") + private CallRecordingState recordingState; + + /** + * Get the recordingState property: The recording state of the recording. + * + * @return the recordingState value. + */ + public CallRecordingState getRecordingState() { + return this.recordingState; + } + + /** + * Set the recordingState property: The recording state of the recording. + * + * @param recordingState the recordingState value to set. + * @return the CallRecordingStateResultInternal object itself. + */ + public CallRecordingStateResultInternal setRecordingState(CallRecordingState recordingState) { + this.recordingState = recordingState; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsRequest.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsRequest.java new file mode 100644 index 0000000000000..301c6a3a1eac8 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsRequest.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The request payload for cancel all media operations. */ +@Fluent +public final class CancelAllMediaOperationsRequest { + /* + * The context for this operation. + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /** + * Get the operationContext property: The context for this operation. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: The context for this operation. + * + * @param operationContext the operationContext value to set. + * @return the CancelAllMediaOperationsRequest object itself. + */ + public CancelAllMediaOperationsRequest setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsResultInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsResultInternal.java new file mode 100644 index 0000000000000..50743cb118067 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CancelAllMediaOperationsResultInternal.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The response payload of the cancel all media operations. */ +@Fluent +public final class CancelAllMediaOperationsResultInternal { + /* + * Gets or sets the identifier. + */ + @JsonProperty(value = "id") + private String id; + + /* + * Gets or sets the status of the operation + */ + @JsonProperty(value = "status") + private OperationStatus status; + + /* + * Gets or sets the operation context + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * Gets or sets the result info + */ + @JsonProperty(value = "resultInfo") + private ResultInfoInternal resultInfo; + + /** + * Get the id property: Gets or sets the identifier. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Set the id property: Gets or sets the identifier. + * + * @param id the id value to set. + * @return the CancelAllMediaOperationsResultInternal object itself. + */ + public CancelAllMediaOperationsResultInternal setId(String id) { + this.id = id; + return this; + } + + /** + * Get the status property: Gets or sets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return this.status; + } + + /** + * Set the status property: Gets or sets the status of the operation. + * + * @param status the status value to set. + * @return the CancelAllMediaOperationsResultInternal object itself. + */ + public CancelAllMediaOperationsResultInternal setStatus(OperationStatus status) { + this.status = status; + return this; + } + + /** + * Get the operationContext property: Gets or sets the operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: Gets or sets the operation context. + * + * @param operationContext the operationContext value to set. + * @return the CancelAllMediaOperationsResultInternal object itself. + */ + public CancelAllMediaOperationsResultInternal setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the resultInfo property: Gets or sets the result info. + * + * @return the resultInfo value. + */ + public ResultInfoInternal getResultInfo() { + return this.resultInfo; + } + + /** + * Set the resultInfo property: Gets or sets the result info. + * + * @param resultInfo the resultInfo value to set. + * @return the CancelAllMediaOperationsResultInternal object itself. + */ + public CancelAllMediaOperationsResultInternal setResultInfo(ResultInfoInternal resultInfo) { + this.resultInfo = resultInfo; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationCloudEnvironmentModel.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationCloudEnvironmentModel.java new file mode 100644 index 0000000000000..7c9d3518458d2 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationCloudEnvironmentModel.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for CommunicationCloudEnvironmentModel. */ +public final class CommunicationCloudEnvironmentModel extends ExpandableStringEnum { + /** Static value public for CommunicationCloudEnvironmentModel. */ + public static final CommunicationCloudEnvironmentModel PUBLIC = fromString("public"); + + /** Static value dod for CommunicationCloudEnvironmentModel. */ + public static final CommunicationCloudEnvironmentModel DOD = fromString("dod"); + + /** Static value gcch for CommunicationCloudEnvironmentModel. */ + public static final CommunicationCloudEnvironmentModel GCCH = fromString("gcch"); + + /** + * Creates or finds a CommunicationCloudEnvironmentModel from its string representation. + * + * @param name a name to look for. + * @return the corresponding CommunicationCloudEnvironmentModel. + */ + @JsonCreator + public static CommunicationCloudEnvironmentModel fromString(String name) { + return fromString(name, CommunicationCloudEnvironmentModel.class); + } + + /** @return known CommunicationCloudEnvironmentModel values. */ + public static Collection values() { + return values(CommunicationCloudEnvironmentModel.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationError.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationError.java new file mode 100644 index 0000000000000..c79d1741def15 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationError.java @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The Communication Services error. */ +@Fluent +public final class CommunicationError { + /* + * The error code. + */ + @JsonProperty(value = "code", required = true) + private String code; + + /* + * The error message. + */ + @JsonProperty(value = "message", required = true) + private String message; + + /* + * The error target. + */ + @JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY) + private String target; + + /* + * Further details about specific errors that led to this error. + */ + @JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY) + private List details; + + /* + * The inner error if any. + */ + @JsonProperty(value = "innererror", access = JsonProperty.Access.WRITE_ONLY) + private CommunicationError innerError; + + /** + * Get the code property: The error code. + * + * @return the code value. + */ + public String getCode() { + return this.code; + } + + /** + * Set the code property: The error code. + * + * @param code the code value to set. + * @return the CommunicationError object itself. + */ + public CommunicationError setCode(String code) { + this.code = code; + return this; + } + + /** + * Get the message property: The error message. + * + * @return the message value. + */ + public String getMessage() { + return this.message; + } + + /** + * Set the message property: The error message. + * + * @param message the message value to set. + * @return the CommunicationError object itself. + */ + public CommunicationError setMessage(String message) { + this.message = message; + return this; + } + + /** + * Get the target property: The error target. + * + * @return the target value. + */ + public String getTarget() { + return this.target; + } + + /** + * Get the details property: Further details about specific errors that led to this error. + * + * @return the details value. + */ + public List getDetails() { + return this.details; + } + + /** + * Get the innerError property: The inner error if any. + * + * @return the innerError value. + */ + public CommunicationError getInnerError() { + return this.innerError; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationErrorException.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationErrorException.java new file mode 100644 index 0000000000000..a30d1265f0d84 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationErrorException.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.exception.HttpResponseException; +import com.azure.core.http.HttpResponse; + +/** Exception thrown for an invalid response with CommunicationError information. */ +public final class CommunicationErrorException extends HttpResponseException { + /** + * Initializes a new instance of the CommunicationErrorException class. + * + * @param message the exception message or the response content if a message is not available. + * @param response the HTTP response. + */ + public CommunicationErrorException(String message, HttpResponse response) { + super(message, response); + } + + /** + * Initializes a new instance of the CommunicationErrorException class. + * + * @param message the exception message or the response content if a message is not available. + * @param response the HTTP response. + * @param value the deserialized response value. + */ + public CommunicationErrorException(String message, HttpResponse response, CommunicationError value) { + super(message, response, value); + } + + @Override + public CommunicationError getValue() { + return (CommunicationError) super.getValue(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationIdentifierModel.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationIdentifierModel.java new file mode 100644 index 0000000000000..378d1b0daa085 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationIdentifierModel.java @@ -0,0 +1,120 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure + * communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be + * set. + */ +@Fluent +public final class CommunicationIdentifierModel { + /* + * Raw Id of the identifier. Optional in requests, required in responses. + */ + @JsonProperty(value = "rawId") + private String rawId; + + /* + * The communication user. + */ + @JsonProperty(value = "communicationUser") + private CommunicationUserIdentifierModel communicationUser; + + /* + * The phone number. + */ + @JsonProperty(value = "phoneNumber") + private PhoneNumberIdentifierModel phoneNumber; + + /* + * The Microsoft Teams user. + */ + @JsonProperty(value = "microsoftTeamsUser") + private MicrosoftTeamsUserIdentifierModel microsoftTeamsUser; + + /** + * Get the rawId property: Raw Id of the identifier. Optional in requests, required in responses. + * + * @return the rawId value. + */ + public String getRawId() { + return this.rawId; + } + + /** + * Set the rawId property: Raw Id of the identifier. Optional in requests, required in responses. + * + * @param rawId the rawId value to set. + * @return the CommunicationIdentifierModel object itself. + */ + public CommunicationIdentifierModel setRawId(String rawId) { + this.rawId = rawId; + return this; + } + + /** + * Get the communicationUser property: The communication user. + * + * @return the communicationUser value. + */ + public CommunicationUserIdentifierModel getCommunicationUser() { + return this.communicationUser; + } + + /** + * Set the communicationUser property: The communication user. + * + * @param communicationUser the communicationUser value to set. + * @return the CommunicationIdentifierModel object itself. + */ + public CommunicationIdentifierModel setCommunicationUser(CommunicationUserIdentifierModel communicationUser) { + this.communicationUser = communicationUser; + return this; + } + + /** + * Get the phoneNumber property: The phone number. + * + * @return the phoneNumber value. + */ + public PhoneNumberIdentifierModel getPhoneNumber() { + return this.phoneNumber; + } + + /** + * Set the phoneNumber property: The phone number. + * + * @param phoneNumber the phoneNumber value to set. + * @return the CommunicationIdentifierModel object itself. + */ + public CommunicationIdentifierModel setPhoneNumber(PhoneNumberIdentifierModel phoneNumber) { + this.phoneNumber = phoneNumber; + return this; + } + + /** + * Get the microsoftTeamsUser property: The Microsoft Teams user. + * + * @return the microsoftTeamsUser value. + */ + public MicrosoftTeamsUserIdentifierModel getMicrosoftTeamsUser() { + return this.microsoftTeamsUser; + } + + /** + * Set the microsoftTeamsUser property: The Microsoft Teams user. + * + * @param microsoftTeamsUser the microsoftTeamsUser value to set. + * @return the CommunicationIdentifierModel object itself. + */ + public CommunicationIdentifierModel setMicrosoftTeamsUser(MicrosoftTeamsUserIdentifierModel microsoftTeamsUser) { + this.microsoftTeamsUser = microsoftTeamsUser; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationParticipantInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationParticipantInternal.java new file mode 100644 index 0000000000000..a0b894f9a8ff8 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationParticipantInternal.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A participant in a call. */ +@Fluent +public final class CommunicationParticipantInternal { + /* + * Communication identifier of the participant + */ + @JsonProperty(value = "identifier") + private CommunicationIdentifierModel identifier; + + /* + * Participant id + */ + @JsonProperty(value = "participantId") + private String participantId; + + /* + * Is participant muted + */ + @JsonProperty(value = "isMuted") + private Boolean isMuted; + + /** + * Get the identifier property: Communication identifier of the participant. + * + * @return the identifier value. + */ + public CommunicationIdentifierModel getIdentifier() { + return this.identifier; + } + + /** + * Set the identifier property: Communication identifier of the participant. + * + * @param identifier the identifier value to set. + * @return the CommunicationParticipantInternal object itself. + */ + public CommunicationParticipantInternal setIdentifier(CommunicationIdentifierModel identifier) { + this.identifier = identifier; + return this; + } + + /** + * Get the participantId property: Participant id. + * + * @return the participantId value. + */ + public String getParticipantId() { + return this.participantId; + } + + /** + * Set the participantId property: Participant id. + * + * @param participantId the participantId value to set. + * @return the CommunicationParticipantInternal object itself. + */ + public CommunicationParticipantInternal setParticipantId(String participantId) { + this.participantId = participantId; + return this; + } + + /** + * Get the isMuted property: Is participant muted. + * + * @return the isMuted value. + */ + public Boolean isMuted() { + return this.isMuted; + } + + /** + * Set the isMuted property: Is participant muted. + * + * @param isMuted the isMuted value to set. + * @return the CommunicationParticipantInternal object itself. + */ + public CommunicationParticipantInternal setIsMuted(Boolean isMuted) { + this.isMuted = isMuted; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationUserIdentifierModel.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationUserIdentifierModel.java new file mode 100644 index 0000000000000..3f3e1e563dd37 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CommunicationUserIdentifierModel.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A user that got created with an Azure Communication Services resource. */ +@Fluent +public final class CommunicationUserIdentifierModel { + /* + * The Id of the communication user. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /** + * Get the id property: The Id of the communication user. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Set the id property: The Id of the communication user. + * + * @param id the id value to set. + * @return the CommunicationUserIdentifierModel object itself. + */ + public CommunicationUserIdentifierModel setId(String id) { + this.id = id; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallRequest.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallRequest.java new file mode 100644 index 0000000000000..0a05098b03543 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallRequest.java @@ -0,0 +1,200 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The request payload for create call. */ +@Fluent +public final class CreateCallRequest { + /* + * The alternate identity of the source of the call if dialing out to a + * pstn number + */ + @JsonProperty(value = "alternateCallerId") + private PhoneNumberIdentifierModel alternateCallerId; + + /* + * The targets of the call. + */ + @JsonProperty(value = "targets", required = true) + private List targets; + + /* + * The source of the call. + */ + @JsonProperty(value = "source", required = true) + private CommunicationIdentifierModel source; + + /* + * The subject. + */ + @JsonProperty(value = "subject") + private String subject; + + /* + * The callback URI. + */ + @JsonProperty(value = "callbackUri", required = true) + private String callbackUri; + + /* + * The requested modalities. + */ + @JsonProperty(value = "requestedMediaTypes") + private List requestedMediaTypes; + + /* + * The requested call events to subscribe to. + */ + @JsonProperty(value = "requestedCallEvents") + private List requestedCallEvents; + + /** + * Get the alternateCallerId property: The alternate identity of the source of the call if dialing out to a pstn + * number. + * + * @return the alternateCallerId value. + */ + public PhoneNumberIdentifierModel getAlternateCallerId() { + return this.alternateCallerId; + } + + /** + * Set the alternateCallerId property: The alternate identity of the source of the call if dialing out to a pstn + * number. + * + * @param alternateCallerId the alternateCallerId value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setAlternateCallerId(PhoneNumberIdentifierModel alternateCallerId) { + this.alternateCallerId = alternateCallerId; + return this; + } + + /** + * Get the targets property: The targets of the call. + * + * @return the targets value. + */ + public List getTargets() { + return this.targets; + } + + /** + * Set the targets property: The targets of the call. + * + * @param targets the targets value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setTargets(List targets) { + this.targets = targets; + return this; + } + + /** + * Get the source property: The source of the call. + * + * @return the source value. + */ + public CommunicationIdentifierModel getSource() { + return this.source; + } + + /** + * Set the source property: The source of the call. + * + * @param source the source value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setSource(CommunicationIdentifierModel source) { + this.source = source; + return this; + } + + /** + * Get the subject property: The subject. + * + * @return the subject value. + */ + public String getSubject() { + return this.subject; + } + + /** + * Set the subject property: The subject. + * + * @param subject the subject value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setSubject(String subject) { + this.subject = subject; + return this; + } + + /** + * Get the callbackUri property: The callback URI. + * + * @return the callbackUri value. + */ + public String getCallbackUri() { + return this.callbackUri; + } + + /** + * Set the callbackUri property: The callback URI. + * + * @param callbackUri the callbackUri value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setCallbackUri(String callbackUri) { + this.callbackUri = callbackUri; + return this; + } + + /** + * Get the requestedMediaTypes property: The requested modalities. + * + * @return the requestedMediaTypes value. + */ + public List getRequestedMediaTypes() { + return this.requestedMediaTypes; + } + + /** + * Set the requestedMediaTypes property: The requested modalities. + * + * @param requestedMediaTypes the requestedMediaTypes value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setRequestedMediaTypes(List requestedMediaTypes) { + this.requestedMediaTypes = requestedMediaTypes; + return this; + } + + /** + * Get the requestedCallEvents property: The requested call events to subscribe to. + * + * @return the requestedCallEvents value. + */ + public List getRequestedCallEvents() { + return this.requestedCallEvents; + } + + /** + * Set the requestedCallEvents property: The requested call events to subscribe to. + * + * @param requestedCallEvents the requestedCallEvents value to set. + * @return the CreateCallRequest object itself. + */ + public CreateCallRequest setRequestedCallEvents(List requestedCallEvents) { + this.requestedCallEvents = requestedCallEvents; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallResultInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallResultInternal.java new file mode 100644 index 0000000000000..625f74c2a9684 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/CreateCallResultInternal.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The response payload of the create call operation. */ +@Fluent +public final class CreateCallResultInternal { + /* + * The call connection id. + */ + @JsonProperty(value = "callConnectionId") + private String callConnectionId; + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return this.callConnectionId; + } + + /** + * Set the callConnectionId property: The call connection id. + * + * @param callConnectionId the callConnectionId value to set. + * @return the CreateCallResultInternal object itself. + */ + public CreateCallResultInternal setCallConnectionId(String callConnectionId) { + this.callConnectionId = callConnectionId; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsRequest.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsRequest.java new file mode 100644 index 0000000000000..0a8e51d717691 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsRequest.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The invite participants request. */ +@Fluent +public final class InviteParticipantsRequest { + /* + * The alternate identity of source participant. + */ + @JsonProperty(value = "alternateCallerId") + private PhoneNumberIdentifierModel alternateCallerId; + + /* + * The list of participants to be added to the call. + */ + @JsonProperty(value = "participants", required = true) + private List participants; + + /* + * The operation context. + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * The callback URI. + */ + @JsonProperty(value = "callbackUri") + private String callbackUri; + + /** + * Get the alternateCallerId property: The alternate identity of source participant. + * + * @return the alternateCallerId value. + */ + public PhoneNumberIdentifierModel getAlternateCallerId() { + return this.alternateCallerId; + } + + /** + * Set the alternateCallerId property: The alternate identity of source participant. + * + * @param alternateCallerId the alternateCallerId value to set. + * @return the InviteParticipantsRequest object itself. + */ + public InviteParticipantsRequest setAlternateCallerId(PhoneNumberIdentifierModel alternateCallerId) { + this.alternateCallerId = alternateCallerId; + return this; + } + + /** + * Get the participants property: The list of participants to be added to the call. + * + * @return the participants value. + */ + public List getParticipants() { + return this.participants; + } + + /** + * Set the participants property: The list of participants to be added to the call. + * + * @param participants the participants value to set. + * @return the InviteParticipantsRequest object itself. + */ + public InviteParticipantsRequest setParticipants(List participants) { + this.participants = participants; + return this; + } + + /** + * Get the operationContext property: The operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: The operation context. + * + * @param operationContext the operationContext value to set. + * @return the InviteParticipantsRequest object itself. + */ + public InviteParticipantsRequest setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the callbackUri property: The callback URI. + * + * @return the callbackUri value. + */ + public String getCallbackUri() { + return this.callbackUri; + } + + /** + * Set the callbackUri property: The callback URI. + * + * @param callbackUri the callbackUri value to set. + * @return the InviteParticipantsRequest object itself. + */ + public InviteParticipantsRequest setCallbackUri(String callbackUri) { + this.callbackUri = callbackUri; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsResultEventInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsResultEventInternal.java new file mode 100644 index 0000000000000..6e3230b873a51 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/InviteParticipantsResultEventInternal.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The InviteParticipantsResultEventInternal model. */ +@Fluent +public final class InviteParticipantsResultEventInternal { + /* + * The result details. + */ + @JsonProperty(value = "resultInfo") + private ResultInfoInternal resultInfo; + + /* + * The operation context. + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * Gets or sets the status of the operation + */ + @JsonProperty(value = "status") + private OperationStatus status; + + /** + * Get the resultInfo property: The result details. + * + * @return the resultInfo value. + */ + public ResultInfoInternal getResultInfo() { + return this.resultInfo; + } + + /** + * Set the resultInfo property: The result details. + * + * @param resultInfo the resultInfo value to set. + * @return the InviteParticipantsResultEventInternal object itself. + */ + public InviteParticipantsResultEventInternal setResultInfo(ResultInfoInternal resultInfo) { + this.resultInfo = resultInfo; + return this; + } + + /** + * Get the operationContext property: The operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: The operation context. + * + * @param operationContext the operationContext value to set. + * @return the InviteParticipantsResultEventInternal object itself. + */ + public InviteParticipantsResultEventInternal setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the status property: Gets or sets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return this.status; + } + + /** + * Set the status property: Gets or sets the status of the operation. + * + * @param status the status value to set. + * @return the InviteParticipantsResultEventInternal object itself. + */ + public InviteParticipantsResultEventInternal setStatus(OperationStatus status) { + this.status = status; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallRequest.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallRequest.java new file mode 100644 index 0000000000000..6a251000d8531 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallRequest.java @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The request payload for join call. */ +@Fluent +public final class JoinCallRequest { + /* + * The source of the call. + */ + @JsonProperty(value = "source", required = true) + private CommunicationIdentifierModel source; + + /* + * The subject. + */ + @JsonProperty(value = "subject") + private String subject; + + /* + * The callback URI. + */ + @JsonProperty(value = "callbackUri", required = true) + private String callbackUri; + + /* + * The requested modalities. + */ + @JsonProperty(value = "requestedMediaTypes") + private List requestedMediaTypes; + + /* + * The requested call events to subscribe to. + */ + @JsonProperty(value = "requestedCallEvents") + private List requestedCallEvents; + + /** + * Get the source property: The source of the call. + * + * @return the source value. + */ + public CommunicationIdentifierModel getSource() { + return this.source; + } + + /** + * Set the source property: The source of the call. + * + * @param source the source value to set. + * @return the JoinCallRequest object itself. + */ + public JoinCallRequest setSource(CommunicationIdentifierModel source) { + this.source = source; + return this; + } + + /** + * Get the subject property: The subject. + * + * @return the subject value. + */ + public String getSubject() { + return this.subject; + } + + /** + * Set the subject property: The subject. + * + * @param subject the subject value to set. + * @return the JoinCallRequest object itself. + */ + public JoinCallRequest setSubject(String subject) { + this.subject = subject; + return this; + } + + /** + * Get the callbackUri property: The callback URI. + * + * @return the callbackUri value. + */ + public String getCallbackUri() { + return this.callbackUri; + } + + /** + * Set the callbackUri property: The callback URI. + * + * @param callbackUri the callbackUri value to set. + * @return the JoinCallRequest object itself. + */ + public JoinCallRequest setCallbackUri(String callbackUri) { + this.callbackUri = callbackUri; + return this; + } + + /** + * Get the requestedMediaTypes property: The requested modalities. + * + * @return the requestedMediaTypes value. + */ + public List getRequestedMediaTypes() { + return this.requestedMediaTypes; + } + + /** + * Set the requestedMediaTypes property: The requested modalities. + * + * @param requestedMediaTypes the requestedMediaTypes value to set. + * @return the JoinCallRequest object itself. + */ + public JoinCallRequest setRequestedMediaTypes(List requestedMediaTypes) { + this.requestedMediaTypes = requestedMediaTypes; + return this; + } + + /** + * Get the requestedCallEvents property: The requested call events to subscribe to. + * + * @return the requestedCallEvents value. + */ + public List getRequestedCallEvents() { + return this.requestedCallEvents; + } + + /** + * Set the requestedCallEvents property: The requested call events to subscribe to. + * + * @param requestedCallEvents the requestedCallEvents value to set. + * @return the JoinCallRequest object itself. + */ + public JoinCallRequest setRequestedCallEvents(List requestedCallEvents) { + this.requestedCallEvents = requestedCallEvents; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallResultInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallResultInternal.java new file mode 100644 index 0000000000000..c511d323ac2e0 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/JoinCallResultInternal.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The response payload of the join call operation. */ +@Fluent +public final class JoinCallResultInternal { + /* + * The call connection id. + */ + @JsonProperty(value = "callConnectionId") + private String callConnectionId; + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return this.callConnectionId; + } + + /** + * Set the callConnectionId property: The call connection id. + * + * @param callConnectionId the callConnectionId value to set. + * @return the JoinCallResultInternal object itself. + */ + public JoinCallResultInternal setCallConnectionId(String callConnectionId) { + this.callConnectionId = callConnectionId; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/MicrosoftTeamsUserIdentifierModel.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/MicrosoftTeamsUserIdentifierModel.java new file mode 100644 index 0000000000000..31981b2916b70 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/MicrosoftTeamsUserIdentifierModel.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A Microsoft Teams user. */ +@Fluent +public final class MicrosoftTeamsUserIdentifierModel { + /* + * The Id of the Microsoft Teams user. If not anonymous, this is the AAD + * object Id of the user. + */ + @JsonProperty(value = "userId", required = true) + private String userId; + + /* + * True if the Microsoft Teams user is anonymous. By default false if + * missing. + */ + @JsonProperty(value = "isAnonymous") + private Boolean isAnonymous; + + /* + * The cloud that the Microsoft Teams user belongs to. By default 'public' + * if missing. + */ + @JsonProperty(value = "cloud") + private CommunicationCloudEnvironmentModel cloud; + + /** + * Get the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the + * user. + * + * @return the userId value. + */ + public String getUserId() { + return this.userId; + } + + /** + * Set the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the + * user. + * + * @param userId the userId value to set. + * @return the MicrosoftTeamsUserIdentifierModel object itself. + */ + public MicrosoftTeamsUserIdentifierModel setUserId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing. + * + * @return the isAnonymous value. + */ + public Boolean isAnonymous() { + return this.isAnonymous; + } + + /** + * Set the isAnonymous property: True if the Microsoft Teams user is anonymous. By default false if missing. + * + * @param isAnonymous the isAnonymous value to set. + * @return the MicrosoftTeamsUserIdentifierModel object itself. + */ + public MicrosoftTeamsUserIdentifierModel setIsAnonymous(Boolean isAnonymous) { + this.isAnonymous = isAnonymous; + return this; + } + + /** + * Get the cloud property: The cloud that the Microsoft Teams user belongs to. By default 'public' if missing. + * + * @return the cloud value. + */ + public CommunicationCloudEnvironmentModel getCloud() { + return this.cloud; + } + + /** + * Set the cloud property: The cloud that the Microsoft Teams user belongs to. By default 'public' if missing. + * + * @param cloud the cloud value to set. + * @return the MicrosoftTeamsUserIdentifierModel object itself. + */ + public MicrosoftTeamsUserIdentifierModel setCloud(CommunicationCloudEnvironmentModel cloud) { + this.cloud = cloud; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ParticipantsUpdatedEventInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ParticipantsUpdatedEventInternal.java new file mode 100644 index 0000000000000..e1642fbc4b718 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ParticipantsUpdatedEventInternal.java @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The participant update event. */ +@Fluent +public final class ParticipantsUpdatedEventInternal { + /* + * The call connection id. + */ + @JsonProperty(value = "callConnectionId") + private String callConnectionId; + + /* + * The list of participants. + */ + @JsonProperty(value = "participants") + private List participants; + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return this.callConnectionId; + } + + /** + * Set the callConnectionId property: The call connection id. + * + * @param callConnectionId the callConnectionId value to set. + * @return the ParticipantsUpdatedEventInternal object itself. + */ + public ParticipantsUpdatedEventInternal setCallConnectionId(String callConnectionId) { + this.callConnectionId = callConnectionId; + return this; + } + + /** + * Get the participants property: The list of participants. + * + * @return the participants value. + */ + public List getParticipants() { + return this.participants; + } + + /** + * Set the participants property: The list of participants. + * + * @param participants the participants value to set. + * @return the ParticipantsUpdatedEventInternal object itself. + */ + public ParticipantsUpdatedEventInternal setParticipants(List participants) { + this.participants = participants; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PhoneNumberIdentifierModel.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PhoneNumberIdentifierModel.java new file mode 100644 index 0000000000000..f1bd23f38e9d1 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PhoneNumberIdentifierModel.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A phone number. */ +@Fluent +public final class PhoneNumberIdentifierModel { + /* + * The phone number in E.164 format. + */ + @JsonProperty(value = "value", required = true) + private String value; + + /** + * Get the value property: The phone number in E.164 format. + * + * @return the value value. + */ + public String getValue() { + return this.value; + } + + /** + * Set the value property: The phone number in E.164 format. + * + * @param value the value value to set. + * @return the PhoneNumberIdentifierModel object itself. + */ + public PhoneNumberIdentifierModel setValue(String value) { + this.value = value; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioRequest.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioRequest.java new file mode 100644 index 0000000000000..465a4102d110d --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioRequest.java @@ -0,0 +1,152 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The request payload for playing audio. */ +@Fluent +public final class PlayAudioRequest { + /* + * The media resource uri of the play audio request. + * Currently only Wave file (.wav) format audio prompts are supported. + * More specifically, the audio content in the wave file must be mono + * (single-channel), + * 16-bit samples with a 16,000 (16KHz) sampling rate. + */ + @JsonProperty(value = "audioFileUri") + private String audioFileUri; + + /* + * The flag indicating whether audio file needs to be played in loop or + * not. + */ + @JsonProperty(value = "loop") + private Boolean loop; + + /* + * The value to identify context of the operation. + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * An id for the media in the AudioFileUri, using which we cache the media + * resource. + */ + @JsonProperty(value = "audioFileId") + private String audioFileId; + + /* + * The callback Uri to receive PlayAudio status notifications. + */ + @JsonProperty(value = "callbackUri") + private String callbackUri; + + /** + * Get the audioFileUri property: The media resource uri of the play audio request. Currently only Wave file (.wav) + * format audio prompts are supported. More specifically, the audio content in the wave file must be mono + * (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * + * @return the audioFileUri value. + */ + public String getAudioFileUri() { + return this.audioFileUri; + } + + /** + * Set the audioFileUri property: The media resource uri of the play audio request. Currently only Wave file (.wav) + * format audio prompts are supported. More specifically, the audio content in the wave file must be mono + * (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. + * + * @param audioFileUri the audioFileUri value to set. + * @return the PlayAudioRequest object itself. + */ + public PlayAudioRequest setAudioFileUri(String audioFileUri) { + this.audioFileUri = audioFileUri; + return this; + } + + /** + * Get the loop property: The flag indicating whether audio file needs to be played in loop or not. + * + * @return the loop value. + */ + public Boolean isLoop() { + return this.loop; + } + + /** + * Set the loop property: The flag indicating whether audio file needs to be played in loop or not. + * + * @param loop the loop value to set. + * @return the PlayAudioRequest object itself. + */ + public PlayAudioRequest setLoop(Boolean loop) { + this.loop = loop; + return this; + } + + /** + * Get the operationContext property: The value to identify context of the operation. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: The value to identify context of the operation. + * + * @param operationContext the operationContext value to set. + * @return the PlayAudioRequest object itself. + */ + public PlayAudioRequest setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the audioFileId property: An id for the media in the AudioFileUri, using which we cache the media resource. + * + * @return the audioFileId value. + */ + public String getAudioFileId() { + return this.audioFileId; + } + + /** + * Set the audioFileId property: An id for the media in the AudioFileUri, using which we cache the media resource. + * + * @param audioFileId the audioFileId value to set. + * @return the PlayAudioRequest object itself. + */ + public PlayAudioRequest setAudioFileId(String audioFileId) { + this.audioFileId = audioFileId; + return this; + } + + /** + * Get the callbackUri property: The callback Uri to receive PlayAudio status notifications. + * + * @return the callbackUri value. + */ + public String getCallbackUri() { + return this.callbackUri; + } + + /** + * Set the callbackUri property: The callback Uri to receive PlayAudio status notifications. + * + * @param callbackUri the callbackUri value to set. + * @return the PlayAudioRequest object itself. + */ + public PlayAudioRequest setCallbackUri(String callbackUri) { + this.callbackUri = callbackUri; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultEventInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultEventInternal.java new file mode 100644 index 0000000000000..2a53f5e788d0b --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultEventInternal.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The play audio result event. */ +@Fluent +public final class PlayAudioResultEventInternal { + /* + * The result details. + */ + @JsonProperty(value = "resultInfo") + private ResultInfoInternal resultInfo; + + /* + * The operation context. + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * Gets or sets the status of the operation + */ + @JsonProperty(value = "status") + private OperationStatus status; + + /** + * Get the resultInfo property: The result details. + * + * @return the resultInfo value. + */ + public ResultInfoInternal getResultInfo() { + return this.resultInfo; + } + + /** + * Set the resultInfo property: The result details. + * + * @param resultInfo the resultInfo value to set. + * @return the PlayAudioResultEventInternal object itself. + */ + public PlayAudioResultEventInternal setResultInfo(ResultInfoInternal resultInfo) { + this.resultInfo = resultInfo; + return this; + } + + /** + * Get the operationContext property: The operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: The operation context. + * + * @param operationContext the operationContext value to set. + * @return the PlayAudioResultEventInternal object itself. + */ + public PlayAudioResultEventInternal setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the status property: Gets or sets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return this.status; + } + + /** + * Set the status property: Gets or sets the status of the operation. + * + * @param status the status value to set. + * @return the PlayAudioResultEventInternal object itself. + */ + public PlayAudioResultEventInternal setStatus(OperationStatus status) { + this.status = status; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultInternal.java new file mode 100644 index 0000000000000..d81709e963536 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/PlayAudioResultInternal.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The response payload for play audio operation. */ +@Fluent +public final class PlayAudioResultInternal { + /* + * Gets or sets the identifier. + */ + @JsonProperty(value = "id") + private String id; + + /* + * Gets or sets the status of the operation + */ + @JsonProperty(value = "status") + private OperationStatus status; + + /* + * Gets or sets the operation context + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * Gets or sets the result info + */ + @JsonProperty(value = "resultInfo") + private ResultInfoInternal resultInfo; + + /** + * Get the id property: Gets or sets the identifier. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Set the id property: Gets or sets the identifier. + * + * @param id the id value to set. + * @return the PlayAudioResultInternal object itself. + */ + public PlayAudioResultInternal setId(String id) { + this.id = id; + return this; + } + + /** + * Get the status property: Gets or sets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return this.status; + } + + /** + * Set the status property: Gets or sets the status of the operation. + * + * @param status the status value to set. + * @return the PlayAudioResultInternal object itself. + */ + public PlayAudioResultInternal setStatus(OperationStatus status) { + this.status = status; + return this; + } + + /** + * Get the operationContext property: Gets or sets the operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: Gets or sets the operation context. + * + * @param operationContext the operationContext value to set. + * @return the PlayAudioResultInternal object itself. + */ + public PlayAudioResultInternal setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the resultInfo property: Gets or sets the result info. + * + * @return the resultInfo value. + */ + public ResultInfoInternal getResultInfo() { + return this.resultInfo; + } + + /** + * Set the resultInfo property: Gets or sets the result info. + * + * @param resultInfo the resultInfo value to set. + * @return the PlayAudioResultInternal object itself. + */ + public PlayAudioResultInternal setResultInfo(ResultInfoInternal resultInfo) { + this.resultInfo = resultInfo; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ResultInfoInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ResultInfoInternal.java new file mode 100644 index 0000000000000..d44a254798679 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ResultInfoInternal.java @@ -0,0 +1,96 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Result info class to be used to report result status for actions/operations. */ +@Fluent +public final class ResultInfoInternal { + /* + * Gets or sets the result code + * For synchronous failures, this maps one-to-one with HTTP responses. For + * asynchronous failures or messages, it is contextual. + */ + @JsonProperty(value = "code") + private Integer code; + + /* + * Gets or sets the result subcode. + * The subcode further classifies a failure. For example. + */ + @JsonProperty(value = "subcode") + private Integer subcode; + + /* + * Gets or sets the message + * The message is a detail explanation of subcode. + */ + @JsonProperty(value = "message") + private String message; + + /** + * Get the code property: Gets or sets the result code For synchronous failures, this maps one-to-one with HTTP + * responses. For asynchronous failures or messages, it is contextual. + * + * @return the code value. + */ + public Integer getCode() { + return this.code; + } + + /** + * Set the code property: Gets or sets the result code For synchronous failures, this maps one-to-one with HTTP + * responses. For asynchronous failures or messages, it is contextual. + * + * @param code the code value to set. + * @return the ResultInfoInternal object itself. + */ + public ResultInfoInternal setCode(Integer code) { + this.code = code; + return this; + } + + /** + * Get the subcode property: Gets or sets the result subcode. The subcode further classifies a failure. For example. + * + * @return the subcode value. + */ + public Integer getSubcode() { + return this.subcode; + } + + /** + * Set the subcode property: Gets or sets the result subcode. The subcode further classifies a failure. For example. + * + * @param subcode the subcode value to set. + * @return the ResultInfoInternal object itself. + */ + public ResultInfoInternal setSubcode(Integer subcode) { + this.subcode = subcode; + return this; + } + + /** + * Get the message property: Gets or sets the message The message is a detail explanation of subcode. + * + * @return the message value. + */ + public String getMessage() { + return this.message; + } + + /** + * Set the message property: Gets or sets the message The message is a detail explanation of subcode. + * + * @param message the message value to set. + * @return the ResultInfoInternal object itself. + */ + public ResultInfoInternal setMessage(String message) { + this.message = message; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingRequest.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingRequest.java new file mode 100644 index 0000000000000..06daaa80de4ae --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingRequest.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The request payload start call recording operation. */ +@Fluent +public final class StartCallRecordingRequest { + /* + * The uri to send notifications to. + */ + @JsonProperty(value = "recordingStateCallbackUri") + private String recordingStateCallbackUri; + + /** + * Get the recordingStateCallbackUri property: The uri to send notifications to. + * + * @return the recordingStateCallbackUri value. + */ + public String getRecordingStateCallbackUri() { + return this.recordingStateCallbackUri; + } + + /** + * Set the recordingStateCallbackUri property: The uri to send notifications to. + * + * @param recordingStateCallbackUri the recordingStateCallbackUri value to set. + * @return the StartCallRecordingRequest object itself. + */ + public StartCallRecordingRequest setRecordingStateCallbackUri(String recordingStateCallbackUri) { + this.recordingStateCallbackUri = recordingStateCallbackUri; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingResultInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingResultInternal.java new file mode 100644 index 0000000000000..96ee82f6e6d53 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/StartCallRecordingResultInternal.java @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The response payload of start call recording operation. */ +@Fluent +public final class StartCallRecordingResultInternal { + /* + * The recording id of the started recording + */ + @JsonProperty(value = "recordingId") + private String recordingId; + + /** + * Get the recordingId property: The recording id of the started recording. + * + * @return the recordingId value. + */ + public String getRecordingId() { + return this.recordingId; + } + + /** + * Set the recordingId property: The recording id of the started recording. + * + * @param recordingId the recordingId value to set. + * @return the StartCallRecordingResultInternal object itself. + */ + public StartCallRecordingResultInternal setRecordingId(String recordingId) { + this.recordingId = recordingId; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneInfoInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneInfoInternal.java new file mode 100644 index 0000000000000..a3d17cd58efcd --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneInfoInternal.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.communication.callingserver.models.ToneValue; +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Gets or sets the tone info. */ +@Fluent +public final class ToneInfoInternal { + /* + * Gets or sets the sequence id. This id can be used to determine if the + * same tone + * was played multiple times or if any tones were missed. + */ + @JsonProperty(value = "sequenceId") + private Integer sequenceId; + + /* + * Gets or sets the tone detected. + */ + @JsonProperty(value = "tone") + private ToneValue tone; + + /** + * Get the sequenceId property: Gets or sets the sequence id. This id can be used to determine if the same tone was + * played multiple times or if any tones were missed. + * + * @return the sequenceId value. + */ + public Integer getSequenceId() { + return this.sequenceId; + } + + /** + * Set the sequenceId property: Gets or sets the sequence id. This id can be used to determine if the same tone was + * played multiple times or if any tones were missed. + * + * @param sequenceId the sequenceId value to set. + * @return the ToneInfoInternal object itself. + */ + public ToneInfoInternal setSequenceId(Integer sequenceId) { + this.sequenceId = sequenceId; + return this; + } + + /** + * Get the tone property: Gets or sets the tone detected. + * + * @return the tone value. + */ + public ToneValue getTone() { + return this.tone; + } + + /** + * Set the tone property: Gets or sets the tone detected. + * + * @param tone the tone value to set. + * @return the ToneInfoInternal object itself. + */ + public ToneInfoInternal setTone(ToneValue tone) { + this.tone = tone; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneReceivedEventInternal.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneReceivedEventInternal.java new file mode 100644 index 0000000000000..cc0f5897123a6 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/ToneReceivedEventInternal.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The subscribe to tone event. */ +@Fluent +public final class ToneReceivedEventInternal { + /* + * The tone info. + */ + @JsonProperty(value = "toneInfo") + private ToneInfoInternal toneInfo; + + /* + * The call connection id. + */ + @JsonProperty(value = "callConnectionId") + private String callConnectionId; + + /** + * Get the toneInfo property: The tone info. + * + * @return the toneInfo value. + */ + public ToneInfoInternal getToneInfo() { + return this.toneInfo; + } + + /** + * Set the toneInfo property: The tone info. + * + * @param toneInfo the toneInfo value to set. + * @return the ToneReceivedEventInternal object itself. + */ + public ToneReceivedEventInternal setToneInfo(ToneInfoInternal toneInfo) { + this.toneInfo = toneInfo; + return this; + } + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return this.callConnectionId; + } + + /** + * Set the callConnectionId property: The call connection id. + * + * @param callConnectionId the callConnectionId value to set. + * @return the ToneReceivedEventInternal object itself. + */ + public ToneReceivedEventInternal setCallConnectionId(String callConnectionId) { + this.callConnectionId = callConnectionId; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/package-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/package-info.java new file mode 100644 index 0000000000000..8d928e5256a32 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/models/package-info.java @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the data models for AzureCommunicationCallingServerService. Azure Communication CallingServer + * Service. + */ +package com.azure.communication.callingserver.implementation.models; diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/package-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/package-info.java new file mode 100644 index 0000000000000..9bfc9adf8b53a --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/implementation/package-info.java @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the implementations for AzureCommunicationCallingServerService. Azure Communication CallingServer + * Service. + */ +package com.azure.communication.callingserver.implementation; diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallConnectionState.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallConnectionState.java new file mode 100644 index 0000000000000..d26b539c93cab --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallConnectionState.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for CallConnectionState. */ +public final class CallConnectionState extends ExpandableStringEnum { + /** Static value unknown for CallConnectionState. */ + public static final CallConnectionState UNKNOWN = fromString("unknown"); + + /** Static value idle for CallConnectionState. */ + public static final CallConnectionState IDLE = fromString("idle"); + + /** Static value incoming for CallConnectionState. */ + public static final CallConnectionState INCOMING = fromString("incoming"); + + /** Static value establishing for CallConnectionState. */ + public static final CallConnectionState ESTABLISHING = fromString("establishing"); + + /** Static value established for CallConnectionState. */ + public static final CallConnectionState ESTABLISHED = fromString("established"); + + /** Static value hold for CallConnectionState. */ + public static final CallConnectionState HOLD = fromString("hold"); + + /** Static value unhold for CallConnectionState. */ + public static final CallConnectionState UNHOLD = fromString("unhold"); + + /** Static value transferring for CallConnectionState. */ + public static final CallConnectionState TRANSFERRING = fromString("transferring"); + + /** Static value redirecting for CallConnectionState. */ + public static final CallConnectionState REDIRECTING = fromString("redirecting"); + + /** Static value terminating for CallConnectionState. */ + public static final CallConnectionState TERMINATING = fromString("terminating"); + + /** Static value terminated for CallConnectionState. */ + public static final CallConnectionState TERMINATED = fromString("terminated"); + + /** + * Creates or finds a CallConnectionState from its string representation. + * + * @param name a name to look for. + * @return the corresponding CallConnectionState. + */ + @JsonCreator + public static CallConnectionState fromString(String name) { + return fromString(name, CallConnectionState.class); + } + + /** @return known CallConnectionState values. */ + public static Collection values() { + return values(CallConnectionState.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallModality.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallModality.java new file mode 100644 index 0000000000000..3c770d5a2e072 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallModality.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for CallModality. */ +public final class CallModality extends ExpandableStringEnum { + /** Static value audio for CallModality. */ + public static final CallModality AUDIO = fromString("audio"); + + /** Static value video for CallModality. */ + public static final CallModality VIDEO = fromString("video"); + + /** + * Creates or finds a CallModality from its string representation. + * + * @param name a name to look for. + * @return the corresponding CallModality. + */ + @JsonCreator + public static CallModality fromString(String name) { + return fromString(name, CallModality.class); + } + + /** @return known CallModality values. */ + public static Collection values() { + return values(CallModality.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallParticipant.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallParticipant.java new file mode 100644 index 0000000000000..8d67860d7681c --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallParticipant.java @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.core.annotation.Immutable; + +/** + * The participant in a call. + */ +@Immutable +public final class CallParticipant { + + /** + * The communication identity of the participant. + */ + private final CommunicationIdentifier identifier; + + /** + * The participant id. + */ + private final String participantId; + + /** + * Is participant muted. + */ + private final boolean isMuted; + + /** + * Get the communication identity of the participant. + * + * @return the communication identity of the participant object itself + */ + public CommunicationIdentifier getIdentifier() { + return identifier; + } + + /** + * Get the participant id. + * + * @return the participant id value. + */ + public String getParticipantId() { + return participantId; + } + + /** + * Get is participant muted. + * + * @return the communication identity of the participant object itself + */ + public boolean getIsMuted() { + return isMuted; + } + + /** + * Initializes a new instance of CallParticipant. + * + * @param communicationIdentifier Communication Identifier. + * @param participantId Participant Id. + * @param isMuted Is participant muted. + * @throws IllegalArgumentException if either parameter is null. + */ + public CallParticipant( + CommunicationIdentifier communicationIdentifier, + String participantId, + boolean isMuted) { + if (communicationIdentifier == null) { + throw new IllegalArgumentException("object communicationIdentifier cannot be null"); + } + if (participantId == null) { + throw new IllegalArgumentException("object participantId cannot be null"); + } + + this.identifier = communicationIdentifier; + this.participantId = participantId; + this.isMuted = isMuted; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingState.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingState.java new file mode 100644 index 0000000000000..9a832152d58a5 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingState.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for CallRecordingState. */ +public final class CallRecordingState extends ExpandableStringEnum { + /** Static value active for CallRecordingState. */ + public static final CallRecordingState ACTIVE = fromString("active"); + + /** Static value inactive for CallRecordingState. */ + public static final CallRecordingState INACTIVE = fromString("inactive"); + + /** + * Creates or finds a CallRecordingState from its string representation. + * + * @param name a name to look for. + * @return the corresponding CallRecordingState. + */ + @JsonCreator + public static CallRecordingState fromString(String name) { + return fromString(name, CallRecordingState.class); + } + + /** @return known CallRecordingState values. */ + public static Collection values() { + return values(CallRecordingState.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingStateResult.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingStateResult.java new file mode 100644 index 0000000000000..1b02780805f10 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallRecordingStateResult.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The result payload of get call recording state operation. */ +@Immutable +public final class CallRecordingStateResult { + /* + * The state of the recording + */ + @JsonProperty(value = "recordingState") + private CallRecordingState recordingState; + + /** + * Get the recordingState property: The state of the recording. + * + * @return the recordingState value. + */ + public CallRecordingState getRecordingState() { + return recordingState; + } + + /** + * Initializes a new instance of CallRecordingStateResult. + * + * @param recordingState the recordingState value. + */ + public CallRecordingStateResult(CallRecordingState recordingState) { + this.recordingState = recordingState; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerError.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerError.java new file mode 100644 index 0000000000000..8d2259cde82d8 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerError.java @@ -0,0 +1,103 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +import java.util.List; + +/** The Calling Server error. */ +@Immutable +public final class CallingServerError { + /* + * The error code. + */ + private final String code; + + /* + * The error message. + */ + private final String message; + + /* + * The error target. + */ + private final String target; + + /* + * Further details about specific errors that led to this error. + */ + private final List details; + + /* + * The inner error if any. + */ + private final CallingServerError innerError; + + /** + * Get the code property: The error code. + * + * @return the code value. + */ + public String getCode() { + return code; + } + + /** + * Get the message property: The error message. + * + * @return the message value. + */ + public String getMessage() { + return message; + } + + /** + * Get the target property: The error target. + * + * @return the target value. + */ + public String getTarget() { + return target; + } + + /** + * Get the details property: Further details about specific errors that led to + * this error. + * + * @return the details value. + */ + public List getDetails() { + return details; + } + + /** + * Get the innerError property: The inner error if any. + * + * @return the innerError value. + */ + public CallingServerError getInnerError() { + return innerError; + } + + /** + * Constructs a new CallingServerError + * @param message The message of the original error + * @param code The error code + * @param target The target of the error + * @param details Additional details + * @param innerError The inner error + */ + public CallingServerError( + String message, + String code, String target, + List details, + CallingServerError innerError) { + this.message = message; + this.code = code; + this.target = target; + this.details = details; + this.innerError = innerError; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerErrorException.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerErrorException.java new file mode 100644 index 0000000000000..5b4732d657161 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CallingServerErrorException.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.http.HttpResponse; + +/** + * Exception thrown for an invalid response with {@link CallingServerError} information. + **/ +@Immutable +public final class CallingServerErrorException extends HttpResponseException { + /** + * Initializes a new instance of the CallingServerResponseException class. + * + * @param message the exception message or the response content if a message is not available. + * @param response the HTTP response. + */ + public CallingServerErrorException(String message, HttpResponse response) { + super(message, response); + } + + /** + * Initializes a new instance of the CallingServerErrorException class. + * + * @param message the exception message or the response content if a message is not available. + * @param response the HTTP response. + * @param value the deserialized response value. + */ + public CallingServerErrorException(String message, HttpResponse response, CallingServerError value) { + super(message, response, value); + } + + @Override + public CallingServerError getValue() { + return (CallingServerError) super.getValue(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CancelAllMediaOperationsResult.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CancelAllMediaOperationsResult.java new file mode 100644 index 0000000000000..0d19b25f77c24 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CancelAllMediaOperationsResult.java @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +/** The response payload of the cancel all media operations. */ +@Immutable +public final class CancelAllMediaOperationsResult { + /* + * The identifier. + */ + private final String id; + + /* + * The status of the operation + */ + private final OperationStatus status; + + /* + * The operation context + */ + private final String operationContext; + + /* + * The result info + */ + private final ResultInfo resultInfo; + + /** + * Get the id property: Gets the identifier. + * + * @return the id value. + */ + public String getId() { + return id; + } + + /** + * Get the status property: Gets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return status; + } + + /** + * Get the operationContext property: Gets the operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return operationContext; + } + + /** + * Get the resultInfo property: Gets the result info. + * + * @return the resultInfo value. + */ + public ResultInfo getResultInfo() { + return resultInfo; + } + + /** + * Initializes a new instance of CancelAllMediaOperationsResult. + * + * @param id the id value. + * @param status the status value. + * @param operationContext the operationContext value. + * @param resultInfo the resultInfo value. + */ + public CancelAllMediaOperationsResult( + String id, + OperationStatus status, + String operationContext, + ResultInfo resultInfo) { + this.id = id; + this.status = status; + this.operationContext = operationContext; + this.resultInfo = resultInfo; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CreateCallOptions.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CreateCallOptions.java new file mode 100644 index 0000000000000..01adbda920146 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/CreateCallOptions.java @@ -0,0 +1,135 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.core.annotation.Fluent; + +/** + * The options for creating a call. + */ +@Fluent +public final class CreateCallOptions { + + /** + * The alternate caller id of the source. + */ + private PhoneNumberIdentifier alternateCallerId; + + /** + * The subject. + */ + private String subject; + + /** + * The callback URI. + */ + private final String callbackUri; + + /** + * The requested media types. + */ + private final CallModality[] requestedMediaTypes; + + /** + * The requested call events to subscribe to. + */ + private final EventSubscriptionType[] requestedCallEvents; + + /** + * Get the alternate caller id of the source. + * + * @return the alternate caller id object itself. + */ + public PhoneNumberIdentifier getAlternateCallerId() { + return alternateCallerId; + } + + /** + * Set the alternate caller id of the source to be used when target is phone number. + * + * @param alternateCallerId the alternate caller id value to set. + * @return the CreateCallOptions object itself. + */ + public CreateCallOptions setAlternateCallerId(PhoneNumberIdentifier alternateCallerId) { + this.alternateCallerId = alternateCallerId; + return this; + } + + /** + * Get the subject. + * + * @return the subject value. + */ + public String getSubject() { + return subject; + } + + /** + * Set the subject. + * + * @param subject the subject. + * @return the CreateCallOptions object itself. + */ + public CreateCallOptions setSubject(String subject) { + this.subject = subject; + return this; + } + + /** + * Get the subject. + * + * @return the subject value. + */ + public String getCallbackUri() { + return callbackUri; + } + + /** + * Get the requested modalities. + * + * @return the requested modalities object itself. + */ + public CallModality[] getRequestedMediaTypes() { + return this.requestedMediaTypes == null ? new CallModality[0] : this.requestedMediaTypes.clone(); + } + + /** + * Get the requested call events to subscribe to. + * + * @return the requested call events to subscribe to object itself. + */ + public EventSubscriptionType[] getRequestedCallEvents() { + return requestedCallEvents.clone(); + } + + /** + * Initializes a new instance of CreateCallOptions. + * + * @param callbackUri the callback URI. + * @param requestedMediaTypes the requested media types. + * @param requestedCallEvents the requested call events to subscribe to. + * @throws IllegalArgumentException if any parameters are null. + */ + public CreateCallOptions( + String callbackUri, + CallModality[] requestedMediaTypes, + EventSubscriptionType[] requestedCallEvents) { + if (callbackUri == null) { + throw new IllegalArgumentException("object callbackUri cannot be null"); + } + + if (requestedMediaTypes == null) { + throw new IllegalArgumentException("object requestedMediaTypes cannot be null"); + } + if (requestedCallEvents == null) { + throw new IllegalArgumentException("object requestedCallEvents cannot be null"); + } + + this.callbackUri = callbackUri; + + this.requestedMediaTypes = requestedMediaTypes.clone(); + this.requestedCallEvents = requestedCallEvents.clone(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/EventSubscriptionType.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/EventSubscriptionType.java new file mode 100644 index 0000000000000..0a6bcc82f16f0 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/EventSubscriptionType.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for EventSubscriptionType. */ +public final class EventSubscriptionType extends ExpandableStringEnum { + /** Static value participantsUpdated for EventSubscriptionType. */ + public static final EventSubscriptionType PARTICIPANTS_UPDATED = fromString("participantsUpdated"); + + /** Static value dtmfReceived for EventSubscriptionType. */ + public static final EventSubscriptionType DTMF_RECEIVED = fromString("dtmfReceived"); + + /** + * Creates or finds a EventSubscriptionType from its string representation. + * + * @param name a name to look for. + * @return the corresponding EventSubscriptionType. + */ + @JsonCreator + public static EventSubscriptionType fromString(String name) { + return fromString(name, EventSubscriptionType.class); + } + + /** @return known EventSubscriptionType values. */ + public static Collection values() { + return values(EventSubscriptionType.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallOptions.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallOptions.java new file mode 100644 index 0000000000000..8108d3dc522dd --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallOptions.java @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The options for join call. */ +@Fluent +public final class JoinCallOptions { + /* + * The subject. + */ + @JsonProperty(value = "subject") + private String subject; + + /* + * The callback URI. + */ + @JsonProperty(value = "callbackUri", required = true) + private String callbackUri; + + /* + * The requested MediaTypes. + */ + @JsonProperty(value = "requestedMediaTypes", required = true) + private CallModality[] requestedMediaTypes; + + /* + * The requested call events to subscribe to. + */ + @JsonProperty(value = "requestedCallEvents", required = true) + private EventSubscriptionType[] requestedCallEvents; + + /** + * Get the subject property: The subject. + * + * @return the subject value. + */ + public String getSubject() { + return subject; + } + + /** + * Set the subject property: The subject. + * + * @param subject the subject value to set. + * @return the JoinCallOptions object itself. + */ + public JoinCallOptions setSubject(String subject) { + this.subject = subject; + return this; + } + + /** + * Get the callbackUri property: The callback URI. + * + * @return the callbackUri value. + */ + public String getCallbackUri() { + return callbackUri; + } + + /** + * Set the callbackUri property: The callback URI. + * + * @param callbackUri the callbackUri value to set. + * @return the JoinCallOptions object itself. + */ + public JoinCallOptions setCallbackUri(String callbackUri) { + this.callbackUri = callbackUri; + return this; + } + + /** + * Get the requestedMediaTypes property: The requested MediaTypes. + * + * @return the requestedMediaTypes value. + */ + public CallModality[] getRequestedMediaTypes() { + return requestedMediaTypes == null ? new CallModality[0] : requestedMediaTypes.clone(); + } + + /** + * Set the requestedMediaTypes property: The requested MediaTypes. + * + * @param requestedMediaTypes the requestedModalities value to set. + * @return the JoinCallOptions object itself. + */ + public JoinCallOptions setRequestedMediaTypes(CallModality[] requestedMediaTypes) { + this.requestedMediaTypes = requestedMediaTypes == null ? new CallModality[0] : requestedMediaTypes.clone(); + return this; + } + + /** + * Get the requestedCallEvents property: The requested call events to subscribe + * to. + * + * @return the requestedCallEvents value. + */ + public EventSubscriptionType[] getRequestedCallEvents() { + return requestedCallEvents == null ? new EventSubscriptionType[0] : requestedCallEvents.clone(); + } + + /** + * Set the requestedCallEvents property: The requested call events to subscribe + * to. + * + * @param requestedCallEvents the requestedCallEvents value to set. + * @return the JoinCallOptions object itself. + */ + public JoinCallOptions setRequestedCallEvents(EventSubscriptionType[] requestedCallEvents) { + this.requestedCallEvents = requestedCallEvents == null ? new EventSubscriptionType[0] : requestedCallEvents.clone(); + return this; + } + + /** + * Initializes a new instance of JoinCallOptions. + * + * @param callbackUri the callback URI. + * @param requestedMediaTypes the requested media types. + * @param requestedCallEvents the requested call events to subscribe to. + * @throws IllegalArgumentException if any parameters are null. + */ + public JoinCallOptions(String callbackUri, + CallModality[] requestedMediaTypes, + EventSubscriptionType[] requestedCallEvents) { + if (callbackUri == null) { + throw new IllegalArgumentException("object callbackUri cannot be null"); + } + + if (requestedMediaTypes == null) { + throw new IllegalArgumentException("object requestedMediaTypes cannot be null"); + } + if (requestedCallEvents == null) { + throw new IllegalArgumentException("object requestedCallEvents cannot be null"); + } + + this.callbackUri = callbackUri; + + this.requestedMediaTypes = requestedMediaTypes.clone(); + this.requestedCallEvents = requestedCallEvents.clone(); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallResult.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallResult.java new file mode 100644 index 0000000000000..2e57e3b3c898f --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/JoinCallResult.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +/** The response payload of the join call operation. */ +@Immutable +public final class JoinCallResult { + /* + * The call connection id. + */ + private final String callConnectionId; + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return callConnectionId; + } + + /** + * Initializes a new instance of JoinCallResult. + * + * @param callConnectionId the callConnectionId value to set. + */ + public JoinCallResult(String callConnectionId) { + this.callConnectionId = callConnectionId; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/OperationStatus.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/OperationStatus.java new file mode 100644 index 0000000000000..1c06cc1709063 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/OperationStatus.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for OperationStatus. */ +public final class OperationStatus extends ExpandableStringEnum { + /** Static value notStarted for OperationStatus. */ + public static final OperationStatus NOT_STARTED = fromString("notStarted"); + + /** Static value running for OperationStatus. */ + public static final OperationStatus RUNNING = fromString("running"); + + /** Static value completed for OperationStatus. */ + public static final OperationStatus COMPLETED = fromString("completed"); + + /** Static value failed for OperationStatus. */ + public static final OperationStatus FAILED = fromString("failed"); + + /** + * Creates or finds a OperationStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding OperationStatus. + */ + @JsonCreator + public static OperationStatus fromString(String name) { + return fromString(name, OperationStatus.class); + } + + /** @return known OperationStatus values. */ + public static Collection values() { + return values(OperationStatus.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ParallelDownloadOptions.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ParallelDownloadOptions.java new file mode 100644 index 0000000000000..66519aad53ac2 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ParallelDownloadOptions.java @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.communication.callingserver.implementation.Constants.ContentDownloader; +import com.azure.core.annotation.Fluent; + +import java.util.Locale; + +/** + * This class contains configuration used to parallelize data transfer operations. Note that not all values are used + * by every method which accepts this type. Please refer to the javadoc on specific methods for these cases. + */ +@Fluent +public final class ParallelDownloadOptions { + private static final String PARAMETER_NOT_IN_RANGE = "The value of the parameter '%s' should be between %s and %s."; + + private Long blockSize; + private Integer maxConcurrency; + private ProgressReceiver progressReceiver; + + /** + * Creates a new {@link ParallelDownloadOptions} with default parameters applied. + */ + public ParallelDownloadOptions() { + } + + /** + * Gets the block size (chunk size) to transfer at a time. + * @return The block size. + */ + public long getBlockSizeLong() { + return blockSize == null ? ContentDownloader.DEFAULT_BUFFER_SIZE : blockSize; + } + + + /** + * Sets the block size. + * For upload, The block size is the size of each block that will be staged. This value also determines the number + * of requests that need to be made. This parameter also determines the size that each buffer uses when buffering + * is required and consequently amount of memory consumed by such methods may be up to blockSize * numBuffers. + * For download to file, the block size is the size of each data chunk returned from the service. + * For both applications, If block size is large, upload will make fewer network calls, but each + * individual call will send more data and will therefore take longer. + * + * @param blockSize The block size. + * @return The ParallelDownloadOptions object itself. + */ + public ParallelDownloadOptions setBlockSizeLong(Long blockSize) { + if (blockSize != null) { + assertInBounds("blockSize", blockSize, 1, Long.MAX_VALUE); + } + this.blockSize = blockSize; + return this; + } + + /** + * Gets the Progress receiver for parallel reporting + * @return The progress reporter + */ + public ProgressReceiver getProgressReceiver() { + return progressReceiver; + } + + /** + * Sets the {@link ProgressReceiver}. + * + * @param progressReceiver The {@link ProgressReceiver}. + * @return The ParallelDownloadOptions object itself. + */ + public ParallelDownloadOptions setProgressReceiver(ProgressReceiver progressReceiver) { + this.progressReceiver = progressReceiver; + return this; + } + + /** + * Gets the maximum number of parallel requests that will be issued at any given time. + * @return The max concurrency value. + */ + public int getMaxConcurrency() { + return maxConcurrency == null ? ContentDownloader.DEFAULT_CONCURRENT_TRANSFERS_COUNT : maxConcurrency; + } + + /** + * @param maxConcurrency The maximum number of parallel requests that will be issued at any given time as a part of + * a single parallel transfer. This value applies per api. For example, if two calls to uploadFromFile are made at + * the same time, and each specifies a maxConcurrency of 5, there may be up to 10 outstanding, concurrent requests, + * up to 5 for each of the upload operations. For buffered uploads only, the maximum number of buffers to be + * allocated as part of the transfer will be {@code maxConcurrency + 1}. In those cases, memory will be allocated + * lazily as needed. The amount of memory consumed by methods which buffer may be up to blockSize * maxConcurrency. + * In general, upload methods which do not accept a length parameter must perform some buffering. + * @return The ParallelDownloadOptions object itself. + */ + public ParallelDownloadOptions setMaxConcurrency(Integer maxConcurrency) { + if (maxConcurrency != null) { + assertInBounds("numBuffers", maxConcurrency, 1, Integer.MAX_VALUE); + } + this.maxConcurrency = maxConcurrency; + return this; + } + + /** + * Asserts that the specified number is in the valid range. The range is inclusive. + * + * @param param Name of the parameter + * @param value Value of the parameter + * @param min The minimum allowed value + * @param max The maximum allowed value + * @throws IllegalArgumentException If {@code value} is less than {@code min} or {@code value} is greater than + * {@code max}. + */ + public static void assertInBounds(final String param, final long value, final long min, final long max) { + if (value < min || value > max) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + PARAMETER_NOT_IN_RANGE, param, min, max)); + } + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioOptions.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioOptions.java new file mode 100644 index 0000000000000..a1844f9348f48 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioOptions.java @@ -0,0 +1,116 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The request payload for playing audio. */ +@Fluent +public final class PlayAudioOptions { + + /* + * The flag indicating whether audio file needs to be played in loop or not. + */ + @JsonProperty(value = "loop") + private Boolean loop; + + /* + * The value to identify context of the operation. + */ + @JsonProperty(value = "operationContext") + private String operationContext; + + /* + * An id for the media in the AudioFileUri, using which we cache the media resource. + */ + @JsonProperty(value = "audioFileId") + private String audioFileId; + + /* + * The callback Uri to receive playAudio status notifications. + */ + @JsonProperty(value = "callbackUri") + private String callbackUri; + + /** + * Get the loop property: The flag indicating whether audio file needs to be played in loop or not. + * + * @return the loop value. + */ + public Boolean isLoop() { + return loop; + } + + /** + * Set the loop property: The flag indicating whether audio file needs to be played in loop or not. + * + * @param loop the loop value to set. + * @return the PlayAudioOptions object itself. + */ + public PlayAudioOptions setLoop(Boolean loop) { + this.loop = loop; + return this; + } + + /** + * Get the operationContext property: The value to identify context of the operation. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return operationContext; + } + + /** + * Set the operationContext property: The value to identify context of the operation. + * + * @param operationContext the operationContext value to set. + * @return the PlayAudioOptions object itself. + */ + public PlayAudioOptions setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the audioFileId property: An id for the media in the AudioFileUri, using which we cache the media resource. + * + * @return the audioFileId value. + */ + public String getAudioFileId() { + return audioFileId; + } + + /** + * Set the audioFileId property: An id for the media in the AudioFileUri, using which we cache the media resource. + * + * @param audioFileId the audioFileId value to set. + * @return the PlayAudioOptions object itself. + */ + public PlayAudioOptions setAudioFileId(String audioFileId) { + this.audioFileId = audioFileId; + return this; + } + + /** + * Get the callbackUri property: The callback Uri to receive PlayAudio status notifications. + * + * @return the callbackUri value. + */ + public String getCallbackUri() { + return callbackUri; + } + + /** + * Set the callbackUri property: The callback Uri to receive PlayAudio status notifications. + * + * @param callbackUri the callbackUri value to set. + * @return the PlayAudioOptions object itself. + */ + public PlayAudioOptions setCallbackUri(String callbackUri) { + this.callbackUri = callbackUri; + return this; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioResult.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioResult.java new file mode 100644 index 0000000000000..a898dd168d30a --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/PlayAudioResult.java @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +/** The response payload for play audio operation. */ +@Immutable +public final class PlayAudioResult { + /* + * The identifier. + */ + private final String id; + + /* + * The status of the operation + */ + private final OperationStatus status; + + /* + * The operation context + */ + private final String operationContext; + + /* + * The result info + */ + private final ResultInfo resultInfo; + + /** + * Get the id property: Gets or sets the identifier. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the status property: Gets or sets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return status; + } + + /** + * Get the operationContext property: Gets or sets the operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return operationContext; + } + + /** + * Get the resultInfo property: Gets or sets the result info. + * + * @return the resultInfo value. + */ + public ResultInfo getResultInfo() { + return resultInfo; + } + + /** + * Initializes a new instance of PlayAudioResult. + * + * @param id the id value. + * @param status the status value. + * @param operationContext the operationContext value. + * @param resultInfo the resultInfo value. + */ + public PlayAudioResult(String id, OperationStatus status, String operationContext, ResultInfo resultInfo) { + this.id = id; + this.status = status; + this.operationContext = operationContext; + this.resultInfo = resultInfo; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReceiver.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReceiver.java new file mode 100644 index 0000000000000..6e300e663bcce --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReceiver.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import reactor.core.publisher.Flux; + +/** + * A {@code ProgressReceiver} is an object that can be used to report progress on network transfers. When specified on + * transfer operations, the {@code reportProgress} method will be called periodically with the total number of bytes + * transferred. The user may configure this method to report progress in whatever format desired. It is recommended + * that this type be used in conjunction with {@link ProgressReporter#addProgressReporting(Flux, ProgressReceiver)} to + * enable reporting on sequential transfers. Note that any method accepting a {@link ParallelDownloadOptions} will use + * the {@code ProgressReceiver} specified there and will handle the logic to coordinate the reporting between parallel + * operations. + */ +public interface ProgressReceiver { + + /** + * The callback function invoked as progress is reported. + * + * @param bytesTransferred The total number of bytes transferred during this transaction. + */ + void reportProgress(long bytesTransferred); +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReporter.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReporter.java new file mode 100644 index 0000000000000..79a5e62f2e13c --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ProgressReporter.java @@ -0,0 +1,175 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +import java.nio.ByteBuffer; +import java.util.concurrent.atomic.AtomicLong; +import java.util.concurrent.locks.Lock; + +/** + * {@code ProgressReporter} offers a convenient way to add progress tracking to a given Flux. + */ +public final class ProgressReporter { + + private abstract static class ProgressReporterImpl implements ProgressReceiver { + long blockProgress; + + final ProgressReceiver progressReceiver; + + ProgressReporterImpl(ProgressReceiver progressReceiver) { + this.blockProgress = 0; + this.progressReceiver = progressReceiver; + } + + @Override + public void reportProgress(long bytesTransferred) { + blockProgress += bytesTransferred; + } + + void rewindProgress() { + blockProgress = 0; + } + + Flux addProgressReporting(Flux data) { + return Mono.just(this).flatMapMany(progressReporter -> { + /* + Each time there is a new subscription, we will rewind the progress. This is desirable specifically + for retries, which resubscribe on each try. The first time this Flux is subscribed to, the + rewind will be a noop as there will have been no progress made. Subsequent rewinds will work as + expected. + */ + progressReporter.rewindProgress(); + + /* + Every time we emit some data, report it to the Tracker, which will pass it on to the end user. + */ + return data.doOnNext(buffer -> progressReporter.reportProgress(buffer.remaining())); + }); + } + } + + /** + * This type is used to keep track of the total amount of data transferred for a single request. This is the type we + * will use when the customer uses the factory to add progress reporting to their Flowable. We need this additional + * type because we can't keep local state directly as lambdas require captured local variables to be effectively + * final. + */ + private static class SequentialProgressReporter extends ProgressReporterImpl { + SequentialProgressReporter(ProgressReceiver progressReceiver) { + super(progressReceiver); + } + + @Override + public void reportProgress(long bytesTransferred) { + super.reportProgress(bytesTransferred); + progressReceiver.reportProgress(blockProgress); + } + } + + /** + * This type is used to keep track of the total amount of data transferred as a part of a parallel upload in order + * to coordinate progress reporting to the end user. We need this additional type because we can't keep local state + * directly as lambdas require captured local variables to be effectively final. + */ + private static class ParallelProgressReporter extends ProgressReporterImpl { + /* + This lock will be instantiated by the operation initiating the whole transfer to coordinate each + ProgressReporterImpl. + */ + private final Lock transferLock; + + /* + We need an AtomicLong to be able to update the value referenced. Because we are already synchronizing with the + lock, we don't incur any additional performance hit here by the synchronization. + */ + private final AtomicLong totalProgress; + + ParallelProgressReporter(ProgressReceiver progressReceiver, Lock lock, AtomicLong totalProgress) { + super(progressReceiver); + this.transferLock = lock; + this.totalProgress = totalProgress; + } + + @Override + public void reportProgress(long bytesTransferred) { + super.reportProgress(bytesTransferred); + + /* + It is typically a bad idea to lock around customer code (which the progressReceiver is) because they could + never release the lock. However, we have decided that it is sufficiently difficult for them to make their + progressReporting code threadsafe that we will take that burden and the ensuing risks. Although it is the + case that only one thread is allowed to be in onNext at once, there are multiple independent + requests happening at once to stage/download separate chunks, so we still need to lock either way. + */ + transferLock.lock(); + try { + progressReceiver.reportProgress(totalProgress.addAndGet(bytesTransferred)); + } finally { + transferLock.unlock(); + } + } + + /* + This is used in the case of retries to rewind the amount of progress reported so as not to over-report at the + end. + */ + @Override + public void rewindProgress() { + /* + Blocks do not interfere with each other's block progress and there is no way that, for a single block, one + thread will be trying to add to the progress while the other is trying to zero it. The updates are strictly + sequential. Avoiding using the lock is ideal. + */ + this.totalProgress.addAndGet(-1 * blockProgress); + super.rewindProgress(); + } + + } + + /** + * Adds progress reporting functionality to the given {@code Flux}. Each subscription (and therefore each retry) + * will rewind the progress reported so as not to over-report. The data reported will be the total amount of data + * emitted so far, or the "current position" of the Flux. + * + * @param data The data whose transfer progress is to be tracked. + * @param progressReceiver {@link ProgressReceiver} + * @return A {@code Flux} that emits the same data as the source but calls a callback to report the total amount of + * data emitted so far. + */ + public static Flux addProgressReporting(Flux data, ProgressReceiver progressReceiver) { + if (progressReceiver == null) { + return data; + } else { + ProgressReporterImpl tracker = new SequentialProgressReporter(progressReceiver); + return tracker.addProgressReporting(data); + } + } + + /** + * Adds parallel progress reporting functionality to the given {@code Flux}. Each subscription (and therefore each + * retry) will rewind the progress reported so as not to over-report. The data reported will be the total amount + * of data emitted so far, or the "current position" of the Flux in parallel. + * + * @param data The data whose transfer progress is to be tracked. + * @param progressReceiver {@link ProgressReceiver} + * @param lock This lock will be instantiated by the operation initiating the whole transfer to coordinate each + * ProgressReporterImpl. + * @param totalProgress We need an AtomicLong to be able to update the value referenced. Because we are already + * synchronizing with the lock, we don't incur any additional performance hit here by the synchronization. + * @return A {@code Flux} that emits the same data as the source but calls a callback to report the total amount of + * data emitted so far. + */ + public static Flux addParallelProgressReporting(Flux data, + ProgressReceiver progressReceiver, Lock lock, AtomicLong totalProgress) { + if (progressReceiver == null) { + return data; + } else { + ParallelProgressReporter tracker = new ParallelProgressReporter(progressReceiver, lock, totalProgress); + return tracker.addProgressReporting(data); + } + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ResultInfo.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ResultInfo.java new file mode 100644 index 0000000000000..6e65263260e44 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ResultInfo.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +/** Result info class to be used to report result status for actions/operations. */ +@Immutable +public final class ResultInfo { + /* + * The result code + * For synchronous failures, this maps one-to-one with HTTP responses. For + * asynchronous failures or messages, it is contextual. + */ + private final Integer code; + + /* + * The result subcode. + * The subcode further classifies a failure. For example. + */ + private final Integer subcode; + + /* + * The message + * The message is a detail explanation of subcode. + */ + private final String message; + + /** + * Get the code property: Gets the result code For synchronous failures, this maps one-to-one with HTTP + * responses. For asynchronous failures or messages, it is contextual. + * + * @return the code value. + */ + public Integer getCode() { + return code; + } + + /** + * Get the subcode property: Gets the result subcode. The subcode further classifies a failure. + * + * @return the subcode value. + */ + public Integer getSubcode() { + return subcode; + } + + /** + * Get the message property: Gets the message The message is a detail explanation of subcode. + * + * @return the message value. + */ + public String getMessage() { + return message; + } + + /** + * Initializes a new instance of ResultInfo. + * + * @param code the code value. + * @param subcode the subcode value. + * @param message the message value. + */ + public ResultInfo(Integer code, Integer subcode, String message) { + this.code = code; + this.subcode = subcode; + this.message = message; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/StartCallRecordingResult.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/StartCallRecordingResult.java new file mode 100644 index 0000000000000..73acc2b978e11 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/StartCallRecordingResult.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +/** The response payload of start call recording operation. */ +@Immutable +public final class StartCallRecordingResult { + /* + * The recording id + */ + private final String recordingId; + + /** + * Get the recordingId property: The recording id of the started recording. + * + * @return the recordingId value. + */ + public String getRecordingId() { + return recordingId; + } + + /** + * Initializes a new instance of StartCallRecordingResult. + * + * @param recordingId the recordingId value. + */ + public StartCallRecordingResult(String recordingId) { + this.recordingId = recordingId; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneInfo.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneInfo.java new file mode 100644 index 0000000000000..e15bd5949bed7 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneInfo.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models; + +import com.azure.core.annotation.Immutable; + +/** The class to represent Tone info detail. */ +@Immutable +public final class ToneInfo { + /* + * The sequence id. This id can be used to determine if the same tone + * was played multiple times or if any tones were missed. + */ + private final Integer sequenceId; + + /* + * The tone detected. + */ + private final ToneValue tone; + + /** + * Get the sequenceId property: Gets the sequence id. This id can be used to determine if the same tone was + * played multiple times or if any tones were missed. + * + * @return the sequenceId value. + */ + public Integer getSequenceId() { + return sequenceId; + } + + /** + * Get the tone property: Gets the tone detected. + * + * @return the tone value. + */ + public ToneValue getTone() { + return tone; + } + + /** + * Initializes a new instance of ToneInfo. + * + * @param sequenceId the sequenceId value. + * @param tone the tone value. + */ + public ToneInfo(Integer sequenceId, ToneValue tone) { + this.sequenceId = sequenceId; + this.tone = tone; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneValue.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneValue.java new file mode 100644 index 0000000000000..36e6200a37a52 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/ToneValue.java @@ -0,0 +1,79 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callingserver.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for ToneValue. */ +public final class ToneValue extends ExpandableStringEnum { + /** Static value tone0 for ToneValue. */ + public static final ToneValue TONE0 = fromString("tone0"); + + /** Static value tone1 for ToneValue. */ + public static final ToneValue TONE1 = fromString("tone1"); + + /** Static value tone2 for ToneValue. */ + public static final ToneValue TONE2 = fromString("tone2"); + + /** Static value tone3 for ToneValue. */ + public static final ToneValue TONE3 = fromString("tone3"); + + /** Static value tone4 for ToneValue. */ + public static final ToneValue TONE4 = fromString("tone4"); + + /** Static value tone5 for ToneValue. */ + public static final ToneValue TONE5 = fromString("tone5"); + + /** Static value tone6 for ToneValue. */ + public static final ToneValue TONE6 = fromString("tone6"); + + /** Static value tone7 for ToneValue. */ + public static final ToneValue TONE7 = fromString("tone7"); + + /** Static value tone8 for ToneValue. */ + public static final ToneValue TONE8 = fromString("tone8"); + + /** Static value tone9 for ToneValue. */ + public static final ToneValue TONE9 = fromString("tone9"); + + /** Static value star for ToneValue. */ + public static final ToneValue STAR = fromString("star"); + + /** Static value pound for ToneValue. */ + public static final ToneValue POUND = fromString("pound"); + + /** Static value a for ToneValue. */ + public static final ToneValue A = fromString("a"); + + /** Static value b for ToneValue. */ + public static final ToneValue B = fromString("b"); + + /** Static value c for ToneValue. */ + public static final ToneValue C = fromString("c"); + + /** Static value d for ToneValue. */ + public static final ToneValue D = fromString("d"); + + /** Static value flash for ToneValue. */ + public static final ToneValue FLASH = fromString("flash"); + + /** + * Creates or finds a ToneValue from its string representation. + * + * @param name a name to look for. + * @return the corresponding ToneValue. + */ + @JsonCreator + public static ToneValue fromString(String name) { + return fromString(name, ToneValue.class); + } + + /** @return known ToneValue values. */ + public static Collection values() { + return values(ToneValue.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallConnectionStateChangedEvent.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallConnectionStateChangedEvent.java new file mode 100644 index 0000000000000..16c0658e2900f --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallConnectionStateChangedEvent.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.communication.callingserver.implementation.models.CallConnectionStateChangedEventInternal; +import com.azure.communication.callingserver.models.CallConnectionState; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; + +/** The call connection state changed event. */ +@Immutable +public final class CallConnectionStateChangedEvent extends CallingServerEventBase { + /* + * The server call id. + */ + private final String serverCallId; + + /* + * The call connection id. + */ + private final String callConnectionId; + + /* + * The call connection state. + */ + private final CallConnectionState callConnectionState; + + /** + * Get the serverCallId property: The server call id. + * + * @return the serverCallId value. + */ + public String getServerCallId() { + return serverCallId; + } + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return callConnectionId; + } + + /** + * Get the callConnectionState property: The call connection state. + * + * @return the callConnectionState value. + */ + public CallConnectionState getCallConnectionState() { + return callConnectionState; + } + + /** + * Initializes a new instance of CallConnectionStateChangedEvent. + * + * @param serverCallId the serverCallId value. + * @param callConnectionId the callConnectionId value. + * @param callConnectionState the callConnectionState value. + */ + public CallConnectionStateChangedEvent( + String serverCallId, + String callConnectionId, + CallConnectionState callConnectionState) { + this.serverCallId = serverCallId; + this.callConnectionId = callConnectionId; + this.callConnectionState = callConnectionState; + } + + /** + * Deserialize {@link CallConnectionStateChangedEvent} event. + * + * @param eventData binary data for event + * @return {@link CallConnectionStateChangedEvent} event. + */ + public static CallConnectionStateChangedEvent deserialize(BinaryData eventData) { + if (eventData == null) { + return null; + } + CallConnectionStateChangedEventInternal callConnectionStateChangedEventInternal = + eventData.toObject(CallConnectionStateChangedEventInternal.class); + + return new CallConnectionStateChangedEvent( + callConnectionStateChangedEventInternal.getServerCallId(), + callConnectionStateChangedEventInternal.getCallConnectionId(), + callConnectionStateChangedEventInternal.getCallConnectionState()); + } +} + + + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallRecordingStateChangeEvent.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallRecordingStateChangeEvent.java new file mode 100644 index 0000000000000..317b7db464b39 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallRecordingStateChangeEvent.java @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.communication.callingserver.implementation.models.CallRecordingStateChangeEventInternal; +import com.azure.communication.callingserver.models.CallRecordingState; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; + +import java.time.OffsetDateTime; + +/** The call recording state change event. */ +@Immutable +public final class CallRecordingStateChangeEvent extends CallingServerEventBase { + /* + * The call recording id + */ + private final String recordingId; + + /* + * The state of the recording + */ + private final CallRecordingState state; + + /* + * The time the recording started + */ + private final OffsetDateTime startDateTime; + + /* + * The server call id. + */ + private final String serverCallId; + + /** + * Get the recordingId property: The call recording id. + * + * @return the recordingId value. + */ + public String getRecordingId() { + return recordingId; + } + + /** + * Get the state property: The state of the recording. + * + * @return the state value. + */ + public CallRecordingState getState() { + return state; + } + + /** + * Get the startDateTime property: The time the recording started. + * + * @return the startDateTime value. + */ + public OffsetDateTime getStartDateTime() { + return startDateTime; + } + + /** + * Get the serverCallId property: The server call id. + * + * @return the serverCallId value. + */ + public String getServerCallId() { + return serverCallId; + } + + /** + * Initializes a new instance of CallRecordingStateChangeEvent. + * + * @param recordingId the recordingId value. + * @param state the state value. + * @param startDateTime the startDateTime value. + * @param serverCallId the serverCallId value. + */ + public CallRecordingStateChangeEvent( + String recordingId, + CallRecordingState state, + OffsetDateTime startDateTime, + String serverCallId) { + this.recordingId = recordingId; + this.state = state; + this.startDateTime = startDateTime; + this.serverCallId = serverCallId; + } + + /** + * Deserialize {@link CallRecordingStateChangeEvent} event. + * + * @param eventData binary data for event + * @return {@link CallRecordingStateChangeEvent} event. + */ + public static CallRecordingStateChangeEvent deserialize(BinaryData eventData) { + if (eventData == null) { + return null; + } + CallRecordingStateChangeEventInternal callRecordingStateChangeEventInternal = + eventData.toObject(CallRecordingStateChangeEventInternal.class); + + return new CallRecordingStateChangeEvent( + callRecordingStateChangeEventInternal.getRecordingId(), + callRecordingStateChangeEventInternal.getState(), + callRecordingStateChangeEventInternal.getStartDateTime(), + callRecordingStateChangeEventInternal.getServerCallId()); + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventBase.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventBase.java new file mode 100644 index 0000000000000..0915bd89a48b6 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventBase.java @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +/** + * Base type for all calling events. + */ +public abstract class CallingServerEventBase { + +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventType.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventType.java new file mode 100644 index 0000000000000..d054b8f7a7958 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/CallingServerEventType.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; + +import java.util.Collection; + +/** Defines values for CallingServerEventType. */ +@Immutable +public final class CallingServerEventType extends ExpandableStringEnum { + + /** The call connection state change event type. */ + public static final CallingServerEventType CALL_CONNECTION_STATE_CHANGED_EVENT = fromString("Microsoft.Communication.CallConnectionStateChanged"); + + /** The invited participants result event type. */ + public static final CallingServerEventType INVITE_PARTICIPANT_RESULT_EVENT = fromString("Microsoft.Communication.InviteParticipantResult"); + + /** The call recording state change event type. */ + public static final CallingServerEventType CALL_RECORDING_STATE_CHANGED_EVENT = fromString("Microsoft.Communication.CallRecordingStateChanged"); + + /** The play audio result event type. */ + public static final CallingServerEventType PLAY_AUDIO_RESULT_EVENT = fromString("Microsoft.Communication.PlayAudioResult"); + + /** The participants updated event type. */ + public static final CallingServerEventType PARTICIPANTS_UPDATED_EVENT = fromString("Microsoft.Communication.ParticipantsUpdated"); + + /** The subscribe to tone event type. */ + public static final CallingServerEventType TONE_RECEIVED_EVENT = fromString("Microsoft.Communication.DtmfReceived"); + + /** + * Creates or finds a CallingServerEventType from its string representation. + * + * @param name a name to look for. + * @return the corresponding CallingServerEventType. + */ + @JsonCreator + public static CallingServerEventType fromString(String name) { + return fromString(name, CallingServerEventType.class); + } + + /** @return known CallModality values. */ + public static Collection values() { + return values(CallingServerEventType.class); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/InviteParticipantResultEvent.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/InviteParticipantResultEvent.java new file mode 100644 index 0000000000000..1b7b05a5c54bf --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/InviteParticipantResultEvent.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.communication.callingserver.implementation.converters.ResultInfoConverter; +import com.azure.communication.callingserver.implementation.models.InviteParticipantsResultEventInternal; +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.communication.callingserver.models.ResultInfo; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; + +/** The invite participant result event. */ +@Immutable +public final class InviteParticipantResultEvent extends CallingServerEventBase { + /* + * The result details. + */ + private final ResultInfo resultInfo; + + /* + * The operation context. + */ + private final String operationContext; + + /* + * The status of the operation + */ + private final OperationStatus status; + + /** + * Get the resultInfo property: The result details. + * + * @return the resultInfo value. + */ + public ResultInfo getResultInfo() { + return resultInfo; + } + + /** + * Get the operationContext property: The operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return operationContext; + } + + /** + * Get the status property: Gets the status of the operation. + * + * @return the operation status value. + */ + public OperationStatus getStatus() { + return status; + } + + /** + * Initializes a new instance of InviteParticipantResultEvent. + * + * @param resultInfo the resultInfo value. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param status the status value. + */ + public InviteParticipantResultEvent(ResultInfo resultInfo, String operationContext, OperationStatus status) { + this.resultInfo = resultInfo; + this.operationContext = operationContext; + this.status = status; + } + + /** + * Deserialize {@link InviteParticipantResultEvent} event. + * + * @param eventData binary data for event + * @return {@link InviteParticipantResultEvent} event. + */ + public static InviteParticipantResultEvent deserialize(BinaryData eventData) { + if (eventData == null) { + return null; + } + InviteParticipantsResultEventInternal inviteParticipantsResultEventInternal = + eventData.toObject(InviteParticipantsResultEventInternal.class); + + return new InviteParticipantResultEvent( + ResultInfoConverter.convert(inviteParticipantsResultEventInternal.getResultInfo()), + inviteParticipantsResultEventInternal.getOperationContext(), + inviteParticipantsResultEventInternal.getStatus()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ParticipantsUpdatedEvent.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ParticipantsUpdatedEvent.java new file mode 100644 index 0000000000000..f7fffde2d5d5d --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ParticipantsUpdatedEvent.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.communication.callingserver.implementation.converters.CommunicationIdentifierConverter; +import com.azure.communication.callingserver.implementation.models.CommunicationParticipantInternal; +import com.azure.communication.callingserver.implementation.models.ParticipantsUpdatedEventInternal; +import com.azure.communication.callingserver.models.CallParticipant; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; + +import java.util.LinkedList; +import java.util.List; + +/** + * The participants updated event. + */ +@Immutable +public final class ParticipantsUpdatedEvent extends CallingServerEventBase { + /** + * The call connection id. + */ + private final String callConnectionId; + + /** + * The participants. + */ + private final CallParticipant[] participants; + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return callConnectionId; + } + + + /** + * Get the participants. + * + * @return the list of participants value. + */ + public CallParticipant[] getParticipants() { + return participants == null ? new CallParticipant[0] : participants.clone(); + } + + /** + * Initializes a new instance of ParticipantsUpdatedEvent. + * + * @param callConnectionId The call connection id. + * @param participants The participants + * @throws IllegalArgumentException if any parameter is null or empty. + */ + public ParticipantsUpdatedEvent(String callConnectionId, CallParticipant[] participants) { + if (callConnectionId == null || callConnectionId.isEmpty()) { + throw new IllegalArgumentException("object callConnectionId cannot be null or empty"); + } + if (participants == null) { + throw new IllegalArgumentException("object participants cannot be null"); + } + this.callConnectionId = callConnectionId; + this.participants = participants.clone(); + } + + /** + * Deserialize {@link ParticipantsUpdatedEvent} event. + * + * @param eventData binary data for event + * @return {@link ParticipantsUpdatedEvent} event. + */ + public static ParticipantsUpdatedEvent deserialize(BinaryData eventData) { + if (eventData == null) { + return null; + } + ParticipantsUpdatedEventInternal internalEvent = eventData.toObject(ParticipantsUpdatedEventInternal.class); + List participants = new LinkedList<>(); + for (CommunicationParticipantInternal communicationParticipantInternal : internalEvent.getParticipants()) { + participants.add( + new CallParticipant( + CommunicationIdentifierConverter.convert(communicationParticipantInternal.getIdentifier()), + communicationParticipantInternal.getParticipantId(), + communicationParticipantInternal.isMuted())); + } + + return new ParticipantsUpdatedEvent(internalEvent.getCallConnectionId(), + participants.toArray(new CallParticipant[0])); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/PlayAudioResultEvent.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/PlayAudioResultEvent.java new file mode 100644 index 0000000000000..7f4149dc54093 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/PlayAudioResultEvent.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.communication.callingserver.implementation.converters.ResultInfoConverter; +import com.azure.communication.callingserver.implementation.models.PlayAudioResultEventInternal; +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.communication.callingserver.models.ResultInfo; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; + +/** The play audio result event. */ +@Immutable +public final class PlayAudioResultEvent extends CallingServerEventBase { + /* + * The result details. + */ + private final ResultInfo resultInfo; + + /* + * The operation context. + */ + private final String operationContext; + + /* + * The status of the operation + */ + private final OperationStatus status; + + /** + * Get the resultInfo property: The result details. + * + * @return the resultInfo value. + */ + public ResultInfo getResultInfo() { + return resultInfo; + } + + /** + * Get the operationContext property: The operation context. + * + * @return the operationContext value. + */ + public String getOperationContext() { + return operationContext; + } + + /** + * Get the status property: Gets the status of the operation. + * + * @return the status value. + */ + public OperationStatus getStatus() { + return status; + } + + /** + * Initializes a new instance of PlayAudioResultEvent. + * + * @param resultInfo the resultInfo value. + * @param operationContext The value to identify context of the operation. This is used to co-relate other + * communications related to this operation + * @param status the status value. + */ + public PlayAudioResultEvent(ResultInfo resultInfo, String operationContext, OperationStatus status) { + this.resultInfo = resultInfo; + this.operationContext = operationContext; + this.status = status; + } + + /** + * Deserialize {@link PlayAudioResultEvent} event. + * + * @param eventData binary data for event + * @return {@link PlayAudioResultEvent} event. + */ + public static PlayAudioResultEvent deserialize(BinaryData eventData) { + if (eventData == null) { + return null; + } + PlayAudioResultEventInternal playAudioResultEventInternal = + eventData.toObject(PlayAudioResultEventInternal.class); + + return new PlayAudioResultEvent( + ResultInfoConverter.convert(playAudioResultEventInternal.getResultInfo()), + playAudioResultEventInternal.getOperationContext(), + playAudioResultEventInternal.getStatus()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ToneReceivedEvent.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ToneReceivedEvent.java new file mode 100644 index 0000000000000..866fbcc4e0aec --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/ToneReceivedEvent.java @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver.models.events; + +import com.azure.communication.callingserver.implementation.models.ToneReceivedEventInternal; +import com.azure.communication.callingserver.models.ToneInfo; +import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; + +/** The subscribe to tone event. */ +@Immutable +public final class ToneReceivedEvent extends CallingServerEventBase { + /* + * The tone info. + */ + private final ToneInfo toneInfo; + + /* + * The call connection id. + */ + private final String callConnectionId; + + /** + * Get the toneInfo property: The tone info. + * + * @return the toneInfo value. + */ + public ToneInfo getToneInfo() { + return toneInfo; + } + + /** + * Get the callConnectionId property: The call connection id. + * + * @return the callConnectionId value. + */ + public String getCallConnectionId() { + return callConnectionId; + } + + /** + * Initializes a new instance of ToneReceivedEvent. + * + * @param toneInfo the toneInfo value. + * @param callConnectionId the callConnectionId value. + */ + public ToneReceivedEvent(ToneInfo toneInfo, String callConnectionId) { + this.toneInfo = toneInfo; + this.callConnectionId = callConnectionId; + } + + /** + * Deserialize {@link ToneReceivedEvent} event. + * + * @param eventData binary data for event + * @return {@link ToneReceivedEvent} event. + */ + public static ToneReceivedEvent deserialize(BinaryData eventData) { + if (eventData == null) { + return null; + } + ToneReceivedEventInternal toneReceivedEventInternal = eventData.toObject(ToneReceivedEventInternal.class); + + return new ToneReceivedEvent( + new ToneInfo( + toneReceivedEventInternal.getToneInfo().getSequenceId(), + toneReceivedEventInternal.getToneInfo().getTone()), + toneReceivedEventInternal.getCallConnectionId()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/package-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/package-info.java new file mode 100644 index 0000000000000..072ceff8612ca --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/events/package-info.java @@ -0,0 +1,8 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing the data models for AzureCommunicationCallingServerService. Azure Communication CallingServer + * Service. + */ +package com.azure.communication.callingserver.models.events; diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/package-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/package-info.java new file mode 100644 index 0000000000000..e600ceee2b135 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/models/package-info.java @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** Package containing classes for AzureCommunicationCallingServerService. Azure Communication CallingServer Service. */ +package com.azure.communication.callingserver.models; diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/package-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/package-info.java new file mode 100644 index 0000000000000..5ac3f12cf0495 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/com/azure/communication/callingserver/package-info.java @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** Package containing the classes for AzureCommunicationIdentity. Azure Communication Identity Service. */ +package com.azure.communication.callingserver; diff --git a/sdk/communication/azure-communication-callingserver/src/main/java/module-info.java b/sdk/communication/azure-communication-callingserver/src/main/java/module-info.java new file mode 100644 index 0000000000000..b3ead38e94a3b --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/java/module-info.java @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +module com.azure.communication.callingserver { + + requires transitive com.azure.communication.common; + + // public API surface area + exports com.azure.communication.callingserver; + exports com.azure.communication.callingserver.models; + exports com.azure.communication.callingserver.models.events; + + // exporting some packages specifically for Jackson + opens com.azure.communication.callingserver.models to com.fasterxml.jackson.databind; + opens com.azure.communication.callingserver.implementation.models to com.fasterxml.jackson.databind, com.azure.core; +} diff --git a/sdk/communication/azure-communication-callingserver/src/main/resources/azure-communication-callingserver.properties b/sdk/communication/azure-communication-callingserver/src/main/resources/azure-communication-callingserver.properties new file mode 100644 index 0000000000000..ca812989b4f27 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/main/resources/azure-communication-callingserver.properties @@ -0,0 +1,2 @@ +name=${project.artifactId} +version=${project.version} diff --git a/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerAsyncClientJavaDocCodeSnippets.java b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerAsyncClientJavaDocCodeSnippets.java new file mode 100644 index 0000000000000..764bbf8f088ee --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerAsyncClientJavaDocCodeSnippets.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; + +public class CallingServerAsyncClientJavaDocCodeSnippets { + public CallingServerAsyncClient createCallingServerAsyncClientWithPipeline() { + + String connectionString = getConnectionString(); + // BEGIN: com.azure.communication.callingserver.CallingServerAsyncClient.pipeline.instantiation + HttpPipeline pipeline = new HttpPipelineBuilder() + .policies(/* add policies */) + .build(); + + CallingServerAsyncClient callingServerAsyncClient = new CallingServerClientBuilder() + .pipeline(pipeline) + .connectionString(connectionString) + .buildAsyncClient(); + // END: com.azure.communication.callingserver.CallingServerAsyncClient.pipeline.instantiation + return callingServerAsyncClient; + } + + private String getConnectionString() { + return "endpoint=https://.communication.azure.com/;accesskey="; + } + + /** + * Sample code for creating a call connection using the async call client. + */ + public void createCallConnectionAsync() { + CallingServerAsyncClient callingServerAsyncClient = createCallingServerAsyncClientWithPipeline(); + + CommunicationIdentifier source = new CommunicationUserIdentifier(""); + CommunicationIdentifier firstCallee = new CommunicationUserIdentifier(""); + CommunicationIdentifier secondCallee = new CommunicationUserIdentifier(""); + String callbackUri = ""; + + // BEGIN: com.azure.communication.callingserver.CallingServerAsyncClient.create.call.connection.async + CommunicationIdentifier[] targets = new CommunicationIdentifier[] { firstCallee, secondCallee }; + CallModality[] requestedMediaTypes = new CallModality[] { CallModality.AUDIO, CallModality.VIDEO }; + EventSubscriptionType[] requestedCallEvents = new EventSubscriptionType[] { + EventSubscriptionType.DTMF_RECEIVED, + EventSubscriptionType.PARTICIPANTS_UPDATED + }; + CreateCallOptions createCallOptions = new CreateCallOptions( + callbackUri, + requestedMediaTypes, + requestedCallEvents); + CallConnectionAsync callAsyncConnection = callingServerAsyncClient + .createCallConnection(source, targets, createCallOptions).block(); + // END: com.azure.communication.callingserver.CallingServerAsyncClient.create.call.connection.async + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientBuilderJavaDocCodeSnippets.java b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientBuilderJavaDocCodeSnippets.java new file mode 100644 index 0000000000000..ab9dfa3bab0ba --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientBuilderJavaDocCodeSnippets.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; + +public class CallingServerClientBuilderJavaDocCodeSnippets { + public void createCallingServerClientWithPipeline() { + + String connectionString = getConnectionString(); + // BEGIN: com.azure.communication.callingserver.CallingServerClientBuilder.pipeline.instantiation + HttpPipeline pipeline = new HttpPipelineBuilder() + .policies(/* add policies */) + .build(); + + CallingServerClient callingServerClient = new CallingServerClientBuilder() + .pipeline(pipeline) + .connectionString(connectionString) + .buildClient(); + + CallingServerAsyncClient callingServerAsyncClient = new CallingServerClientBuilder() + .pipeline(pipeline) + .connectionString(connectionString) + .buildAsyncClient(); + // END: com.azure.communication.callingserver.CallingServerClientBuilder.pipeline.instantiation + + } + + private String getConnectionString() { + return "endpoint=https://.communication.azure.com/;accesskey="; + } + +} diff --git a/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientJavaDocCodeSnippets.java b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientJavaDocCodeSnippets.java new file mode 100644 index 0000000000000..fc53f927cdf60 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/CallingServerClientJavaDocCodeSnippets.java @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; + +public class CallingServerClientJavaDocCodeSnippets { + public CallingServerClient createCallingServerClientWithPipeline() { + + String connectionString = getConnectionString(); + // BEGIN: com.azure.communication.callingserver.CallingServerClient.pipeline.instantiation + HttpPipeline pipeline = new HttpPipelineBuilder() + .policies(/* add policies */) + .build(); + + CallingServerClient callingServerClient = new CallingServerClientBuilder() + .pipeline(pipeline) + .connectionString(connectionString) + .buildClient(); + // END: com.azure.communication.callingserver.CallingServerClient.pipeline.instantiation + return callingServerClient; + } + + private String getConnectionString() { + return "endpoint=https://.communication.azure.com/;accesskey="; + } + + /** + * Sample code for creating a call connection using the sync call client. + */ + public void createCallConnection() { + CallingServerClient callingServerClient = createCallingServerClientWithPipeline(); + + CommunicationIdentifier source = new CommunicationUserIdentifier(""); + CommunicationIdentifier firstCallee = new CommunicationUserIdentifier(""); + CommunicationIdentifier secondCallee = new CommunicationUserIdentifier(""); + String callbackUri = ""; + + // BEGIN: com.azure.communication.callingserver.CallingServerClient.create.call.connection + CommunicationIdentifier[] targets = new CommunicationIdentifier[] { firstCallee, secondCallee }; + CallModality[] requestedMediaTypes = new CallModality[] { CallModality.AUDIO, CallModality.VIDEO }; + EventSubscriptionType[] requestedCallEvents = new EventSubscriptionType[] { + EventSubscriptionType.DTMF_RECEIVED, + EventSubscriptionType.PARTICIPANTS_UPDATED + }; + CreateCallOptions createCallOptions = new CreateCallOptions( + callbackUri, + requestedMediaTypes, + requestedCallEvents); + CallConnection callConnection = callingServerClient.createCallConnection(source, targets, createCallOptions); + // END: com.azure.communication.callingserver.CallingServerClient.create.call.connection + } + +} diff --git a/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java new file mode 100644 index 0000000000000..aeb77e4a1f0f0 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallRecordingState; +import com.azure.communication.callingserver.models.CallRecordingStateResult; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.callingserver.models.StartCallRecordingResult; + +/** + * WARNING: MODIFYING THIS FILE WILL REQUIRE CORRESPONDING UPDATES TO README.md FILE. LINE NUMBERS + * ARE USED TO EXTRACT APPROPRIATE CODE SEGMENTS FROM THIS FILE. ADD NEW CODE AT THE BOTTOM TO AVOID CHANGING + * LINE NUMBERS OF EXISTING CODE SAMPLES. + * + * Class containing code snippets that will be injected to README.md. + */ + +public class ConversationClientReadmeSamples { + + /** + * Sample code for creating a sync calling server client. + * + * @return the calling server client. + */ + public CallingServerClient createCallingServerClient() { + String endpoint = "https://.communcationservices.azure.com"; + + // Your connectionString retrieved from your Azure Communication Service + String connectionString = "endpoint=https://.communication.azure.com/;accesskey="; + + // Initialize the calling server client + final CallingServerClientBuilder builder = new CallingServerClientBuilder(); + builder.connectionString(connectionString); + CallingServerClient callingServerClient = builder.buildClient(); + + return callingServerClient; + } + + /** + * Sample code for starting a recording. + * + * @param callingServerClient {@link CallingServerClient} to use for recording. + * @return recordingId to use with other recording operations. + */ + public String startRecording(CallingServerClient callingServerClient) { + String serverCallId = ""; + String recordingStateCallbackUri = ""; + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + StartCallRecordingResult result = serverCall.startRecording(recordingStateCallbackUri); + String recordingId = result.getRecordingId(); + return recordingId; + } + + /** + * Sample code for pausing a recording. + * + * @param callingServerClient {@link CallingServerClient} to use for recording. + * @param serverCallId Identifier of the current server call. + * @param recordingId Identifier of the recording to pause. + */ + public void pauseRecording(CallingServerClient callingServerClient, + String serverCallId, String recordingId) { + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + serverCall.pauseRecording(recordingId); + } + + /** + * Sample code for resuming a recording. + * + * @param callingServerClient {@link CallingServerClient} to use for recording. + * @param serverCallId Identifier of the current server call. + * @param recordingId Identifier of the recording to resume. + */ + public void resumeRecording(CallingServerClient callingServerClient, + String serverCallId, String recordingId) { + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + serverCall.resumeRecording(recordingId); + } + + /** + * Sample code for stopping a recording. + * + * @param callingServerClient {@link CallingServerClient} to use for recording. + * @param serverCallId Identifier of the current server call. + * @param recordingId Identifier of the recording to stop. + */ + public void stopRecording(CallingServerClient callingServerClient, + String serverCallId, String recordingId) { + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + serverCall.stopRecording(recordingId); + } + + /** + * Sample code for requesting the state of a recording. + * + * @param callingServerClient {@link CallingServerClient} to use for recording. + * @param serverCallId Identifier of the current server call. + * @param recordingId Identifier of the recording from which to request state. + * @return state of the recording, {@link CallRecordingState}. + */ + public CallRecordingState getRecordingState(CallingServerClient callingServerClient, + String serverCallId, String recordingId) { + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + CallRecordingStateResult callRecordingStateResult = serverCall.getRecordingState(recordingId); + + // CallRecordingState: Active, Inactive + // If the call has ended, CommunicationErrorException will be thrown. Inactive is + // only returned when the recording is paused. + CallRecordingState callRecordingState = callRecordingStateResult.getRecordingState(); + return callRecordingState; + } + + /** + * Sample code for playing an audio notification in a call. + * + * @param callingServerClient {@link CallingServerClient} to use for recording. + * @param serverCallId Identifier of the current server call. + * @return information about the play audio request, {@link PlayAudioResult}. + */ + public PlayAudioResult playAudio(CallingServerClient callingServerClient, String serverCallId) { + String audioFileUri = ""; + String audioFileId = ""; + String callbackUri = ""; + String context = ""; + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + PlayAudioResult playAudioResult = serverCall.playAudio(audioFileUri, audioFileId, callbackUri, context); + return playAudioResult; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java new file mode 100644 index 0000000000000..e177dfebeb89f --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; + +/** + * WARNING: MODIFYING THIS FILE WILL REQUIRE CORRESPONDING UPDATES TO README.md FILE. LINE NUMBERS + * ARE USED TO EXTRACT APPROPRIATE CODE SEGMENTS FROM THIS FILE. ADD NEW CODE AT THE BOTTOM TO AVOID CHANGING + * LINE NUMBERS OF EXISTING CODE SAMPLES. + * + * Class containing code snippets that will be injected to README.md. + */ + +public class ReadmeSamples { + + /** + * Sample code for creating a sync calling server client. + * + * @return the calling server client. + */ + public CallingServerClient createCallingServerClient() { + // Your connectionString retrieved from your Azure Communication Service + String connectionString = "endpoint=https://.communication.azure.com/;accesskey="; + + // Initialize the calling server client + final CallingServerClientBuilder builder = new CallingServerClientBuilder(); + builder.connectionString(connectionString); + CallingServerClient callingServerClient = builder.buildClient(); + + return callingServerClient; + } + + /** + * Sample code for creating a call connection using the sync call client. + */ + public void createCallConnection() { + + CallingServerClient callingServerClient = createCallingServerClient(); + + CommunicationIdentifier source = new CommunicationUserIdentifier(""); + CommunicationIdentifier firstCallee = new CommunicationUserIdentifier(""); + CommunicationIdentifier secondCallee = new CommunicationUserIdentifier(""); + + CommunicationIdentifier[] targets = new CommunicationIdentifier[] { firstCallee, secondCallee }; + + String callbackUri = ""; + + CallModality[] requestedMediaTypes = new CallModality[] { CallModality.AUDIO, CallModality.VIDEO }; + + EventSubscriptionType[] requestedCallEvents = new EventSubscriptionType[] { + EventSubscriptionType.DTMF_RECEIVED, + EventSubscriptionType.PARTICIPANTS_UPDATED + }; + + CreateCallOptions createCallOptions = new CreateCallOptions( + callbackUri, + requestedMediaTypes, + requestedCallEvents); + + CallConnection callConnection = callingServerClient.createCallConnection(source, targets, createCallOptions); + } + + /** + * Sample code for hanging up a call connection using the sync call client. + */ + public void hangupCallConnection() { + String callConnectionId = "callId"; + CallingServerClient callingServerClient = createCallingServerClient(); + CallConnection callConnection = callingServerClient.getCallConnection(callConnectionId); + callConnection.hangup(); + } + + /** + * Sample code for deleting a call using the sync call client. + */ + public void addParticipant() { + String callConnectionId = "callId"; + CallingServerClient callingServerClient = createCallingServerClient(); + CallConnection callConnection = callingServerClient.getCallConnection(callConnectionId); + CommunicationIdentifier thirdCallee = new CommunicationUserIdentifier(""); + callConnection.addParticipant(thirdCallee, "ACS User 3", ""); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionAsyncLiveTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionAsyncLiveTests.java new file mode 100644 index 0000000000000..92f167f6cf12e --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionAsyncLiveTests.java @@ -0,0 +1,347 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.communication.callingserver; + +import java.util.UUID; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CancelAllMediaOperationsResult; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.JoinCallOptions; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.Response; + +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class CallConnectionAsyncLiveTests extends CallingServerTestBase { + + private final String fromUser = getNewUserId(); + private final String toUser = getNewUserId(); + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreatePlayCancelHangupScenarioAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runCreatePlayCancelHangupScenarioAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnectionAsync callConnectionAsync = callingServerAsyncClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsync(callConnectionAsync); + + // Play Audio + String operationContext = UUID.randomUUID().toString(); + assert callConnectionAsync != null; + PlayAudioResult playAudioResult = callConnectionAsync.playAudio( + AUDIO_FILE_URI, + false, + UUID.randomUUID().toString(), + null, + operationContext).block(); + CallingServerTestUtils.validatePlayAudioResult(playAudioResult); + + // Cancel All Media Operations + String cancelMediaOperationContext = UUID.randomUUID().toString(); + CancelAllMediaOperationsResult cancelAllMediaOperationsResult = + callConnectionAsync.cancelAllMediaOperations(cancelMediaOperationContext).block(); + CallingServerTestUtils.validateCancelAllMediaOperations(cancelAllMediaOperationsResult); + + // Hang up + callConnectionAsync.hangup().block(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreatePlayCancelHangupScenarioWithResponseAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runCreatePlayCancelHangupScenarioWithResponseAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + Response callConnectionAsyncResponse = + callingServerAsyncClient.createCallConnectionWithResponse( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsyncResponse(callConnectionAsyncResponse); + assert callConnectionAsyncResponse != null; + CallConnectionAsync callConnectionAsync = callConnectionAsyncResponse.getValue(); + + // Play Audio + String operationContext = UUID.randomUUID().toString(); + Response playAudioResponse = + callConnectionAsync.playAudioWithResponse( + AUDIO_FILE_URI, + false, + UUID.randomUUID().toString(), + null, + operationContext).block(); + CallingServerTestUtils.validatePlayAudioResponse(playAudioResponse); + + // Cancel All Media Operations + String cancelMediaOperationContext = UUID.randomUUID().toString(); + Response cancelAllMediaOperationsResult = + callConnectionAsync.cancelAllMediaOperationsWithResponse(cancelMediaOperationContext).block(); + CallingServerTestUtils.validateCancelAllMediaOperationsResult(cancelAllMediaOperationsResult); + + // Hang up + Response hangupResponse = callConnectionAsync.hangupWithResponse().block(); + CallingServerTestUtils.validateResponse(hangupResponse); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateAddRemoveHangupScenarioAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runCreateAddRemoveHangupScenarioAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnectionAsync callConnectionAsync = callingServerAsyncClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsync(callConnectionAsync); + + // Invite User + String operationContext = UUID.randomUUID().toString(); + assert callConnectionAsync != null; + callConnectionAsync.addParticipant( + new CommunicationUserIdentifier(toUser), + null, + operationContext).block(); + + // Remove Participant + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "e3560385-776f-41d1-bf04-07ef738f2fc1"; + callConnectionAsync.removeParticipant(participantId).block(); + + // Hang up + callConnectionAsync.hangup().block(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateAddRemoveHangupScenarioWithResponseAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runCreateAddRemoveHangupScenarioWithResponseAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + Response callConnectionAsyncResponse = + callingServerAsyncClient.createCallConnectionWithResponse( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsyncResponse(callConnectionAsyncResponse); + assert callConnectionAsyncResponse != null; + CallConnectionAsync callConnectionAsync = callConnectionAsyncResponse.getValue(); + + // Invite User + String operationContext = UUID.randomUUID().toString(); + Response inviteParticipantResponse = + callConnectionAsync.addParticipantWithResponse( + new CommunicationUserIdentifier(toUser), + null, + operationContext).block(); + CallingServerTestUtils.validateResponse(inviteParticipantResponse); + + // Remove Participant + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "80238d5f-9eda-481a-b911-e2e12eba9eda"; + Response removeParticipantResponse = + callConnectionAsync.removeParticipantWithResponse(participantId).block(); + CallingServerTestUtils.validateResponse(removeParticipantResponse); + + // Hang up + Response hangupResponse = callConnectionAsync.hangupWithResponse().block(); + CallingServerTestUtils.validateResponse(hangupResponse); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateJoinHangupScenarioAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runCreateJoinHangupScenarioAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnectionAsync callConnectionAsync = callingServerAsyncClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsync(callConnectionAsync); + + // Join + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3VodHNzZEZ3NFVHX1J4d1lHYWlLRmc_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4"; + JoinCallOptions joinCallOptions = new JoinCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + CallConnectionAsync joinedCallConnectionAsync = + callingServerAsyncClient.join( + serverCallId, + new CommunicationUserIdentifier(toUser), + joinCallOptions).block(); + CallingServerTestUtils.validateCallConnectionAsync(joinedCallConnectionAsync); + + //Hangup + assert callConnectionAsync != null; + callConnectionAsync.hangup().block(); + assert joinedCallConnectionAsync != null; + joinedCallConnectionAsync.hangup().block(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateJoinHangupScenarioWithResponseAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runCreateJoinHangupScenarioWithResponseAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + Response callConnectionAsyncResponse = + callingServerAsyncClient.createCallConnectionWithResponse( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsyncResponse(callConnectionAsyncResponse); + assert callConnectionAsyncResponse != null; + CallConnectionAsync callConnectionAsync = callConnectionAsyncResponse.getValue(); + + // Join + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3lKQXY0TnVlOEV5bUpYVm1IYklIeUE_aT0wJmU9NjM3NTg0MzkwMjcxMzg0MTc3"; + JoinCallOptions joinCallOptions = new JoinCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + Response joinedCallConnectionAsyncResponse = + callingServerAsyncClient.joinWithResponse( + serverCallId, + new CommunicationUserIdentifier(toUser), + joinCallOptions).block(); + CallingServerTestUtils.validateJoinCallConnectionAsyncResponse(joinedCallConnectionAsyncResponse); + assert joinedCallConnectionAsyncResponse != null; + CallConnectionAsync joinedCallConnectionAsync = joinedCallConnectionAsyncResponse.getValue(); + + //Hangup + Response hangupResponse = callConnectionAsync.hangupWithResponse().block(); + CallingServerTestUtils.validateResponse(hangupResponse); + hangupResponse = joinedCallConnectionAsync.hangupWithResponse().block(); + CallingServerTestUtils.validateResponse(hangupResponse); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + private CallingServerAsyncClient setupAsyncClient(CallingServerClientBuilder builder, String testName) { + return addLoggingPolicy(builder, testName).buildAsyncClient(); + } + + protected CallingServerClientBuilder addLoggingPolicy(CallingServerClientBuilder builder, String testName) { + return builder.addPolicy((context, next) -> logHeaders(testName, next)); + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionLiveTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionLiveTests.java new file mode 100644 index 0000000000000..d71de76df9ad3 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallConnectionLiveTests.java @@ -0,0 +1,329 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CancelAllMediaOperationsResult; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.JoinCallOptions; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.Response; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.UUID; + +public class CallConnectionLiveTests extends CallingServerTestBase { + + private final String fromUser = getNewUserId(); + private final String toUser = getNewUserId(); + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreatePlayCancelHangupScenario(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runCreatePlayCancelHangupScenario"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnection callConnection = callingServerClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options); + + CallingServerTestUtils.validateCallConnection(callConnection); + + // Play Audio + String playAudioOperationContext = UUID.randomUUID().toString(); + PlayAudioResult playAudioResult = callConnection.playAudio( + AUDIO_FILE_URI, + false, + UUID.randomUUID().toString(), + null, + playAudioOperationContext); + CallingServerTestUtils.validatePlayAudioResult(playAudioResult); + + // Cancel All Media Operations + String cancelMediaOperationContext = UUID.randomUUID().toString(); + CancelAllMediaOperationsResult cancelAllMediaOperationsResult = + callConnection.cancelAllMediaOperations(cancelMediaOperationContext); + CallingServerTestUtils.validateCancelAllMediaOperations(cancelAllMediaOperationsResult); + + // Hang up + callConnection.hangup(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreatePlayCancelHangupScenarioWithResponse(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = + setupClient(builder, "runCreatePlayCancelHangupScenarioWithResponse"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + Response callConnectionResponse = + callingServerClient.createCallConnectionWithResponse( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options, + null); + + CallingServerTestUtils.validateCallConnectionResponse(callConnectionResponse); + CallConnection callConnection = callConnectionResponse.getValue(); + + // Play Audio + String operationContext = UUID.randomUUID().toString(); + Response playAudioResult = + callConnection.playAudioWithResponse( + AUDIO_FILE_URI, + false, + UUID.randomUUID().toString(), + null, + operationContext, + null); + CallingServerTestUtils.validatePlayAudioResponse(playAudioResult); + + // Cancel All Media Operations + String cancelMediaOperationContext = UUID.randomUUID().toString(); + Response cancelAllMediaOperationsResult = + callConnection.cancelAllMediaOperationsWithResponse(cancelMediaOperationContext, null); + CallingServerTestUtils.validateCancelAllMediaOperationsResult(cancelAllMediaOperationsResult); + + // Hang up + Response hangupResponse = callConnection.hangupWithResponse(null); + CallingServerTestUtils.validateResponse(hangupResponse); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateAddRemoveHangupScenario(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runCreateAddRemoveHangupScenario"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnection callConnection = callingServerClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options); + + CallingServerTestUtils.validateCallConnection(callConnection); + + // Add User + String operationContext = UUID.randomUUID().toString(); + callConnection.addParticipant(new CommunicationUserIdentifier(toUser), null, operationContext); + + // Remove Participant + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "f29f70e3-1eaf-44c0-839c-b4e8a74ffec3"; + callConnection.removeParticipant(participantId); + + // Hang up + callConnection.hangup(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateAddRemoveHangupScenarioWithResponse(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = + setupClient(builder, "runCreateAddRemoveHangupScenarioWithResponse"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + Response callConnectionResponse = + callingServerClient.createCallConnectionWithResponse( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options, + null); + + CallingServerTestUtils.validateCallConnectionResponse(callConnectionResponse); + CallConnection callConnection = callConnectionResponse.getValue(); + + // Add User + String operationContext = UUID.randomUUID().toString(); + Response inviteParticipantResponse = callConnection + .addParticipantWithResponse( + new CommunicationUserIdentifier(toUser), + null, + operationContext, + null); + CallingServerTestUtils.validateResponse(inviteParticipantResponse); + + // Remove Participant + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "71ed956b-366e-450c-9a61-3bbccf42baa5"; + Response removeParticipantResponse = + callConnection.removeParticipantWithResponse(participantId, null); + CallingServerTestUtils.validateResponse(removeParticipantResponse); + + // Hang up + Response hangupResponse = callConnection.hangupWithResponse(null); + CallingServerTestUtils.validateResponse(hangupResponse); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateJoinHangupScenario(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runCreateJoinHangupScenario"); + + try { + // Establish a call + CreateCallOptions createCallOptions = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + createCallOptions.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnection callConnection = callingServerClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + createCallOptions); + + CallingServerTestUtils.validateCallConnection(callConnection); + + // Join + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L2RUUjRPVGFxVzAyZ3cxVGpNSUNBdEE_aT0wJmU9NjM3NTg0MzkwMjcxMzg0MTc3"; + JoinCallOptions joinCallOptions = new JoinCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + CallConnection joinedCallConnection = + callingServerClient.join(serverCallId, new CommunicationUserIdentifier(toUser), joinCallOptions); + CallingServerTestUtils.validateCallConnection(joinedCallConnection); + + //Hangup + callConnection.hangup(); + joinedCallConnection.hangup(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runCreateJoinHangupScenarioWithResponse(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = + setupClient(builder, "runCreateJoinHangupScenarioWithResponse"); + + try { + // Establish a call + CreateCallOptions createCallOptions = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + createCallOptions.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + Response callConnectionResponse = callingServerClient.createCallConnectionWithResponse( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + createCallOptions, + null); + + CallingServerTestUtils.validateCallConnectionResponse(callConnectionResponse); + CallConnection callConnection = callConnectionResponse.getValue(); + + // Join + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3dXZW9hNjAweGtPZ0d6eHE2eG1tQVE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4"; + JoinCallOptions joinCallOptions = new JoinCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + Response joinedCallConnectionResponse = + callingServerClient.joinWithResponse( + serverCallId, + new CommunicationUserIdentifier(toUser), + joinCallOptions, + null); + CallingServerTestUtils.validateJoinCallConnectionResponse(joinedCallConnectionResponse); + CallConnection joinedCallConnection = joinedCallConnectionResponse.getValue(); + + //Hangup + Response hangupResponse = callConnection.hangupWithResponse(null); + CallingServerTestUtils.validateResponse(hangupResponse); + Response joinCallHangupResponse = joinedCallConnection.hangupWithResponse(null); + CallingServerTestUtils.validateResponse(joinCallHangupResponse); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + private CallingServerClient setupClient(CallingServerClientBuilder builder, String testName) { + return addLoggingPolicy(builder, testName).buildClient(); + } + + protected CallingServerClientBuilder addLoggingPolicy(CallingServerClientBuilder builder, String testName) { + return builder.addPolicy((context, next) -> logHeaders(testName, next)); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerClientBuilderUnitTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerClientBuilderUnitTests.java new file mode 100644 index 0000000000000..7608722349ab2 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerClientBuilderUnitTests.java @@ -0,0 +1,221 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.communication.callingserver; + +import com.azure.communication.common.implementation.HmacAuthenticationPolicy; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.credential.TokenCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.HttpResponse; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.util.ClientOptions; +import com.azure.identity.DefaultAzureCredentialBuilder; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertThrows; + +public class CallingServerClientBuilderUnitTests { + static final String MOCK_URL = "https://REDACTED.communication.azure.com"; + static final String MOCK_ACCESS_KEY = "eyKfcHciOiJIUzI1NiIsInR5cCI6IkqXVCJ9eyJzdWIiOiIxMjM0NTY5ODkwIiwibmFtZSI7IkpvaGfQSflKxwRJSMeKKF2QT4fwpMeJf36POk6yJVadUs4s5d"; + static final String MOCK_CONNECTION_STRING = "endpoint=https://REDACTED.communication.azure.com/;accesskey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGfQSflKxwRJSMeKKF2QT4fwpMeJf36POk6yJVadQssw5c"; + private static final String APPLICATION_ID = "833bad32-4432-4d41-8bb4"; + + static class NoOpHttpClient implements HttpClient { + @Override + public Mono send(HttpRequest request) { + return Mono.empty(); // NOP + } + } + + private final CallingServerClientBuilder builder = new CallingServerClientBuilder(); + + @Test + public void missingTokenCredentialTest() throws NullPointerException { + builder + .endpoint(MOCK_URL) + .httpClient(new NoOpHttpClient()); + assertThrows(Exception.class, builder::buildAsyncClient); + } + + @Test + public void missingUrlTest() + throws NullPointerException { + builder + .credential(new AzureKeyCredential(MOCK_ACCESS_KEY)) + .httpClient(new NoOpHttpClient()); + assertThrows(Exception.class, builder::buildAsyncClient); + } + + @Test + public void nullPipelineTest() { + assertThrows(NullPointerException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .pipeline(null)); + } + + @Test + public void nullCustomPolicyTest() { + assertThrows(NullPointerException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .addPolicy(null)); + } + + @Test + public void nullConfigurationTest() { + assertThrows(NullPointerException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .configuration(null)); + } + + @Test + public void nullHttpLogOptionsTest() { + assertThrows(NullPointerException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .httpLogOptions(null)); + } + + @Test + public void nullRetryPolicyTest() { + assertThrows( + NullPointerException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .retryPolicy(null)); + } + + @Test + public void buildPiplineForClient() { + CallingServerAsyncClient callingServerAsyncClient = builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .pipeline(new HttpPipelineBuilder().build()) + .buildAsyncClient(); + assertNotNull(callingServerAsyncClient); + } + + @Test + public void setHttpLogOptions() { + HttpLogOptions options = new HttpLogOptions().setApplicationId(APPLICATION_ID); + CallingServerAsyncClient callAsyncClient = builder + .connectionString(MOCK_CONNECTION_STRING) + .httpLogOptions(options) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient(); + assertNotNull(callAsyncClient); + } + + @Test + public void setClientOptions() { + ClientOptions options = new ClientOptions().setApplicationId(APPLICATION_ID); + CallingServerAsyncClient callAsyncClient = builder + .connectionString(MOCK_CONNECTION_STRING) + .clientOptions(options) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient(); + assertNotNull(callAsyncClient); + } + + @Test + public void noClientOptionsNoPipeline() { + CallingServerAsyncClient callAsyncClient = builder + .connectionString(MOCK_CONNECTION_STRING) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient(); + assertNotNull(callAsyncClient); + } + + @Test + public void addPolicy() { + AzureKeyCredential credential = new AzureKeyCredential("key"); + CallingServerAsyncClient callAsyncClient = + builder + .connectionString(MOCK_CONNECTION_STRING) + .addPolicy(new HmacAuthenticationPolicy(credential)) + .httpClient(new NoOpHttpClient()) + .pipeline(new HttpPipelineBuilder().build()) + .buildAsyncClient(); + assertNotNull(callAsyncClient); + } + + @Test + public void argumentExceptionOnConnectionStringAndEndpoint() { + assertThrows(IllegalArgumentException.class, + () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .endpoint(MOCK_URL) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient()); + } + + @Test + public void argumentExceptionOnConnectionStringAndAzureKeyCredential() { + AzureKeyCredential credential = new AzureKeyCredential("key"); + assertThrows( + IllegalArgumentException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .credential(credential) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient()); + } + + @Test + public void argumentExceptionOnConnectionStringAndTokenCredential() { + TokenCredential tokenCredential = new DefaultAzureCredentialBuilder().build(); + assertThrows( + IllegalArgumentException.class, () -> builder + .connectionString(MOCK_CONNECTION_STRING) + .credential(tokenCredential) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient()); + } + + @Test + public void argumentExceptionOnAzureKeyCredentialAndTokenCredential() { + AzureKeyCredential credential = new AzureKeyCredential("key"); + TokenCredential tokenCredential = new DefaultAzureCredentialBuilder().build(); + assertThrows( + IllegalArgumentException.class, () -> builder + .credential(credential) + .credential(tokenCredential) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient()); + } + + @Test + public void noPipelineWithToken() { + TokenCredential tokenCredential = new DefaultAzureCredentialBuilder().build(); + CallingServerAsyncClient callAsyncClient = builder + .endpoint(MOCK_URL) + .credential(tokenCredential) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient(); + + assertNotNull(callAsyncClient); + } + + @Test + public void noCredential() { + assertThrows( + IllegalArgumentException.class, () -> builder + .endpoint(MOCK_URL) + .httpClient(new NoOpHttpClient()) + .buildAsyncClient()); + } + + @Test + public void noEndpoint() { + assertThrows( + NullPointerException.class, () -> builder + .httpClient(new NoOpHttpClient()) + .buildAsyncClient()); + } +} + diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestBase.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestBase.java new file mode 100644 index 0000000000000..72213f806f303 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestBase.java @@ -0,0 +1,275 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.JoinCallOptions; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.communication.identity.CommunicationIdentityClient; +import com.azure.communication.identity.CommunicationIdentityClientBuilder; +import com.azure.core.credential.AccessToken; +import com.azure.core.credential.TokenCredential; +import com.azure.core.credential.TokenRequestContext; +import com.azure.core.http.HttpClient; +import com.azure.core.test.TestBase; +import com.azure.core.test.TestMode; +import com.azure.core.util.Configuration; +import com.azure.core.util.CoreUtils; +import com.azure.core.util.logging.ClientLogger; + +import java.time.OffsetDateTime; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Locale; +import java.util.StringJoiner; +import java.util.UUID; +import java.util.function.Function; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import reactor.core.publisher.Mono; +import com.azure.core.http.HttpPipelineNextPolicy; +import com.azure.core.http.HttpResponse; + +public class CallingServerTestBase extends TestBase { + protected static final TestMode TEST_MODE = initializeTestMode(); + + protected static final String CONNECTION_STRING = Configuration.getGlobalConfiguration() + .get("COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING", + "endpoint=https://REDACTED.communication.azure.com/;accesskey=QWNjZXNzS2V5"); + + protected static final String RESOURCE_IDENTIFIER = Configuration.getGlobalConfiguration() + .get("COMMUNICATION_LIVETEST_STATIC_RESOURCE_IDENTIFIER", + "016a7064-0581-40b9-be73-6dde64d69d72"); + + protected static final String GROUP_IDENTIFIER = Configuration.getGlobalConfiguration() + .get("COMMUNICATION_LIVETEST_STATIC_GROUP_IDENTIFIER", + "c400789f-e11b-4ceb-88cb-bc8df2a01568"); + + protected static final String FROM_PHONE_NUMBER = Configuration.getGlobalConfiguration() + .get("AZURE_PHONE_NUMBER", "+15551234567"); + + protected static final String TO_PHONE_NUMBER = Configuration.getGlobalConfiguration() + .get("AZURE_PHONE_NUMBER", "+15551234567"); + + protected static final String CALLBACK_URI = Configuration.getGlobalConfiguration() + .get("CALLBACK_URI", "https://host.app/api/callback/calling"); + + protected static final String AUDIO_FILE_URI = Configuration.getGlobalConfiguration() + .get("AUDIO_FILE_URI", "https://host.app/audio/bot-callcenter-intro.wav"); + + protected static final String METADATA_URL = Configuration.getGlobalConfiguration() + .get("METADATA_URL", "https://storage.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata"); + + protected static final String VIDEO_URL = Configuration.getGlobalConfiguration() + .get("VIDEO_URL", "https://storage.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/video"); + + protected static final String CONTENT_URL_404 = Configuration.getGlobalConfiguration() + .get("CONTENT_URL_404", "https://storage.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141d/content/acsmetadata"); + + private static final StringJoiner JSON_PROPERTIES_TO_REDACT + = new StringJoiner("\":\"|\"", "\"", "\":\"") + .add("to"); + + private static final Pattern JSON_PROPERTY_VALUE_REDACTION_PATTERN + = Pattern.compile(String.format("(?:%s)(.*?)(?:\",|\"})", JSON_PROPERTIES_TO_REDACT), + Pattern.CASE_INSENSITIVE); + + protected CallingServerClientBuilder getCallClientUsingConnectionString(HttpClient httpClient) { + CallingServerClientBuilder builder = new CallingServerClientBuilder() + .connectionString(CONNECTION_STRING) + .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + + if (getTestMode() == TestMode.RECORD) { + List> redactors = new ArrayList<>(); + redactors.add(data -> redact(data, JSON_PROPERTY_VALUE_REDACTION_PATTERN.matcher(data), "REDACTED")); + builder.addPolicy(interceptorManager.getRecordPolicy(redactors)); + } + return builder; + } + + protected String getNewUserId() { + if (getTestMode() == TestMode.LIVE) { + CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClientBuilder() + .connectionString(CONNECTION_STRING) + .buildClient(); + CommunicationUserIdentifier user = communicationIdentityClient.createUser(); + return user.getId(); + } + return getRandomUserId(); + } + + private String getRandomUserId() { + return "8:acs:" + RESOURCE_IDENTIFIER + "_" + UUID.randomUUID(); + } + + protected String getGroupId() { + /* + If tests are running in live mode, we want them to all + have unique groupId's so they do not conflict with other + recording tests running in live mode. + */ + if (getTestMode() == TestMode.LIVE) { + return UUID.randomUUID().toString(); + } + + /* + For recording tests we need to make sure the groupId + matches the recorded groupId, or the call will fail. + */ + return GROUP_IDENTIFIER; + } + + protected CallingServerClientBuilder getConversationClientUsingConnectionString(HttpClient httpClient) { + CallingServerClientBuilder builder = new CallingServerClientBuilder() + .connectionString(CONNECTION_STRING) + .httpClient(httpClient == null ? interceptorManager.getPlaybackClient() : httpClient); + + if (getTestMode() == TestMode.RECORD) { + List> redactors = new ArrayList<>(); + redactors.add(data -> redact(data, JSON_PROPERTY_VALUE_REDACTION_PATTERN.matcher(data), "REDACTED")); + builder.addPolicy(interceptorManager.getRecordPolicy(redactors)); + } + return builder; + } + + private static TestMode initializeTestMode() { + ClientLogger logger = new ClientLogger(CallingServerTestBase.class); + String azureTestMode = Configuration.getGlobalConfiguration().get("AZURE_TEST_MODE"); + if (azureTestMode != null) { + System.out.println("azureTestMode: " + azureTestMode); + try { + return TestMode.valueOf(azureTestMode.toUpperCase(Locale.US)); + } catch (IllegalArgumentException var3) { + logger.error("Could not parse '{}' into TestEnum. Using 'Playback' mode.", azureTestMode); + return TestMode.PLAYBACK; + } + } else { + logger.info("Environment variable '{}' has not been set yet. Using 'Playback' mode.", "AZURE_TEST_MODE"); + return TestMode.PLAYBACK; + } + } + + protected Mono logHeaders(String testName, HttpPipelineNextPolicy next) { + return next.process() + .flatMap(httpResponse -> { + final HttpResponse bufferedResponse = httpResponse.buffer(); + + /* Should sanitize printed response url */ + System.out.println("Chain-ID header for " + testName + " request " + + bufferedResponse.getRequest().getUrl() + + ": " + bufferedResponse.getHeaderValue("X-Microsoft-Skype-Chain-ID")); + return Mono.just(bufferedResponse); + }); + } + + protected List createCall(CallingServerClient callingServerClient, + String groupId, + String from, + String to, + String callBackUri) { + CallConnection fromCallConnection = null; + CallConnection toCallConnection = null; + + try { + CommunicationIdentifier fromParticipant = new CommunicationUserIdentifier(from); + CommunicationIdentifier toParticipant = new CommunicationUserIdentifier(to); + + JoinCallOptions fromCallOptions = new JoinCallOptions( + callBackUri, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + fromCallConnection = callingServerClient.join(groupId, fromParticipant, fromCallOptions); + sleepIfRunningAgainstService(1000); + CallingServerTestUtils.validateCallConnection(fromCallConnection); + + JoinCallOptions joinCallOptions = new JoinCallOptions( + callBackUri, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + toCallConnection = callingServerClient.join(groupId, toParticipant, joinCallOptions); + sleepIfRunningAgainstService(1000); + CallingServerTestUtils.validateCallConnection(toCallConnection); + + return Arrays.asList(fromCallConnection, toCallConnection); + } catch (Exception e) { + System.out.println("Error creating call: " + e.getMessage()); + + if (fromCallConnection != null) { + fromCallConnection.hangup(); + } + + if (toCallConnection != null) { + toCallConnection.hangup(); + } + + throw e; + } + } + + protected List createAsyncCall(CallingServerAsyncClient callingServerClient, + String groupId, + String from, + String to, + String callBackUri) { + CallConnectionAsync fromCallConnection = null; + CallConnectionAsync toCallConnection = null; + + try { + CommunicationIdentifier fromParticipant = new CommunicationUserIdentifier(from); + CommunicationIdentifier toParticipant = new CommunicationUserIdentifier(to); + + JoinCallOptions fromCallOptions = new JoinCallOptions( + callBackUri, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + fromCallConnection = callingServerClient.join(groupId, fromParticipant, fromCallOptions).block(); + sleepIfRunningAgainstService(1000); + CallingServerTestUtils.validateCallConnectionAsync(fromCallConnection); + + JoinCallOptions joinCallOptions = new JoinCallOptions( + callBackUri, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + toCallConnection = callingServerClient.join(groupId, toParticipant, joinCallOptions).block(); + sleepIfRunningAgainstService(1000); + CallingServerTestUtils.validateCallConnectionAsync(toCallConnection); + + return Arrays.asList(fromCallConnection, toCallConnection); + } catch (Exception e) { + System.out.println("Error creating call: " + e.getMessage()); + + if (fromCallConnection != null) { + fromCallConnection.hangup(); + } + + if (toCallConnection != null) { + toCallConnection.hangup(); + } + + throw e; + } + } + + static class FakeCredentials implements TokenCredential { + @Override + public Mono getToken(TokenRequestContext tokenRequestContext) { + return Mono.just(new AccessToken("someFakeToken", OffsetDateTime.MAX)); + } + } + + private String redact(String content, Matcher matcher, String replacement) { + while (matcher.find()) { + String captureGroup = matcher.group(1); + if (!CoreUtils.isNullOrEmpty(captureGroup)) { + content = content.replace(matcher.group(1), replacement); + } + } + return content; + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestUtils.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestUtils.java new file mode 100644 index 0000000000000..218df3dd210b1 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/CallingServerTestUtils.java @@ -0,0 +1,92 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertSame; + +import com.azure.communication.callingserver.models.CancelAllMediaOperationsResult; +import com.azure.communication.callingserver.models.OperationStatus; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.core.http.rest.Response; +import org.junit.jupiter.api.Assertions; + +public class CallingServerTestUtils { + protected static void validateCallConnectionResponse(Response callConnectionResponse) { + assertNotNull(callConnectionResponse); + assertEquals(201, callConnectionResponse.getStatusCode()); + assertNotNull(callConnectionResponse.getValue()); + validateCallConnection(callConnectionResponse.getValue()); + } + + protected static void validateJoinCallConnectionResponse(Response callConnectionResponse) { + assertNotNull(callConnectionResponse); + assertEquals(202, callConnectionResponse.getStatusCode()); + assertNotNull(callConnectionResponse.getValue()); + validateCallConnection(callConnectionResponse.getValue()); + } + + protected static void validateCallConnection(CallConnection callConnection) { + assertNotNull(callConnection); + assertNotNull(callConnection.getCallConnectionId()); + assertFalse(callConnection.getCallConnectionId().isEmpty()); + } + + protected static void validateCallConnectionAsyncResponse(Response response) { + assertNotNull(response); + assertEquals(201, response.getStatusCode()); + assertNotNull(response.getValue()); + validateCallConnectionAsync(response.getValue()); + } + + protected static void validateJoinCallConnectionAsyncResponse(Response response) { + assertNotNull(response); + assertEquals(202, response.getStatusCode()); + assertNotNull(response.getValue()); + validateCallConnectionAsync(response.getValue()); + } + + protected static void validateCallConnectionAsync(CallConnectionAsync callConnectionAsync) { + assertNotNull(callConnectionAsync); + assertNotNull(callConnectionAsync.getCallConnectionId()); + assertFalse(callConnectionAsync.getCallConnectionId().isEmpty()); + } + + protected static void validatePlayAudioResponse(Response playAudioResponse) { + assertNotNull(playAudioResponse); + Assertions.assertEquals(202, playAudioResponse.getStatusCode()); + assertNotNull(playAudioResponse.getValue()); + validatePlayAudioResult(playAudioResponse.getValue()); + } + + protected static void validatePlayAudioResult(PlayAudioResult playAudioResponse) { + assertNotNull(playAudioResponse); + assertNotNull(playAudioResponse.getId()); + assertFalse(playAudioResponse.getId().isEmpty()); + assertNotNull(playAudioResponse.getStatus()); + assertSame(playAudioResponse.getStatus(), OperationStatus.RUNNING); + } + + protected static void validateCancelAllMediaOperationsResult(Response result) { + assertNotNull(result); + Assertions.assertEquals(200, result.getStatusCode()); + assertNotNull(result.getValue()); + validateCancelAllMediaOperations(result.getValue()); + } + + protected static void validateCancelAllMediaOperations(CancelAllMediaOperationsResult result) { + assertNotNull(result); + assertNotNull(result.getId()); + assertFalse(result.getId().isEmpty()); + assertNotNull(result.getStatus()); + assertSame(result.getStatus(), OperationStatus.COMPLETED); + } + + protected static void validateResponse(Response response) { + assertNotNull(response); + Assertions.assertEquals(202, response.getStatusCode()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentAsyncLiveTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentAsyncLiveTests.java new file mode 100644 index 0000000000000..a89f93d7384e0 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentAsyncLiveTests.java @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallingServerErrorException; +import com.azure.communication.callingserver.models.ParallelDownloadOptions; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.Response; +import com.azure.core.util.FluxUtil; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; +import org.mockito.Mockito; +import reactor.core.publisher.Flux; + +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousFileChannel; +import java.nio.channels.CompletionHandler; +import java.nio.charset.StandardCharsets; +import java.nio.file.Paths; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.notNullValue; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.CoreMatchers.is; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyLong; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.times; + +public class DownloadContentAsyncLiveTests extends CallingServerTestBase { + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadMetadataAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient conversationAsyncClient = setupAsyncClient(builder, "downloadMetadataAsync"); + + try { + Flux content = conversationAsyncClient.downloadStream(METADATA_URL); + byte[] contentBytes = FluxUtil.collectBytesInByteBufferStream(content).block(); + assertThat(contentBytes, is(notNullValue())); + String metadata = new String(contentBytes, StandardCharsets.UTF_8); + assertThat(metadata.contains("0-eus-d2-3cca2175891f21c6c9a5975a12c0141c"), is(true)); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadMetadataRetryingAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient conversationAsyncClient = setupAsyncClient(builder, "downloadMetadataAsync"); + + try { + Flux content = conversationAsyncClient.downloadStream(METADATA_URL); + byte[] contentBytes = FluxUtil.collectBytesInByteBufferStream(content).block(); + assertThat(contentBytes, is(notNullValue())); + String metadata = new String(contentBytes, StandardCharsets.UTF_8); + assertThat(metadata.contains("0-eus-d2-3cca2175891f21c6c9a5975a12c0141c"), is(true)); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadVideoAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient conversationAsyncClient = setupAsyncClient(builder, "downloadVideoAsync"); + + try { + Response> response = conversationAsyncClient.downloadStreamWithResponse(VIDEO_URL, null).block(); + assertThat(response, is(notNullValue())); + byte[] contentBytes = FluxUtil.collectBytesInByteBufferStream(response.getValue()).block(); + assertThat(contentBytes, is(notNullValue())); + assertThat(Integer.parseInt(response.getHeaders().getValue("Content-Length")), is(equalTo(contentBytes.length))); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadToFileAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient conversationAsyncClient = setupAsyncClient(builder, "downloadToFileAsync"); + AsynchronousFileChannel channel = Mockito.mock(AsynchronousFileChannel.class); + + doAnswer(invocation -> { + CompletionHandler completionHandler = invocation.getArgument(3); + completionHandler.completed(439, null); + return null; + }).doAnswer(invocation -> { + CompletionHandler completionHandler = invocation.getArgument(3); + completionHandler.completed(438, null); + return null; + }).when(channel).write(any(ByteBuffer.class), + anyLong(), + any(), + any()); + + conversationAsyncClient + .downloadToWithResponse(METADATA_URL, + Paths.get("dummyPath"), + channel, + new ParallelDownloadOptions().setBlockSizeLong(479L), + null).block(); + + Mockito.verify(channel, times(2)).write(any(ByteBuffer.class), anyLong(), + any(), any()); + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadToFileRetryingAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient conversationAsyncClient = setupAsyncClient(builder, "downloadToFileAsync"); + AsynchronousFileChannel channel = Mockito.mock(AsynchronousFileChannel.class); + + doAnswer(invocation -> { + ByteBuffer stream = invocation.getArgument(0); + String metadata = new String(stream.array(), StandardCharsets.UTF_8); + assertTrue(metadata.contains("0-eus-d2-3cca2175891f21c6c9a5975a12c0141c")); + CompletionHandler completionHandler = invocation.getArgument(3); + completionHandler.completed(957, null); + return null; + }).when(channel).write(any(ByteBuffer.class), + anyLong(), + any(), + any()); + + + conversationAsyncClient + .downloadToWithResponse(METADATA_URL, + Paths.get("dummyPath"), + channel, + null, + null).block(); + + Mockito.verify(channel).write(any(ByteBuffer.class), anyLong(), + any(), any()); + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadContent404Async(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient conversationAsyncClient = setupAsyncClient(builder, "downloadContent404Async"); + Response> response = conversationAsyncClient + .downloadStreamWithResponse(CONTENT_URL_404, null).block(); + assertThat(response, is(notNullValue())); + assertThat(response.getStatusCode(), is(equalTo(404))); + assertThrows(CallingServerErrorException.class, + () -> FluxUtil.collectBytesInByteBufferStream(response.getValue()).block()); + } + + + private CallingServerAsyncClient setupAsyncClient(CallingServerClientBuilder builder, String testName) { + return addLoggingPolicy(builder, testName).buildAsyncClient(); + } + + protected CallingServerClientBuilder addLoggingPolicy(CallingServerClientBuilder builder, String testName) { + return builder.addPolicy((context, next) -> logHeaders(testName, next)); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentLiveTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentLiveTests.java new file mode 100644 index 0000000000000..47222c4f0e011 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/DownloadContentLiveTests.java @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallingServerErrorException; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.Response; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; +import org.mockito.Mockito; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.UncheckedIOException; +import java.io.UnsupportedEncodingException; +import java.nio.charset.StandardCharsets; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.CoreMatchers.notNullValue; +import static org.hamcrest.MatcherAssert.assertThat; + +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.mockito.Mockito.doThrow; + +public class DownloadContentLiveTests extends CallingServerTestBase { + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadMetadata(HttpClient httpClient) throws UnsupportedEncodingException { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient conversationClient = setupClient(builder, "downloadMetadata"); + + try { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + conversationClient.downloadTo(METADATA_URL, byteArrayOutputStream, null); + String metadata = byteArrayOutputStream.toString(StandardCharsets.UTF_8.name()); + assertThat(metadata.contains("0-eus-d2-3cca2175891f21c6c9a5975a12c0141c"), is(true)); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadVideo(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient conversationClient = setupClient(builder, "downloadVideo"); + + try { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + Response response = conversationClient + .downloadToWithResponse(VIDEO_URL, byteArrayOutputStream, null, null); + assertThat(response, is(notNullValue())); + assertThat( + response.getHeaders().getValue("Content-Type"), + is(equalTo("application/octet-stream"))); + assertThat( + Integer.parseInt(response.getHeaders().getValue("Content-Length")), + is(equalTo(byteArrayOutputStream.size()))); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadContent404(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient conversationClient = setupClient(builder, "downloadContent404"); + + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + CallingServerErrorException ex = assertThrows(CallingServerErrorException.class, + () -> conversationClient + .downloadTo(CONTENT_URL_404, byteArrayOutputStream, null)); + assertThat(ex.getResponse().getStatusCode(), is(equalTo(404))); + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadContentWrongUrl(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient conversationClient = setupClient(builder, "downloadContent404"); + + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + IllegalArgumentException ex = + assertThrows( + IllegalArgumentException.class, + () -> conversationClient + .downloadTo("wrongurl", byteArrayOutputStream, null)); + assertThat(ex, is(notNullValue())); + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void downloadContentStreamFailure(HttpClient httpClient) throws IOException { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient conversationClient = setupClient(builder, "downloadContent404"); + + ByteArrayOutputStream byteArrayOutputStream = Mockito.mock(ByteArrayOutputStream.class); + doThrow(IOException.class).when(byteArrayOutputStream).write(Mockito.any()); + assertThrows( + UncheckedIOException.class, + () -> conversationClient + .downloadTo(METADATA_URL, byteArrayOutputStream, null)); + } + + private CallingServerClient setupClient(CallingServerClientBuilder builder, String testName) { + return addLoggingPolicy(builder, testName).buildClient(); + } + + protected CallingServerClientBuilder addLoggingPolicy(CallingServerClientBuilder builder, String testName) { + return builder.addPolicy((context, next) -> logHeaders(testName, next)); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallAsyncLiveTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallAsyncLiveTests.java new file mode 100644 index 0000000000000..8cbedef58a9d2 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallAsyncLiveTests.java @@ -0,0 +1,386 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CallRecordingState; +import com.azure.communication.callingserver.models.CallRecordingStateResult; +import com.azure.communication.callingserver.models.CallingServerErrorException; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.callingserver.models.StartCallRecordingResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.Response; + +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class ServerCallAsyncLiveTests extends CallingServerTestBase { + + private final String groupId = getGroupId(); + private final String fromUser = getNewUserId(); + private final String toUser = getNewUserId(); + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAllClientFunctionsAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runAllClientFunctionsAsync"); + String recordingId = ""; + List callConnections = new ArrayList<>(); + ServerCallAsync serverCall = null; + + try { + callConnections = createAsyncCall(callingServerAsyncClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCall = callingServerAsyncClient.initializeServerCall(groupId); + + StartCallRecordingResult startCallRecordingResult = serverCall.startRecording(CALLBACK_URI).block(); + assert startCallRecordingResult != null; + recordingId = startCallRecordingResult.getRecordingId(); + validateCallRecordingState(serverCall, recordingId, CallRecordingState.ACTIVE); + + serverCall.pauseRecording(recordingId).block(); + validateCallRecordingState(serverCall, recordingId, CallRecordingState.INACTIVE); + + serverCall.resumeRecording(recordingId).block(); + validateCallRecordingState(serverCall, recordingId, CallRecordingState.ACTIVE); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + if (serverCall != null) { + try { + serverCall.stopRecording(recordingId).block(); + } catch (Exception e) { + System.out.println("Error stopping recording: " + e.getMessage()); + } + } + + cleanUpConnectionsAsync(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAllClientFunctionsWithResponseAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runAllClientFunctionsWithResponseAsync"); + String recordingId = ""; + List callConnections = new ArrayList<>(); + ServerCallAsync serverCallAsync = null; + + try { + callConnections = createAsyncCall(callingServerAsyncClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCallAsync = callingServerAsyncClient.initializeServerCall(groupId); + + Response startRecordingResponse = + serverCallAsync.startRecordingWithResponse(CALLBACK_URI).block(); + assert startRecordingResponse != null; + assertEquals(startRecordingResponse.getStatusCode(), 200); + StartCallRecordingResult startCallRecordingResult = startRecordingResponse.getValue(); + recordingId = startCallRecordingResult.getRecordingId(); + validateCallRecordingStateWithResponse(serverCallAsync, recordingId, CallRecordingState.ACTIVE); + + Response pauseResponse = serverCallAsync.pauseRecordingWithResponse(recordingId).block(); + assert pauseResponse != null; + assertEquals(pauseResponse.getStatusCode(), 200); + validateCallRecordingStateWithResponse(serverCallAsync, recordingId, CallRecordingState.INACTIVE); + + Response resumeResponse = serverCallAsync.resumeRecordingWithResponse(recordingId).block(); + assert resumeResponse != null; + assertEquals(resumeResponse.getStatusCode(), 200); + validateCallRecordingStateWithResponse(serverCallAsync, recordingId, CallRecordingState.ACTIVE); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + if (serverCallAsync != null) { + try { + Response stopResponse = serverCallAsync.stopRecordingWithResponse(recordingId).block(); + assert stopResponse != null; + assertEquals(stopResponse.getStatusCode(), 200); + } catch (Exception e) { + System.out.println("Error stopping recording: " + e.getMessage()); + } + } + + cleanUpConnectionsAsync(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runPlayAudioFunctionAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runPlayAudioFunctionAsync"); + ServerCallAsync serverCallAsync; + + List callConnections = new ArrayList<>(); + String operationContext = UUID.randomUUID().toString(); + + try { + callConnections = createAsyncCall(callingServerAsyncClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCallAsync = callingServerAsyncClient.initializeServerCall(groupId); + + PlayAudioResult playAudioResult = + serverCallAsync.playAudio(AUDIO_FILE_URI, operationContext, CALLBACK_URI, operationContext).block(); + CallingServerTestUtils.validatePlayAudioResult(playAudioResult); + + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + cleanUpConnectionsAsync(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runPlayAudioFunctionWithResponseAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runPlayAudioFunctionWithResponseAsync"); + ServerCallAsync serverCallAsync; + + List callConnections = new ArrayList<>(); + String operationContext = UUID.randomUUID().toString(); + + try { + callConnections = createAsyncCall(callingServerAsyncClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCallAsync = callingServerAsyncClient.initializeServerCall(groupId); + + Response playAudioResult = + serverCallAsync.playAudioWithResponse( + AUDIO_FILE_URI, + operationContext, + CALLBACK_URI, + operationContext).block(); + CallingServerTestUtils.validatePlayAudioResponse(playAudioResult); + + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + cleanUpConnectionsAsync(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void startRecordingFailsAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = setupAsyncClient(builder, "startRecordingFailsAsync"); + String invalidServerCallId = "aHR0cHM6Ly9jb252LXVzd2UtMDkuY29udi5za3lwZS5jb20vY29udi9EZVF2WEJGVVlFV1NNZkFXYno2azN3P2k9MTEmZT02Mzc1NzIyMjk0Mjc0NTI4Nzk="; + ServerCallAsync serverCallAsync = callingServerAsyncClient.initializeServerCall(invalidServerCallId); + + try { + Response response = + serverCallAsync.startRecordingWithResponse(CALLBACK_URI).block(); + assert response != null; + assertEquals(response.getStatusCode(), 400); + } catch (CallingServerErrorException e) { + assertEquals(e.getResponse().getStatusCode(), 400); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAddRemoveScenarioAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = + setupAsyncClient(builder, "runAddRemoveScenarioAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnectionAsync callConnectionAsync = callingServerAsyncClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsync(callConnectionAsync); + + // Get Server Call + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3NXdWxkazBmMEVpdnAxWjhiU2NuUHc_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4"; + ServerCallAsync serverCallAsync = callingServerAsyncClient.initializeServerCall(serverCallId); + + // Add User + String operationContext = UUID.randomUUID().toString(); + serverCallAsync + .addParticipant( + new CommunicationUserIdentifier(toUser), + null, + operationContext, + CALLBACK_URI) + .block(); + + // Remove User + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "206ac04a-1aae-4d82-9015-9c30cb174888"; + serverCallAsync.removeParticipant(participantId).block(); + + // Hang up + assert callConnectionAsync != null; + callConnectionAsync.hangup().block(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAddRemoveScenarioWithResponseAsync(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerAsyncClient callingServerAsyncClient = setupAsyncClient(builder, "runAddRemoveScenarioWithResponseAsync"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnectionAsync callConnectionAsync = callingServerAsyncClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options).block(); + + CallingServerTestUtils.validateCallConnectionAsync(callConnectionAsync); + + // Get Server Call + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L0NUT014YmNIRmttZ1BqbE5kYjExNlE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4"; + ServerCallAsync serverCallAsync = callingServerAsyncClient.initializeServerCall(serverCallId); + + // Add User + String operationContext = UUID.randomUUID().toString(); + Response addResponse = + serverCallAsync + .addParticipantWithResponse( + new CommunicationUserIdentifier(toUser), + null, + operationContext, + CALLBACK_URI) + .block(); + CallingServerTestUtils.validateResponse(addResponse); + + // Remove User + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "b133b1f3-4a11-49e4-abe0-ac9fdd660634"; + Response removeResponse = serverCallAsync.removeParticipantWithResponse(participantId).block(); + CallingServerTestUtils.validateResponse(removeResponse); + + // Hang up + assert callConnectionAsync != null; + callConnectionAsync.hangup().block(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + private CallingServerAsyncClient setupAsyncClient(CallingServerClientBuilder builder, String testName) { + return addLoggingPolicy(builder, testName).buildAsyncClient(); + } + + protected CallingServerClientBuilder addLoggingPolicy(CallingServerClientBuilder builder, String testName) { + return builder.addPolicy((context, next) -> logHeaders(testName, next)); + } + + private void validateCallRecordingState(ServerCallAsync serverCallAsync, + String recordingId, + CallRecordingState expectedCallRecordingState) { + assertNotNull(serverCallAsync); + assertNotNull(serverCallAsync.getServerCallId()); + assertNotNull(recordingId); + + + // There is a delay between the action and when the state is available. + // Waiting to make sure we get the updated state, when we are running + // against a live service. + sleepIfRunningAgainstService(6000); + + CallRecordingStateResult callRecordingStateResult = serverCallAsync.getRecordingState(recordingId).block(); + assert callRecordingStateResult != null; + assertEquals(callRecordingStateResult.getRecordingState(), expectedCallRecordingState); + } + + protected void validateCallRecordingStateWithResponse( + ServerCallAsync serverCallAsync, + String recordingId, + CallRecordingState expectedCallRecordingState) { + assertNotNull(serverCallAsync); + assertNotNull(serverCallAsync.getServerCallId()); + assertNotNull(recordingId); + + + // There is a delay between the action and when the state is available. + // Waiting to make sure we get the updated state, when we are running + // against a live service. + sleepIfRunningAgainstService(6000); + + Response response = + serverCallAsync.getRecordingStateWithResponse(recordingId).block(); + assertNotNull(response); + assertEquals(response.getStatusCode(), 200); + assertNotNull(response.getValue()); + assertEquals(response.getValue().getRecordingState(), expectedCallRecordingState); + } + + protected void cleanUpConnectionsAsync(List connections) { + if (connections == null) { + return; + } + + connections.forEach(c -> { + if (c != null) { + try { + c.hangup().block(); + } catch (Exception e) { + System.out.println("Error hanging up: " + e.getMessage()); + } + } + }); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallLiveTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallLiveTests.java new file mode 100644 index 0000000000000..bcd07a3d1008c --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallLiveTests.java @@ -0,0 +1,370 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import com.azure.communication.callingserver.models.CallModality; +import com.azure.communication.callingserver.models.CallRecordingState; +import com.azure.communication.callingserver.models.CallRecordingStateResult; +import com.azure.communication.callingserver.models.CallingServerErrorException; +import com.azure.communication.callingserver.models.CreateCallOptions; +import com.azure.communication.callingserver.models.EventSubscriptionType; +import com.azure.communication.callingserver.models.PlayAudioResult; +import com.azure.communication.callingserver.models.StartCallRecordingResult; +import com.azure.communication.common.CommunicationIdentifier; +import com.azure.communication.common.CommunicationUserIdentifier; +import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.Response; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import static com.azure.communication.callingserver.CallingServerTestUtils.validateCallConnection; +import static com.azure.communication.callingserver.CallingServerTestUtils.validatePlayAudioResponse; +import static com.azure.communication.callingserver.CallingServerTestUtils.validatePlayAudioResult; +import static com.azure.communication.callingserver.CallingServerTestUtils.validateResponse; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; + +public class ServerCallLiveTests extends CallingServerTestBase { + + private final String groupId = getGroupId(); + private final String fromUser = getNewUserId(); + private final String toUser = getNewUserId(); + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAllClientFunctions(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runAllClientFunctions"); + String recordingId = ""; + List callConnections = new ArrayList<>(); + ServerCall serverCall = null; + + try { + callConnections = createCall(callingServerClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCall = callingServerClient.initializeServerCall(groupId); + + StartCallRecordingResult startCallRecordingResult = serverCall.startRecording(CALLBACK_URI); + recordingId = startCallRecordingResult.getRecordingId(); + validateCallRecordingState(serverCall, recordingId, CallRecordingState.ACTIVE); + + serverCall.pauseRecording(recordingId); + validateCallRecordingState(serverCall, recordingId, CallRecordingState.INACTIVE); + + serverCall.resumeRecording(recordingId); + validateCallRecordingState(serverCall, recordingId, CallRecordingState.ACTIVE); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + if (serverCall != null) { + try { + serverCall.stopRecording(recordingId); + } catch (Exception e) { + System.out.println("Error stopping recording: " + e.getMessage()); + } + } + + cleanUpConnections(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAllClientFunctionsWithResponse(HttpClient httpClient) { + CallingServerClientBuilder builder = getCallClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runAllClientFunctionsWithResponse"); + String recordingId = ""; + List callConnections = new ArrayList<>(); + ServerCall serverCall = null; + + try { + callConnections = createCall(callingServerClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCall = callingServerClient.initializeServerCall(groupId); + + Response startRecordingResponse = + serverCall.startRecordingWithResponse(CALLBACK_URI, null); + assertEquals(startRecordingResponse.getStatusCode(), 200); + StartCallRecordingResult startCallRecordingResult = startRecordingResponse.getValue(); + recordingId = startCallRecordingResult.getRecordingId(); + validateCallRecordingStateWithResponse(serverCall, recordingId, CallRecordingState.ACTIVE); + + Response pauseResponse = serverCall.pauseRecordingWithResponse(recordingId, null); + assertEquals(pauseResponse.getStatusCode(), 200); + validateCallRecordingStateWithResponse(serverCall, recordingId, CallRecordingState.INACTIVE); + + Response resumeResponse = serverCall.resumeRecordingWithResponse(recordingId, null); + assertEquals(resumeResponse.getStatusCode(), 200); + validateCallRecordingStateWithResponse(serverCall, recordingId, CallRecordingState.ACTIVE); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + if (serverCall != null) { + try { + Response stopResponse = serverCall.stopRecordingWithResponse(recordingId, null); + assertEquals(stopResponse.getStatusCode(), 200); + } catch (Exception e) { + System.out.println("Error stopping recording: " + e.getMessage()); + } + } + + cleanUpConnections(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runPlayAudioFunction(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runPlayAudioFunction"); + ServerCall serverCall; + + List callConnections = new ArrayList<>(); + String operationContext = UUID.randomUUID().toString(); + + try { + callConnections = createCall(callingServerClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCall = callingServerClient.initializeServerCall(groupId); + + PlayAudioResult playAudioResult = + serverCall.playAudio(AUDIO_FILE_URI, UUID.randomUUID().toString(), CALLBACK_URI, operationContext); + validatePlayAudioResult(playAudioResult); + + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + cleanUpConnections(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runPlayAudioFunctionWithResponse(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runPlayAudioFunctionWithResponse"); + ServerCall serverCall; + + List callConnections = new ArrayList<>(); + String operationContext = UUID.randomUUID().toString(); + + try { + callConnections = createCall(callingServerClient, groupId, fromUser, toUser, CALLBACK_URI); + serverCall = callingServerClient.initializeServerCall(groupId); + + Response playAudioResult = + serverCall.playAudioWithResponse( + AUDIO_FILE_URI, operationContext, + CALLBACK_URI, operationContext, + null); + validatePlayAudioResponse(playAudioResult); + + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } finally { + cleanUpConnections(callConnections); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void startRecordingFails(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "startRecordingFails"); + String invalidServerCallId = "aHR0cHM6Ly9jb252LXVzd2UtMDkuY29udi5za3lwZS5jb20vY29udi9EZVF2WEJGVVlFV1NNZkFXYno2azN3P2k9MTEmZT02Mzc1NzIyMjk0Mjc0NTI4Nzk="; + ServerCall serverCall = callingServerClient.initializeServerCall(invalidServerCallId); + + try { + Response response = + serverCall.startRecordingWithResponse(CALLBACK_URI, null); + assertEquals(response.getStatusCode(), 400); + } catch (CallingServerErrorException e) { + assertEquals(e.getResponse().getStatusCode(), 400); + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAddRemoveScenario(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runAddRemoveScenario"); + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnection callConnection = callingServerClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options); + + validateCallConnection(callConnection); + + // Get Server Call + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L1ktWjZ5dzFzWVVTUUdWX2xPQWk1X2c_aT0xJmU9NjM3NTg0MzkzMzg3ODg3MDI3"; + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + + // Add User + String operationContext = UUID.randomUUID().toString(); + serverCall + .addParticipant( + new CommunicationUserIdentifier(toUser), + null, + operationContext, + CALLBACK_URI); + + // Remove User + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + value needs to be used. + */ + String participantId = "72647661-033a-4d1a-b858-465375977be0"; + serverCall.removeParticipant(participantId); + + // Hangup + callConnection.hangup(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + @ParameterizedTest + @MethodSource("com.azure.core.test.TestBase#getHttpClients") + public void runAddRemoveScenarioWithResponse(HttpClient httpClient) { + CallingServerClientBuilder builder = getConversationClientUsingConnectionString(httpClient); + CallingServerClient callingServerClient = setupClient(builder, "runAddRemoveScenarioWithResponse"); + + try { + // Establish a call + CreateCallOptions options = new CreateCallOptions( + CALLBACK_URI, + new CallModality[] { CallModality.AUDIO }, + new EventSubscriptionType[] { EventSubscriptionType.PARTICIPANTS_UPDATED }); + + options.setAlternateCallerId(new PhoneNumberIdentifier(FROM_PHONE_NUMBER)); + + CallConnection callConnection = callingServerClient.createCallConnection( + new CommunicationUserIdentifier(fromUser), + new CommunicationIdentifier[] { new PhoneNumberIdentifier(TO_PHONE_NUMBER) }, + options); + + validateCallConnection(callConnection); + + // Get Server Call + /* + Waiting for an update to be able to get this serverCallId when using + createCallConnection() + */ + String serverCallId = "aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L1lXS2R2TTNRc0Vpc0VNYVUtNlhvSlE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4"; + ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId); + + // Add User + String operationContext = UUID.randomUUID().toString(); + Response addResponse = + serverCall.addParticipantWithResponse( + new CommunicationUserIdentifier(toUser), + null, + operationContext, CALLBACK_URI, + null); + validateResponse(addResponse); + + // Remove User + /* + There is an update that we require to be able to get + the participantId from the service when a user is + added to a call. Until that is fixed this recorded + values needs to be used. + */ + String participantId = "76b33acb-5097-4af0-a646-e07ccee48957"; + Response removeResponse = serverCall.removeParticipantWithResponse(participantId, null); + validateResponse(removeResponse); + + // Hangup + callConnection.hangup(); + } catch (Exception e) { + System.out.println("Error: " + e.getMessage()); + throw e; + } + } + + private CallingServerClient setupClient(CallingServerClientBuilder builder, String testName) { + return addLoggingPolicy(builder, testName).buildClient(); + } + + protected CallingServerClientBuilder addLoggingPolicy(CallingServerClientBuilder builder, String testName) { + return builder.addPolicy((context, next) -> logHeaders(testName, next)); + } + + private void validateCallRecordingState( + ServerCall serverCall, + String recordingId, + CallRecordingState expectedCallRecordingState) { + assertNotNull(serverCall); + assertNotNull(serverCall.getServerCallId()); + assertNotNull(recordingId); + + // There is a delay between the action and when the state is available. + // Waiting to make sure we get the updated state, when we are running + // against a live service. + sleepIfRunningAgainstService(6000); + + CallRecordingStateResult callRecordingStateResult = serverCall.getRecordingState(recordingId); + assertEquals(callRecordingStateResult.getRecordingState(), expectedCallRecordingState); + } + + protected void validateCallRecordingStateWithResponse( + ServerCall serverCall, + String recordingId, + CallRecordingState expectedCallRecordingState) { + assertNotNull(serverCall); + assertNotNull(serverCall.getServerCallId()); + assertNotNull(recordingId); + + + // There is a delay between the action and when the state is available. + // Waiting to make sure we get the updated state, when we are running + // against a live service. + sleepIfRunningAgainstService(6000); + + Response response = + serverCall.getRecordingStateWithResponse(recordingId, null); + assertNotNull(response); + assertEquals(response.getStatusCode(), 200); + assertNotNull(response.getValue()); + assertEquals(response.getValue().getRecordingState(), expectedCallRecordingState); + } + + protected void cleanUpConnections(List connections) { + if (connections == null) { + return; + } + + connections.forEach(c -> { + if (c != null) { + try { + c.hangup(); + } catch (Exception e) { + System.out.println("Error hanging up: " + e.getMessage()); + } + } + }); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallUnitTests.java b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallUnitTests.java new file mode 100644 index 0000000000000..e79c9e38217b1 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/java/com/azure/communication/callingserver/ServerCallUnitTests.java @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callingserver; + +import static org.junit.jupiter.api.Assertions.assertThrows; +import java.security.InvalidParameterException; +import com.azure.core.test.http.NoOpHttpClient; +import org.junit.jupiter.api.Test; + +public class ServerCallUnitTests { + + private final String serverCallId = "aHR0cHM6Ly9jb252LXVzd2UtMDguY29udi5za3lwZS5jb20vY29udi8tby1FWjVpMHJrS3RFTDBNd0FST1J3P2k9ODgmZT02Mzc1Nzc0MTY4MDc4MjQyOTM"; + static final String MOCK_CONNECTION_STRING = "endpoint=https://REDACTED.communication.azure.com/;accesskey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGfQSflKxwRJSMeKKF2QT4fwpMeJf36POk6yJVadQssw5c"; + + @Test + public void startRecordingRelativeUriFails() { + ServerCall serverCall = new CallingServerClientBuilder() + .httpClient(new NoOpHttpClient()) + .connectionString(MOCK_CONNECTION_STRING) + .buildClient() + .initializeServerCall(serverCallId); + + assertThrows( + InvalidParameterException.class, + () -> serverCall.startRecording("/not/absolute/uri")); + } + + @Test + public void startRecordingWithResponseRelativeUriFails() { + ServerCall serverCall = new CallingServerClientBuilder() + .httpClient(new NoOpHttpClient()) + .connectionString(MOCK_CONNECTION_STRING) + .buildClient() + .initializeServerCall(serverCallId); + + assertThrows( + InvalidParameterException.class, + () -> serverCall.startRecordingWithResponse("/not/absolute/uri", null)); + } + + @Test + public void addParticipantNullParticipantFails() { + ServerCall serverCall = new CallingServerClientBuilder() + .httpClient(new NoOpHttpClient()) + .connectionString(MOCK_CONNECTION_STRING) + .buildClient() + .initializeServerCall(serverCallId); + + assertThrows( + NullPointerException.class, + () -> serverCall.addParticipant(null, null, null, null)); + } + + @Test + public void startRecordingAsyncFails() { + ServerCallAsync serverCall = new CallingServerClientBuilder() + .httpClient(new NoOpHttpClient()) + .connectionString(MOCK_CONNECTION_STRING) + .buildAsyncClient() + .initializeServerCall(serverCallId); + + assertThrows( + InvalidParameterException.class, + () -> serverCall.startRecording("/not/absolute/uri") + .block()); + } +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioAsync[1].json new file mode 100644 index 0000000000000..6b9800527f558 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioAsync[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0g6/BYAAAAAC5tIq/4AviQoljmgzCwywqQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "99b7c872-47fb-442d-86ef-fbd9e8cf6276", + "Body" : "{\"callLegId\":\"23201300-e9cb-4e9f-aafc-723c9927ed3b\",\"callConnectionId\":\"23201300-e9cb-4e9f-aafc-723c9927ed3b\"}", + "Date" : "Thu, 10 Jun 2021 06:21:54 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "98bab7f8-0a45-46ce-b96b-444dea287328" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/23201300-e9cb-4e9f-aafc-723c9927ed3b/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0j6/BYAAAAACd5NLDqXwxQYQuljIjMJRSQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "59d5c622-ee66-46fd-9eb1-321f2a8c7b34", + "Date" : "Thu, 10 Jun 2021 06:22:07 GMT", + "Client-Request-Id" : "934f0e4d-3730-4b13-be1a-9d433a8591ef" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/23201300-e9cb-4e9f-aafc-723c9927ed3b/participants/e3560385-776f-41d1-bf04-07ef738f2fc1?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0sK/BYAAAAACDUE2SAY0iS79tU/9jgC0VQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "63c5b9de-8f21-40df-8c82-6ee10cb500d4", + "Date" : "Thu, 10 Jun 2021 06:22:40 GMT", + "Client-Request-Id" : "4af9e778-7f7f-4b42-af7d-e92a7861ac19" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/23201300-e9cb-4e9f-aafc-723c9927ed3b/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0va/BYAAAAAC7CRS+ZcsFQLfj1P+lwHVUQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "f571efc2-8305-4401-8050-80a434d3150d", + "Date" : "Thu, 10 Jun 2021 06:22:52 GMT", + "Client-Request-Id" : "7e7b29cd-e859-408a-9eb4-4c9067daa0cc" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioWithResponseAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioWithResponseAsync[1].json new file mode 100644 index 0000000000000..635d7a6a902a0 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateAddRemoveHangupScenarioWithResponseAsync[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "06K/BYAAAAAAN9wbfZannTpOQceLWBzNAREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "108155da-5e7f-4139-ad3a-b26caf20e4e8", + "Body" : "{\"callLegId\":\"4a201300-dd6b-4743-9f72-3bd93a226187\",\"callConnectionId\":\"4a201300-dd6b-4743-9f72-3bd93a226187\"}", + "Date" : "Thu, 10 Jun 2021 06:23:37 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "69b44cb6-9d94-429a-abbb-dd577866e343" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/4a201300-dd6b-4743-9f72-3bd93a226187/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0+q/BYAAAAADt8lJ4jRXzRbnu/jS3NDmzREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "54894a95-0a4a-43ce-8114-9ca615173fd3", + "Date" : "Thu, 10 Jun 2021 06:23:53 GMT", + "Client-Request-Id" : "a9e41c63-d2fc-4919-b2fd-1e84cbac1bc8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/4a201300-dd6b-4743-9f72-3bd93a226187/participants/80238d5f-9eda-481a-b911-e2e12eba9eda?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0LrDBYAAAAADjjidTX1wcQpJMnWmXm8ADREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "4f9e6379-8238-40f1-b017-dfc76b58e687", + "Date" : "Thu, 10 Jun 2021 06:24:45 GMT", + "Client-Request-Id" : "87328aca-8f5e-4806-b529-22ef87517ef3" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/4a201300-dd6b-4743-9f72-3bd93a226187/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0MrDBYAAAAAAPJfufWdZNT7RmykxwPrGoREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "9288a08a-a906-4926-ba1c-7a6d1f942345", + "Date" : "Thu, 10 Jun 2021 06:24:50 GMT", + "Client-Request-Id" : "849b2df1-7a22-471c-b262-30827a720ac5" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioAsync[1].json new file mode 100644 index 0000000000000..2c6945f051f7b --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioAsync[1].json @@ -0,0 +1,78 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0arDBYAAAAAD0zhSRdGbUSYGAbulLm8HEREZXMzBFREdFMDUxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "3f6bc040-20a9-4a7e-8ce0-abbaa77441cd", + "Body" : "{\"callLegId\":\"e51f1300-7be7-4d43-8a06-39e0b378fd83\",\"callConnectionId\":\"e51f1300-7be7-4d43-8a06-39e0b378fd83\"}", + "Date" : "Thu, 10 Jun 2021 06:25:47 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "9acb1ae6-9de3-4f10-85a4-de9358a5f186" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3VodHNzZEZ3NFVHX1J4d1lHYWlLRmc_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0jrDBYAAAAAA//s7DmwdCSJ0gVo/D3W5hREZXMzBFREdFMDUxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "4c960d1d-dd8b-48d7-9d4a-3bc7324ce63b", + "Body" : "{\"callLegId\":\"e51f1300-846a-4ef7-b03a-58307b8a2839\",\"callConnectionId\":\"e51f1300-846a-4ef7-b03a-58307b8a2839\"}", + "Date" : "Thu, 10 Jun 2021 06:26:22 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "fc600b71-e142-4002-a853-cb5a4b10e8a1" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/e51f1300-7be7-4d43-8a06-39e0b378fd83/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0kbDBYAAAAADxRFjijyobRpr4LV9BaixXREZXMzBFREdFMDUxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "920ad44f-317d-4e70-b1bc-a972bcb86b8e", + "Date" : "Thu, 10 Jun 2021 06:26:25 GMT", + "Client-Request-Id" : "75bf583d-b89b-4391-b23c-fd5a0876af93" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/e51f1300-846a-4ef7-b03a-58307b8a2839/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0lbDBYAAAAAAih8aWJC6rRJbO77PWFeVKREZXMzBFREdFMDUxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "d11ea42b-a748-478c-b9ba-8013b67a7293", + "Date" : "Thu, 10 Jun 2021 06:26:29 GMT", + "Client-Request-Id" : "d090a8ec-3a29-471a-a97e-6d98a67a7925" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioWithResponseAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioWithResponseAsync[1].json new file mode 100644 index 0000000000000..521ebc30bb769 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreateJoinHangupScenarioWithResponseAsync[1].json @@ -0,0 +1,78 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "04bDBYAAAAAAerxQ5l6BxTZmUrXY9x4ihQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "8eb1d8db-cde8-4bf5-8fce-f06cf0d926ad", + "Body" : "{\"callLegId\":\"bd1f1300-1312-4713-99b2-f66bca8ce411\",\"callConnectionId\":\"bd1f1300-1312-4713-99b2-f66bca8ce411\"}", + "Date" : "Thu, 10 Jun 2021 06:27:46 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "d32f7294-8d6a-46f6-acc9-2ae9020580bc" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3lKQXY0TnVlOEV5bUpYVm1IYklIeUE_aT0wJmU9NjM3NTg0MzkwMjcxMzg0MTc3/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0B7HBYAAAAAAA4UyZPP+YSJVnvNbI8m6DQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "b9ff80b4-a9a6-4da9-a984-d6aa9796e2b9", + "Body" : "{\"callLegId\":\"bd1f1300-aa94-4d24-a6bb-b608aedda09f\",\"callConnectionId\":\"bd1f1300-aa94-4d24-a6bb-b608aedda09f\"}", + "Date" : "Thu, 10 Jun 2021 06:28:23 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "b1e8b188-b69e-4c31-845a-f502405fc779" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/bd1f1300-1312-4713-99b2-f66bca8ce411/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0C7HBYAAAAAARlQh4d5DAT72QebrfEeXPQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "ea69c668-e0da-4fd8-8b42-6ab1327e76dd", + "Date" : "Thu, 10 Jun 2021 06:28:27 GMT", + "Client-Request-Id" : "356ea646-2b64-4776-afdd-9807c1a5cfb1" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/bd1f1300-aa94-4d24-a6bb-b608aedda09f/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0DLHBYAAAAAAFCA1PArCvR4IvIanrtC9HQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "f96fe948-8775-4628-8b87-56e79fba4ff3", + "Date" : "Thu, 10 Jun 2021 06:28:28 GMT", + "Client-Request-Id" : "7985dd5b-28c9-4378-99b9-d566c4ee1ef4" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioAsync[1].json new file mode 100644 index 0000000000000..9486d61735166 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioAsync[1].json @@ -0,0 +1,81 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0KK/BYAAAAAAOPBE4tvoUS6uIGQX89MQ3Q0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "8e348ea6-2214-4c71-abd2-2f5934b17bc5", + "Body" : "{\"callLegId\":\"23201300-f409-41c5-a4df-7ae1daf22d01\",\"callConnectionId\":\"23201300-f409-41c5-a4df-7ae1daf22d01\"}", + "Date" : "Thu, 10 Jun 2021 06:20:25 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "0e6ebbf8-941d-45ee-9aa2-d5ec685b1ccd" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/23201300-f409-41c5-a4df-7ae1daf22d01/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0Na/BYAAAAABDYqtF2UPERq1r8wuEL6R/Q0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "1c683a1a-1a61-4d7f-bfb7-db2fa22b3dcc", + "Body" : "{\"id\":\"9659a4e6-f504-4cfb-b0df-4ea7596d14d2\",\"status\":\"running\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b12\"}", + "Date" : "Thu, 10 Jun 2021 06:20:37 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "fc824212-2f89-4acd-b5a4-33bfae98804f" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/23201300-f409-41c5-a4df-7ae1daf22d01/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "124", + "retry-after" : "0", + "X-Azure-Ref" : "0OK/BYAAAAABomV7CxJVoSauizye79yd6Q0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "f99391df-5893-4c1e-b4af-33a658b718ad", + "Body" : "{\"id\":\"3b7fcdbc-b6fa-41ac-9407-a42e5ac0cd75\",\"status\":\"completed\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b13\"}", + "Date" : "Thu, 10 Jun 2021 06:20:40 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "e2f09192-a8f8-43f5-a2e8-c19f0f5f45af" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/23201300-f409-41c5-a4df-7ae1daf22d01/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0PK/BYAAAAAA4zaCpX5SHRLDDRm48hh9DQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "b4f1ee34-104b-4dfb-809c-29bb7ea0b781", + "Date" : "Thu, 10 Jun 2021 06:20:43 GMT", + "Client-Request-Id" : "3b843396-dd22-467f-b8eb-e2695f987c90" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioWithResponseAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioWithResponseAsync[1].json new file mode 100644 index 0000000000000..1c3796e668578 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionAsyncLiveTests.runCreatePlayCancelHangupScenarioWithResponseAsync[1].json @@ -0,0 +1,81 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0T6/BYAAAAADf/TZqAkTRS4u74Irk6dMbQ0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "ac6c39a4-1390-4561-92de-6253164dbab1", + "Body" : "{\"callLegId\":\"d21f1300-2cee-4b87-ade5-d381d32041d7\",\"callConnectionId\":\"d21f1300-2cee-4b87-ade5-d381d32041d7\"}", + "Date" : "Thu, 10 Jun 2021 06:21:03 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "6525df6b-a1a2-48e3-b8af-74bf3b292ece" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/d21f1300-2cee-4b87-ade5-d381d32041d7/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0YK/BYAAAAABHopBv9/jaT7fmCiBRlCo1Q0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c43d6028-a146-446d-b158-ef9bbbbf3d3d", + "Body" : "{\"id\":\"6c40aa2b-7cff-42f7-ae5e-4ff3407a1571\",\"status\":\"running\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b12\"}", + "Date" : "Thu, 10 Jun 2021 06:21:20 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "d9b75393-4b5e-4566-844a-2d55de9bf669" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/d21f1300-2cee-4b87-ade5-d381d32041d7/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "124", + "retry-after" : "0", + "X-Azure-Ref" : "0Y6/BYAAAAADMQgdTl7v7Q7gut4WETRXWQ0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "65c91265-3298-4919-a290-2c4d622a6a5a", + "Body" : "{\"id\":\"35568c58-8600-488c-acf2-ed244d74c5da\",\"status\":\"completed\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b13\"}", + "Date" : "Thu, 10 Jun 2021 06:21:23 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "cc5f2836-97b1-40d8-a88e-35407f8a6864" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/d21f1300-2cee-4b87-ade5-d381d32041d7/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0Zq/BYAAAAADFDfPxMOAPT4ByUUFLGqrdQ0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "e668c3e5-0a52-4c90-85c1-2a9b3923bfa6", + "Date" : "Thu, 10 Jun 2021 06:21:26 GMT", + "Client-Request-Id" : "783c506a-0a63-4a72-8777-dfbb147f6af0" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenarioWithResponse[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenarioWithResponse[1].json new file mode 100644 index 0000000000000..d312080fabc17 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenarioWithResponse[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0PqfBYAAAAABDyBPAypUpTbDDAtp9C/5QREZXMzBFREdFMDUxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "6edec820-c43f-4dda-b96d-758be5519392", + "Body" : "{\"callLegId\":\"c2201300-372b-4248-ae00-eb35cdea6a77\",\"callConnectionId\":\"c2201300-372b-4248-ae00-eb35cdea6a77\"}", + "Date" : "Thu, 10 Jun 2021 05:46:40 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "fc0d69a2-038b-4bca-9939-97b0e47af87d" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c2201300-372b-4248-ae00-eb35cdea6a77/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0TqfBYAAAAABzlxhDFy8ZSoB8m9jWy1fQREZXMzBFREdFMDUxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "05038067-e3fc-42ee-9671-6fead242b7ad", + "Date" : "Thu, 10 Jun 2021 05:46:53 GMT", + "Client-Request-Id" : "acaba54e-0ba5-4628-aa8d-246abe8ab456" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c2201300-372b-4248-ae00-eb35cdea6a77/participants/71ed956b-366e-450c-9a61-3bbccf42baa5?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0dqfBYAAAAAAF8z+KH8V/QZ7SX/mINltfREZXMzBFREdFMDUxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "45c6895c-71fa-44b5-b2bb-8692268feb35", + "Date" : "Thu, 10 Jun 2021 05:47:33 GMT", + "Client-Request-Id" : "f7946816-80cc-4794-a640-bd6693451fc1" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c2201300-372b-4248-ae00-eb35cdea6a77/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0eafBYAAAAAAhH5AQSjKXR5cbQKfuCz+CREZXMzBFREdFMDUxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "7851c5ce-e6d4-42f9-b94e-b003145be827", + "Date" : "Thu, 10 Jun 2021 05:47:36 GMT", + "Client-Request-Id" : "b85e142e-6d69-41d0-96f6-820591d8a0cc" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenario[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenario[1].json new file mode 100644 index 0000000000000..52efba7f8e1b4 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateAddRemoveHangupScenario[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0NabBYAAAAABqOtzlzgj3Qp5ink0HfTPCQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "b8cff5a1-fa0e-4a78-b638-65d4042356b6", + "Body" : "{\"callLegId\":\"2e201300-7de3-419a-a20d-c31ff293b3e9\",\"callConnectionId\":\"2e201300-7de3-419a-a20d-c31ff293b3e9\"}", + "Date" : "Thu, 10 Jun 2021 05:42:14 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "ba6b7eca-6205-4e44-b171-f390a35d5744" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/2e201300-7de3-419a-a20d-c31ff293b3e9/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0RabBYAAAAAA7deQkC15VSKN0zxVmFplxQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "48d9e35d-50d2-4d08-a10c-cd46b130c317", + "Date" : "Thu, 10 Jun 2021 05:42:29 GMT", + "Client-Request-Id" : "2c468a21-f8f4-4575-8ef9-678158a7aacd" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/2e201300-7de3-419a-a20d-c31ff293b3e9/participants/f29f70e3-1eaf-44c0-839c-b4e8a74ffec3?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0c6bBYAAAAAD33QWwVsIEQ56OQHv9L6EsQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "17146e98-9532-48f1-b44a-37b4703f698b", + "Date" : "Thu, 10 Jun 2021 05:43:15 GMT", + "Client-Request-Id" : "29e9935a-cd73-43ed-88f0-c89f3f5540df" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/2e201300-7de3-419a-a20d-c31ff293b3e9/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0e6bBYAAAAAD9gfarByZWQ4HmiU85MbSUQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "af9d0938-0f39-4a15-8166-a9587dd36f20", + "Date" : "Thu, 10 Jun 2021 05:43:22 GMT", + "Client-Request-Id" : "3b2230b7-361b-4bdc-a9eb-84fd271e6da2" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenarioWithResponse[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenarioWithResponse[1].json new file mode 100644 index 0000000000000..d9c322722a5fe --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenarioWithResponse[1].json @@ -0,0 +1,78 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0U67BYAAAAABEyopJEoKnTpzL+Xsv7bicQ0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "689ebc85-f59f-4b04-89e0-09c43021b514", + "Body" : "{\"callLegId\":\"56201300-992b-4803-ad89-abb0d303ce0b\",\"callConnectionId\":\"56201300-992b-4803-ad89-abb0d303ce0b\"}", + "Date" : "Thu, 10 Jun 2021 06:16:53 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "b48a0c97-aa5d-413b-9faa-5e7da86e380b" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3dXZW9hNjAweGtPZ0d6eHE2eG1tQVE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0hq7BYAAAAABeN+lvV1JaQKPUUU0viHz+Q0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c6acdbe5-5c27-4dd3-8765-421113a91240", + "Body" : "{\"callLegId\":\"56201300-e964-49b8-8525-fe64190d5c37\",\"callConnectionId\":\"56201300-e964-49b8-8525-fe64190d5c37\"}", + "Date" : "Thu, 10 Jun 2021 06:17:42 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "748c5a9e-c9ba-41a2-89dd-398005e0dd29" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/56201300-992b-4803-ad89-abb0d303ce0b/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0lq7BYAAAAAB/9mULAXyRTYKv25SBZFA7Q0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "1d9573a8-b8c4-4990-bf1f-d16f19388463", + "Date" : "Thu, 10 Jun 2021 06:17:58 GMT", + "Client-Request-Id" : "c402dbb4-b16c-434a-9196-af05b8fb28f5" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/56201300-e964-49b8-8525-fe64190d5c37/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0mK7BYAAAAACI2rN0Wm06QoNl8YLZRN/iQ0hHRURHRTE2MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "6f8c0d06-36cc-4e8c-9a0f-b377a14366c1", + "Date" : "Thu, 10 Jun 2021 06:17:59 GMT", + "Client-Request-Id" : "18acb10b-d718-496c-8c84-5f79f1f4a55e" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenario[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenario[1].json new file mode 100644 index 0000000000000..41667bb33cc34 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreateJoinHangupScenario[1].json @@ -0,0 +1,78 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0nafBYAAAAACHW+zqavOkR6S2/61+KsMMQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "0b7525f4-ccdd-4de6-909a-9829091981d9", + "Body" : "{\"callLegId\":\"6c201300-b17c-4a2a-8f71-f9dba15efc55\",\"callConnectionId\":\"6c201300-b17c-4a2a-8f71-f9dba15efc55\"}", + "Date" : "Thu, 10 Jun 2021 05:48:14 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "d6e2a569-d69a-4f37-8153-65c2f80a1d97" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L2RUUjRPVGFxVzAyZ3cxVGpNSUNBdEE_aT0wJmU9NjM3NTg0MzkwMjcxMzg0MTc3/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "026fBYAAAAAB8CXxw4DV0QpLbN2ir3wfQQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "ab14e041-1480-4185-baf2-b22e1fde362a", + "Body" : "{\"callLegId\":\"6c201300-7002-4c7e-9b99-90ccf73087c7\",\"callConnectionId\":\"6c201300-7002-4c7e-9b99-90ccf73087c7\"}", + "Date" : "Thu, 10 Jun 2021 05:49:15 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "0c952bbc-7091-4248-a530-7e2193d0e80a" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/6c201300-b17c-4a2a-8f71-f9dba15efc55/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "03qfBYAAAAADWWCQB+sCwRbD0/YsUov8tQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "acfc4aaa-31c1-4892-8de9-6fe3c5f10e67", + "Date" : "Thu, 10 Jun 2021 05:49:18 GMT", + "Client-Request-Id" : "87f8dd63-5d45-4fe8-907e-c59a498be0f0" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/6c201300-7002-4c7e-9b99-90ccf73087c7/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "04qfBYAAAAABcBNaac1hnS5+t8Ujs0OSfQ0hHRURHRTE2MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "1452e1b6-5cba-4581-941f-02429beb69b2", + "Date" : "Thu, 10 Jun 2021 05:49:22 GMT", + "Client-Request-Id" : "f9cae3eb-79b7-4517-a09d-e5a744e29002" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenarioWithResponse[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenarioWithResponse[1].json new file mode 100644 index 0000000000000..3fb2624fd5da5 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenarioWithResponse[1].json @@ -0,0 +1,81 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0/qXBYAAAAABQ08P5ira4TbEsDSIVR9oRQ0hHRURHRTE2MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "d3671253-f9b4-4fdc-ba85-db7d4ac3fd85", + "Body" : "{\"callLegId\":\"9e201300-9491-4c19-b223-bada41dd75d7\",\"callConnectionId\":\"9e201300-9491-4c19-b223-bada41dd75d7\"}", + "Date" : "Thu, 10 Jun 2021 05:41:19 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "d5357e0c-8cfe-416e-b244-c26cd28cce08" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/9e201300-9491-4c19-b223-bada41dd75d7/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0C6bBYAAAAABlt5C6WQRqSrAy0fcUSR7SQ0hHRURHRTE2MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "a08d834c-b8bd-44b8-9d1c-38ff56785011", + "Body" : "{\"id\":\"5fb5d0a7-54df-4de5-b7dc-6132eb75a8f8\",\"status\":\"running\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b12\"}", + "Date" : "Thu, 10 Jun 2021 05:41:31 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "38998e0d-ccb5-483a-995c-ff09382f00a9" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/9e201300-9491-4c19-b223-bada41dd75d7/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "124", + "retry-after" : "0", + "X-Azure-Ref" : "0EKbBYAAAAAD3zcpmAJ13RYORG0zcbRJ0Q0hHRURHRTE2MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "31aac915-1e9a-4420-9e33-a0c512f5f2a1", + "Body" : "{\"id\":\"98e4d36f-3fcd-4d1d-b3a6-e190e27e62d4\",\"status\":\"completed\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b13\"}", + "Date" : "Thu, 10 Jun 2021 05:41:36 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "b813317c-ea02-4660-8a61-1b1ea9827aab" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/9e201300-9491-4c19-b223-bada41dd75d7/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0EqbBYAAAAABVwh6cYX7IRrdD+3WLNMvbQ0hHRURHRTE2MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "d715b901-906a-4c8e-87fd-7bacf07a996e", + "Date" : "Thu, 10 Jun 2021 05:41:38 GMT", + "Client-Request-Id" : "41295ad5-eb73-4948-a375-49dac0f9b576" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenario[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenario[1].json new file mode 100644 index 0000000000000..6bdcbdf774d59 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/CallConnectionLiveTests.runCreatePlayCancelHangupScenario[1].json @@ -0,0 +1,81 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0kKXBYAAAAABoBk5OeHo3Qbdg4jBHzvvDQ0hHRURHRTE2MTEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "802713e8-3b20-43ab-baa9-9556e9fa5b97", + "Body" : "{\"callLegId\":\"c5201300-911b-4531-9e31-e40399b6cc5f\",\"callConnectionId\":\"c5201300-911b-4531-9e31-e40399b6cc5f\"}", + "Date" : "Thu, 10 Jun 2021 05:39:29 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "72e54070-c9cd-4795-b79f-3141550e4989" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c5201300-911b-4531-9e31-e40399b6cc5f/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0oKXBYAAAAABNU3kdFjmNT5xy3dN4K86zQ0hHRURHRTE2MTEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "e636a27a-7f61-4fc1-9ec4-9590a86b2bf5", + "Body" : "{\"id\":\"d7e0adb0-4270-40ec-9765-3ea36333d117\",\"status\":\"running\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b12\"}", + "Date" : "Thu, 10 Jun 2021 05:39:44 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "2f98ae53-872d-42a7-aea1-25c8d2229fc3" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c5201300-911b-4531-9e31-e40399b6cc5f/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "124", + "retry-after" : "0", + "X-Azure-Ref" : "0paXBYAAAAAAMod1Bg9TxT4yzrPIy9p8dQ0hHRURHRTE2MTEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "0fc01f99-334d-4897-82a5-fb92e4260e1d", + "Body" : "{\"id\":\"1e448fc0-d041-4cb6-9631-55fc8baa88d9\",\"status\":\"completed\",\"operationContext\":\"ac794123-3820-4979-8e2d-50c7d3e07b13\"}", + "Date" : "Thu, 10 Jun 2021 05:39:48 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "87982420-e99e-49d9-8e1f-6f7989e4248b" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c5201300-911b-4531-9e31-e40399b6cc5f/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0p6XBYAAAAAAuJRrLwELbRovglo2uhLyyQ0hHRURHRTE2MTEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "2743db79-3e90-476d-9618-d75f4f518a5f", + "Date" : "Thu, 10 Jun 2021 05:39:51 GMT", + "Client-Request-Id" : "7faf65f3-ad9b-4ea8-8693-06d1228136a7" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadContent404Async[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadContent404Async[1].json new file mode 100644 index 0000000000000..5f2b54f7823b0 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadContent404Async[1].json @@ -0,0 +1,19 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141d/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "0", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Thu, 03 Jun 2021 00:22:03 GMT" + }, + "Exception" : null + }], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataAsync[1].json new file mode 100644 index 0000000000000..1bd59c9f9c483 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataAsync[1].json @@ -0,0 +1,23 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogICAgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataRetryingAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataRetryingAsync[1].json new file mode 100644 index 0000000000000..2b2a1c3aae675 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataRetryingAsync[1].json @@ -0,0 +1,39 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "0", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "416", + "Date" : "Thu, 03 Jun 2021 00:22:03 GMT" + }, + "Exception" : null + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogICAgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataToStreamAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataToStreamAsync[1].json new file mode 100644 index 0000000000000..2b2b8b37d5917 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadMetadataToStreamAsync[1].json @@ -0,0 +1,23 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogICAgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileAsync[1].json new file mode 100644 index 0000000000000..63697a2391105 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileAsync[1].json @@ -0,0 +1,43 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "439", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-438/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogIC", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "438", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 439-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "AgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileRetryingAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileRetryingAsync[1].json new file mode 100644 index 0000000000000..843bf2f508aa3 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadToFileRetryingAsync[1].json @@ -0,0 +1,40 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "0", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes */957", + "retry-after" : "0", + "StatusCode" : "416", + "Date" : "Thu, 03 Jun 2021 00:22:03 GMT" + }, + "Exception" : null + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogICAgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadVideoAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadVideoAsync[1].json new file mode 100644 index 0000000000000..deb335ac212b1 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentAsyncLiveTests.downloadVideoAsync[1].json @@ -0,0 +1,23 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/video", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "89666", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-89665/89666", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "AAAAGGZ0eXBpc29tAAACAGlzb21pc28yAAAGfG1vb3YAAABsbXZoZAAAAADc3ayJ3N2siQAAA+gAABYAAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAALNdHJhawAAAFx0a2hkAAAAB9zdrInc3ayJAAAAAgAAAAAAABYAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAeAAAAEOAAAAAACaW1kaWEAAAAgbWRoZAAAAADc3ayJ3N2siQAAJxAAANwAFccAAAAAACFoZGxyAAAAAAAAAAB2aWRlAAAAAAAAAAAAAAAAAAAAAiBtaW5mAAAAFHZtaGQAAAABAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAAHgc3RibAAAAJRzdHNkAAAAAAAAAAEAAACEYXZjMQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAeABDgASAAAAEgAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABj//wAAAC5hdmNDAULAKP/hABdnQsAo2gHgCJ+WEAAAAwAQAATiAPGDKgEABGjOPIAAAAAgc3R0cwAAAAAAAAACAAAAKgAABOIAAAABAAAO7AAAADRzdHNjAAAAAAAAAAMAAAABAAAAAQAAAAEAAAACAAAAIgAAAAEAAAADAAAACAAAAAEAAADAc3RzegAAAAAAAAAAAAAAKwAAGncAAAAMAAAADAAAAAwAAAAMAAADZQAAJqkAABwnAAAfegAACXEAAB5mAAAB4gAAAAwAAAALAAAACwAAAAsAAAALAAAAC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variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContent404[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContent404[1].json new file mode 100644 index 0000000000000..3cfa278b89837 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContent404[1].json @@ -0,0 +1,19 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141d/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "0", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "404", + "Date" : "Thu, 03 Jun 2021 00:22:03 GMT" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentStreamFailure[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentStreamFailure[1].json new file mode 100644 index 0000000000000..f7c2e682ed0e8 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentStreamFailure[1].json @@ -0,0 +1,22 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogICAgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + }], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentWrongUrl[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentWrongUrl[1].json new file mode 100644 index 0000000000000..6b9e994a3c258 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadContentWrongUrl[1].json @@ -0,0 +1,4 @@ +{ + "networkCallRecords" : [ ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadataStreaming[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadataStreaming[1].json new file mode 100644 index 0000000000000..2b2b8b37d5917 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadataStreaming[1].json @@ -0,0 +1,23 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQiOiAiMC1ldXMtZDItM2NjYTIxNzU4OTFmMjFjNmM5YTU5NzVhMTJjMDE0MWMiLA0KICAiY2h1bmtJbmRleCI6IDAsDQogICJjaHVua1N0YXJ0VGltZSI6ICIyMDIxLTA2LTAyVDIxOjQ1OjQxLjY0OTQyMjRaIiwNCiAgImNodW5rRHVyYXRpb24iOiA1NTgwLjAsDQogICJwYXVzZVJlc3VtZUludGVydmFscyI6IFtdLA0KICAicmVjb3JkaW5nSW5mbyI6IHsNCiAgICAiY29udGVudFR5cGUiOiAibWl4ZWQiLA0KICAgICJjaGFubmVsVHlwZSI6ICJhdWRpb1ZpZGVvIiwNCiAgICAiZm9ybWF0IjogIm1wNCIsDQogICAgImF1ZGlvQ29uZmlndXJhdGlvbiI6IHsNCiAgICAgICJzYW1wbGVSYXRlIjogMTYwMDAsDQogICAgICAiYml0UmF0ZSI6IDEyODAwMCwNCiAgICAgICJjaGFubmVscyI6IDENCiAgICB9LA0KICAgICJ2aWRlb0NvbmZpZ3VyYXRpb24iOiB7DQogICAgICAibG9uZ2VyU2lkZUxlbmd0aCI6IDE5MjAsDQogICAgICAic2hvcnRlclNpZGVMZW5ndGgiOiAxMDgwLA0KICAgICAgImZyYW1lcmF0ZSI6IDgsDQogICAgICAiYml0UmF0ZSI6IDEwMDAwMDANCiAgICB9DQogIH0sDQogICJwYXJ0aWNpcGFudHMiOiBbDQogICAgew0KICAgICAgInBhcnRpY2lwYW50SWQiOiAiODphY3M6NjMxZmE4ZDgtYWFiNS00YWM1LThlMTUtMjYxYWEyNTkwNzUwXzAwMDAwMDBhLTZlOGItYjMzYy1kZWZkLThiM2EwZDAwNTFjYiINCiAgICB9LA0KICAgIHsNCiAgICAgICJwYXJ0aWNpcGFudElkIjogIjg6YWNzOjYzMWZhOGQ4LWFhYjUtNGFjNS04ZTE1LTI2MWFhMjU5MDc1MF8wMDAwMDAwYS02ZThiLWNhMTctZGVmZC04YjNhMGQwMDUxY2QiDQogICAgfQ0KICBdDQp9", + "Date" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadata[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadata[1].json new file mode 100644 index 0000000000000..2b2b8b37d5917 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadMetadata[1].json @@ -0,0 +1,23 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/acsmetadata", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "957", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-956/957", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "ew0KICAicmVzb3VyY2VJZCI6ICI2MzFmYThkOC1hYWI1LTRhYzUtOGUxNS0yNjFhYTI1OTA3NTAiLA0KICAiY2FsbElkIjogImEzMjdhOGU0LTRjMjQtNGM4NC05ZmUyLTA5ZmZlNjIzYzg1OCIsDQogICJjaHVua0RvY3VtZW50SWQ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" : "Thu, 03 Jun 2021 00:07:30 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadVideo[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadVideo[1].json new file mode 100644 index 0000000000000..a3ead96978ed5 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/DownloadContentLiveTests.downloadVideo[1].json @@ -0,0 +1,23 @@ +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "https://REDACTED.asm.skype.com/v1/objects/0-eus-d2-3cca2175891f21c6c9a5975a12c0141c/content/video", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)" + }, + "Response" : { + "content-length" : "89666", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache, max-age=0, s-maxage=0, private", + "Server" : "Microsoft-HTTPAPI/2.0", + "Content-Range" : "bytes 0-89665/89666", + "retry-after" : "0", + "StatusCode" : "206", + "Body" : "AAAAGGZ0eXBpc29tAAACAGlzb21pc28yAAAGfG1vb3YAAABsbXZoZAAAAADc3ayJ3N2siQAAA+gAABYAAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAALNdHJhawAAAFx0a2hkAAAAB9zdrInc3ayJAAAAAgAAAAAAABYAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAeAAAAEOAAAAAACaW1kaWEAAAAgbWRoZAAAAADc3ayJ3N2siQAAJxAAANwAFccAAAAAACFoZGxyAAAAAAAAAAB2aWRlAAAAAAAAAAAAAAAAAAAAAiBtaW5mAAAAFHZt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Bc1IAAQAgAwmE5/IqsT+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz+fz8Hp/CeAAk02mk02mv4ADmNlLEqJXrrn8p/D/Ck0AVgeVl6GqjgDtLffyAB3uAAAG8J48oAb4ria+toAb38HgAG54ABueAAbigAG4oABuKAAbigAG4oABuKAAbigAG44A7P/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5+D0/n8R5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/P5/ARggBwEYIAc=", + "Date" : "Thu, 03 Jun 2021 00:33:58 GMT", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + } ], + "variables" : [ ] +} diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioAsync[1].json new file mode 100644 index 0000000000000..ecbcff49b8048 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioAsync[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0OcjBYAAAAADzW8ZTDBKsTq21yxFYY9OWREZXMzBFREdFMDUwNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "82742b74-df60-4a19-8da6-3b0e3ae692de", + "Body" : "{\"callLegId\":\"1a201300-71e3-4213-8948-ef00e41c86eb\",\"callConnectionId\":\"1a201300-71e3-4213-8948-ef00e41c86eb\"}", + "Date" : "Thu, 10 Jun 2021 08:07:22 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "218c4162-ca90-4679-894e-5f59331c2707" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3NXdWxkazBmMEVpdnAxWjhiU2NuUHc_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0XMjBYAAAAADIiDOyF3E/T53NVWLhJHjoREZXMzBFREdFMDUwNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "4911578f-008d-461e-a423-76b935c0210e", + "Date" : "Thu, 10 Jun 2021 08:07:55 GMT", + "Client-Request-Id" : "9dfe019d-033d-444a-95d1-7cc0f1f089dc" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L3NXdWxkazBmMEVpdnAxWjhiU2NuUHc_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/participants/206ac04a-1aae-4d82-9015-9c30cb174888?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0fMjBYAAAAABG2y1vltVGT7qfGYgMfgmfREZXMzBFREdFMDUwNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "f30173fe-0445-4ea2-97cf-ff1872c5645f", + "Date" : "Thu, 10 Jun 2021 08:08:28 GMT", + "Client-Request-Id" : "65b2bedf-eecf-42ab-92f0-3058dd96501c" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/1a201300-71e3-4213-8948-ef00e41c86eb/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0gcjBYAAAAACfuBACVyiaSbWz12G4eejZREZXMzBFREdFMDUwNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "2b591cf6-16f4-4bda-ba5e-e1a513d69399", + "Date" : "Thu, 10 Jun 2021 08:08:33 GMT", + "Client-Request-Id" : "aed39731-e425-463e-9a08-16b4ca4606c9" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioWithResponseAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioWithResponseAsync[1].json new file mode 100644 index 0000000000000..4d61978964da9 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAddRemoveScenarioWithResponseAsync[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0YMnBYAAAAABubX4mfQ8KS6SLXpHWvdSCREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "1ba536ab-1a96-46ee-9ff5-0313529f1a8f", + "Body" : "{\"callLegId\":\"841f1300-1337-4a7c-9e2e-843ea6ee00fd\",\"callConnectionId\":\"841f1300-1337-4a7c-9e2e-843ea6ee00fd\"}", + "Date" : "Thu, 10 Jun 2021 08:12:17 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "8faa6ad1-2a47-47fb-92b1-d1f74da10305" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L0NUT014YmNIRmttZ1BqbE5kYjExNlE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0hsnBYAAAAAAbk5Bb74xVSqHaTlc3/pYnREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "b732e3f0-12b3-429d-aed7-846dbe0de149", + "Date" : "Thu, 10 Jun 2021 08:12:54 GMT", + "Client-Request-Id" : "ba8d41fa-d366-4a39-a3fd-d30f2a8dfd07" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L0NUT014YmNIRmttZ1BqbE5kYjExNlE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/participants/b133b1f3-4a11-49e4-abe0-ac9fdd660634?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0psnBYAAAAACjREq/ejDiSovPTuo6B1RFREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "83f7ce54-d253-401e-a7e4-527e020a39f2", + "Date" : "Thu, 10 Jun 2021 08:13:26 GMT", + "Client-Request-Id" : "74fd86de-709d-4d7d-b4f6-0e941f01ea13" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/841f1300-1337-4a7c-9e2e-843ea6ee00fd/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0rMnBYAAAAABekUSsuaL8TpN3SYsaq/lYREZXMzBFREdFMDUxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "63d62f4c-7b2e-4f27-9d5e-7a64ccf9b612", + "Date" : "Thu, 10 Jun 2021 08:13:32 GMT", + "Client-Request-Id" : "f24ddcbf-5eb8-4caa-8b80-71e06f473a85" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsAsync[1].json new file mode 100644 index 0000000000000..0e2e9381b7c7b --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsAsync[1].json @@ -0,0 +1,217 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "6a0b0821-8413-43ed-8f0a-0f8c99dff386", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0ALXDYAAAAAAExZQ3D9C0QafdGM65C9VhV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "004c40f0-403d-4b34-b648-32e40e7179e4", + "Body" : "{\"callLegId\":\"c4201300-169c-4258-9a6f-a0a70cecef6f\",\"callConnectionId\":\"c4201300-169c-4258-9a6f-a0a70cecef6f\"}", + "Date" : "Fri, 11 Jun 2021 19:09:51 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "9bb37dfe-fe3c-4e98-a4c8-986fdaaddbb1" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "9122e8f8-ef20-4aff-80d9-aaac87cff1a5", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0AbXDYAAAAAB7A3aL3Gx7RIpULMsuAHjTV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "a28cbabd-a298-4f50-9e68-b893449f5b7f", + "Body" : "{\"callLegId\":\"c4201300-2fcb-4763-a059-995c22a452d3\",\"callConnectionId\":\"c4201300-2fcb-4763-a059-995c22a452d3\"}", + "Date" : "Fri, 11 Jun 2021 19:09:52 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "cd944daf-0739-4265-bb70-9ee38cd103ec" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "cacaebd2-62b4-4003-9b52-d3c508f57000", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "180", + "retry-after" : "0", + "X-Azure-Ref" : "0ArXDYAAAAAAvOA1LRm/HTbF5DBcrN8EUV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "cc9bd4e5-a4c2-49d7-91da-f0c14ea83136", + "Body" : "{\"recordingId\":\"eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ\"}", + "Date" : "Fri, 11 Jun 2021 19:09:56 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "2ad199f7-eec6-42bf-9c76-03000a84f6fd" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "364584da-23a8-4287-a573-220a4bcb5ac0" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "0C7XDYAAAAAB1byELGf7lRIEquoneiG46V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "98f8db9a-67d4-4706-87c4-aeb84078c698", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:10:02 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "fd9a3c39-1a0e-44cb-9b02-08a66b54a7ea" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ/:pause?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "93833a59-57bf-4f02-8d97-a3f9df3aa4a5" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0C7XDYAAAAABbISWKmzlYT5okAukfKDe5V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "27ed8b05-dfff-41fd-9ad3-fbefbae03f83", + "Date" : "Fri, 11 Jun 2021 19:10:02 GMT", + "Client-Request-Id" : "0e9330af-2ee2-4459-8a75-74e2a5b3c4c0" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "582e390c-e048-4734-b5ff-db08fe097a72" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "29", + "retry-after" : "0", + "X-Azure-Ref" : "0EbXDYAAAAADukQ4YnI//RqXDIj6R/5fJV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "32fb1e61-622d-4b36-a722-581a5c47d478", + "Body" : "{\"recordingState\":\"inactive\"}", + "Date" : "Fri, 11 Jun 2021 19:10:08 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "efd677b9-da9c-481a-952c-bac5fa312127" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ/:resume?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "f638b8b6-92d3-42db-b5c6-9f48a89cec7f" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0EbXDYAAAAACS3dulCxE1T4KseNrw5NsmV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "7fe75aa4-1bd2-45c3-abe4-680602c66513", + "Date" : "Fri, 11 Jun 2021 19:10:09 GMT", + "Client-Request-Id" : "d87fc4ee-9395-4a9a-ab77-8da73f32669a" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "d8b25b8a-1835-40ed-8413-392642bd8558" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "0GLXDYAAAAACCwi1DDTItSLjZd/fm8ksvV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "55847d0e-0f60-47e7-848c-5c6d97a14042", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:10:15 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "8c518b14-0340-4e86-aa97-af57705abd3e" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC05ZTk4LTQyNDMtOTQyNS1kN2M5ZWU3MmU2NGIiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiJkZWE1NDdiYS03NjI3LTQ1YmYtYmI2Yi01YTBhN2Q2N2UwMzAifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "a753ea08-bba4-4522-ae2c-a58c31d967f2" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0GLXDYAAAAACxG+0JRqZKSZRBne60xtuUV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "1c220ed4-5659-4e18-8149-46c493b1e45a", + "Date" : "Fri, 11 Jun 2021 19:10:15 GMT", + "Client-Request-Id" : "8c5228ab-1388-451e-88b5-444a30dceb1e" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-169c-4258-9a6f-a0a70cecef6f/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "c5f085e4-8e4d-48cc-ae59-26a266e27014" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0GLXDYAAAAACkQPRMdvJFT6bGYXVmQlHvV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "03e97947-0324-42d1-8ba6-1ec06652d390", + "Date" : "Fri, 11 Jun 2021 19:10:15 GMT", + "Client-Request-Id" : "595c36a4-4153-4052-b710-f82794692018" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-2fcb-4763-a059-995c22a452d3/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "f57b2ab5-d8ab-4d63-a3c7-c504813b6b95" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0GLXDYAAAAABhaQqIA1uxRLYAtQuAZwbDV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "f8348a79-1f05-4dc8-a679-4ac7eb6c55df", + "Date" : "Fri, 11 Jun 2021 19:10:15 GMT", + "Client-Request-Id" : "a2dd40b1-4a68-477f-8ca8-b7d22b781521" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsWithResponseAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsWithResponseAsync[1].json new file mode 100644 index 0000000000000..3307934df6375 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runAllClientFunctionsWithResponseAsync[1].json @@ -0,0 +1,217 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "0053ab3a-3325-456b-99a0-5292103cb991", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0HbXDYAAAAADNVodxRoxvRJPucM0dQJT+V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "3997f93e-b8ad-4bc1-b364-ec5500dad12f", + "Body" : "{\"callLegId\":\"c4201300-5cc7-48af-974b-e969c17d49dd\",\"callConnectionId\":\"c4201300-5cc7-48af-974b-e969c17d49dd\"}", + "Date" : "Fri, 11 Jun 2021 19:10:20 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "9d40f9d8-c8e4-4a23-bfc6-558945405377" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "947b550e-0a43-43e1-b990-8a499cc97396", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0HrXDYAAAAAAiMYhF5sfuRpavR2DXBl2kV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "48a697fd-04ed-4835-bf98-7887ebe7d9af", + "Body" : "{\"callLegId\":\"c4201300-9125-4e84-a254-2878f8dd9b1d\",\"callConnectionId\":\"c4201300-9125-4e84-a254-2878f8dd9b1d\"}", + "Date" : "Fri, 11 Jun 2021 19:10:21 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "b5b0f71f-67d6-4ebb-a30e-edf4c9e46cce" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "113f22bb-858a-4a73-9494-6cb98f60fa5e", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "180", + "retry-after" : "0", + "X-Azure-Ref" : "0H7XDYAAAAABBe4HHEKAlQ4MKS5A+k6TZV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "ea117199-25a8-4840-825b-cb1cd09e662b", + "Body" : "{\"recordingId\":\"eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ\"}", + "Date" : "Fri, 11 Jun 2021 19:10:24 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "c26c0e4e-2134-432b-836a-50624c85bcd7" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "06828595-0363-482b-8d02-f987bf4920c3" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "0J7XDYAAAAAD04O1+cyCKSKPHm89DzPV+V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "d36c8931-e523-49a6-b080-d47a58e06b58", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:10:30 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "ec5ae584-9d1f-441a-a478-05d7eb94f9f2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ/:pause?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "a51bafc3-eb60-493c-8b85-2f302a9c6f71" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0J7XDYAAAAAAhwxpTQOQIQq1tLDHaCdOnV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "a667e396-9591-4abd-b1ce-44424bbeb85c", + "Date" : "Fri, 11 Jun 2021 19:10:30 GMT", + "Client-Request-Id" : "46ea0b20-5328-412a-87bc-cbea9552399f" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "3a7c119e-3d42-4b54-b98a-b0921032be4f" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "29", + "retry-after" : "0", + "X-Azure-Ref" : "0LbXDYAAAAAA0buWQUGhiRpmKBH2fA/pOV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "8b4e9c2a-ccb6-4372-ab19-0fda60f12cad", + "Body" : "{\"recordingState\":\"inactive\"}", + "Date" : "Fri, 11 Jun 2021 19:10:36 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "6960a360-8f92-4453-9f36-18841a16fba6" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ/:resume?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "c4c03b5a-e6f9-4d49-a607-7d86e73d6019" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0LbXDYAAAAAChUWooVj/VTYXHFO+zsUQVV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "7383bef2-9c31-4cc5-9deb-6f59259c9978", + "Date" : "Fri, 11 Jun 2021 19:10:36 GMT", + "Client-Request-Id" : "7013f454-b386-4603-8d17-3e98dd1cbbb2" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "f5224d5e-cc9f-401a-8c2f-c5d468940946" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "0M7XDYAAAAAD4DWxPXqflSIQ5DyASocqEV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "fe74cc38-1b34-4f09-b3e1-ddbf6af8b9b1", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:10:43 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "06dcfc4a-ddb1-4963-9317-9ea3fda95318" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiJjNDIwMTMwMC0zMTJkLTQwMWUtOGE3MS1kODZiODhlYjg4NDkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI5OWExMjgyZi0wZjQ0LTRkYmQtODQ4Yi02NTc1N2ExNzMxMjEifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "da837afa-baf8-4c00-b4f1-09c531af154b" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0NLXDYAAAAAAD6yWe0VfBSIcJNfCAONSEV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "2153d6f0-1813-423b-84d3-7c10baa391a9", + "Date" : "Fri, 11 Jun 2021 19:10:44 GMT", + "Client-Request-Id" : "77f95e9a-5b96-4d56-9ed5-22f35689d051" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-5cc7-48af-974b-e969c17d49dd/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "eaec8e84-d4a0-4f0e-bb30-85f2d947f5ce" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0NLXDYAAAAABjFpGicRlDQJR2fSjFNRbfV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "7187bbe9-d000-493e-b56d-7b06dbf6ffc1", + "Date" : "Fri, 11 Jun 2021 19:10:44 GMT", + "Client-Request-Id" : "565aa9da-7c56-4fdf-b05c-ea709b9b222f" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-9125-4e84-a254-2878f8dd9b1d/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "5bea9098-d35b-427b-8a40-a1313792c60d" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0NLXDYAAAAACESiRVqsO9RIxqeV2mSsiHV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "cf48b63d-88ac-4fb9-b4f9-a2822218fd36", + "Date" : "Fri, 11 Jun 2021 19:10:44 GMT", + "Client-Request-Id" : "132e5f7b-96a2-4d2d-835c-95bc7c5093a0" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionAsync[1].json new file mode 100644 index 0000000000000..8acd89e87ea73 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionAsync[1].json @@ -0,0 +1,103 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "01318c00-17d4-42fb-8f2a-de7fddc4958f", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0/LTDYAAAAAAbwq9M8Z8ZS6hkOmf+KG4JV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "7ae4533c-91ea-45d5-87e2-982da839c31e", + "Body" : "{\"callLegId\":\"c4201300-4c8d-41ee-9d51-863e9037882b\",\"callConnectionId\":\"c4201300-4c8d-41ee-9d51-863e9037882b\"}", + "Date" : "Fri, 11 Jun 2021 19:09:47 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "78972d83-253b-4feb-879a-2f9d574cc1d5" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "19bc48d8-cdf7-437e-85ac-c18ec1b7993c", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0/bTDYAAAAABYYrouXu91TpphTFl5pd+5V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c3b47723-753f-47a1-8e22-689973d11b42", + "Body" : "{\"callLegId\":\"c4201300-16a0-44c1-8063-7e401497bc23\",\"callConnectionId\":\"c4201300-16a0-44c1-8063-7e401497bc23\"}", + "Date" : "Fri, 11 Jun 2021 19:09:48 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "4357f1c7-e5f4-4035-885b-134484f5a0dc" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "b29bdc33-c728-49fe-b087-069ecb0b58fc", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0/rTDYAAAAABn6veL1/IoRZc5YGhuQj51V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "df0ea299-f457-40bb-9811-3b71ce3b88ba", + "Body" : "{\"id\":\"c4201300-cfdc-4bd8-977a-58773bdf3f01\",\"status\":\"running\",\"operationContext\":\"a871a8bd-04c5-4f44-aa06-1dff06911799\"}", + "Date" : "Fri, 11 Jun 2021 19:09:51 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "3fdf94c6-8209-4107-a6f6-a906b2331d35" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-4c8d-41ee-9d51-863e9037882b/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "43052b98-54f6-4a29-9ded-5050b7fed6ad" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0ALXDYAAAAAAVxx4nj/DITbGeB/zadXA1V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "d5cbe725-769b-49b1-b1b2-1a3b5792ce51", + "Date" : "Fri, 11 Jun 2021 19:09:51 GMT", + "Client-Request-Id" : "b620bdf1-42df-4903-8c6c-74a9a984727c" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-16a0-44c1-8063-7e401497bc23/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "7b934e9a-7335-4461-a49f-494896fbc4e4" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0ALXDYAAAAAClVLzLD7C7RIiD2wIp1E7JV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "85256d76-61ef-4831-8a02-8e5a34e21203", + "Date" : "Fri, 11 Jun 2021 19:09:51 GMT", + "Client-Request-Id" : "640b46dd-fb71-4669-8261-88dd91f1ad51" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionWithResponseAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionWithResponseAsync[1].json new file mode 100644 index 0000000000000..d8574d03aedb1 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.runPlayAudioFunctionWithResponseAsync[1].json @@ -0,0 +1,103 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "d3e8b29c-9873-4ffa-92e8-5eef00a9e6c9", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0GLXDYAAAAADoFx/wpD5QSJzM+PjWNUiXV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "364812b0-6ab3-4c76-beed-65a88601485e", + "Body" : "{\"callLegId\":\"c4201300-4a43-4705-9d19-99bf6b09e0c9\",\"callConnectionId\":\"c4201300-4a43-4705-9d19-99bf6b09e0c9\"}", + "Date" : "Fri, 11 Jun 2021 19:10:15 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "a0627df9-9cf7-4265-b435-dd4375983df9" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "089f8f90-48cf-4fb4-83f5-f9495a38613d", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0GbXDYAAAAADd5a5tMwTtR4wUGI0nBxK8V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "ff2e84cb-5829-4ae2-9fa2-dd58dc39869b", + "Body" : "{\"callLegId\":\"c4201300-da5a-4dc0-bfe1-cef0be59f51d\",\"callConnectionId\":\"c4201300-da5a-4dc0-bfe1-cef0be59f51d\"}", + "Date" : "Fri, 11 Jun 2021 19:10:16 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "6dbfe459-58c4-4534-a411-5e6b02421f0c" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "50b9512a-853d-4866-9cc4-bf05cde1d092", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0GrXDYAAAAABH5nSIyKTuTKo9zQTjQv8NV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "d2e06f5c-07fa-4e79-bd8e-6d5df18f1f4d", + "Body" : "{\"id\":\"c4201300-4e84-4a3e-8c95-b3076ba3ce5b\",\"status\":\"running\",\"operationContext\":\"b7c82fb9-93ee-4c6b-89ed-d2ea68600811\"}", + "Date" : "Fri, 11 Jun 2021 19:10:19 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "e9d51b8a-bee3-4491-ac6c-7be4afe27cf9" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-4a43-4705-9d19-99bf6b09e0c9/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "a1828c92-db7c-459d-aa56-88ea23e28b98" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0HLXDYAAAAACLjsYqsJoHQbF7a5ftV6noV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "8ebe25fc-655e-4383-bea2-8d21210e1995", + "Date" : "Fri, 11 Jun 2021 19:10:19 GMT", + "Client-Request-Id" : "105a7bbe-2853-4406-984e-761122395ac5" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/c4201300-da5a-4dc0-bfe1-cef0be59f51d/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "3fbed21a-f20a-44cf-a731-c698bd8dc6c5" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0HLXDYAAAAADvEA8FvFeyRYpqiSEXkEo5V1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "279cf4d7-e1f8-470c-8825-0ac85173dbf2", + "Date" : "Fri, 11 Jun 2021 19:10:19 GMT", + "Client-Request-Id" : "66aadc4d-d7b9-42df-9daa-8dbddae6fb7d" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.startRecordingFailsAsync[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.startRecordingFailsAsync[1].json new file mode 100644 index 0000000000000..ffdafb4a0380d --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallAsyncLiveTests.startRecordingFailsAsync[1].json @@ -0,0 +1,25 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly9jb252LXVzd2UtMDkuY29udi5za3lwZS5jb20vY29udi9EZVF2WEJGVVlFV1NNZkFXYno2azN3P2k9MTEmZT02Mzc1NzIyMjk0Mjc0NTI4Nzk=/recordings?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "5cd22ad4-75f7-41f2-b55c-f8236308916a", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "83", + "retry-after" : "0", + "X-Azure-Ref" : "0HLXDYAAAAACKjLlzpwOwT6tuxNe9RifSV1NURURHRTA4MTIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "400", + "X-Microsoft-Skype-Chain-ID" : "6ae47b8c-882f-4944-af44-7324d076eb5c", + "Body" : "{\"code\":\"8501\",\"message\":\"Action is invalid when call is not in Established state\"}", + "Date" : "Fri, 11 Jun 2021 19:10:20 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "8d977355-a1f3-4bdb-81a5-81046073d41a" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenarioWithResponse[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenarioWithResponse[1].json new file mode 100644 index 0000000000000..7efc291049395 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenarioWithResponse[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0csXBYAAAAAD8TwvuuVaQSZs0/7eyxTguREZXMzBFREdFMDUyMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "24cbd24f-2e98-42dd-b8f9-a71a24d8a636", + "Body" : "{\"callLegId\":\"bf201300-7563-4daf-9b7a-3f0c759b645f\",\"callConnectionId\":\"bf201300-7563-4daf-9b7a-3f0c759b645f\"}", + "Date" : "Thu, 10 Jun 2021 07:55:31 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "81c06d4f-03ad-4dac-b115-24d3c75c1075" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L1lXS2R2TTNRc0Vpc0VNYVUtNlhvSlE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0o8XBYAAAAABl5a6WccLzTYKEt0d0YVkKREZXMzBFREdFMDUyMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "e8177e83-7a99-4999-9ed5-2d361e1af7ee", + "Date" : "Thu, 10 Jun 2021 07:56:19 GMT", + "Client-Request-Id" : "32339b79-6aea-49cb-aca4-37eaf3a08176" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L1lXS2R2TTNRc0Vpc0VNYVUtNlhvSlE_aT0yJmU9NjM3NTg0Mzk2NDM5NzQ5NzY4/participants/76b33acb-5097-4af0-a646-e07ccee48957?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0ycXBYAAAAAAN4NnqJX2IQ44vzNuFBHpVREZXMzBFREdFMDUyMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "37291ab9-cc92-4a7a-8759-97329c2d6d4e", + "Date" : "Thu, 10 Jun 2021 07:56:58 GMT", + "Client-Request-Id" : "7e2eab4f-43c6-4efb-87ae-fe3469f3a53f" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/bf201300-7563-4daf-9b7a-3f0c759b645f/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0zMXBYAAAAABfEyALuTz4S5BX8j7vKyaxREZXMzBFREdFMDUyMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "ea2bfc55-cf96-48b2-9fcf-2a2583352f76", + "Date" : "Thu, 10 Jun 2021 07:56:59 GMT", + "Client-Request-Id" : "dd759dce-79c7-4690-b8dd-ac66fa8cb337" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenario[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenario[1].json new file mode 100644 index 0000000000000..ac1dc7360f4e1 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAddRemoveScenario[1].json @@ -0,0 +1,76 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0ksTBYAAAAADYFgWmLmlmSIyjgN7n/OiKQ0hHRURHRTE2MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "201", + "X-Microsoft-Skype-Chain-ID" : "5f3b3522-1472-4c56-9e31-b1f1fc4aee58", + "Body" : "{\"callLegId\":\"5b1f1300-2023-41f9-9ff8-1f61191e18b3\",\"callConnectionId\":\"5b1f1300-2023-41f9-9ff8-1f61191e18b3\"}", + "Date" : "Thu, 10 Jun 2021 07:51:47 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "8aa11694-a230-4096-bfff-81fd9be7bead" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L1ktWjZ5dzFzWVVTUUdWX2xPQWk1X2c_aT0xJmU9NjM3NTg0MzkzMzg3ODg3MDI3/participants?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0scTBYAAAAAADoWtTLrSPS6r+ycoTKN9lQ0hHRURHRTE2MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "a5619337-8e2d-4016-9de9-f7ffbcb27f7a", + "Date" : "Thu, 10 Jun 2021 07:52:17 GMT", + "Client-Request-Id" : "c61c1a4d-4411-4353-a78e-394da9de2968" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly94LWNvbnYtdXN3ZS0wMS5jb252LnNreXBlLmNvbS9jb252L1ktWjZ5dzFzWVVTUUdWX2xPQWk1X2c_aT0xJmU9NjM3NTg0MzkzMzg3ODg3MDI3/participants/72647661-033a-4d1a-b858-465375977be0?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "02MTBYAAAAABfV+k0Qca0QqmmBsR1O00QQ0hHRURHRTE2MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "fca27eb7-a86a-457c-82c3-a2d52e0ae9cd", + "Date" : "Thu, 10 Jun 2021 07:52:55 GMT", + "Client-Request-Id" : "1652deef-be42-4e58-a016-58e2e1871b5c" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/5b1f1300-2023-41f9-9ff8-1f61191e18b3/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (16.0.1; Windows 10; 10.0)" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "03MTBYAAAAACatTaHAzB2SKJWBGpW7Sj6Q0hHRURHRTE2MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "ddf56d8b-9b3e-4468-9018-f3d7ac44aa56", + "Date" : "Thu, 10 Jun 2021 07:52:59 GMT", + "Client-Request-Id" : "0a7658bc-6048-4f5a-af64-397f1d0a7289" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctionsWithResponse[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctionsWithResponse[1].json new file mode 100644 index 0000000000000..0f17c530111ca --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctionsWithResponse[1].json @@ -0,0 +1,217 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "1ab4a329-62f4-444f-8dde-0bff2a7b281d", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0zrTDYAAAAAA1+8/oHqmcQYmPO81uFWcsV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "dd7661ea-eec3-4a85-b7be-9f4d76800675", + "Body" : "{\"callLegId\":\"711f1300-ce1b-4397-b911-32aafe7161d7\",\"callConnectionId\":\"711f1300-ce1b-4397-b911-32aafe7161d7\"}", + "Date" : "Fri, 11 Jun 2021 19:09:01 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "f5ecee0d-ccf6-4c18-b74f-aab60d3614f8" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "671137a5-814b-41e5-94d1-8faac29dbb22", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0z7TDYAAAAADnj8lqQXUhSaBmmIWqQZAPV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "0aeb2c01-843d-4135-ac4f-289be71185bc", + "Body" : "{\"callLegId\":\"711f1300-7975-4f2c-b182-49ae185b88b3\",\"callConnectionId\":\"711f1300-7975-4f2c-b182-49ae185b88b3\"}", + "Date" : "Fri, 11 Jun 2021 19:09:02 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "703b2f64-6f9f-4de4-bc94-7c6219afff20" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "745728cc-cb9f-4259-ac68-351097d0f1bf", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "180", + "retry-after" : "0", + "X-Azure-Ref" : "00LTDYAAAAADfVm7YRvZ/SbJhN8brdpoXV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "8b46baaf-7cfe-4a08-b672-deb335fe9536", + "Body" : "{\"recordingId\":\"eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ\"}", + "Date" : "Fri, 11 Jun 2021 19:09:05 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "662a2c9e-32e4-4f08-a778-71762cd0ee53" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "2cdd8eb4-ef17-4d93-9537-2bb4446e9ee4" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "02LTDYAAAAAAz80sXPdZmSrVbEeFRQo/yV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "0af7e2a2-a540-4af9-880b-c58f146ee618", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:09:12 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "2dd35851-d8f0-498c-8328-07dc8f028d89" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ/:pause?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "e703d07d-b96a-4352-9aaf-63761b92b5bc" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "02LTDYAAAAAASQu5d/go1S6GGaEv0PWJhV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "9eb4993c-4808-4500-bfc1-cee60bf1bdd5", + "Date" : "Fri, 11 Jun 2021 19:09:12 GMT", + "Client-Request-Id" : "f6145cf0-c998-41af-9004-29b00adf0ee4" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "56f3f354-578d-434e-85fb-12e40ada475e" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "29", + "retry-after" : "0", + "X-Azure-Ref" : "03rTDYAAAAAB5QuA6bXQ4So0eb6wQLC4KV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "db14327d-5356-4141-b48e-e4a9090407f0", + "Body" : "{\"recordingState\":\"inactive\"}", + "Date" : "Fri, 11 Jun 2021 19:09:18 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "4b5f59a9-ce8e-44d5-b91f-8ad128c7510a" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ/:resume?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "026684a5-6b1f-421c-a697-a5437466efa1" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "03rTDYAAAAABvxfXZe27gSKFzlSKzP/eRV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "31d549a2-70df-48a6-9b94-402e2f139c36", + "Date" : "Fri, 11 Jun 2021 19:09:18 GMT", + "Client-Request-Id" : "837102de-72d1-4ff1-8621-feb8f32e6ca8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "aafe7634-b9b8-4664-9f8d-ab0c01965693" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "05LTDYAAAAAAJFqHWx3RLSbqzHFTh8rTkV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "c1e87598-5046-42a5-8176-a041df1ee65a", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:09:24 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "aefa3af8-687a-4913-aaf7-00f46af7676d" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC1hYzhiLTQwZmYtOTdmNy1jMjM5ZTBkZTM2MTUiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiIzM2ZhOWFkYS1mNGE2LTQwMDQtOTk2OS02YjY0NmI0NDk1ZDYifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "026ac5d4-081a-496a-876a-b477006b5da6" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "05bTDYAAAAAA9+rgJrqmLQLmw0463HwLJV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "75d5c9ac-c7e3-4e89-b843-3d473645db37", + "Date" : "Fri, 11 Jun 2021 19:09:24 GMT", + "Client-Request-Id" : "6623a873-a7ea-4ec8-8e22-01c4122a6f95" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-ce1b-4397-b911-32aafe7161d7/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "9e8bac23-14fd-43e9-a3d5-dae31abd139b" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "05bTDYAAAAABXtYcvIg3vQrCfs9LnDy9UV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "b58854fe-da55-4942-9f0b-0bc203705145", + "Date" : "Fri, 11 Jun 2021 19:09:24 GMT", + "Client-Request-Id" : "e1bf5c6b-3a28-4c93-a143-6dfd93ecfdcc" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-7975-4f2c-b182-49ae185b88b3/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "38a2ef09-525d-489e-91ca-1defe3673d77" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "05bTDYAAAAAAPjPwccsTPTow6DYDsJymWV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "83fb2c68-8d99-478c-ba9d-3647d8d0851d", + "Date" : "Fri, 11 Jun 2021 19:09:24 GMT", + "Client-Request-Id" : "0d191f76-e613-4f6f-bf7a-4b28d652df1b" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctions[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctions[1].json new file mode 100644 index 0000000000000..cdb6620190678 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runAllClientFunctions[1].json @@ -0,0 +1,217 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "785bfbff-6a4c-4160-9e88-9f9d49059b3c", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0rbTDYAAAAADdv40O3PW6R4iogm0qZAoSV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "d01eaee8-c1ca-439e-9048-2be5af0ebb0b", + "Body" : "{\"callLegId\":\"711f1300-16c6-4c44-b343-9b88885799f5\",\"callConnectionId\":\"711f1300-16c6-4c44-b343-9b88885799f5\"}", + "Date" : "Fri, 11 Jun 2021 19:08:29 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "4e59028a-47a2-4b78-9e58-0eea71506965" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "690c2e90-8886-4cd7-869a-c9587b58ad13", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0r7TDYAAAAACMvehoMWqOR5qdJGE23rvRV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "75f8c959-d8f7-4eb7-a196-4f9dd490e3d0", + "Body" : "{\"callLegId\":\"711f1300-c678-4a6e-8313-1fc0339f60b7\",\"callConnectionId\":\"711f1300-c678-4a6e-8313-1fc0339f60b7\"}", + "Date" : "Fri, 11 Jun 2021 19:08:30 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "a512ae1e-a7b3-4a1d-8689-d9dc2778fc28" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "ddbb1a94-11d2-4a91-ac14-568301139241", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "180", + "retry-after" : "0", + "X-Azure-Ref" : "0sLTDYAAAAACP8ewFfgo8SY+DmybdDs9pV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "fb24359e-1520-4fc8-ae16-c12baf339c32", + "Body" : "{\"recordingId\":\"eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ\"}", + "Date" : "Fri, 11 Jun 2021 19:08:34 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "7f960c25-8daa-419d-a5cc-c21fd06ba032" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "737c5f43-bc9a-414e-8151-eaf5d73c580d" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "0ubTDYAAAAAAYS4D55EjUTKr4cZeXtwn0V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "5afbfd52-f0e9-40de-8ddc-1a57a65705cf", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:08:40 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "10025db2-dbb9-49fb-ab4c-c2014f29d5f2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ/:pause?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "60b1f488-0c02-4bfe-bfe6-8c18bae0e799" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0ubTDYAAAAAA/MECPAquRRYMKy0YPeCYkV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "3e68d0c8-1ea5-45c7-9194-bce79f6f4b4d", + "Date" : "Fri, 11 Jun 2021 19:08:41 GMT", + "Client-Request-Id" : "2930b36d-6ddb-41f8-a1c5-bd5bad5bdb4f" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "2a80afc8-dbb2-473d-bdb4-491d54c1945c" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "29", + "retry-after" : "0", + "X-Azure-Ref" : "0v7TDYAAAAACZmof/4dX0SLy1eLA7XRSWV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "59affe09-dfd5-4bde-a9c5-1db58efbcfb2", + "Body" : "{\"recordingState\":\"inactive\"}", + "Date" : "Fri, 11 Jun 2021 19:08:47 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "d2e3f9b4-28dc-46df-8490-76a3a76df2e7" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ/:resume?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "e611f5e9-7260-4b88-a895-185ae6469605" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0v7TDYAAAAADCtDUtxWUASatgxk7r+/uaV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "f410a2d9-064c-4767-b4d9-5beb16c5c430", + "Date" : "Fri, 11 Jun 2021 19:08:47 GMT", + "Client-Request-Id" : "8f24914e-27ac-4c44-9f5a-e83ae183d060" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "51916d9b-eeaa-476e-98d7-7ed269da222d" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "27", + "retry-after" : "0", + "X-Azure-Ref" : "0xrTDYAAAAABk3JuqmKzSQanlQRDVGF1wV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "347c0f23-8893-4ef9-9de4-69b03ae7c6d1", + "Body" : "{\"recordingState\":\"active\"}", + "Date" : "Fri, 11 Jun 2021 19:08:53 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "e06e71c4-e23f-4ea6-8604-3719ea9af832" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI3MTFmMTMwMC03MDI3LTQ4NDYtOGRhNC1kMTU2NWM5M2NlNTciLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI4YTk5YTljMy04MWYwLTQ5MmUtYjA1ZS0wYTY1ZWIyZWNjOWUifQ?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "c11f4f48-2b00-4ce4-917d-84e5ef9ddccb" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0xrTDYAAAAAA2tB0oI1P9R4lgtAcDbSigV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "200", + "X-Microsoft-Skype-Chain-ID" : "58e201d5-490e-41ea-8ece-ee58c88431fe", + "Date" : "Fri, 11 Jun 2021 19:08:54 GMT", + "Client-Request-Id" : "7926548a-2d32-4969-a51a-2c1a3abd6f3e" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-16c6-4c44-b343-9b88885799f5/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "6ebdca41-6e8e-47f7-8dab-bcf666053a69" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0xrTDYAAAAACWdHww2JlNSaf0BvANI+7MV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c69c6a60-66db-4315-89f5-5ea91f5184cd", + "Date" : "Fri, 11 Jun 2021 19:08:54 GMT", + "Client-Request-Id" : "132d9370-352e-4f28-95c2-3bae80cdb1e0" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-c678-4a6e-8313-1fc0339f60b7/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "803b4ee6-35ee-4c2d-a329-35a3a77483ea" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0xrTDYAAAAADAO+CyTRqzSbVT2fuOy8E3V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c1353ecd-0d8e-4773-b085-4053ea6128b2", + "Date" : "Fri, 11 Jun 2021 19:08:54 GMT", + "Client-Request-Id" : "d3f6b604-3f7e-488b-8095-62bbb33ae51b" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunctionWithResponse[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunctionWithResponse[1].json new file mode 100644 index 0000000000000..58b8c0e2f8673 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunctionWithResponse[1].json @@ -0,0 +1,103 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "44e161bf-2026-4f78-ac83-ef69ea4e9f54", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0yrTDYAAAAAD68ZaqcOaXR7xtuD1kv3e/V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "cc593fee-bb00-475b-8e3a-944f3f64b518", + "Body" : "{\"callLegId\":\"711f1300-a631-4228-bdab-71a7a985879d\",\"callConnectionId\":\"711f1300-a631-4228-bdab-71a7a985879d\"}", + "Date" : "Fri, 11 Jun 2021 19:08:58 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "12a4f9b4-0683-414f-9e4c-8190c837d8d2" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "fcbe23fc-d42f-485d-b83d-021021815657", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0zLTDYAAAAACHxpay/jbbTJWL+6OQ+T7KV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "0bf112b9-7084-4f8c-a8c5-5f15c28601e3", + "Body" : "{\"callLegId\":\"711f1300-97ee-4aed-a606-fd2a8c97f6db\",\"callConnectionId\":\"711f1300-97ee-4aed-a606-fd2a8c97f6db\"}", + "Date" : "Fri, 11 Jun 2021 19:08:59 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "1fabd153-c146-44f4-8db6-2a5707b2d055" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "b1cefe60-8bee-4720-aeca-0cd7de97dbe7", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0zbTDYAAAAADHoPbrIsdFRJfckldC317lV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "5b4cc20b-2d71-4ffc-9644-237e78a6d27e", + "Body" : "{\"id\":\"711f1300-12d8-423a-8a98-2810a7903497\",\"status\":\"running\",\"operationContext\":\"9a0d9a98-8044-4548-a780-4757ce77be3a\"}", + "Date" : "Fri, 11 Jun 2021 19:09:01 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "e9b89185-725c-4059-9b82-275c99a8297e" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-a631-4228-bdab-71a7a985879d/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "9817d6b7-43fc-4eb0-9d67-9d9cad3f2262" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0zrTDYAAAAAAMv8yfn4dgTpZT8Yry1T9tV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "18c69c8e-78a8-4e5b-8863-1dc6d41dbe36", + "Date" : "Fri, 11 Jun 2021 19:09:01 GMT", + "Client-Request-Id" : "a4e5e4cf-4af0-4187-9fc3-3b8dd9f057b7" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-97ee-4aed-a606-fd2a8c97f6db/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "2a21d701-7632-4535-932b-4439806d10ba" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0zrTDYAAAAABLkItLgWV4TpKci2L9sTKmV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "f01a2df4-9cb8-44d3-9a01-78e3f7a7ee06", + "Date" : "Fri, 11 Jun 2021 19:09:01 GMT", + "Client-Request-Id" : "5ad46571-41e4-4010-832d-64182d89f435" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunction[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunction[1].json new file mode 100644 index 0000000000000..2fdaa8717f266 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.runPlayAudioFunction[1].json @@ -0,0 +1,103 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "0d26fe6b-0b02-45ac-8d4d-c4a1ebc225d6", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0xrTDYAAAAACi+GhXqrIFQabdb7nWLfk3V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "055d160e-7c8f-4e20-9e00-35abbc765e4a", + "Body" : "{\"callLegId\":\"711f1300-aef8-4015-88fa-b3e296c27c51\",\"callConnectionId\":\"711f1300-aef8-4015-88fa-b3e296c27c51\"}", + "Date" : "Fri, 11 Jun 2021 19:08:54 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "0761fefc-6701-462c-b85a-3c52f01cebde" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:join?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "a5acca44-11dd-48af-b515-3931ff662de1", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "110", + "retry-after" : "0", + "X-Azure-Ref" : "0x7TDYAAAAAAwy/jkWiHuQrb9hP+53f5+V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c7e12f74-b156-43f6-8522-76ecc93ac54a", + "Body" : "{\"callLegId\":\"711f1300-caea-4e75-b8c5-6a4c99f2a0d1\",\"callConnectionId\":\"711f1300-caea-4e75-b8c5-6a4c99f2a0d1\"}", + "Date" : "Fri, 11 Jun 2021 19:08:55 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "b390344e-6049-4d44-8539-b543c279853d" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/c400789f-e11b-4ceb-88cb-bc8df2a01568/:playAudio?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "08f44654-3b37-41ec-8220-e2e386b3750c", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "122", + "retry-after" : "0", + "X-Azure-Ref" : "0ybTDYAAAAADDIPhaL6I4Q7c++H0wNSwJV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "35a3e4dc-b0cc-41ed-83cb-fdadb14a2b6c", + "Body" : "{\"id\":\"711f1300-08f1-44f6-adaa-ec6c0e7867ef\",\"status\":\"running\",\"operationContext\":\"f07dc34c-0927-4a54-8d97-951c15275660\"}", + "Date" : "Fri, 11 Jun 2021 19:08:58 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "e116312f-b8d5-46d0-8ca5-ebf5d094bf67" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-aef8-4015-88fa-b3e296c27c51/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "92e68af9-73c8-4106-be8b-03b4dfda3ced" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0yrTDYAAAAAB7zFDNiyuISowJgESzxh/tV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "61a85e45-302b-4e82-9ccd-5216d7034786", + "Date" : "Fri, 11 Jun 2021 19:08:58 GMT", + "Client-Request-Id" : "20c1b6cd-63f8-42b1-acae-fb23bf990d29" + }, + "Exception" : null + }, { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/callConnections/711f1300-caea-4e75-b8c5-6a4c99f2a0d1/:hangup?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "1516b878-78be-4bad-9ec5-e53f99c85897" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "0", + "retry-after" : "0", + "X-Azure-Ref" : "0yrTDYAAAAACMToDca6/7RIywYhc1gN70V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "202", + "X-Microsoft-Skype-Chain-ID" : "c2ba9386-861c-4430-a6d9-ccb7f1dbf9b9", + "Date" : "Fri, 11 Jun 2021 19:08:58 GMT", + "Client-Request-Id" : "0d72cdc1-af5c-4617-bdb3-ac8b4b46be1d" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.startRecordingFails[1].json b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.startRecordingFails[1].json new file mode 100644 index 0000000000000..549bc7e87e14c --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/src/test/resources/session-records/ServerCallLiveTests.startRecordingFails[1].json @@ -0,0 +1,25 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.communication.azure.com/calling/serverCalls/aHR0cHM6Ly9jb252LXVzd2UtMDkuY29udi5za3lwZS5jb20vY29udi9EZVF2WEJGVVlFV1NNZkFXYno2azN3P2k9MTEmZT02Mzc1NzIyMjk0Mjc0NTI4Nzk=/recordings?api-version=2021-06-15-preview", + "Headers" : { + "User-Agent" : "azsdk-java-azure-communication-callingserver/1.0.0-beta.1 (11.0.11; Windows 10; 10.0)", + "x-ms-client-request-id" : "5593f679-c772-4dfa-913e-991fadc10fa6", + "Content-Type" : "application/json" + }, + "Response" : { + "X-Cache" : "CONFIG_NOCACHE", + "content-length" : "83", + "retry-after" : "0", + "X-Azure-Ref" : "0yrTDYAAAAAAhaNuRdLLwQb+0Ow+i9sV0V1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "StatusCode" : "400", + "X-Microsoft-Skype-Chain-ID" : "e2217417-47af-4945-8f00-6b82b33dcca7", + "Body" : "{\"code\":\"8501\",\"message\":\"Action is invalid when call is not in Established state\"}", + "Date" : "Fri, 11 Jun 2021 19:08:58 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Client-Request-Id" : "83cef93f-702d-4629-985d-db634ca06157" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/communication/azure-communication-callingserver/swagger/README.md b/sdk/communication/azure-communication-callingserver/swagger/README.md new file mode 100644 index 0000000000000..ac64b1b9c6e81 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/swagger/README.md @@ -0,0 +1,95 @@ +# Azure Communication Calling Service client library for Java + +> see https://aka.ms/autorest +## Getting Started + +To build the SDK for Server Calling Client, simply Install AutoRest and in this folder, run: + +### Setup +```ps +Fork and clone https://github.com/Azure/autorest.java +git checkout v4 +git submodule update --init --recursive +mvn package -Dlocal +npm install +npm install -g autorest +``` + +### Generation + +There is one swagger for Calling management APIs. + +```ps +cd +autorest README.md --java --v4 --use=@autorest/java@4.0.20 --use=@autorest/modelerfour@4.15.442 +``` + +## Update generated files for server calling service +To update generated files for calling service, run the following command + +> autorest README.md --java --v4 --use=@autorest/java@4.0.20 --use=@autorest/modelerfour@4.15.442 + +### Code generation settings +``` yaml +tag: package-2021-06-15-preview +require: + - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/74575fadb83fcd08a70d1168c8d04a6ca5e90715/specification/communication/data-plane/CallingServer/readme.md +java: true +output-folder: ..\ +license-header: MICROSOFT_MIT_SMALL +namespace: com.azure.communication.callingserver +custom-types: ToneValue,OperationStatus,CallRecordingState,CallConnectionState,EventSubscriptionType,CallModality +custom-types-subpackage: models +generate-client-as-impl: true +models-subpackage: implementation.models +sync-methods: all +add-context-parameter: true +context-client-method-parameter: true +title: Azure Communication CallingServer Service +directive: +- rename-model: + from: CallRecordingStateChangeEvent + to: CallRecordingStateChangeEventInternal +- rename-model: + from: InviteParticipantsResultEvent + to: InviteParticipantsResultEventInternal +- rename-model: + from: PlayAudioResultEvent + to: PlayAudioResultEventInternal +- rename-model: + from: ToneReceivedEvent + to: ToneReceivedEventInternal +- rename-model: + from: CallConnectionStateChangedEvent + to: CallConnectionStateChangedEventInternal +- rename-model: + from: ParticipantsUpdatedEvent + to: ParticipantsUpdatedEventInternal +- rename-model: + from: CommunicationParticipant + to: CommunicationParticipantInternal +- rename-model: + from: JoinCallResult + to: JoinCallResultInternal +- rename-model: + from: PlayAudioResult + to: PlayAudioResultInternal +- rename-model: + from: CallRecordingStateResult + to: CallRecordingStateResultInternal +- rename-model: + from: StartCallRecordingResult + to: StartCallRecordingResultInternal +- rename-model: + from: CreateCallResult + to: CreateCallResultInternal +- rename-model: + from: CancelAllMediaOperationsResult + to: CancelAllMediaOperationsResultInternal +- rename-model: + from: ResultInfo + to: ResultInfoInternal +- rename-model: + from: ToneInfo + to: ToneInfoInternal +``` diff --git a/sdk/communication/azure-communication-callingserver/tests.yml b/sdk/communication/azure-communication-callingserver/tests.yml new file mode 100644 index 0000000000000..b66a735649257 --- /dev/null +++ b/sdk/communication/azure-communication-callingserver/tests.yml @@ -0,0 +1,7 @@ +trigger: none + +stages: + - template: /sdk/communication/communication-tests-template.yml + parameters: + PackageName: azure-communication-callingserver + SafeName: azurecommunicationcallingserver diff --git a/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/implementation/HmacAuthenticationPolicy.java b/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/implementation/HmacAuthenticationPolicy.java index ea43fabf58252..890ef1496eed4 100644 --- a/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/implementation/HmacAuthenticationPolicy.java +++ b/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/implementation/HmacAuthenticationPolicy.java @@ -81,8 +81,13 @@ public Mono process(HttpPipelineCallContext context, HttpPipelineN } try { + URL hostnameToSignWith = context.getData("hmacSignatureURL") + .filter(alternativeUrl -> alternativeUrl instanceof URL) + .map(alternativeUrl -> (URL) alternativeUrl) + .orElse(context.getHttpRequest().getUrl()); + return appendAuthorizationHeaders( - context.getHttpRequest().getUrl(), + hostnameToSignWith, context.getHttpRequest().getHttpMethod().toString(), contents) .flatMap(headers -> { diff --git a/sdk/communication/azure-communication-common/src/main/java/module-info.java b/sdk/communication/azure-communication-common/src/main/java/module-info.java index 809cdf7f52391..e8c3df4aac49a 100644 --- a/sdk/communication/azure-communication-common/src/main/java/module-info.java +++ b/sdk/communication/azure-communication-common/src/main/java/module-info.java @@ -15,5 +15,6 @@ com.azure.communication.sms, com.azure.communication.identity, com.azure.communication.phonenumbers, - com.azure.communication.chat; + com.azure.communication.chat, + com.azure.communication.callingserver; } diff --git a/sdk/communication/ci.yml b/sdk/communication/ci.yml index 85193840a324c..76fb93d82f9e1 100644 --- a/sdk/communication/ci.yml +++ b/sdk/communication/ci.yml @@ -28,6 +28,8 @@ extends: parameters: ServiceDirectory: communication Artifacts: + - name: azure-communication-callingserver + groupId: com.azure - name: azure-communication-common groupId: com.azure safeName: azurecommunicationcommon diff --git a/sdk/communication/pom.xml b/sdk/communication/pom.xml index 1e4a5f23188af..7e43163f1ed91 100644 --- a/sdk/communication/pom.xml +++ b/sdk/communication/pom.xml @@ -13,6 +13,7 @@ coverage + azure-communication-callingserver azure-communication-chat azure-communication-common azure-communication-identity @@ -21,6 +22,11 @@ + + com.azure + azure-communication-callingserver + 1.0.0-beta.1 + com.azure azure-communication-chat @@ -56,6 +62,7 @@ 0.8.5 + com/azure/communication/callingserver/*.class com/azure/communication/chat/*.class com/azure/communication/sms/*.class com/azure/communication/phonenumbers/*.class @@ -83,6 +90,7 @@ true + azure-communication-callingserver azure-communication-chat azure-communication-common azure-communication-identity