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

372 Коммитов

Автор SHA1 Сообщение Дата
Daniel Getu 7f5d81d682
[Search] Fix ISO8601 deserialization (#25801) 2023-05-09 14:10:02 -07:00
Daniel Getu 3edd4091c0
[Search] Mark deprecated skills (#25686) 2023-05-05 14:25:22 -07:00
Daniel Getu 6ec09fc5c7
[Search] Rename `Model` to `TModel` (#25687)
As per discussion with the architects offline, renaming the generic
argument to `SearchClient` to `TModel`.
2023-05-05 14:22:29 -07:00
kazrael2119 63bfb1cd0c
migrate sdk recording files 3 (#25679)
https://github.com/Azure/azure-sdk-for-js/issues/25410
2023-04-28 16:49:05 +08:00
Daniel Getu 461994e071
[Search] Version bump (#25582) 2023-04-18 16:07:19 -07:00
Jeremy Meng d3a06a7349 [EngSys] upgrade dev dependency `typescript` to `~5.0.0`
***NO_CI***

- update versions in package.json
- change a couple ^ version to ~ version because typescript doesn't follow semver
2023-04-18 23:04:26 +00:00
Daniel Getu 76d2e291d0
[Search] Remove service version checks (#25288) 2023-03-31 17:12:39 -07:00
Daniel Getu bcb5ea5925
[Search] Allow nested field names to be specified in `select` and `searchField` options (#23627) 2023-03-06 23:08:20 +00:00
Jeremy Meng ae26cc9d92 [engsys] remove karma ie and edge launcher
as we no longer need to test them.

***NO_CI***
2023-03-06 17:08:15 -05:00
Jeff Fisher b1509d6756 Update test-recorder to drop support for `@Azure/core-http` and
bump the major version accordingly.

***NO_CI***
2023-03-02 15:21:26 -08:00
Daniel Getu 29773b2ec3
[Search] Migrate test recordings to asset sync repo (#24979) 2023-02-24 14:02:23 -08:00
Jeremy Meng 42d359f404 [engsys] upgrade @rollup plugins dev dependencies
***NO_CI***

- `@rollup/plugin-commonjs` to `^24.0.0`
- `@rollup/plugin-json` to `^6.0.0`
- `@rollup/plugin-multi-entry` to `^6.0.0`
- `rollup-plugin-polyfill-node` to `^0.12.0`
- `@rollup/plugin-inject` to `^5.0.0`
- `@rollup/plugin-replace` to `^5.0.0`

Fix notification-hubs rollup test config: now sourcemaps plugin is complaining
about .ts file. Move typescript plugin before it.

Fix service-bus to include needed rollup dependencies. It was lucky to be able
to re-use on other packages to install them but is failing in some builds.
2023-02-10 15:12:48 -08:00
Jeremy Meng ab536fc39a [engsys] make typescript version consistent to ~4.8.0
***NO_CI***

This is the result of

- `rush add --dev -m -p typescript@~4.8.0`

- and update versions in non-rush projects
2023-02-10 11:41:53 -08:00
Jeremy Meng bbb29823c9 [engsys] upgrade dev dependency `dotenv` version to `^16.0.0`
***NO_CI***
2023-01-26 15:59:56 -08:00
Daniel Getu a65c4761bd
[Search] Fix discarded user-defined `onResponse` callback (#24479) 2023-01-23 11:27:08 -08:00
Azure SDK Bot 087edde99f
Post release automated changes for search releases (#24292)
Post release automated changes for azure-arm-search
2023-01-16 08:40:05 +00:00
kazrael2119 e9e2ce5782
delete key value in recording in search (#24360)
* delte key value in recording in search

* update files

* update files

* Update uriSanitizer and bodySanitizer

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2023-01-09 12:38:54 +08:00
kazrael2119 743e6de8a1
search refresh (#24182)
* search refresh

* Fix the failure test cases

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
2022-12-20 16:07:02 +08:00
Stevan Freeborn c7f4e5d8ac
[Search] Modify mocha tests to use function keyword instead of arrow syntax (#23761) 2022-11-09 10:53:40 -08:00
Jeff Fisher 526926acc6
Upgrade TypeScript to 4.8 for most packages (#23730) 2022-11-05 01:24:43 +00:00
Daniel Getu f7addb6869
[Search] Enable OcrSkill and ImageAnalysisSkill (#23495) 2022-10-31 15:24:29 -07:00
Jeremy Meng 98508cfa18 [EngSys] update engines required node version and @types/node version to v14
***NO_CI***

- string replace in package json: 12 => 14 for engines/node and for dependency @types/node
- eslint: update `json-engine-is-present` rule to 14.0.0 as LTS version
- identity: react to typing improvements for `readFile()`'s `options.encoding`
- trivial generated api.md file changes due to @types/node version bump
2022-10-14 14:29:35 -07:00
Jeremy Meng 6c881ed3a1 [engsys] upgrade dev dependency `@microsoft/api-extractor` to `^7.31.1`
***NO_CI***

- bump api-extractor dev dependency to ^7.31.1 for all packages
- insignificant review file changes for cosmos and blob
2022-09-22 17:09:15 -07:00
Jeremy Meng 1fa072566f
[engsys] increase search live test pipeline timeout to 90 minutes (#23305)
Recently the test resource deployment step for search live test pipeline can
take more than 40 minutes to finish, while the integration test step only takes
less than 10  minutes. We have contacted service team about deployment issue.

Still it is better to let the pipeline finish running than canceling the run after
all these time spent on test resource deployment.
2022-09-22 12:51:23 -07:00
Jeremy Meng f280f87f7b [engsys] fix broken nodejs lts schedule link
On https://nodejs.org/ it is now point to https://github.com/nodejs/release#release-schedule

***NO_CI***
2022-09-19 16:37:05 -04:00
Azure SDK Bot b65d586bb8
Post release automated changes for search releases (#23120)
Post release automated changes for azure-search-documents
2022-09-08 18:40:55 +00:00
Sarangan Rajamanickam 6ec1a34b42
Update Date in Changelog (#23111) 2022-09-06 12:51:09 -07:00
Sarangan Rajamanickam 9d930069a2
[@azure/search-documents] Enable national cloud support for Azure Search SDK (#22887)
* Enable national cloud support for Azure Search SDK

* Fix Linter Errors

* PR Comments

* Minor Update
2022-08-15 12:51:58 -07:00
Jeremy Meng 84fabfd41e [engsys] upgrade `typescript` to `^4.6.0` for rest packages
***NO_CI***

This is a follow-up to PR #21536 and PR #21537.

- upgrade typescript to 4.6.0 for communication packages

- upgrade typescript to 4.6 for test-utils and dev-tool

- upgrade typescript to 4.6
2022-07-22 16:41:43 -04:00
Sarangan Rajamanickam 075ab48aa2
[@azure/search-documents] Update Dependency of `@azure/core-tracing` package (#22477)
* Update Tracing Dependency

* Modified code for breaking changes in tracing
2022-07-06 14:09:54 -07:00
Jeremy Meng 83e13d88f9 [engsys] upgrade `eslint` dev dependency version to ^8.0.0 for rest packages
***NO_CI***
2022-05-20 13:21:30 -07:00
Timo van Veenendaal cf19b7b0d0
[Perf] Multicore support (#20736)
The perf framework previously did not support true multi-core operation. This PR provides an implementation of multicore support based on a message-passing model.

Two new options are added to the perf framework as part of this PR:
* `--cpus`/`-c`: number specifying the number of cores (CPUs) to use. Defaults to 1, set to 0 to match the number of cores on the machine.
* `--use-worker-threads`: boolean, defaults to false. Pass this flag to use `worker_threads` instead of `child_process` for multithreading (see Multithreading implementations, below)
2022-05-11 12:02:29 -07:00
Sarangan Rajamanickam 0b6678c56f
[@azure/search-documents] Troubleshooing Guide for Search Documents (#21789)
* Troubleshooing Guide for Search Documents

* Update Comment

* Update Links
2022-05-10 10:52:51 -07:00
Azure SDK Bot 324af47337
Post release automated changes for search releases (#21754)
Post release automated changes for azure-arm-search
2022-05-06 10:17:31 +00:00
colawwj 2d6ad94eea
refresh-15 (#21681)
* refresh-15

* update

* update

* update

* update
2022-05-05 14:25:43 +08:00
Jeremy Meng 3235575a2f
[engsys] upgrade typescript to v4.6 - part.2 (#21537)
* [engsys] upgrade typescript to v4.6 - part.2

- upgrade packages that are maintained by the JS team (i to t)
2022-04-25 16:45:10 -07:00
praveenkuttappan 84329dd2e8 Pin API-extrator to 7.18.11 2022-04-20 15:32:34 -07:00
Jeremy Meng 191e4ce330 [EngSys] prepare for upgrading TypeScript to v4.6
Before upgrading we want to address the breaking change of catch variable now
defaulting to `unkown` by explicitly specify `: any` for implicit `any` catch
variables in our code base.

This commit applies the result of running the following codemod (credit: Maor)

```ts
import { API, FileInfo } from "jscodeshift";
export default function transformer(file: FileInfo, api: API) {
  const j = api.jscodeshift;
  const code = j(file.source);
  code
    .find(j.CatchClause)
    .filter(({ node }) => {
      return node.param && node.param.type == "Identifier" && !node.param.typeAnnotation;
    })
    .forEach(({ node }) => {
      if (node.param.type == "Identifier") {
        node.param.typeAnnotation = j.tsTypeAnnotation(j.tsAnyKeyword());
      }
    });
  return code.toSource();
}
```
2022-04-19 12:11:57 -07:00
Jonathan Cárdenas a344a79856
Add core-http-compat in Search Documents (#20940)
Search Documents has already migrated to the new Core client and Core rest pipeline libraries, however, this introduced too many breaking changes. In order to minimize the braking changes, core-http-compat was created. This commit regenerates the client with the latest version of autorest, with the core-http-compat-mode flag set to true, and no longer depending on core-http.
2022-03-30 14:12:42 -07:00
Will Temple af2317e3c3 Use azure-samples 2022-03-24 14:03:30 -04:00
Will Temple da364c71ce [samples] Moved sample package names to namespace @azure-samples 2022-03-24 13:35:48 -04:00
Sarangan Rajamanickam b29e358201
[@azure/search-documents] Commit Aliases Operations for Search Index Client (#20658)
* Commit Aliases Operations for Search Index Client

* Update Perf Dependency

* Fix Linter errors

* Response to PR Comments
2022-03-04 13:44:25 -08:00
colawwj 921810a62b
Separate ci.yml and ci.mgmt.yml (#20354) 2022-02-18 10:28:11 +08:00
Sarangan Rajamanickam 3ca39b6720
Initial version of Shim Project (#20034)
* Code Changes for Shim Prototype

* Modify Redirect Policy to be removed

* Minor fix

* Fix Linter Errors

* Modify Package JSON

* Response to PR Comments

* Minor change

* Rename Shim Client

* Update Readme.md

* Update dev-tool

* Removing all files related to search-documents

* Updated search api file

* Update Changelog

* Update sdk/core/core-http-compat/CHANGELOG.md

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

* Update sdk/core/core-http-compat/README.md

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

* Update README.md

* Revert appservice api md

* Update sdk/core/core-http-compat/README.md

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

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2022-02-16 16:21:43 -08:00
Harsha Nalluru 26a75099e8
TestProxy CI variable defaults to true (#20304)
* TestProxy - get rid of it

* default: true
2022-02-10 11:43:36 -08:00
Harsha Nalluru c9dcb43446
[Recorder] `configureClientOptions` method on the recorder (#20175)
* configureClientOptions core-v2

* configureClientOptions

* & Record<string, unknown>

* Replicate https://github.com/Azure/azure-sdk-for-js/pull/19920 for core-client-rest

* formatting

* Replicate https://github.com/Azure/azure-sdk-for-js/pull/19920 for core-client-rest

* format

* attestation test fixes

* format

* more format

* format

* more recorder.configureClientOptions

* migration guide

* more format

* mixed-reality update

* attestation simplification

* more fixes

* changelogs and gettingstarted docs

* format

* format

* changelog

* tables ci - test-proxy variable

* env.SAS_CONNECTION_STRING test fix

* sort imports
2022-02-07 16:42:10 -08:00
Harsha Nalluru 1ca1fa803e
[Search Documents] Migrating search-documents to the new recorder (#20193)
* Revert "Revert "[Search Documents] Migrating search-documents to the new recorder" (#20149)"

This reverts commit 5de8993c80.

* to avoid min-max issues - retaining how the setup was imported

* recordings

* fix test

* formatting
2022-02-04 11:04:48 -08:00
Sarangan Rajamanickam 5a5d3601c0
[@azure/search-documents] Adding new skills to the search-documents SDK (#20183)
* Adding new skills to the search-documents SDK

* Updated Changelog

* Update to a new version

* Update version
2022-02-02 10:54:08 -08:00
Sarangan Rajamanickam 5de8993c80
Revert "[Search Documents] Migrating search-documents to the new recorder" (#20149)
* Revert "[Search Documents] Migrating search-documents to the new recorder (#20125)"

This reverts commit e7c20eadc2.

* Rush update
2022-01-31 17:12:45 -08:00
Harsha Nalluru e7c20eadc2
[Search Documents] Migrating search-documents to the new recorder (#20125)
* updates to tests and package.json

* delete old recordings

* add recordings - first pass

* fix setup

* TestProxy: true

* karma fixes

* address Jose's feedback

* formatting
2022-01-28 14:49:06 -08: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
Sarangan Rajamanickam 5939b94c30
[@azure/search-documents] Change EndPoint in TestResources Json (#20058)
* Change EndPoint in TestResources Json

* Minor Change

* Testing minor change
2022-01-26 12:26:59 -08:00
Sarangan Rajamanickam 57288dd38c
Handle sovereign cloud endpoints dynamically (#19781) 2022-01-11 15:18:53 -08:00
Sarangan Rajamanickam d7f8fb9492
Search Document - test against multiple service versions (#19740)
* Code Changes to introduce service versions to test

* Updated Recordings

* Update Formatting

* Response to PR Comments
2022-01-10 15:35:01 -08:00
Jonathan Cárdenas 4faf748c88
Update prettier dev-dependency to v2.5.1 in Search (#19566)
* Upgrade prettier version to latest

* Format files
2022-01-04 21:04:05 -06:00
Azure SDK Bot ea7b87dae2
Post release automated changes for search releases (#19512)
Post release automated changes for azure-arm-search
2021-12-22 03:33:18 +00:00
colawwj 27888a81a7
search-track2-ga (#19493) 2021-12-22 09:49:21 +08:00
Azure SDK Bot 5d76f35a0e
Post release automated changes for azure-arm-search (#18848) 2021-12-15 10:18:21 +08: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
colawwj 6b4ef20ab5
search-track2 (#18846) 2021-11-29 16:36:28 +08:00
govardhan 5b49ed6fe3
[search] - configured service version using serviceVersion in SearchClientOptions (#18396)
This commit deprecates SearchClientOptions.apiVersion in favor of SearchClient.serviceVersion
2021-11-19 11:00:40 -08:00
Sarangan Rajamanickam dc47dcb205
Node doesn't support some samples for smoke test (#18496)
* Node doesn't support some samples for smoke test

* [search-documents] reprocessed samples with exp. generator

Co-authored-by: Will Temple <will@wtemple.net>
2021-11-12 17:45:32 -08:00
Sarangan Rajamanickam 6f833a8708
Release 11.3.0-beta.5 of search-documents SDK (#18583)
* Release 11.3.0-beta.5 of search-documents SDK

* Rename fieldName
2021-11-09 10:36:29 -08:00
Sarangan Rajamanickam 422a86cbd7
[azure-search] Serialization fails due to Cannot map a recusive structure (#18542)
* Continue on a recursive structure walking

* Update Changelog

* Update sdk/search/search-documents/test/internal/serialization.spec.ts

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

* Update sdk/search/search-documents/test/internal/serialization.spec.ts

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

* Fix Typo

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
2021-11-05 11:58:13 -07:00
Sarangan Rajamanickam 9968540989
November Release Changes (#18530)
* November Release Changes

* Optimize through Swagger Overrides
2021-11-04 14:16:54 -07:00
Ben Broderick Phillips 848242cd9d
Use working region/subscription for search deployments (#18512) 2021-11-03 15:34:12 -07:00
Ramya Rao 8f40cf08d9
Move Identity dependency from v2 beta to v2 GA (#18470) 2021-11-01 15:31:25 -07:00
Timo van Veenendaal 7a7d99d271
[Perf Framework] rename perfstress to perf and runAsync to run (#18290)
Reported in #18033.

Basically did a bulk find+replace everywhere. Things _seem_ to be working OK, but wouldn't be surprised if there's something somewhere I've missed, or somewhere where I've replaced something I shouldn't.

I've split the rename of PerfStress -> Perf and runAsync -> run into two commits for ease of review :)
2021-10-23 06:05:56 +00:00
Sarangan Rajamanickam adf7cf9e6e
Upgrade search-documents SDK to core-rest-pipeline (#17872)
* Upgrade search-documents SDK to core-rest-pipeline

* Updated recordings

* Fix linting

* Updated Recordings

* Updated Recordings II

* Additional Changes

* Some More changes

* Fix odataMetadata Policy

* Minor change

* Additional Changes

* Additional Changes

* Update Commit Ids

* Update Changelog

* Remove dependency of core-http completely

* Minor Change
2021-10-01 15:08:05 -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
ckairen e4408ed30f
Fixing nightly run smoke test (#17791)
* Fixing nightly run smoke test

* PR mod

* condition modification

* pr-mod
2021-09-27 14:32:09 -07:00
colawwj 45de594e60
update-reade.md (#17744) 2021-09-18 16:36:39 +08:00
Jeremy Meng 74f543c776
[Engsys] Suppress credscan reported issues for test constants (#17505)
* Remove leftover recordings whose tests had been deleted

* Move test secrets into file so we can suppress the file, instead of suppressing using the unstable hashes

* Update suppression list
2021-09-14 12:49:16 -07:00
Jeremy Meng 13861173b6
Upgrade dev dependency ts-node to ^10.0.0 (#17323) 2021-09-10 15:38:24 -07:00
Ziheng Zhou(MSFT) 45a3fd3dca
Update search to enable live testing in sovereign clouds for multiple services (#17443)
* update to enable live testing in sovereign clouds for search

* Update search to enable live testing in sovereign clouds for multiple services

* update test-resources.json

* update recordedClient.ts
2021-09-10 14:18:01 -04:00
Sarangan Rajamanickam 1e0d4b5be1
Code Changes for Search-Documents SDK for September Release (V: 11.3.0-beta.3) (#17412)
* Beta 4 Changes

* Minor comment change

* Change to the odatatype

* Upated Recordings

* Update Changelog and Versions
2021-09-03 11:20:07 -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
Jeremy Meng 799bdea380
Update `typings` to `types` in clean NPM scripts (#16965)
- Our convention now is to use `types`.
- Some packages output type definition files into `types` directory but the `clean` scripts still use `typings`.
2021-08-18 14:03:40 -10: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
Harsha Nalluru 3483187063
[Perf Tests] Update perf test projects to use the perf-test sdk-type (#16927)
* Update sdk-type

* update Getting Started

* rushx format

* rush format

* update commands

* Update sdk/storage/perf-tests/storage-blob-track-1/package.json

* Update sdk/storage/perf-tests/storage-blob-track-1/package.json

* Update sdk/storage/perf-tests/storage-file-share-track-1/package.json

* Update sdk/storage/perf-tests/storage-file-share-track-1/package.json
2021-08-14 01:49:53 +00:00
Azure SDK Bot 58ae71752e
Increment version for search releases (#16865)
* Increment package version after release of azure-search-documents

* Update dependency in perf test package

Co-authored-by: Sarangan Rajamanickam <sarajama@microsoft.com>
2021-08-11 23:07:35 -07:00
Sarangan Rajamanickam 098bf2e9f9
[search-documents] Migrated Samples to the new pipeline (#16804)
* Migrated Samples to the new pipeline

* Formatted the file
2021-08-10 14:04:08 -07: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
Sarangan Rajamanickam 85b9a72804
[search-documents] August Release Changes (#16694)
* August Release Search SDK Code Changes

* Additional Changes

* Updated Recordings

* Updated Changelog

* Update sdk/search/search-documents/CHANGELOG.md

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

* Added Unit Test Cases

* Updated Recordings

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
2021-08-02 21:46:58 -07:00
Sarangan Rajamanickam 452ebeedb5
Removed speller test (#16655) 2021-07-29 15:20:41 -07:00
Sarangan Rajamanickam 3bdeb5b757
Skip Semantic Test (#16557)
* Skip Semantic Test

* Adde comment
2021-07-26 22:17:56 +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
Azure SDK Bot 2419310edd
Increment version for search releases (#16290)
* Increment package version after release of azure-search-documents

* Update version in perf tests

Co-authored-by: Sarangan Rajamanickam <sarajama@microsoft.com>
2021-07-07 17:43:03 -07:00
Sarangan Rajamanickam d5d8b9709a
July Release Search SDK Code Changes (#16227)
* July Release Search SDK Code Changes

* Changes Part II

* Update Changelog

* Minor update to changelog
2021-07-07 11:41:35 -07: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
Sarangan Rajamanickam 20321ef20a
Convenience Method to create a synonymmap object (#16054)
* Convenience Method to create a synonymmap object

* Update sdk/search/search-documents/src/synonymMapHelper.ts

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

* Fix for PR Comments

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
2021-06-29 13:09:31 -07: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
KarishmaGhiya b18ddca6c4
update version of identity for perf tests and samples of service-bus (#15632) 2021-06-09 23:44:17 +00:00
Sarangan Rajamanickam 1127eec774
Update Version in Search Documents SDK (#15630) 2021-06-09 07:59:55 -07:00
Azure SDK Bot 7db151256f
Increment version for search releases (#15222)
* Increment package version after release of azure-search-documents

* Update dependency version

Co-authored-by: Sarangan Rajamanickam <sarajama@microsoft.com>
2021-05-12 14:42:33 -07:00
Sarangan Rajamanickam bb436f862f
Version Update Change for search-documents May 21 (#15151)
* Version Update Change for search-documents May 21

* Update Version in Perf
2021-05-06 11:56:24 -07:00
Sarangan Rajamanickam 8ecb0eba50
Semantic Search Code Changes (#14857)
* Semantic Search Code Changes

* Fix Linter

* Fix Formatting

* Marked fields of AnswerResult as required

* Added Code Changes for Knowledge Store

* Code Changes for AnswerResult
2021-04-28 11:11:08 -07:00
Jose Manuel Heredia Hidalgo 7b40d55b2d
[Document Translator] Update package metadata (#14899)
* Update package metadata

* format

* Re generate samples

* Fix eslint

* Update lint rule

* Fix lint

* Format

* Cleanup rule

* Cleanup error message

* Fix search eslint

* Fix lint errors

* address feedback
2021-04-16 12:45:07 -07:00
KarishmaGhiya b45fa72681
update clean commands (#14693) 2021-04-07 18:31:38 +00:00
Sarangan Rajamanickam d31aa59523
Code changes to add muli api support (#14706)
* Code changes to add muli api support

* Format

* Add Version Check

* Format

* Move ApiVersion to options bag
2021-04-05 22:49:37 -07:00
Sarangan Rajamanickam bb074b39ee
Update Version value in Search SDK (#14694) 2021-04-02 17:17:33 -07:00
Sarangan Rajamanickam 61fcbd4b6f
Search Code Changes for April Release (#14620)
* Search Code Changes for April Release

* Updated Version, Changelog & Regened to latest SHA

* Update Perf Test Dependency
2021-04-02 13:57:06 -07:00
Sarangan Rajamanickam ec8b13ed36
Added Perf Test Case for Search Documents (#14605)
* Added Perf Test Case for Search Documents

* Updated Lock File

* Remove options type

* Updated Lock File

* Modify Perf Tests

* Update tsconfig.json
2021-03-31 14:21:51 -07: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
Sarangan Rajamanickam ebbf8b922f
Removed Testcases with refs to existing endpoint (#14426)
Minor change
2021-03-23 12:08:09 -07:00
Will Temple a22db68cc5
[dev-tool] `samples publish` command and changes to samples workflow (#13960)
* [dev-tool] Experimental samples publish command

* Updated template samples structure

* First generation of template samples

* Update to ts-node 9 and use transpilation mode for speed.

* Many improvements and fixes.

- Fixed several bugs with generation.
- Added environment variable analysis.
- Refactored modules for code organization.
- Added azsdk- JSDoc tags for weighting and ignoring samples.
- Made almost all illogical situations yield errors instead of warnings.

* Rework text analytics

* Fixed a bug in the README template saying something about the Template package

* Regenerate text analytics samples

* Consistency changes to dev-tool/register

* Updated TA and Template package.json

* Fixed a couple of file name rendering bugs in the template

* Added API ref link override and regenerated Template samples

* Format

* Fix broken link

* Made typescript version reflect dev-tool ts dependency

* Revert weird change to cosmosdb package.json

* Alpha sort template deps

* Added MIN_SUPPORTED_NODE_VERSION

* Tweaked default tsconfig.

* Use version 1.0.0 instead of 0.1.0

* Pull sample generation info types into their own module.

* Added resource creation link generation.

* Regenerate template samples

* Regenerate text analytics samples

* Regenerate text analytics samples

* Regenerate template samples

* Fix bug in TA samples
2021-03-22 19:05:13 -07: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
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
Sarangan Rajamanickam 2d64abe3be
Remove Samples and Readme References with apiKeys (#14072) 2021-03-02 21:28:06 -08: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
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
Azure SDK Bot cf6b8a923b
Increment version for search releases (#13752) 2021-02-16 14:12:08 -08:00
Sarangan Rajamanickam 7580a53403
Modify Changelog of Search Documents SDK (#13764) 2021-02-12 10:11:49 -08:00
Sarangan Rajamanickam e9338a5bc5
Modified change log for search documents (#13742)
* Modified change log

* Update sdk/search/search-documents/CHANGELOG.md

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
2021-02-11 00:55:33 +00:00
Sarangan Rajamanickam 79c556abba
Revert search documents & Update Version and Changelog (#13727)
* Update Configuration Files

* Generated Code Changes

* Custom Code Changes

* API Review File Changes

* Update Version and Changelog

* Updated Changelog

* Added details about breaking changes

* Revert tokenizer to tokenizerName

* Fixed rename in samples too

* Update sdk/search/search-documents/CHANGELOG.md

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

Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2021-02-10 14:11:42 -08:00
Matt Ellis 57c3030ecf
[EventGrid] Prepare for v3.0.0-beta.3 Release (#13714)
* [EventGrid] Update core-auth reference

In b6040c5451 we took a dependency on
some new surface area in @azure/core-auth. That has now been released as
version 1.2.0, so we bump our minimum dependency to that version.

The other packages have been updated as well, to keep versions consistent.

* [EventGrid] Prepare for 3.0.0-beta.3 release
2021-02-09 18:05:12 -08:00
Sarangan Rajamanickam 917abead30
Add Document Key Retriever to Buffered Sender (#13478)
* Add Document Key Retriever to Buffered Sender

* Fix Lint Errors

* Update sdk/search/search-documents/src/searchIndexingBufferedSender.ts

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

* Minor changes

* Remove ts-ignore comment

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
2021-01-30 08:03:01 -08:00
Sarangan Rajamanickam 64e6844090
Remove Interface Search Indexing Buffer (#13405)
* Remove Interface Soe Search Indexing Buffer

* Update sdk/search/search-documents/samples/typescript/src/bufferedSender/uploadDocuments/autoFlushSizeBased.ts

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>

* Response to PR Comments

* Update Samples

* Minor fix

* Added await

* Minor Fix

Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
2021-01-27 15:49:44 -08:00
Deyaaeldeen Almahallawi f9d1c248b8
[Docs] Fix the double tagging issue (#13411)
* [Docs] Fix the double tagging issue

* fix triple tagging!
2021-01-26 21:06:05 -05:00
Sarangan Rajamanickam cd4ad88f85
Search documents migration (#12829)
* Modify the Configuration Markup Files

* Regenerated Changes

* Custom Code Changes

* Test Code and API Changes

* Updated Recordings Files

* Update Test Code
2021-01-22 21:02:03 -08: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
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
Sarangan Rajamanickam b9800f6464
Treat any new lint regression as hard failure in CI (#13114) 2021-01-08 02:04:20 +00:00
Sarangan Rajamanickam ef1c2aa4d5
[Search] Fix the Linter Errors (#13060)
* Fix the Linter Errors

* Further Modifications

* Formatting Changes

* Response to PR Comments
2021-01-07 17:47:23 -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
KarishmaGhiya 6ee8de43e1
[Code Coverage] Node Tests - Generate reports for live tests (#12968)
Resolves part of the issue - https://github.com/Azure/azure-sdk-for-js/issues/12935

To the reviewers, go to the links corresponding to your library to see the code coverage report. (Example here https://github.com/Azure/azure-sdk-for-js/pull/12968#issuecomment-749320030)
### Enables code coverage for the following packages
- [x] `/sdk/storage/storage-file-datalake` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=660382&view=codecoverage-tab
- [x] `/sdk/storage/storage-blob` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=655864&view=codecoverage-tab (Moved from https://github.com/Azure/azure-sdk-for-js/pull/12903)
- [x] `/sdk/search/search-documents` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=663568&view=results
- [x] `/sdk/textanalytics/` - Live tests are failing hence cannot see CC - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=658221&view=logs&j=bbd7d436-e05d-51a8-99a8-0701dc9dffeb&t=c89e2f7b-6fd1-516c-25fe-9220efbf116c
- [x]  `/sdk/keyvault/keyvault-keys` https://dev.azure.com/azure-sdk/internal/_build/results?buildId=663575&view=results
- [x] `/sdk/keyvault/keyvault-secrets` https://dev.azure.com/azure-sdk/internal/_build/results?buildId=663579&view=results
- [x] `/sdk/keyvault/keyvault-certificates` https://dev.azure.com/azure-sdk/internal/_build/results?buildId=663580&view=results
- [x] `/sdk/template/`
- [x] `/sdk/appconfiguration/` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=660325&view=codecoverage-tab
- [x] `communication-sms` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=660326&view=codecoverage-tab
- [x] `communication-chat` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=660327&view=codecoverage-tab
- [x] `communication-administration` - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=660328&view=codecoverage-tab

#### Others
- [ ] `/sdk/tables/`  - The live test pipeline was failing due to compile issues - moved it to a different PR - https://github.com/Azure/azure-sdk-for-js/pull/12976
2020-12-22 08:28:48 +00: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
KarishmaGhiya e1a368ad14
Segregate search documents test folders to enable min-max tests (#12643) 2020-11-24 16:45:36 -08:00
Sarangan Rajamanickam 25464c79df
November release changes (#12342)
* November Release Changes

* Format
2020-11-06 15:05:03 -08:00