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
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
* 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.
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.
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)
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.
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.
* [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
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.
* 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
* 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>