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

6395 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot 7dbbf0bcce
Increment package version after release of azure-core-http (#9907) 2020-07-07 09:24:29 -07:00
Sarangan Rajamanickam 6593384732
Release Custom Vision Prediction & Training - July 2020 (#9906)
* Changes to Prediction SDK

* Code changes for TRaining SDK

* Change version of Training to 5.1.0
2020-07-06 20:26:49 -07:00
Harsha Nalluru 7dd46ad9b0
[Service Bus] Update preview.3 to preview.4 (#9913)
* [Service Bus] Update preview.3 to preview.4

* update versions and hyperlinks

* migration guide updates
2020-07-06 16:57:46 -07:00
Will Temple c12946cf1f
[ai-form-recognizer] Remove RecognizedReceipt type (#9853)
* [ai-form-recognizer] De-specialize receipt recognition

* Add sample showing how to coerce the type of Form repsonses

* Format

* Fix ae-missing-export warnings
2020-07-06 16:09:01 -07:00
chradek 926e8968ea
[event-hubs] prepare for 5.3.0-preview.1 release (#9911)
* [event-hubs] prepare for 5.3.0-preview.1 release

* add unreleased entry for checkpointstore
2020-07-06 15:30:32 -07:00
Azure SDK Bot 24ab576835
Sync eng/common directory with azure-sdk-tools repository (#9856) 2020-07-06 14:51:19 -07:00
Daniel Rodríguez 0caf060869
[Key Vault Certificates] Happy path to avoid unstable live tests (#9879)
* [Key Vault Certificates] Happy path to avoid variable behavior in live tests

* forgot these .only

* added timeout on the package.json somewhere I missed before
2020-07-06 15:36:16 -04:00
Jose Manuel Heredia Hidalgo 95d62b4082
[arm-recoveryservicesbackup] Re-generate to fix missing nextLink (#9851) 2020-07-06 10:12:46 +08:00
Ramya Rao 0271e6266f
[Identity] Fix warning on unresolved dependencies when building tests (#9897) 2020-07-06 09:50:25 +12:00
Ramya Rao a741d0aca2
[Identity] Fix warning on unresolved dependencies (#9855) 2020-07-06 07:01:19 +12:00
Ramya Rao e748a31910
[Cosmos] Add missing copyright text (#9887) 2020-07-03 13:52:49 -07:00
Daniel Jurek 47c5b19325
Use subscription configuration template pattern that .NET and Java use (#9891) 2020-07-02 21:26:23 -07:00
Richard Park 4a05284323
[app-configuration] updating changelog with release date (#9886) 2020-07-02 18:12:36 -07:00
Will Temple a5d562d902
[ai-form-recognizer] Use Date intead of number for expiresOn (#9876) 2020-07-02 17:54:46 -07:00
Will Temple 697f69a837
[ai-form-recognizer] Anticipating support for non-text field elements (#9882)
* [ai-form-recognizer] Renames to support non-text elements.

* Samples

* Fixed some missing renames in exception texts, fixed a typo in changelog.
2020-07-02 17:30:03 -07:00
Harsha Nalluru 5a820bebdc
[Service Bus] Minor changelog updates (#9884)
* Minor changelog updates

* release date = Tuesday
2020-07-02 17:19:42 -07:00
Richard Park 03db00e3b5
[service-bus] Adding in support for stopping a Subscription for session `subscribe` (#9849)
Adding in support for stopping a session-based subscribe() call. 

Fixes #9493.
2020-07-02 15:44:40 -07:00
Harsha Nalluru 9b0c146a55
[Service Bus] Removing `isReceivingMessages` from the Receiver API Surface (#9875)
* Remove `isReceivingMessages` from the API surface

* API Report

* fix build failures

* remove `as any`

* Add ### Breaking Changes sub-title

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

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

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2020-07-02 13:19:21 -07:00
chradek 9b0d7725e5
[event-hubs] adds loadBalancingOptions and greedy load balancing strategy (#9706)
* [event-hubs] adds EventHubConsumerClientOptions

* fix conflicts from rebase

* refactor load balancer to get all claimable partitions

* add balanced and greedy load balancer strategies

* add unbalancedLoadBalancingStrategy

* update pumpManager to expose receivingFromPartitions

* updates EventProcessor to use LoadBalancingStrategies

* add tests for the partitionOwnershipExpirationIntervalInMs

* add functional load balancing tests

* update docs

* update version to 5.3.0-preview.1

* add changelog

* update pnpm-lock

* address feedback

* add explicity existance check to partitionOwnership.lastModifiedTimeInMs

* trashing -> thrashing

* be smarter about else-if statements

* explain the magic number 6

* identifyPartitionsToClaim -> getPartitionsToClaim

* identifyClaimablePartitions -> listAvailablePartitions

* add better summary for EventHubConsumerClientOptions

* add better docs around greedy and balanced strategies

* remove superfluous doc from CommonEventProcessorOptions

* add comment around why we have abandoned partitions

* throw AbortError instead of silent return

* remove unneeded receivingFrom method

* update pnpm-lock.yaml

* rush update
2020-07-02 13:18:24 -07:00
Chidozie Ononiwu b3989f15f5
Enable ChangeLog Verification in Repo (#9819) 2020-07-02 13:07:37 -07:00
Richard Park 0fdb71a821
[service-bus] Adding in support for stopping a Subscription for non-session `subscribe` (#9802)
This first PR is just going to handle non-session closing of the result of a `subscribe()`* call. 

When close()'d we drain the receiver so no new messages will be received and leave the link _open_ so the
user can still settle against it. To close the link they must close the outer `Receiver` object.

*Normally we'd call it a subscription but that's already the name of an entity within service bus
2020-07-02 11:35:26 -07:00
Ramya Rao a5a7a3e3aa
Update eslint plugin version to 3.0 (#9862) 2020-07-02 10:03:29 -07:00
Jeremy Meng e38c243047
[core-http] Fix a regression in exponential retry policy (#9852)
The refactoring in PR #9667 introduce a behavior change: when the response is
undefined we retry.  This is different from the previous behavior that we don't
retry on undefined response or response.status.

Also the `delay()` and `_nextPolicy.sendRequest()` call should be inside the
try-block.

* Add tests

address CR feedback
2020-07-02 09:17:05 -07:00
Ramya Rao 834183d574
[Cosmos] Use tslint & fail build on lint errors (#9861) 2020-07-01 22:55:11 -07:00
Lin Jian bac38baa77
[storage][stg73preview] use preview version (#9844)
* undo .only

* use preview version

* common-version

Co-authored-by: Lin Jian <ljian3377@gmail.com>
2020-07-02 11:09:03 +08:00
Sarangan Rajamanickam 8cc6c6f42e
Adding JS Samples (#9837)
* Adding JS Samples

* Dummy Commit

* Revert Dummy Commit
2020-07-01 19:45:26 -07:00
Harsha Nalluru 809c49a5a2
[Service Bus] Support for OperationOptions in management operations (#9654)
* OperationOptionsForHTTP

* API Report

* OperationOptionsForHTTP

* plug in OperationOptionsForHTTP

* Make OperationOptionsForHTTP optional

* fix build failures

* API report

* Fixes plugging in the options to webResource

* TYPO

* OperationOptions -> OperationOptionsForAMQP,
OperationOptionsForHTTP -> OperationOptions

* API Report

* add some tests

* OperationOptionsForAMQP -> AMQPOperationOptions

* revert core-http changes

* API Report

* tests

* fix build failures

* Typos

* API Report

* AMQPOperationOptions -> OperationOptionsBase

* API Report

* Update sdk/core/core-http/src/webResource.ts

* Changelog

* fix operOptions for createSubscription

* export { OperationOptions } from "@azure/core-http";

* API Report

* Options description

* Update docs as per the feedback

* Update sdk/servicebus/service-bus/src/modelsToBeSharedWithEventHubs.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

* Update custom headers test, ensure the custom headers are populated as expected

* fix test failures

* API Report

* fix test from merge resolution

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>
2020-07-01 19:24:23 -07:00
xichen 6024ac3960
Release for appconfiguration 551 (#9832)
* Generated from fbb8071c4a5769e8365fe4722a6ab3ef97720346

Update go readme since it was using 2019-11-01-preview API version.

* release for appconfiguration 551

Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
Co-authored-by: xichen <xichen@microsoft.com>
2020-07-02 09:57:38 +08:00
Harsha Nalluru a7de6eafaf
[Service Bus] Bug Fix: userProperties aren't populated while using createRule() from ATOM API (#9794)
* fix ruleResourceSerializer w.r.t userProperties

* add test for userProperties

* changelog

* update error messages

* remove console.log

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

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

* remove extra types

* Update enum names to TypeMaps

* fix the 3 failed tests

* keyValueTypeXMLTag

* buildRawSqlParameter -> buildRawKeyValuePairFromSqlParameter

* more docs and renames

* Add test for array

* InternalRawKeyValuePairs, refactoring and much more

* scope the test to user-properties

* refactor parameter.type

* update error message

* remove .only

* fix error

* unneeded .valueOf

* Add boolean type

* Validations

* tests for Type validation errors on Correlation user property inputs

* Update sdk/servicebus/service-bus/src/serializers/ruleResourceSerializer.ts

* Update sdk/servicebus/service-bus/src/serializers/ruleResourceSerializer.ts

* fix test failures

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2020-07-01 18:06:26 -07:00
Azure SDK Bot b0119f99f7
Sync eng/common directory with azure-sdk-tools repository (#9816) 2020-07-01 17:50:14 -07:00
KarishmaGhiya 0190b5a133
rush update --full (#9848) 2020-07-01 14:40:40 -07:00
KarishmaGhiya b18a95268f
Fix release artifacts parameter name for passing to stage-artifacts.yml (#9820) 2020-07-01 12:35:07 -07:00
Lin Jian ba77e852e4
add 'pack' script for avro as js - test - utils CI fail (#9841)
Co-authored-by: Lin Jian <ljian3377@gmail.com>
2020-07-01 18:21:12 +08:00
Lin Jian 6f2d79a2f5
[storage] version bump up for stg73 preview release (#9838)
* use "rc" instead of preview and bump up versions for queue

* nit

Co-authored-by: Lin Jian <ljian3377@gmail.com>
2020-07-01 17:39:09 +08:00
Lin Jian 410dbb845a
[storage] STG73 features preview (#9532)
* storage-internal-avro parser (#8893)

* IReadable

* Avro compiles

* use storage-internal-avro as shared source in storage-blob

* local build config

* test and bug fix

* rename IReadable to AvroReadable, separate the stream implementation with the interface declaration we need different implementation in browsers

* add "private": true to pacakge.json

* use Record

* me

* fix

* tentative: use string enum instead of string union to avoid two copies of constant string

Co-authored-by: Lin Jian <ljian3377@gmail.com>

* [Storage][Blob] Regenerate with Dec19 swagger

* avor parser offset fix; Readable interface update (#9088)

* [Storage] Regenerate API review

* [storage] avro parser fix (#9154)

* fix

* resolve PR comments: remove useless assignment

* AvroReadableFromStream: removeListener when read succeeds

* remove listener when error callback triggered

Co-authored-by: Lin Jian <ljian3377@gmail.com>

* [Storage] Dec19 - Quickquery (#9112)

* [Storage] Quick query

* [Storage] Quick query API review

* [Storage] Quick query recording

* [Storage] Quick query test case update

* [Storage] Resolve comments

* regenerate storage-blob

* re-generate storage-file-share

* regenrate datalake and undo adding mode to storageClient and storageClientContext

* update datalake service version to 2019-12-12

* [Storage] QuickQuery - Make BlobQueryCsvTextConfiguration properties optional (#9484)

* [storage][blob] blob versioning (#7886)

* blob versioning

* support 'bv' SAS

* add response headers to getProperties & api-extract

* fix comments

* add versionId to getBlob response headers

* fix broken undelete test

* undo 'add snapshot to options'

* replace withVersionId() with getURLWithVersionId()

* Revert "replace withVersionId() with getURLWithVersionId()"

This reverts commit eb1d90d34783b7717ca0a6a651ba2c53a637be48.

* hide the versionId option in convenience layer

* add more tests

* fix comments

* change version to preview

* fix merge error

Co-authored-by: Lin Jian <ljian3377@gmail.com>

* [storage] added change feed (#9151)

* fix

* change feed with mininal live tests

* mocking tests

* format code & rename buildAvroReader parameter name

* add README.md

* change eventTime type from string to Date

* Update sdk/storage/storage-blob-changefeed/README.md

Co-authored-by: Jeremy Meng <yumeng@microsoft.com>

* Update sdk/storage/storage-blob-changefeed/README.md

Co-authored-by: Jeremy Meng <yumeng@microsoft.com>

* Update sdk/storage/storage-blob-changefeed/README.md

Co-authored-by: Jeremy Meng <yumeng@microsoft.com>

* PR comments

* Rename eTag to etag in BlobChangeFeedEventData

* remove hns only properties in change event record

* fix minor bug in avro

* Update sdk/storage/storage-blob-changefeed/README.md

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

* Update sdk/storage/storage-blob-changefeed/README.md

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

* rename to BlobChangeFeedGetChangesOptions and fix comments

* update api

Co-authored-by: Lin Jian <ljian3377@gmail.com>
Co-authored-by: Jeremy Meng <yumeng@microsoft.com>
Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>

* [storage][blob & datalake] Jumbo blob (#9480)

* Jumbo putBlock, putBlob, datalake file append

* undo upload ArrayBuffer

* minor edit

Co-authored-by: Lin Jian <ljian3377@gmail.com>

* [Storage] Support blob tags (recording will be added later) (#9440)

* [Storage] Support blob tags (recording will be added later)

* [Storage] Unify blob tags type Tags everywhere in options and responses

* [Storage] Blob tags - resolve comments

* update service version to 2019-12-12

* blob tags test record

* fix listContainer options

* wip

* record skipped test for Jumbo

* set default formatter

* me

* wip

* blob record node

* record

* add version check for x permission

* record for browser

* wip

* wip

* wip

* wip

* add f for account SAS permission

* add permission f, and x for container

* wip

* me

* me

* PR comments

* me

* record changefeed

* record with blobversioning disabled

* record skipped test for browser

* wip

* avro compatible with Node v8

* fix test record

* fix record

* fix ae-forgotten-export

* lint

* fall back to util for old node.js TextEncoder

* release pipeline for change feed

* [storage][file] large smb files (#9624)

* create large smb files

* wip

* record test

* me

Co-authored-by: Lin Jian <ljian3377@gmail.com>

* [storage] added set Expiry (#9560)

* add set expiry

* add check for input

* use Date instead of a time string

* call blob endpoint directly in datalake

* undo evenhub package.json

* add alternative version and use number instead of decimal string for
expiresOn relative

* add timeToExpireInMs to option

* use string literals instead of enum

* keep old enum for backward compatibility

* nit

Co-authored-by: Lin Jian <ljian3377@gmail.com>

* merge fix

* omit doc in storage-internal-avro

* Revert "[storage] added set Expiry (#9560)"

This reverts commit c3b4414b09.

* nit

* skip live tests for blob tags and quick query

* change path for ts-samples

Co-authored-by: Lin Jian <ljian3377@gmail.com>
Co-authored-by: XiaoningLiu <xiaoning.liu.leon@gmail.com>
Co-authored-by: Xiaoning Liu <xiaonli@microsoft.com>
Co-authored-by: Jeremy Meng <yumeng@microsoft.com>
Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
2020-07-01 10:59:28 +08:00
Ramya Rao 1cec187e01
[Service Bus] Remove redundant docs between interfaces and implementations (#9826) 2020-06-30 17:14:30 -07:00
Will Temple 0a6e07b510
[ai-form-recognizer] Fix a silent merge conflict (#9827) 2020-06-30 16:03:31 -07:00
Harsha Nalluru 7919479d81
[Service Bus] Change suffix for time stamp attributes from "On" to "At" (#9807)
* remove duplicate copyright header

* "On" -> "At"

* Changelog

* API Report
2020-06-30 15:48:26 -07:00
Ramya Rao a3ab920d31
[Service Bus] Add isServiceBusMessage checks to all methods that take messages (#9708) 2020-06-30 15:43:37 -07:00
Azure SDK Bot 0e86e74487
Increment package version after release of azure-cosmos (#9825) 2020-06-30 17:36:54 -05:00
Ramya Rao 7859217af5
[Service Bus] peekMessages to have maxMessageCount mandatory (#9798) 2020-06-30 15:23:12 -07:00
Richard Park d2de6fc019
[app-configuration] Fixing readme with feedback from Cala. (#9823)
* Fixing headings for the readme to match the standard.
* prettier made some minor formatting changes that looked good.
2020-06-30 15:10:22 -07:00
Ramya Rao 4be86c2a54
[Service Bus] Tracing expired sessions is not needed (#9765) 2020-06-30 14:41:23 -07:00
Ramya Rao e920ebb085
[Service Bus] Remove check for session exists when creating session receiver (#9766) 2020-06-30 14:40:47 -07:00
Steve Faulkner 3e352369ac
[Cosmos] Properly escape DEL character in partition key (#9822) 2020-06-30 16:33:19 -05:00
Jeremy Meng 2bf3314169
[FormRecognizer] Fix broken ref docs about supported content types (#9518)
* Mention file formats instead.
2020-06-30 14:26:02 -07:00
Jeremy Meng ba4f7d5a15
[FormRecognizer] Support passing in continuation token for next page (#9235)
* Add mocked tests for listing multiple pages
2020-06-30 14:24:32 -07:00
Sarangan Rajamanickam eac7fe9dd2
Added Typescript Samples for Search Documents (#9809) 2020-06-30 13:56:09 -07:00
Richard Park 2bdc489beb
Make sure we properly handle processError being treated as async. (#9797)
Errors thrown _from_ processError will only be printed, not routed back into processError to prevent possible cascading failures.

Fixes #7836
2020-06-30 12:29:22 -07:00
Lin Jian d69ba6e007
[storage] add convenience methods exists, createIfNotExists, deleteIfExists (#8964)
* [storage-blob] add CreateIfNotExists and DeleteIfExists for Container and Blob

* [storage-flie-share] add CreateIfNotExists and DeleteIfExists

* restore package.json

* [storage-queue] add createIfNotExists and deleteIfExists

* add exists for storage-file-share

* add createIfNotExists and deleteIfExists for storage-file-datalake

* record tests

* fix typo

* change return type - blob

* change return type - datalake

* change return type - file

* change return type - queue

Co-authored-by: Lin Jian <ljian3377@gmail.com>
2020-06-30 15:08:03 +08:00