Граф коммитов

6390 Коммитов

Автор SHA1 Сообщение Дата
Jeff Fisher 1645bf7f1d
[core-xml] Create `@azure/core-xml` (#10307)
Create new package for serializing XML payloads
2020-07-30 15:50:16 -07:00
Nick Guerrera 1c108b5fb3
Use UNIX LF line endings everywhere, even on Windows (#10360)
The new Prettier-based formatting commit hook is incompatible
with Windows CRLF line endings so enforce Unix LF everywhere.

The .gitattributes prior to this change causes these conversions even
if core.autocrlf is false. This configuration, in contrast, works
irrespective of the global git configuration. It also prevents files
from being committed with Windows line endings accidentally.

* Git 2.10 (release 2016-09-03) or later required

* Earlier versions of git will incorrectly apply eol=lf to binary
  files unless explicitly called out as binary in .gitattributes

* Existing working copies on Windows will not have their existing line
  endings corrected, and you will get `warning: CRLF will be replaced
  by LF in <file>` when you edit them.

* To convert all of the files in an existing working copy to avoid
  these warnings:

1. MAKE SURE all your work is committed and pushed somewhere as a
   backup

2. MAKE SURE `git status` reports "nothing to commit, working tree
   clean"

3. Run the following from working copy root:
```
git rm --cached -r .
git reset --hard
```
2020-07-30 14:18:17 -07:00
Zachary Foster 508aea51fc
Attempts to add correct undefined check for header merge (#10357) 2020-07-30 14:16:06 -04:00
Deyaaeldeen Almahallawi 39242bf012
[Git Hook] Ignore YAML files (#10351) 2020-07-30 14:15:54 -04:00
Azure SDK Bot 4464a2c170
Sync eng/common directory with azure-sdk-tools repository (#10355) 2020-07-30 10:15:05 -07:00
Deyaaeldeen Almahallawi bff74cb131
[Text Analytics] Linting (#10332) 2020-07-30 08:48:20 -07:00
Richard Park 3a046f6de4
[service-bus] Track 2 - push down methods of MessageReceiver that are only used for StreamingReceiver (#10322)
Pushing down methods from MessageReceiver that really only belong to StreamingReceiver. This is a prep-PR for a larger refactoring with StreamingReceiver but it's useful on its own.
2020-07-29 15:44:34 -07:00
Richard Park 9947ed8e8b
[service-bus] Fix issue with live tests failing on session-based tests (#10325)
Two breakages:
* A service side change has made it so specifying different values for sessionId and partitionKey is now considered a failure.
* Fix a broken test that got through when I accidentally skipped the live test run on my BatchingReceiverLite PR

Also, moved the receiverInit.spec.ts into 'internal' since it is purely a unit test.
2020-07-29 14:26:45 -07:00
Deyaaeldeen Almahallawi d46a2f39bf
add git pre commit hook for precise-commits (#10219) 2020-07-29 13:14:42 -04:00
Deyaaeldeen Almahallawi fa43ba1470
[Core] formatting (#10269) 2020-07-29 13:07:53 -04:00
Deyaaeldeen Almahallawi bf0ed880b8
[CosmosDB] formatting (#10268) 2020-07-29 10:00:27 -04:00
Mitch Denny d4a9ed648d
Use the common Cosmos DB template to start the emulator. (#10323)
* Use the common Cosmos DB template to start the emulator.

* Revert change to cosmos-sdk-client.

* Undo changes to cosmos-sdk-client.yml
2020-07-29 13:10:01 +10:00
Liang Wang 0eea57e6b4
Release ServiceBus (#10294) 2020-07-29 10:36:32 +08:00
Azure SDK Bot b8290b7ea7
Sync eng/common directory with azure-sdk-tools repository (#10281) 2020-07-28 17:39:30 -07:00
Mark Wolff 628d761916
[Monitor] integrate OpenTelemetry Exporter with rush monorepo (#10221)
* chore(monitor): integrate with rush

* update common-versions

* fix ci

* bump to OTel 0.10.1

* fix: shrinkwrap
2020-07-28 18:57:07 -04:00
Richard Park 25137830d2
[service-bus] Receiver unification - BatchingReceiver (#10277)
As part of the ongoing enhancements to Track 2 we've been running into issues where code is getting duplicated between session and non-session (or worse, is drifting apart). 

This PR is first in a series to unify the implementations, starting with unifying BatchingReceiver and MessageSession to the same body of code.

This is tangentially related to #9829, which will get the same treatment but for StreamingReceiver and MessageSession.
2020-07-28 12:44:34 -07:00
Deyaaeldeen Almahallawi 7888918e1c
[Text Analytics] Regenerating the SDK using the most recent and fixed version of swagger v3.0 (#10295)
* [Text Analytics] Regenerating the SDK using the most recent version of swagger v3.0

* update release notes

* Update sdk/textanalytics/ai-text-analytics/CHANGELOG.md

Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>

* Update sdk/textanalytics/ai-text-analytics/CHANGELOG.md

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>

Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2020-07-28 15:21:27 -04:00
Deyaaeldeen Almahallawi 7986f32dab
[Text Analytics] bump version number to 5.0.0 (#10297)
* [Text Analytics] bump version number to 5.0.0

* getting ready for 5.0.1
2020-07-28 14:52:39 -04:00
Daniel Rodríguez 857f355fd9
updated karma-mocha (#10303) 2020-07-28 13:21:10 -04:00
Deyaaeldeen Almahallawi ebfcf54e0c
[Key Vault] formatting (#10265) 2020-07-28 11:27:02 -04:00
Deyaaeldeen Almahallawi dcd8430956
[Storage] formatting (#10262) 2020-07-28 10:03:58 -04:00
Daniel Rodríguez 752628be79
[Identity] Enforcing ESLint (#10257)
* [Identity] Enforcing ESLint

* avoiding changes on the public API, and attempting to fix CI

* removing the useless constructor

* removed empty line
2020-07-28 06:55:48 -04:00
Harsha Nalluru a91e5fcb30
[Service Bus] Move scheduledMessageCount to TopicRuntimeProps from SubscriptionRuntimeProps (#10250)
* Move scheduledMessageCount to TopicRuntimeProps

* fis tests

* remove the magic type for readability
2020-07-28 00:21:25 -07:00
Zachary Foster 821f350ee2
[Cosmos] Bulk/Batch APIs with v1/v2 hashing in JS (#10168)
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
2020-07-27 23:04:24 -05:00
Sarangan Rajamanickam 7e2b6dfaa4
Regenerate Cognitive Services Anomaly Detector SDK (#10287)
* Regenerate Anomaly Detector SDK

* Update TS Sample to JS Sample
2020-07-27 16:59:58 -07:00
Sarangan Rajamanickam 9291f8e544
Update sample code in readme files for the Cognitive Services auto generated packages to use JavaScript (#10301)
* Change TS Samples to JS Samples

* Updated Minor Versions in Package JSON Files

* Addressing PR Comments
2020-07-27 16:35:43 -07:00
Orta Therox 5153500988
Update README.md (#10296) 2020-07-27 15:11:45 -07:00
Daniel Rodríguez fb630e8c71
[Key Vault] Renamed the core folder as generated (#10280)
* moved core to generated

* removed the now useless .eslintignore
2020-07-27 17:26:02 -04:00
Jeff Fisher a5fda325bd
[core-client] Updated ServiceClient implementation to work with core-https (#9854)
First cut of ServiceClient to support new codegen
2020-07-27 13:28:11 -07:00
Jose Manuel Heredia Hidalgo 1f5af81eb6
[arm-sql] Override sendOperationRequest to always set Accept header (#10278) 2020-07-27 11:35:59 -07:00
Daniel Rodríguez de585c8675
upgraded to karma 5.1.0 (#10190) 2020-07-27 12:06:12 -04:00
Deyaaeldeen Almahallawi c6d3e631e9
change the npm format script to use our .prettierignore file (#10272) 2020-07-27 11:53:59 -04:00
Deyaaeldeen Almahallawi a74cec81c0
[Text Analytics] formatting (#10273) 2020-07-27 11:30:28 -04:00
Deyaaeldeen Almahallawi 4d1b1ab9e9
[Common] format (#10271) 2020-07-27 11:29:36 -04:00
Deyaaeldeen Almahallawi 2073437975
[App Configuration] formatting (#10270) 2020-07-27 11:29:04 -04:00
Deyaaeldeen Almahallawi 43410e9c3c
[Event Hub] formatting (#10267) 2020-07-27 11:05:44 -04:00
Deyaaeldeen Almahallawi eb2bbe8345
[Identity] formatting (#10266) 2020-07-27 11:04:26 -04:00
Deyaaeldeen Almahallawi 8c13a8a4da
[Search] formatting (#10264) 2020-07-27 10:18:47 -04:00
Deyaaeldeen Almahallawi d481d4026a
[Service Bus] formatting (#10263) 2020-07-27 10:18:06 -04:00
Deyaaeldeen Almahallawi d02a5aab10
[Test Utils] formatting (#10261) 2020-07-27 09:49:39 -04:00
Deyaaeldeen Almahallawi b6e26e16b3
[Text Analytics] Regenerating the SDK using the new code generator (#10194)
* [Text Analytics] Regenerating the SDK using the new code generator

* update the api.md file

* update package version
2020-07-27 09:13:31 -04:00
Sarangan Rajamanickam b67d221e62
Regenerated Cognitive Services SDK Face API (#10285)
* Regenerate Face SDK Cognitive Services

* Changes TS Code to JS Code
2020-07-24 17:53:32 -07:00
Richard Park abf4cc755d
[app-configuration] Fixing issue with readme snippet for getConfiguration() (#10283)
Fixing outdated snippet in the readme.

Fixes #10244
2020-07-24 16:57:00 -07:00
Azure SDK Bot 47a51ca2e1
Increment package version after release of azure-app-configuration (#9935) 2020-07-24 15:20:50 -07:00
Azure SDK Bot 555cbe6c62
Increment package version after release of azure-search-documents (#10148) 2020-07-24 15:18:58 -07:00
Azure SDK Bot 6569c61c4a
Increment package version after release of azure-identity (#10201) 2020-07-24 15:17:03 -07:00
Harsha Nalluru 02aaa607d5
[Service Bus] Fix userAgent string in the browsers and pass it in the ATOM Mgmt Client (#10092)
* runtimeInfo replicas of eevent-hubs

* package.json entry for runtimeInfoBrowser

* move userAgent string to utils

* Update connContext and ATOMClient with userAgent

* Add user agent policy

* Update the link with the one Brian provided

* remove os shim

* Remove userAgent in the options since the userAgentPolicy covers it.

* remove TODO

* delete runtimeinfo files in favour of getPlatformSpecificData from core-http

* Revert "delete runtimeinfo files in favour of getPlatformSpecificData from core-http"

This reverts commit ef1c02ce42.

* update runtimeInfo files to be in sync with core-http

* make userAgent -> userAgentPrefix

* getDefaultUserAgentValue in userAgent

* getRuntimeInfo in userAgent for AMQP operations

* refactor ATOM client constructor for userAgent

* formatUserAgentPrefix helper

* Update API Report with UserAgentOptions

* Add userAgent in the options back again and some refactoring

* createPipelineFromOptions - use default pipeline policies

* revert os shim removal

* duplicated libInfo in user agent string

* remove shim by fixing the invalid file name

* Changelog

* remove @type {UserAgentOptions} in JSDocs

* Fix user agent string

* Do not set options.userAgent
2020-07-24 15:06:59 -07:00
Harsha Nalluru 113ee7659d
[Service Bus] ATOM API - Rename the listing APIs from "get" to "list" (#10223)
* "getQueues" to "listQueues"

* API Report

* fix tests

* fix samples

* changelog

* readmes in the samples folder

* Update sdk/servicebus/service-bus/CHANGELOG.md

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>

* Missing space

* Fix abort signal tests

* Trigger pipeline(dummy commit)

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2020-07-24 15:05:47 -07:00
Zachary Foster 762ac72770
[Cosmos] Throws when connection endpoint is invalid in client init (#10227)
* Throws when bad connection endpoint is defined

* Adds changelog

* import URl for node8
2020-07-24 18:04:48 -04:00
chradek a1ab27d6e4
[eventhubs-checkpointstore-blob] fix listCheckpoints performance with versioned containers (#10242)
* [eventhubs-checkpointstore-blob] fix listCheckpoints performance with versioned containers

* remove unneeded error.details.Code check
2020-07-24 13:32:45 -07:00