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

39 Коммитов

Автор SHA1 Сообщение Дата
Jose Manuel Heredia Hidalgo 502354f918
Rest Client for Confidential ledger (#15172)
New rest client for Confidential Ledger @azure-rest/confidential-ledger.

Changes in @azure/core-auth:
* Added new CertificateCredential for client cert authentication

Changes in @azure/core-rest-pipeline:
* Expose Agent Secure Context options to set CA, Cert, and Key in an Agent

Changes in @azure-res/core-client:
* Expose the pipeline as part of the client to allow pipeline customization
2021-05-12 00:51:57 +00:00
Jose Manuel Heredia Hidalgo ddd7fa8eea
Purview Scanning Rest Client (#14918)
* Initial commit for PurviewScanning

* Add samples

* Add sanity test

* Fix broken links

* Fix links

* remove broken link

* Fix endpoint replacement

* fix url

* delete unused recording

* Re-generate latest swagger

* Add purview ci

* Re-generate purview scanning

* update readme

* Fix broken links

* Update samples

* update test and broken link

* Update Karma timeout

* Address feedback

* update pnpm and rebase

* update package json
2021-05-10 15:27:46 -07:00
Jose Manuel Heredia Hidalgo e5f398d381
Purview Catalog Rest Client (#14917)
* Initial commit for purview catalog

* Add test and samples

* Remove non-useful comments

* Re-generate

* Update api-extractor

* Rebase and update dependencies

* Update readme

* re-generate

* Temp npm link

* Fix catalog link

* Update karma timeout

* Reference rest client docs

* update pnpmlock

* capitalize REST
2021-05-10 13:36:37 -07:00
Jose Manuel Heredia Hidalgo 63140222c8
[Rest Level Client] Ai document translation (#14749)
This PR introduces 2 new packages

- `@azure-rest/core-client` - which contains shared types and functions that will be reused across generated Rest Level Clients
- `@azure-rest/ai-document-translator` - which is an auto generated rest level client that consumes `@azure-rest/core-client`. for the most part this package is composed of types.

A couple of changes included in this PR
- Updated dev-tool so that samples work with the new `@azure-rest` namespace
- Allow alternate versions for `prettier` and `api-extractor` to support newer TS features used in the Rest Level Clients such as Template Literal Types 
   - Talked to @deyaaeldeen and there doesn't seem to be any constraint for upgrading Prettier for the whole repo. To keep this PR scoped down to the Rest Level Client work I'll address the upgrade in a separate PR

TODO:

- [x] @azure-rest/core-client
   - [x] Functionality
   - [x] Readme
   - [x] Tests 
- [x] @azure-rest/ai-document-translator
   - [x] Functionality
   - [x] Samples
   - [x] Readme
   - [x] Tests
2021-04-15 06:25:34 +00:00
KarishmaGhiya b45fa72681
update clean commands (#14693) 2021-04-07 18:31:38 +00:00
chradek aad8e1c1bc
Remove testhub utility package (#14678)
* Remove testhub CLI utility from repo

* update pnpm-lock.yaml

* remove vestigal traces of testhub
2021-04-02 11:44:19 -07:00
Jeremy Meng c7b9f6fe36
[ContianerRegistry] Add local swagger file temporarily (#14173)
* Add files missing from the initial project

A couple of files are missing from the previous PR #14016 of adding the initial
project structure.

* Add ACR swagger version 2019-08-15-preview

* Update swagger to Anne's version (re-formatted)

* Re-generate with the updated swagger

* Add RepositoryClient and some of its method stubs

- Add a .vscode launch.json
- Add a credential and a policy for basic auth

* Updated to Anne's latest version (re-formatted)

* Rename properties with x-ms-client-name then re-generate

* Flatten two attributes properties

* Adjust api surface

* Address CR feedback

* Return DeletedRepositoryResult from deleteRepository()

* acr/v1 manifest endpoints only take digests

* Remove TagAttributes.signed as service is deprecating it

* Fix v1 manifests path issue

It takes a digest.
2021-03-16 13:19:37 -07:00
Jose Manuel Heredia Hidalgo 0941b23115
[Device Update] Release of Device Update for IoT Hub SDK for JavaScript (#14066)
* Initial commit

* update package.json

* Add first sample

* Format

* Add simple sample

* Update samples metadata

* Formatting

* Enalbe build and execute samples scripts

* UPDATE LOCK

* update ci

* update scripts

* update test

* don't throw

* Update readme

* Fix readmes

* Update types destination

* Update package

* Update credential scope

* Add changelog

* Update package.json

* Skip lint

* Update dependencies

* Fix readme

* fix tables broken references

* Update release date
2021-03-03 19:11:57 -08:00
Jeff Fisher e4838de481
[core-https] Rename core-https to core-rest-pipeline (#14042) 2021-03-03 12:11:11 -08:00
Jeff Fisher 204ecf1e30
[core-util] Create `@azure/core-util` (#14062)
To avoid having to export random helpers from `@azure/core-rest-pipeline`, this new package is being created to house them instead. This will also allow us to share utilities between HTTP and AMQP stacks.

See #14049 for some of the motivation.
2021-03-03 00:49:51 +00:00
Craig Treasure fa60b3bda0
Added the Azure.MixedReality.Authentication library (#13609)
This change adds an authentication library for Mixed Reality services, which all currently utilize a custom STS for authentication. Upcoming Mixed Reality client libraries will depend on this library to perform authentication using identities from Azure.Identity. See the added `README.md` for more information about the library.

[ApiView link](https://apiview.dev/Assemblies/Review/4917626415bc448c8e2534e00c6f3a17)
2021-02-16 22:18:05 +00:00
Hector Hernandez 63be94437f
Renaming OpenTelemetry Exporter package (#13634)
* Renaming OpenTelemetry Exporter package

* Renaming folder

* Lint changes

* rush update

* Rush build
2021-02-08 14:53:00 -08:00
Jeff Fisher f68f3fe74f
[communication-identity] Update karma to not use karma-remap-istanbul (#13466)
karma-remap-istanbul is an undesirable dependency we've been trying to remove from the tree. This PR does the same dance we've performed in other libraries to make it unnecessary.
2021-01-28 22:30:11 +00:00
Jeff Fisher 1d2d65f8f6
[core-crypto] Remove karma-remap-istanbul dependency (#13378)
#13309 didn't catch this because core-crypto went in around the same time.
2021-01-25 20:34:35 +00:00
Jeff Fisher 40b027df46
Update karma test configuration for track2 packages (#13309)
This PR removes our dependency on the unmaintained package "karma-remap-istanbul" and replaces it with a smaller karma plugin ("karma-sourcemap-loader") that allows karma-coverage to load source maps from the disk correctly.

I tested and confirmed that the generated coverage data has the correct source TS files.
2021-01-22 19:42:51 +00:00
Jeremy Meng d6d5163251
Add support to test multi service API version (#12719)
* [WIP] prototype: multi-service-version test support

* Move multi-version test support into its own package

* Add some unit tests

* Add README

* Fix missing rollup error in CI build

* Disable browser test bundling

* Remove option to specify custom string comparison function

Now it's required to have a sorted list of API version strings
supported by the service from the oldest to the latest. This list is
used to compare version strings.

Add missing `skip` method to the chain object.

Add unit tests

* Fix README analysis issue

* Move `forEach()` and `onVersions()` into `versionsToTest()`

* Ignore README verification errors

* Fix rollup error

* Undo file moves

* Minor README tweak

* Fix build error in pipeline

* Add `DISABLE_MULTI_VERSION_TESTING` env var
2021-01-05 11:33:43 -08:00
Deyaaeldeen Almahallawi ab7eb9e0eb
Add dataplane pckgs (#12942)
* add a bunch of packages to dataplane workspace

* add storage-internal-avro
2020-12-17 14:36:46 -05:00
Jonathan Turner 790774460d
[Synapse] Land the initial generated code (#12713)
* WIP

* WIP

* WIP

* WIP

* Add last two to workspace

* Add basic READMEs and test builds

* Add basic READMEs and test builds

* Fix package versions

* Skip tests

* Address feedback

* Address feedback

* Rerun swagger codegen

* Rerun swagger codegen

* Add rolled up type files

* WIP

* WIP

* New regeneration with tracing

* New regeneration with tracing

* Remove prepack

* Add sdk-type

* Add lint

* Skip lint for now

* Add copyright and improve generation

* Add copyright and improve generation

* Fix keyvault lint

* Export fixes

* Export fixes

* Fix release dates
2020-12-10 10:52:26 +13:00
Deyaaeldeen Almahallawi c88d1faf32
[core-arm] delete it! (#12682)
* delete core-arm

* remove core-arm from a bunch of places

* rush update
2020-12-02 14:09:19 -05:00
Jeff Fisher 2c12554f51
[opentelemetry-exporter-azure-monitor] Rename monitor package (#12417)
Rename package + update version
2020-11-17 17:59:45 -08:00
Zoltan Varga 9cf8af88ab
[Digital-Twins] Update for GA, rename namespace, add span (#11872) 2020-10-22 10:29:50 -07:00
Jeremy Meng f962338df8
[Metrics Advisor] Initial merge commit (#11593) 2020-10-01 16:58:28 -07:00
Matt Ellis 1dc72f5ecd
[Event Grid] Initial Track 2 Client (#10059)
This change updates the Event Grid client to follow the new Azure SDK Design guidelines.  In addition, it exposes support for sending and processing events in the Cloud Events format, which the previous SDK did not support.
2020-09-04 17:07:34 -07:00
Zoltan Varga 50eb8a8459
Rename package to "digital-twins" (#11045)
* chore(digitaltwins): rename package
2020-09-04 11:49:17 -07:00
Mark Wolff c47352b878
[Monitor] add monitor to dataplane workspace (#10914) 2020-09-03 16:58:55 -07:00
Zoltan Varga 036e1bf6ca
Azure Digitaltwins SDK - API/Architectural board review (#10560)
Initial creation of Azure DigitalTwins SDK
2020-09-01 14:44:35 -07:00
Jose Manuel Heredia Hidalgo bf1c1b4ed5
Anomaly Detector V1, track2 generator (#10696)
* Azure Anomaly Detector

* Formating

* Export only ncessary models

* Remove spacespacespaceanomalydetector

* Update endpoint

* Update recordings

* Format

* Add basic samples

* Add README placeholders

* Update version

* Renames

* Rename Request, Point and Granularity

* Add enum

* Missing renames

* Update swagger and add missing renames

* Update TimeGranularity

* Update version

* Address PR comments
2020-08-26 23:41:52 -05:00
Jose Manuel Heredia Hidalgo 1f22653d2b
[Tables] CreateEntity and CreateTable tests (#10755)
* Add integration tests for Create Table and Table Entity

* Format

* rename azure-tables to azure-data-tables

* int and float test

* Address PR comments

* Fix folder name

* azure-data-tables

* Remove stale api surface

* rename to data-tables

* update sample ur;

* Rename in ci
2020-08-22 00:27:00 -05:00
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
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
Mahdi Varposhti e257985c17
[Tables] Add the initial files for the track 2 Tables library (#9565)
* Add the initial files for the track 2 tables library

* Update the package.json file

* Update pnpm-lock.yaml file

* Fix small nits

* Remove articats from ci.yml

* Add downlevel types

Co-authored-by: Mahdi Varposhti <t-mavar@microsoft.com>
2020-06-24 14:26:23 -06:00
Jeff Fisher 22133f40f5
[core-client] Create package for AutoRest specific code (#9620)
Create a new package we can use for helpers for generated code.
2020-06-23 15:30:15 -07:00
Jeff Fisher ca526b689c
Update to TypeScript 3.9 (#9012)
* Update TS to 3.9
2020-06-01 13:25:21 -07:00
Jeff Fisher 0f2bf8e3e8
[core-http] Create private package for core-http 2.0 work (#8621)
* Scaffold out new core package
2020-04-30 17:34:07 -07:00
Jeff Fisher 1b7428dffc
[core-tracing] Update to OpenTelemetry 0.6 (#7998)
* Migrate all packages to OpenTelemetry 0.6.1.
* Update inter-package dependencies to express the new requirements.
2020-04-23 15:39:57 -07:00
Jeff Fisher f269cfef99
[search] Rename package to search-documents (#8200) 2020-04-03 15:02:25 -07:00
Jeff Fisher 6bbed0db4a
[search] Updates for preview 1 (#7641)
Address feedback for preview 1
2020-03-06 19:11:29 -08:00
Jeff Fisher fe2103074e
Initial merge of Azure Cognitive Search Preview 1 (#7482)
Mostly functional version of preview 1. Need to add some code samples and polish based on API feedback.
2020-03-02 14:16:48 -08:00
Jeff Fisher cd3670b797
Create new workspace for data-plane packages (#7571)
* Create new workspace for dataplane packages

This mirrors the set of packages managed by Rush.

* Port over some more settings
2020-02-28 10:50:37 -08:00