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

38 Коммитов

Автор SHA1 Сообщение Дата
Harsha Nalluru 8dbbedd71a
[Recorder] Adding a note in the readme to release publicly and rename the package(everywhere) (#17127)
* Adding a note in the readme to release publicly

* rename `@azure/test-utils-recorder` to `@azure-tools/test-recorder`

* lock file

* delete recorder new file
2021-08-26 21:22:27 +00:00
Daniel Rodríguez b8f46a9175
Ensuring that the build script also cleans (#17123)
* [Identity] Ensuring that the build script also cleans

* ...everywhere!

* removing double cleans
2021-08-26 14:25:14 -04:00
Maor Leger 5cd6362fbd
[core] - Align with latest OpenTelemetry implementations (#16347)
## What

- Remove `setTracer`
- Remove `NoOpTracer` and `NoOpSpan`
- Use Otel's APIs where possible (like when creating a no-op)
- Respect AZURE_TRACING_DISABLED environment variable
- Include test support for tracing utilizing OTel's trace API
- Avoid injecting invalid `tracerparent` header fields

## Why

- `setTracer` was added before OTel had their own implementation of a global tracer provider. For consistency with other libraries we should use the global tracer that was registered. It also leaves us out of the business of maintaining caches, global tracers, and other annoying things.
- These are no longer needed, since OTel has a recommended way to wrap a span in a NoOp. And, if no tracer provider was registered, a non-recording tracer  (NoOp) will be created. All managed by OTel
- Finally, AZURE_TRACING_DISABLED is one of the env vars our guidelines say we should support

Resolves #16088
Resolves #15730
Resolves #10205
2021-07-15 08:18:54 -07:00
Malcolm Tyrrell dd6e1c12bf
Add Data plane SDK for Azure Remote Rendering (#13829)
This PR adds a JavaScript/TypeScript SDK for Azure Remote Rendering.
2021-07-08 10:53:02 +00:00
bashiMoha dc6059810b
Dispaly links as list (#16117)
* displayed links as  a list rather than a single line

* appconfiguration\Readme:  displayed links as a list rather than a single line

* confidential-ledger-rest/README.md: display links as list

* container-registry/README.md: display links as list

* cosmos/README.md: display links as list

* iot-device-update/README.md: display links as list

* eventgrid/README.md: display links as list

* event-hubs/README.md: display links as list

* eventhubs-checkpointstore-blob/README.md: display links as list

* formrecognizer/README.md: display links as list

* identity/README.md: display links as list

* iot-modelsrepository/README.md: display links as list

* keyvault-admin/README.md: display links as list

* keyvault-certificates/README.md: display links as list

* keyvault-keys/README.md: display links as list

* keyvault-secrets/README.md: display links as list

* ai-metrics-advisor/README.md: display links as list

* mixedreality-authentication/README.md: display links as list

* monitor-query/README.md: display links as list

* purview-catalog-rest/README.md: display links as list

* purview-scanning-rest/README.md: display links as list

* quantum-jobs/README.md: display links as list

* search-documents/README.md: display links as list

* schema-registry/README.md: display links as list

* schema-registry-avro/README.md: display links as list

* service-bus/README.md: display links as list

* storage/storage-blob/README.md: display links as list

* storage-blob-changefeed/README.md: display links as list

* storage-file-datalake/README.md: display links as list

* storage-file-share/README.md: display links as list

* storage-queue/README.md: display links as list

* data-tables/README.md: display links as list

* ai-text-analytics/README.md: display links as list

* video-analyzer-edge/README.md: display links as list

* web-pubsub/README.md: display links as list

* web-pubsub-express/README.md: display links as list

* core-lro/README.md: display links as list

* changed from the word master to main

* changed the word master to main

* another update to the final reandme to change  the word master to main

* Update README.md

fixed a type in the link

* Update sdk/anomalydetector/ai-anomaly-detector/README.md

Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>

Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
2021-07-06 12:30:32 -04:00
Ramya Rao 5a7c129972
Update engines, @types/node to Node.js v12 (#15996) 2021-06-28 15:54:47 -07:00
Ramya Rao b729674427
Update Node.js & browser support in README (#16011) 2021-06-25 16:00:09 -07:00
Maor Leger 5903b7cd3d
[core] - Bump core-http to 2.0.0 and core-lro to 2.0.0 (#15925)
## What

- Update core-http to 2.0.0
- Update core-lro to 2.0.0
- Update packages to use latest version

## Why

This will support our last breaking change for core-tracing, and allow everyone to be on the same minimum version. This will also allow us to target ES2017 across the board.
2021-06-24 12:59:13 -07:00
Will Temple c7f3a2a70b Replace master with main in homepage links. 2021-06-22 16:09:11 -07:00
Chidozie Ononiwu a64747cf6a Rename hardcoded master links to use main 2021-06-22 15:51:16 -07:00
Maor Leger d0232046bb
[Core] - Move core-tracing to @opentelemetry/api 0.20.0 (#15672)
## What

- Bump @opentelemetry/api to 0.20.0 in @azure/core-tracing
- Move all packages that are on core-http to the next core-tracing version 
- Remove version collision check from the tracer cache

## Why

This is part of our effort to move everyone to OTel 0.20.0 - but we have to stage it due to a transitive dependency and a 
breaking change in OTel. This PR updates core-tracing to use the latest OTel, fixes any breaking changes, and moves 
packages that we can move to the latest version of core-tracing.

Once core-rest-pipeline 1.1.0 is GA'd we'll be able to move the rest of the packages over to the latest core-tracing as well.

Removing the version collision came out of an offline discussion after these changes were reviewed - since it's a common 
source of pain and hasn't added much benefit (tracer conflicts incompatibility was never a problem) we decided to remove 
that logic and always grab a unique symbol per OT compatibility. 

## Callouts

The packages that are already on core-v2 will _not_ be upgraded at this time - we'll coordinate that with the GA of core-rest-pipeline 1.1.0
2021-06-18 15:57:58 -07:00
Deyaaeldeen Almahallawi d3f0285339
[tslib] Upgrade from 2.0 to 2.2 (#15702) 2021-06-11 16:09:45 -04:00
Ramya Rao 0df2a11247
Standardize constantPaths for updating package version in automated PRs (#15685) 2021-06-11 12:42:54 -07:00
Craig Treasure eb41d3f4c3
Updated Mixed Reality Authentication to samples v2 (#14680)
- This change updates the Mixed Reality Authentication package to samples v2 per the [migration guide](https://github.com/Azure/azure-sdk-for-js/wiki/Samples-v2-Migration-Guide). This addresses #14477.

closes #14477
2021-04-30 16:33:51 +00:00
Malcolm Tyrrell e25f57e1b9
Ensure AccessTokens are interpreted as milliseconds-since-epoch values. (#15100)
JWT expiry values are in seconds-since-epoch whereas JS Dates are in milliseconds-since-epoch.
2021-04-30 15:55:56 +00:00
KarishmaGhiya b45fa72681
update clean commands (#14693) 2021-04-07 18:31:38 +00:00
chradek cd0edbc366
upgrade core-auth dep to ^1.3.0 (#14586)
`@azure/core-auth` added the `NamedKeyCredential` and `AzureNamedKeyCredential` symbols in version 1.3.0. Currently only `@azure/core-amqp` and `@azure/event-hubs` references these directly and need to be using 1.3.0, but updating in all packages that depend on it to satisfy rush.
2021-03-29 23:17:43 +00:00
Richard Park f1054c3076
[tracing] updating to opentelemetry 1.0.0-rc.0 (#14208)
* Upgrading to opentelemetry 1.0.0 (rc.0)

Did a few things that made this MUCH easier.

Now that everyone is using the createSpan from @azure/core-tracing we
no longer need _every_ project to reference opentelemetry/api! That has
been removed as part of this PR.

Unfortunately, the leaky nature of JS means that packages still need to
worry about opentelemetry when they build their browser bundle for
testing. To make that simpler I've added a common function to dev-tool
that everyone can call in their rollup that will give them the correct
named exports. This is hooked up for everyone at this point, so the next
time something like this happens I should be able to control it
centrally.

Now for the API breaking changes that I had to fix:
- CanonicalCode is gone and is replaced with SpanStatusCode.
  SpanStatusCode has a much smaller set of codes (literally: ERROR, OK
  or UNSET) so that simplified most of the way we were handling setting
  a span status on error.
- There is a new field (`tracingContext`) that contains `Context`. You
  now pass a context, not a span, to indicate what your "parent" is.
  You'll see this where I've removed `SpanOptions.parentSpan`. Mostly
  it's a simple replacement.
2021-03-29 15:18:40 -07:00
Deyaaeldeen Almahallawi 1f06810067
Use TS ESLint's no-invalid-this instead (#14458)
Implements the approach described here: https://github.com/Azure/azure-sdk-for-js/pull/14406#issuecomment-805869359 to linting `this` references. Reminder to myself: look for typescript-eslint alternatives when the behavior of eslint is not satisfactory.
2021-03-25 19:19:59 +00:00
Deyaaeldeen Almahallawi 18b3f30602
Use @this to satisfy ESLint's no-invalid-this (#14406)
# Problem

`no-invalid-this` makes sure uses of `this` are valid (see [docs](https://eslint.org/docs/rules/no-invalid-this) and [implementation](8984c91372/lib/rules/utils/ast-utils.js (L900))). However, uses of `this` are rampant in our test suites because this is how mocha unit tests are structured, the Mocha context can be accessed only through `this`. 

# Fix

So instead of disabling `no-invalid-this` in our test suites, this PR tags functions that reference `this` with `@this` and that satisfies the rule requirements (see [docs](https://eslint.org/docs/rules/no-invalid-this)).

# Discussion

It could be argued that this work just replaces one comment annotation with another so we did not really solve the underlying problem. However, the inherent problem lies in how mocha itself works and there is nothing we can do other than probably migrating to another framework that is more sane/type-safe. One minor improvement we get is we now have slightly less syntactic overhead because we need to tag just the function instead of individual lines in its body that violate the rule.

# Trade-offs

Pros:
- function tags are less than line tags

Cons:
- whitelisting one more tag with the tsdoc linter that our devs need to learn about
- still having rampant tags everywhere

Fixes https://github.com/Azure/azure-sdk-for-js/issues/11404
2021-03-23 00:51:54 +00:00
Deyaaeldeen Almahallawi a26462540e
Upgrade Typescript version to 4.2 (#14402)
Upgrade to the next minor version. See the release notes here: https://www.typescriptlang.org/docs/handbook/release-notes/overview.html#typescript-42.
2021-03-22 21:10:07 +00:00
Deyaaeldeen Almahallawi 5bf75f6185
Update TypeScript version to use ~ (#14387)
I confirmed with the TypeScript team that patch releases should not introduce breaking changes. This PR uses tilde in TypeScript version we use so get the latest patch releases for v4.1.
2021-03-22 02:26:08 +00:00
chradek 2660692aff
upgrade karma from ^5.1.0 to ^6.2.0 (#14238)
* upgrade karma from ^5.1.0 to ^6.2.0

* rush update --full
2021-03-11 10:12:31 -08:00
Ben Broderick Phillips 6bcb0aaf81
Skip mixed reality samples temporarily until region overrides are supported (#14131) 2021-03-05 15:59:09 -05:00
Richard Park cf99c3efa9
[core-tracing] In-place change of the version for core-tracing from -beta to -preview and compatible type change (#14082)
- Making some changes to simplify the "duplicate" models that we're exporting to mirror the opentelemetry models (addresses feedback from @xirzec and @bterlson)
- Switch core-tracing back to the `-preview` version naming style. Changing it mid-stream like we did breaks internal tooling.
2021-03-03 22:31:15 +00:00
Ben Broderick Phillips dacf4448d6
Fix broken live test configurations (#14052) 2021-03-02 13:25:37 -05:00
Ben Broderick Phillips 1d3632650c
Update live test yaml to use cloud and matrix configuration (#13886)
* Update live test templates to use matrix generation

* Update sdk live tests to use matrix generation, cloud config stages

* Fix live test matrix filter parity errors

* Remove matrix filters. Opt-in most tests to samples and min/max testing

* Fix post step template parameter in monitor live tests

* Filter dependency version for live tests that don't support it

* Only publish test results for browser and node tests
2021-03-01 19:25:57 -05:00
Jeremy Meng 3738fa358d
[template] Make README Logging section consistent (#14022)
* [template] Make README Logging section consistent

We might have introduced the inconsistency for some libraries while copying
content from other languages.

* Update other README files

Contents for messaging libraries (Event Hub/Service Bus) remain unchanges
because they are different in having additional information about `rhea`
logging.

* linking to logger
2021-03-01 09:42:22 -08:00
Richard Park 82c42a2512
[telemetry] Centralize (as much as is practical) the creation of spans to ease upgrades (#13887)
As part of prepping for the next release of OpenTelemetry we found some code patterns that were going to become a large maintenance burden for us, primarily around the parenting of spans. To make this easier I've removed as many duplicate implementation of createSpan and tried to centralize everything into core-tracing instead. 

This won't completely remove changes needed for a newer version of OpenTelemetry but it'll eliminate one of the bigger bottlenecks.
2021-02-25 21:36:47 -08:00
Ramya Rao 1cacc2b419
[MixedReality] Update karma to not use karma-map-istanbul (#14005)
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.

I have used https://github.com/Azure/azure-sdk-for-js/pull/13466 as a reference
Thanks @xirzec !
2021-02-26 04:28:26 +00:00
Craig Treasure 48759eb572
Disable TestMinMax (#13986)
- The TestMinMax flag causes a couple of extra jobs to be run that fail due to bad configuration. I don't see most other libraries enabling it, so I'm going to disable it. I don't feel too bad about this since both the min and max jobs appear to run against Node 12, which we already have a test job to validate.
2021-02-25 23:54:41 +00:00
Sima Zhu 349613a6bd
Added main branch in ci yaml files (#13926) 2021-02-25 09:17:54 -08:00
Sarangan Rajamanickam d2b586b3c7
Fix the links of API Reference Documentation (#13878)
* Fix the links of API Reference Documentation

* Update sdk/eventgrid/eventgrid/README.md

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

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2021-02-19 21:22:38 +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
colawwj 82d3fdae53
arm-mixedrelity-release (#13537)
* arm-mixedrelity-release

* arm-mixedrelity-release
2021-02-09 08:56:00 +08:00
Zim Kalinowski 5ea9713116
Release mixedreality (#9227)
Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
2020-06-03 15:16:25 +08:00
Wes Haggard 99e02e8577
Update impressions (#5977)
* Update impressions in all readmes

* Update package index
2019-11-04 16:19:10 -08:00
KarishmaGhiya d807729ccc
Move arm packages- batch2 (#2229)
* resolved conflicts in arm-compute package

* Moved arm-cognitiveservices

* Moved arm-cosmosdb

* Moved arm-hanaonazure

* Moved arm-hdinsight

* Moved arm-iotcentral

* Moved arm-iothub

* Moved arm-iotspaces

* Moved arm-kusto

* Moved arm-labservices

* Moved arm-links

* Moved arm-locks

* Moved arm-logic and arm-machinelearningcompute

* Moved  arm-machinelearningexperimentation

* Moved arm-machinelearningservices

* Moved arm-managedapplications

* Moved arm-managementgroups

* Moved arm-managementpartner

* Moved arm-maps

* Moved arm-mariadb

* Moved arm-marketplaceordering

* Moved arm-mediaservices

* Moved arm-migrate

* Moved arm-mixedreality

* Moved arm-monitor

* Moved arm-msi

* Moved arm-mysql

* Moved arm-netapp

* Moved arm-network

* Moved arm-notificationhubs

* Moved arm-operationalinsights

* Moved arm-operations

* Moved arm-policy

* Moved arm-policyinsights

* Moved arm-postgresql

* Moved arm-powerbidedicated

* Moved arm-powerbiembedded

* Moved arm-privatedns

* Moved arm-recoveryservices

* Moved arm-recoveryservices-siterecovery

* Moved arm-recoveryservicesbackup

* Moved arm-rediscache

* Moved arm-relay

* Moved arm-reservations

* Moved arm-resourcegraph

* Moved arm-resourcehealth

* Moved arm-resources

* Moved arm-search

* Moved arm-security

* Moved arm-servicebus

* Moved arm-servicefabricmesh

* Moved arm-servicemap

* Moved arm-signalr

* Moved arm-sql

* Moved arm-sqlvirtualmachine

* Moved arm-storage

* Moved arm-storageimportexport

* Moved arm-storagesync

* Moved arm-storsimple1200series

* Moved arm-storsimple8000series

* Moved arm-streamanalytics

* Moved arm-subscriptions

* Moved arm-timeseriesinsights

* Moved arm-trafficmanager

* Moved arm-visualstudio

* Moved arm-webservices

* Moved arm-workspaces

* moved arm-workspaces and arm-webservices under machinelearning service folder

* Moved arm-commitmentplans

* Moved arm-containerregistry

* Moved arm-containerservice

* fixed the repo structure for arm-containerservice

* updated service folder for arm-operations

* updated service folder for arm-subscriptions

* updated service folder for arm-recoveryservices-siterecovery

* updated service folder for arm-servicemap

* updated service folder for arm-rediscache

* updated service folder for arm-rediscache
2019-04-15 16:10:23 -07:00