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

194 Коммитов

Автор SHA1 Сообщение Дата
Yoseph Maguire 07df480c85
[dtdl-parser] IoT Model Parser client library for JS (#16728)
Creates new `@azure/dtdl-parser` package.
2022-02-01 20:52:16 +00:00
Will Temple 212f4f4456 Squashed commit of the following:
commit dcb5df3fc8
Merge: 356a32c63 6739271b8
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 17:22:23 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 356a32c63f
Merge: 6527b2813 b88c0bae2
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 16:51:32 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 6527b2813f
Merge: db7197b84 55ad30951
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 16:13:56 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit db7197b84b
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 11:03:50 2022 -0500

    Enable communication-phone-numbers browser tests

commit 9336dc195f
Merge: 097c9d2bc 7ea04a838
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 27 16:17:54 2022 -0500

    Merge branch 'witemple-msft/rollup2' of github.com:Azure/azure-sdk-for-js into witemple-msft/rollup2

commit 097c9d2bc5
Merge: a022f51bd 9ef90e433
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 27 16:17:29 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 7ea04a8388
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 26 17:00:14 2022 -0500

    Update common/tools/dev-tool/src/config/rollup.base.config.ts

    Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>

commit a022f51bde
Merge: 64599af3a c7024562e
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 26 16:42:10 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 64599af3a3
Merge: bdd4bcac1 0c4d2af1f
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Jan 25 17:29:58 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit bdd4bcac15
Merge: e834674c9 97b77df56
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Jan 25 11:26:58 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit e834674c93
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Jan 25 11:19:29 2022 -0800

    fixed schema-registry-avro

commit 26425ecf4c
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 12:53:58 2022 -0800

    Remove util dependency from monitor-query

commit 50beb01555
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 14:36:30 2022 -0500

    Removed dangling 'util' dependency

commit d28baf05e5
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 12:38:56 2022 -0500

    Make warning inhibitors work on Windows

commit 5c4c828a10
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 08:31:07 2022 -0800

    Fixed recorder build:test

commit 81a9d6d65b
Merge: cc7f21248 2144ad4eb
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 15:16:24 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit cc7f212480
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 15:16:08 2022 -0800

    iot-device-update-rest: migrated

commit 88212d2d80
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 14:13:51 2022 -0800

    keyvault-keys: disable node polyfill

commit 3c1302b09a
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 14:10:17 2022 -0800

    keyvault-admin: disabled browser node polyfill

commit 818cf063c2
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 13:35:29 2022 -0800

    Add basePath configuration to shared script config, inhibit empty warnings from node-resolve

commit 8d187890fe
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 12:15:58 2022 -0800

    Removed errant rollup.config.js entries

commit d4833d4914
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 11:47:45 2022 -0800

    Remove my launch config

commit e63d4e5163
Merge: 37cb4bcf5 d9fe26483
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 11:45:31 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 37cb4bcf56
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 11:44:20 2022 -0800

    Added shim plugin for source maps

commit 98579cc73f
Merge: 9132065dc e3db6c418
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 20 09:44:42 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 9132065dc2
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 14 14:39:32 2022 -0500

    Changed weird regex to path.split.join

commit 9c20ebb570
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 17:25:21 2022 -0500

    Removed communication-chat browser test config, as it's not needed

commit 2a8364d387
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 17:06:02 2022 -0500

    Deleted rollup.config.js for packages on the shared script.

commit 3fc9575933
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 17:01:31 2022 -0500

    template: removed rollup

commit 85d7050081
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 16:54:55 2022 -0500

    synapse: silence rollup output

commit ae9f7a6acb
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 16:30:53 2022 -0500

    Some updates to the bundle command

commit 11cee51f6a
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 16:30:33 2022 -0500

    Migrate more packages to shared rollup script

commit 0c4d89c8f4
Merge: f1ccb033a 78f849db7
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 13:00:13 2022 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit f1ccb033ab
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 12:11:27 2022 -0500

    [dev-tool] Add rollup-plugin-polyfill-node

commit 1a8ec9b1a2
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 19:07:43 2022 -0500

    preferBuiltins: false for browser

commit fe81f4ce0c
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 18:20:38 2022 -0500

    arm-compute: fix new warning

commit a75eca0064
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 16:20:54 2022 -0500

    Fixed build error in dev-tool

commit d890a897fd
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 16:18:36 2022 -0500

    Resoved merge conflict

commit a64fa41b34
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 16:12:16 2022 -0500

    Remove mixed rollup commands, leaving only rollup.test.config.js

commit f159571fd0
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 14:43:55 2022 -0500

    Remove all rollup dependencies

commit 65170145b1
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 14:11:28 2022 -0500

    Remove ordinary rollup commands.

commit f43cc70494
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 12:48:19 2022 -0500

    Removed configs that opt-out of browser bundles

commit 24357be603
Merge: 86250f0ab 20df85cb7
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 12:31:49 2022 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit 86250f0ab2
Merge: 26c241e6a 8dcc09499
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 12:27:43 2022 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit 26c241e6ac
Merge: a0a98eeba 12b194101
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Dec 14 18:37:30 2021 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit a0a98eeba2
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Dec 14 17:39:12 2021 -0500

    Make consistent

commit c8f6ffeb3f
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Dec 14 17:29:05 2021 -0500

    Migrate template

commit d56bcc5e4b
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Dec 8 11:46:16 2021 -0500

    [dev-tool] Add "bundle" command
2022-01-28 17:26:28 -05:00
colawwj 9bdf012e05
oep-security-commitmentplans-iotcentral-track2 (#19905)
* oep-security-commitmentplans-iotcentral-track2

* update

* update

* update

* update meta.json

* update
2022-01-20 10:04:09 +08:00
Azure SDK Bot 3736bc12f9
Post release automated changes for digitaltwins releases (#19827)
Post release automated changes for azure-arm-digitaltwins
2022-01-13 08:26:07 +00:00
colawwj 63a7f7878a
dns-digitaltwins-devspaces-track2 (#19825)
* dns-digitaltwins-devspaces-track2

* update
2022-01-13 15:22:32 +08:00
Jonathan Cárdenas 7398626539
Update prettier dev-dependency to v2.5.1 in Digital Twins (#19528)
* Update version

* format files
2022-01-04 12:38:26 -06:00
Ramya Rao 91e3627b7f
Update mocha-junit-reporter (#19309)
* Update mocha-junit-reporter

* rush update
2021-12-14 09:05:13 -08:00
Ramya Rao 5deb6ced31
Remove the docs script from packages (#19307)
As discussed in #17076, we no longer have the need for the `docs` script in each of our packages. This PR removes this script and the related dev dependency on typedoc
2021-12-14 01:30:46 +00:00
Ramya Rao 6c12ef4659
Update nyc to v15 (#19248)
This PR makes the following updates regarding the `nyc` dependency
- Update to v15 from v14 across all packages
- Updates to `@azure/monitor-opentelemetry-exporter` as it failed to run the tests with the updated nyc. 
     - Update the test scripts to use the js files in the dist-esm folder like all other packages instead of using the ts-node plugin.
     - Update one of the tests for `@azure/monitor-opentelemetry-exporter` to use the right path for package.json file now that the tests are being run from the dist-esm folder.

Random set of live tests were triggered from this PR to ensure that nyc works as expected.
The failure for data-tables is an unrelated service side issue

Resolves #19232
2021-12-13 23:43:51 +00:00
Maor Leger 3c97db3a18
[rollup] - Fix bug in circular dependency warning suppression (#19012)
## What

- Fix incorrect logic when suppressing chai's circular dependency warnings
- Move to the common dev-tool configuration where possible

## Why

This is a longstanding issue that we have, where an incorrect logic was copy-pasted to other places. I figured while cleaning this up that any package I touch can just convert over to the shared dev-tool configuration. Where I was unable
to do that, I just fixed this bug to avoid too many changes in one PR.

Fixes #14292
Resolves #17818 
Resolves #17816 
Resolves #17815 
Resolves #17814 
Resolves #17813 
Resolves #17810
2021-12-09 11:00:32 -08:00
Ramya Rao 8f40cf08d9
Move Identity dependency from v2 beta to v2 GA (#18470) 2021-11-01 15:31:25 -07:00
Ramya Rao 290a6e4d66
Update all samples to use Identity v2 (#18463) 2021-11-01 15:15:54 -07:00
Maor Leger 9dc6167cf1
Update API Extractor for all packages (#17917)
## What

- Update API Extractor to the latest version (currently 7.18.11)
- Regenerate all API reviews by building all the packages

## Why

This is something we keep bumping into. First, we needed to upgrade API Extractor to allow us to re-export directly from
`@opentelemetry/api`. Then, it looks like we needed this to upgrade TypeScript to 4.4. 

We are way behind on this version, and it's time to upgrade.

## Callouts

How noisy is this?! Here's what's happening - somewhere around 7.9 I think API Extractor improved the way it detects name
collisions with predefined globals. Things like KeyType, Response, etc. 

If there's a clash, the generated API markdown file will rename <Item> to <Item_2> to make the name collision explicit.

Talking to folks on the team, and the poor souls that will be doing API Review approvals, we agreed that doing the upgrade
in one fell swoop is the way to go. 

Resolves #9410
2021-09-30 08:07:26 -07:00
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
Daniel Rodríguez ea06d10dd3
[Identity] Incrementing the package version (#16908)
* [Identity] Incrementing the package version

* setting samples to the last released version of Identity

* upgraded non-samples to 2.0.0-beta.6

* found a fix for the CI issue
2021-08-18 19:11:14 -04:00
Ramya Rao a883638aeb
Add missing changelog entries for tracing and ES2017 updates (#16768)
This PR adds missing changelog entries for the times we
- updated tracing dependencies to use the GA version of OpenTelemetry
- updated to target ES2017
2021-08-04 22:11:55 +00: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
Vishnu Reddy 9656690691
update identity and regenerate recordings (#16106) 2021-07-12 15:55:53 -04:00
Vishnu Reddy 1e0142ed29
[digital-twins-core] address typo in method name (#16122)
Unfortunately, there is a typo in a method name that is exposed to the user. This PR attempts to correct this. Let me know if there's a better way to address this.
2021-07-12 19:14:48 +00:00
Vishnu Reddy b17fb63a27
[digital-twins-core] rename test folder and enable minmax testing (#16049)
close #13814
2021-06-29 15:14:41 +00: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
colawwj 37d1df40c2
arm-support-identity (#15838) 2021-06-21 09:32:26 +08: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
Jeremy Meng 11e2a4bdd4
Remove IE related doc and tests (#15760)
As we are ending the support for IE 11, this PR remove doc and test logic that
handle IE.

- Remove commented polyfill from karma configs
- Remove IE compatibility section from Stroage README files
- Remove IE specific logic from storage tests.
- Remove Storage TODO comments for IE.

* format

* run format on core-client-rest
2021-06-16 14:20:49 -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
Jeff Fisher 5b5d7a9080
Update tsconfig to target es2017 (#15545) 2021-06-09 08:59:31 -07:00
Maor Leger c7d1f11a2c
Revert "Pin identity dev dependency to avoid re-recording" (#15126)
## What
Reverting d79b27726e since we are now no longer pinning to 1.3.0.
But we still have multiple Identity versions in-flight, so we need the common-versions config

## Why
This will resolve https://dev.azure.com/azure-sdk/internal/_build/results?buildId=873579&view=results
As per https://github.com/Azure/azure-sdk-for-js/issues/14909#issuecomment-827980215 we no longer need to prep a v1 update to identity so we can standardize on ^1.1.0 (as there will be no changes in v1 that will force re-recording)
2021-05-04 10:20:20 -07:00
Ramya Rao d79b27726e
Pin identity dev dependency to avoid re-recording (#15027) 2021-04-26 16:27:51 -07:00
Vishnu Reddy 29d5e4f759
Migrate samples to Samples Workflow V2 (#14679)
close #14470 

Updated samples to fix some errors and convert them to TypeScript. Migrated samples to Samples Workflow V2.
2021-04-09 15:12:18 +00:00
Vishnu Reddy 308d0cade8
[Digital Twins Core] address linter errors (#14724)
close #13733
2021-04-09 14:03:34 +00:00
KarishmaGhiya b45fa72681
update clean commands (#14693) 2021-04-07 18:31:38 +00:00
Vishnu Reddy caeae0cd16
Update readme.md to use @azure/identity for authentication (#14717)
close #13295 

Updated README to use `@azure/identity` for authentication rather than `@azure/ms-rest-nodeauth` and `@azure/ms-rest-browserauth`. Made some other miscellaneous tweaks as well to match more closely to the template README.
2021-04-06 20:10:58 +00:00
Vishnu Reddy aa911710c4
[Digital Twins Core] add nycrc to enable code coverage in live test pipeline (#14709)
close #13586 
![image](https://user-images.githubusercontent.com/30186564/113598544-20cf1a80-95f2-11eb-9125-cee345f4228d.png)
2021-04-05 18:13:08 +00:00
colawwj 8ce0a5a621
arm-digitaltwins-release (#13534) 2021-03-31 11:17:41 +08:00
Vishnu Reddy 7fa3e49e38
Fix order of parameters supplied to sendTelemetry (#14454)
Upon inspection, it seems like the parameters to `sendTelemetry()` were supplied in the wrong order. This PR corrects that.
2021-03-30 18:58:19 +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
KarishmaGhiya bc9b4c2940
Quotes around paths to include all tests (#14432) 2021-03-23 11:51:24 -07:00
KarishmaGhiya 7c5f7cf751
update test-browser output folder (#14384) 2021-03-22 23:39:34 +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
Ramya Rao a01d63c3b4
Fix failing format commands (#14327)
* Fix failing format commands

* Add check-format to monitor
2021-03-17 09:49:09 -07: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
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
KarishmaGhiya d1d33a4367
Fixing inconsistencies in package.json scripts (#13936) 2021-03-03 02:31:37 +00: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
Sima Zhu 349613a6bd
Added main branch in ci yaml files (#13926) 2021-02-25 09:17:54 -08:00
Zoltan Varga 5ff1bfba2c
Fix integration tests (#13753)
* Fix integration tests

* Fix integration tests, concat URL
2021-02-18 13:59:09 -05:00
Ramya Rao 0e28a45448
[Digital Twins] internal tag notneeded on private members (#13822) 2021-02-16 21:39:02 -08:00
Ramya Rao 3db389d9ea
[Digital Twins] Fix linting errors in test files (#13732) 2021-02-11 11:11:41 -08:00
Ramya Rao 79ae073cd6
[Digital Twins] Run lint:fix and fix tsdoc lint errors (#13616) 2021-02-08 12:25:20 -08:00
Ramya Rao a0cd2dfd0a
Clean up after digital twins pkg rename (#13613)
After the `digitaltwins` package was renamed to `digital-twins-core`, we had a few clean up items that were missed. Since #13251 which attempted to do the clean up is battling build errors, creating a separate PR and pulling out the safe changes.

https://github.com/Azure/azure-sdk-for-js/pull/13607 that took care of the tests.yml file is already merged
2021-02-05 01:51:35 +00:00
Ramya Rao cafb13c09c
[Digital Twins] Use the right pkg name in tests.yml (#13607)
* Use the right pkg name in tests.yml

* Empty commit
2021-02-04 16:51:50 -08:00
Will Temple 9e4a451cb2
[dev-tool][smoke-tests] Use same configuration for skippable samples in live environments (#13515)
* [dev-tool] Use //sampleConfiguration for skips

* Replace all instances of smokeTestConfiguration with sampleConfiguration

* Formatting

* Tested file matching logic

* removed a left-over import
2021-02-03 17:55:30 -05:00
Ben Broderick Phillips e143e875d8
Run smoke test samples after package release (#12929)
* Run smoke test samples after package release

* Simplify smoke test eligibility check

* Add DryRun mode to smoke test initialization script. Simplify smoke test on release check

* [smoke test] Rename Nightly argument to Daily

* Remove separate job and conditionals for smoke test eligibility output

* Minor pipeline fixes

* Use ubuntu 18 vmimage for smoke test eligibility check job

* Add node version template to smoke test eligibility check

* Skip smoke tests when run manifest is empty

* Remove redundant NodeVersion parameter

* Disable digital twins smoke tests temporarily

* Disable form recognizer smoke test files
2021-02-01 13:32:13 -05: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
Azure SDK Bot bf98692499
Increment package version after release of azure-digital-twins-core (#13253) 2021-01-20 11:18:42 -05:00
Deyaaeldeen Almahallawi 78e55c88a8
[Docs] Upgrade typedoc to v0.15.2 to match that used by docs team (#13250)
* [Docs] Upgrade typedoc to v0.15.2 to match that used by docs team

* standardize the docs script for cosmos, kv-admin, comm-common, and storage-internal-avro
2021-01-15 16:24:16 -05:00
Deyaaeldeen Almahallawi 2561087f83
[Digital Twins] bump version (#13252)
to v1.0.3 in `package.json` and in `src`. This is the version of the release prepared here: https://github.com/Azure/azure-sdk-for-js/pull/13249.
2021-01-15 17:36:45 +00:00
Deyaaeldeen Almahallawi 7f2e413308
[Digital Twins] Include the correct type declaration file (#13249) 2021-01-15 11:42:02 -05:00
Maor Leger c014e5154a
Update CHANGELOG for digital-twins-core (#13225)
Add an entry listing a recent bug fix where we did not
ship the renamed type definition file.
2021-01-14 20:06:51 +00:00
Deyaaeldeen Almahallawi 0346653359
[Digital Twins] Remove @hidden in favor of @internal (#13226) 2021-01-14 14:45:56 -05:00
Deyaaeldeen Almahallawi c9e82bb0e9
[Digital Twins] Fix types shipping (#13222) 2021-01-14 19:02:24 +00:00
Azure SDK Bot def930c5dd
Increment package version after release of azure-digital-twins-core (#13201) 2021-01-14 10:46:15 -08:00
Zoltan Varga 0836431718
DigitalTwins: Add E2E tests (#13135)
* feat(azure-digitaltwins): update swagger

* feat(azure-digitaltwins): update client to swagger

* chore(azure-digitaltwins-core): rename package

* chore(azure-digitaltwins-core): rename package

* feat(azure-digital-twins-core): add span

* feat(azure-digital-twins-core): update for GA

* chore(azure-digital-twins-core): fix readme

* Update Readme.md

* chore(azure-digital-twins-core): fix exports

* chore(azure-digital-twins-core): fix broken links

* chore(azure-digital-twins-core): update changelog

* chore(azure-digital-twins-core): comment changelog

* chore(azure-digital-twins-core): more comment

* Update CHANGELOG.md

* fix(azure-digital-twins-core): address feedbacks

* fix(azure-digital-twins-core): add ifmatch

* fix(azure-digital-twins-core): add ifMatch

* fix(digitaltwins): hide ifmatch to options

* chore(digitaltwin): autofix

* fix(digitaltwins): fix export warnings

* fix(digitaltwins): fix diagnostic namespace

* fix(digitaltwins): improve tracing

* chore(digitaltwins): autofix

* fix(digitaltwins: fix tracing

* chore(digitaltwins): autofix

* fix(digitaltwins): delete parameter grouping

* chore(digitaltwins): autofix

* chore(digitaltwins): clean up

* Add E2E tests

* Add E2E tests

* Update recordings

* Remove comments

* --harmony flag for async iterators

* Update CHANGELOG.md

* Update version in package.json

Co-authored-by: Jeff Fisher <jeffish@microsoft.com>
Co-authored-by: HarshaNalluru <sanallur@microsoft.com>
2021-01-12 17:29:42 -08:00
Maor Leger a41e85399c
Fix package.json linting errors (#13070)
## What

Audit Track 2 libraries and address any linting errors in package.json
Fixed anything that seemed safe, and anything that seemed like a 
potential breaking change was confirmed with the owners or reduced
to a warning.

## Why

Another step towards being able to run the linter in our builds.

fixes #10597
2021-01-07 09:37:27 -08:00
Deyaaeldeen Almahallawi 494327fa57
replace @ignore with @hidden (#12963)
`@ignore` is a JSDoc construct which we no longer use. This PR replaces it with `TypeDoc`'s `@hidden` which [exhibits the same behavior](https://github.com/TypeStrong/typedoc/releases/tag/v0.12.0).
2021-01-05 04:17:33 +00:00
Deyaaeldeen Almahallawi 8ab8d4cbf7
[Docs] Add --excludeExternals to rushx docs command (#12987) 2020-12-23 14:18:07 -08:00
Deyaaeldeen Almahallawi 7e0bd75263
[Docs] Adding docs npm script (#12941)
This newly added command `docs` can help increase the quality of our documentation comments. It enables us to have a tight feedback loop on what is being generated as a documentation of our packages. I am pinning `typedoc` to v0.15.0 for now because this is the version being used for generating docs at `docs.microsoft.com`. This version should be updated when that team updates theirs.

Fixes https://github.com/Azure/azure-sdk-for-js/issues/12928
2020-12-17 22:03:10 +00:00
Deyaaeldeen Almahallawi 6b838b852d
Upgrade ESLint version to 7.15.0 (#12894)
All the heavy lifting for upgrading our linting packages has been already done here https://github.com/Azure/azure-sdk-for-js/pull/12770. This PR upgrades ESLint only and fixes https://github.com/Azure/azure-sdk-for-js/issues/9050.
2020-12-15 15:17:43 +00:00
Deyaaeldeen Almahallawi 79be172c74
Upgrade TypeScript compiler version to 4.1.2 (#12770)
* upgrade TS version and fix compilation issues

* upgrade the linting parser version and fix new linting issues

* fix cosmos sample

* address feedback

* fix linting issues in formrecognizer tests

* use unknown instead of any across our code

* address more issues

* cleanup package.json in core-http

* revert noisy linting changes caused by vanilla eslint rules not TS aware

* allow the poller to have results of type void

* fixing samples

* fix keyvault-certificates' sample
2020-12-14 17:03:55 -05:00
Will Temple 6ffd578ecd
Add PR CI step to build samples (#12715)
* Add PR CI step to build samples

* Made a change to rush-runner

* Fixed an issue with rush-runner patch

* Repaired metricsadvisor and anomalydetector samples builds

* Repaired storage samples build scripts, added skip to storage-internal-avro

* Added skips to core packages without samples

* Resolved conflicting options in identity samples

* Skipped broken test scripts

* pnpm-lock

* [eventhubs-checkpointstore-blob] fix build:samples script (#3)

* [event-processor-host] fix build:samples script

* Revert sorting of package.json script entries

* Fixed merge artifact in dev-tool package.json

* pnpm-lock

* Revert formatting changes to anomalydetector

* Run build phase with transitive dependencies.

* Add stub build:samples commands for synapse

* Added samples build setup for tables

* Repaired two broken links in EPH

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>
Co-authored-by: chradek <chradek@microsoft.com>
2020-12-11 11:22:12 -05:00
Zoltan Varga df030f4a06
Address feedbacks: Improve readme, fix documentation (#12167) 2020-11-03 02:27:31 +00:00
Deyaaeldeen Almahallawi ae4d38476c
bump core-http version to 1.2.0 across the board (#12151) 2020-10-30 15:21:24 -04:00
Zoltan Varga efad24c1c1
[digital-twins-core] Update date in changelog (#12002) 2020-10-23 19:17:21 +00:00
Zoltan Varga 9cf8af88ab
[Digital-Twins] Update for GA, rename namespace, add span (#11872) 2020-10-22 10:29:50 -07:00
colawwj d1dd09be1b
Sdk automation/@azure arm digitaltwins (#11820)
Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
2020-10-20 09:53:03 +08:00
James Carpinter e06b32c5c8
Fix ADT relationship paging (#11555) (#11556) 2020-10-14 19:31:29 -07:00
Deyaaeldeen Almahallawi e5f9bb076a
[Digital Twins] Old ESLint cleanup (#11610)
* [Digital Twins] Old ESLint cleanup

* delete redundant config file
2020-10-02 15:17:46 -04:00
Sima Zhu add2f4fb1b
Replaced relative link with absolute links and remove locale (#11317)
Replaced relative link with absolute links and remove locale
2020-09-17 20:01:20 -07:00
Azure SDK Bot 0447242179
Increment package version after release of azure-digital-twins (#11124) 2020-09-08 17:25:10 -07:00
Zoltan Varga 50eb8a8459
Rename package to "digital-twins" (#11045)
* chore(digitaltwins): rename package
2020-09-04 11:49:17 -07:00
Zoltan Varga 95cbd38f06
chore(digitaltwins): update changelog (#11017) 2020-09-03 14:23:32 -07:00
praveenkuttappan 5d98de85a5
Fix broken links (#11016) 2020-09-03 12:22:54 -07:00
praveenkuttappan 786b7a4ea0
Enable digitaltwins ci (#10985)
* Added ci.yml and changelog.md
* Fixed broken links in samples readme
2020-09-02 11:50:32 -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
Abyssknight cbc8f1788e
release for arm digitaltwins (#9681)
* Generated from 0859f6ca9d516e1ae64f47d13c417a898fa6281f

Update Typescript readme for SDK generation

As requested by Azure JS SDK team

* update version

Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
Co-authored-by: Shixun Guan <v-shigua@microsoft.com>
2020-06-29 10:26:47 +08:00