Skip to content

Commit

Permalink
Feature/communication server calling (Azure#22055)
Browse files Browse the repository at this point in the history
* 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 <papati@microsoft.com>

* 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 <jiach@microsoft.com>

* [Automation] Generate Fluent Lite from deviceprovisioningservices#package-2020-03 (#21938)

Co-authored-by: timtay-microsoft <timtay@microsoft.com>

* 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 <agiurg@microsoft.com>

* 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 <kuthapar@microsoft.com>

* Adding a No Op version of the List RR with Options test, for code coverage (#22035)

Co-authored-by: Andrei Giurgiu <agiurg@microsoft.com>

* 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 <chononiw@microsoft.com>

* 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 <savaity@microsoft.com>
Co-authored-by: Sameeksha Vaity <sameeksha.v91@gmail.com>

* 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 <bebroder@microsoft.com>

* Use generate matrix job name parameter as display name (#22089)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* 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 <zhihaoguo@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: timtay-microsoft <timtay@microsoft.com>
Co-authored-by: Connie Yau <conniey@microsoft.com>
Co-authored-by: Pallavi Taneja <pallavit@users.noreply.github.com>
Co-authored-by: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com>
Co-authored-by: angiurgiu <angiurgiu@gmail.com>
Co-authored-by: Andrei Giurgiu <agiurg@microsoft.com>
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 <weidxu@microsoft.com>
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 <Craig.K.Treasure@microsoft.com>
Co-authored-by: John Mannix <jmannix@onetrust.com>
Co-authored-by: Kushagra Thapar <kuthapar@microsoft.com>
Co-authored-by: Francesco Scuccimarri <francescoscuccimarri@gmail.com>
Co-authored-by: Naveen Singh <simplynaveen20@gmail.com>
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com>
Co-authored-by: Anu Thomas Chandy <anuamd@hotmail.com>
Co-authored-by: samvaity <savaity@microsoft.com>
Co-authored-by: Sameeksha Vaity <sameeksha.v91@gmail.com>
Co-authored-by: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com>
Co-authored-by: Jianghao Lu <jianghaolu@users.noreply.github.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Fabian Meiswinkel <fabianm@microsoft.com>

* 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 <conniey@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* 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 <jiach@microsoft.com>

* 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 <giakas@microsoft.com>

* 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 <conniey@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: giakas <giakas@microsoft.com>
Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
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 <weidxu@microsoft.com>
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 <jiach@microsoft.com>

* 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 <giakas@microsoft.com>

* 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 <chononiw@microsoft.com>

* fix(*): update server calling pom

Co-authored-by: Connie Yau <conniey@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: giakas <giakas@microsoft.com>
Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
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 <weidxu@microsoft.com>
Co-authored-by: gaohan <1135494872@qq.com>
Co-authored-by: Sameeksha Vaity <savaity@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
Co-authored-by: Fabian Meiswinkel <fabianm@microsoft.com>
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>

* 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 <jiach@microsoft.com>

* 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 <giakas@microsoft.com>

* 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 <chononiw@microsoft.com>

* [Communication]: Update readme to release version (#22149)

* Update readme to release version

* Ignore transitive API errors from core

Co-authored-by: JP Chen <jiach@microsoft.com>

* Update pom (#22155)

Co-authored-by: JP Chen <jiach@microsoft.com>

* 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 <conniey@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: giakas <giakas@microsoft.com>
Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
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 <weidxu@microsoft.com>
Co-authored-by: gaohan <1135494872@qq.com>
Co-authored-by: Sameeksha Vaity <savaity@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
Co-authored-by: Fabian Meiswinkel <fabianm@microsoft.com>
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com>
Co-authored-by: Vinay Gera <vigera@microsoft.com>
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 <jiach@microsoft.com>

* 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 <giakas@microsoft.com>

* 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 <chononiw@microsoft.com>

* [Communication]: Update readme to release version (#22149)

* Update readme to release version

* Ignore transitive API errors from core

Co-authored-by: JP Chen <jiach@microsoft.com>

* Update pom (#22155)

Co-authored-by: JP Chen <jiach@microsoft.com>

* 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 <agiurg@microsoft.com>

* 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 <conniey@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: giakas <giakas@microsoft.com>
Co-authored-by: michaelqi793 <78671298+michaelqi793@users.noreply.github.com>
Co-authored-by: Rujun Chen <Rujun.Chen@microsoft.com>
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 <weidxu@microsoft.com>
Co-authored-by: gaohan <1135494872@qq.com>
Co-authored-by: Sameeksha Vaity <savaity@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
Co-authored-by: Fabian Meiswinkel <fabianm@microsoft.com>
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com>
Co-authored-by: Vinay Gera <vigera@microsoft.com>
Co-authored-by: ankitarorabit <48968483+ankitarorabit@users.noreply.github.com>
Co-authored-by: angiurgiu <angiurgiu@gmail.com>
Co-authored-by: Andrei Giurgiu <agiurg@microsoft.com>
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 <papati@microsoft.com>

* 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 <jiach@microsoft.com>

* [Automation] Generate Fluent Lite from deviceprovisioningservices#package-2020-03 (#21938)

Co-authored-by: timtay-microsoft <timtay@microsoft.com>

* 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 <agiurg@microsoft.com>

* 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 <kuthapar@microsoft.com>

* Adding a No Op version of the List RR with Options test, for code coverage (#22035)

Co-authored-by: Andrei Giurgiu <agiurg@microsoft.com>

* 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 <chononiw@microsoft.com>

* 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 <savaity@microsoft.com>
Co-authored-by: Sameeksha Vaity <sameeksha.v91@gmail.com>

* 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 <bebroder@microsoft.com>

* Use generate matrix job name parameter as display name (#22089)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* 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 <zhihaoguo@microsoft.com>
Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
Co-authored-by: Jianping Chen <jp.chen.jianping@gmail.com>
Co-authored-by: JP Chen <jiach@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: timtay-microsoft <timtay@microsoft.com>…
  • Loading branch information
Show file tree
Hide file tree
Showing 154 changed files with 16,419 additions and 2 deletions.
1 change: 1 addition & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -598,4 +598,8 @@ the main ServiceBusClientBuilder. -->
<!-- Fields are set via reflection using JCommander. Setting them to final fields will break it. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck"
files="com.azure.messaging.eventhubs.perf[/\\].*Options\.java"/>

<!-- Avoiding PagedFlux check if already using RetriableDownloadFlux. -->
<!-- Issue: https://github.com/Azure/azure-sdk-for-java/issues/22117 -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.communication.callingserver.CallingServerAsyncClient"/>
</suppressions>
5 changes: 5 additions & 0 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
<artifactId>azure-communication-phonenumbers</artifactId>
<version>1.1.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-phonenumbers;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-callingserver</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-callingserver;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-containers-containerregistry</artifactId>
Expand Down
1 change: 1 addition & 0 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 19 additions & 0 deletions sdk/communication/azure-communication-callingserver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

<!-- LINKS -->
[read_me]: https://github.com/Azure/azure-sdk-for-java/blob/feature/communication-ServerCalling/sdk/communication/azure-communication-callingserver/README.md


176 changes: 176 additions & 0 deletions sdk/communication/azure-communication-callingserver/README.md
Original file line number Diff line number Diff line change
@@ -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
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-callingserver</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
```
[//]: # ({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.
<!-- embedme src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java#L28-L34 -->
```java
// Your connectionString retrieved from your Azure Communication Service
String connectionString = "endpoint=https://<resource-name>.communication.azure.com/;accesskey=<access-key>";

// 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:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java#L46-L66 -->
```java
CommunicationIdentifier source = new CommunicationUserIdentifier("<acs-user-identity>");
CommunicationIdentifier firstCallee = new CommunicationUserIdentifier("<acs-user-identity-1>");
CommunicationIdentifier secondCallee = new CommunicationUserIdentifier("<acs-user-identity-2>");

CommunicationIdentifier[] targets = new CommunicationIdentifier[] { firstCallee, secondCallee };

String callbackUri = "<callback-uri-for-notification>";

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:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java#L86-L87 -->
```java
CommunicationIdentifier thirdCallee = new CommunicationUserIdentifier("<acs-user-identity-3>");
callConnection.addParticipant(thirdCallee, "ACS User 3", "<string-for-tracing-responses>");
```

#### Hangup a Call:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ReadmeSamples.java#L76-L76 -->
```java
callConnection.hangup();
```

### Start, Pause, Resume, Stop and Get a recording

#### Start a Recording:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java#L47-L51 -->
```java
String serverCallId = "<serverCallId received from starting call>";
String recordingStateCallbackUri = "<webhook endpoint to which calling service can report status>";
ServerCall serverCall = callingServerClient.initializeServerCall(serverCallId);
StartCallRecordingResponse response = serverCall.startRecording(recordingStateCallbackUri);
String recordingId = response.getRecordingId();
```

#### Pause a Recording:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java#L65-L65 -->
```java
serverCall.pauseRecording(recordingId);
```

#### Resume a Recording:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java#L78-L78 -->
```java
serverCall.resumeRecording(recordingId);
```

#### Stop a Recording:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java#L91-L91 -->
```java
serverCall.stopRecording(recordingId);
```

#### Get the Recording State:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java#L105-L105 -->
```java
CallRecordingStateResult callRecordingStateResult = serverCall.getRecordingState(recordingId);
```

### Play Audio in Call

#### Play Audio:
<!-- embedme src/samples/java/com/azure/communication/callingserver/ConversationClientReadmeSamples.java#L122-L127 -->
```java
String audioFileUri = "<uri of the file to play>";
String audioFileId = "<a name to use for caching the audio file>";
String callbackUri = "<webhook endpoint to which calling service can report status>";
String context = "<Identifier for correlating responses>";
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

<!-- LINKS -->
[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
154 changes: 154 additions & 0 deletions sdk/communication/azure-communication-callingserver/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.azure</groupId>
<artifactId>azure-client-sdk-parent</artifactId>
<version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} -->
<relativePath>../../parents/azure-client-sdk-parent</relativePath>
</parent>

<groupId>com.azure</groupId>
<artifactId>azure-communication-callingserver</artifactId>
<packaging>jar</packaging>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-callingserver;current} -->

<name>Microsoft Azure client library for CallingServer service</name>
<description>
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.
</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<distributionManagement>
<site>
<id>azure-java-build-docs</id>
<url>${site.url}/site/${project.artifactId}</url>
</site>
</distributionManagement>

<scm>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>

<properties>
<src.dir>src/main</src.dir>
<test.dir>src/test</test.dir>
<jacoco.min.linecoverage>0.70</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0.70</jacoco.min.branchcoverage>
<jacoco.skip.coverage.check>true</jacoco.skip.coverage.check>
</properties>

<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.17.0</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-common</artifactId>
<version>1.1.0-beta.1</version> <!-- {x-version-update;com.azure:azure-communication-common;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-identity</artifactId>
<version>1.1.1</version> <!-- {x-version-update;com.azure:azure-communication-identity;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.6.3</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>9.8.1</version> <!-- {x-version-update;com.nimbusds:nimbus-jose-jwt;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.7.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.7.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-engine;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.7.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-params;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version> <!-- {x-version-update;org.hamcrest:hamcrest-all;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.9.0</version> <!-- {x-version-update;org.mockito:mockito-core;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<version>3.4.6</version> <!-- {x-version-update;io.projectreactor:reactor-test;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.7.0</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.3.1</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version> <!-- {x-version-update;org.jacoco:jacoco-maven-plugin;external_dependency} -->
<configuration>
<includes>
<include>com/azure/communication/callingserver/*.class</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version> <!-- {x-version-update;org.apache.maven.plugins:maven-enforcer-plugin;external_dependency} -->
<configuration>
<rules>
<bannedDependencies>
<includes>
<include>com.azure:*</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 247fc76

Please sign in to comment.