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

1664 Коммитов

Автор SHA1 Сообщение Дата
Ben Broderick Phillips 715cecc17b
Bump powershell yaml versions to 0.4.7 (#9326) 2024-11-20 15:33:42 -05:00
Weidong Xu 3d29ed3431
sample-collection, limit list-releases to 5000 items (#9407) 2024-11-20 14:47:06 +08:00
Chidozie Ononiwu 26ca7fa291
Use Tag for Token File OutPut (#9274)
* Update Swagger Parser to save file using the tag used for generationg the APIView token

* Add tests for default tag
2024-11-13 16:13:04 -08:00
dependabot[bot] e405398455
Bump jsonpath-plus in /tools/sdk-testgen in the npm_and_yarn group (#9366)
Bumps the npm_and_yarn group in /tools/sdk-testgen with 1 update: [jsonpath-plus](https://github.com/s3u/JSONPath).


Updates `jsonpath-plus` from 10.0.0 to 10.1.0
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/commits/v10.1.0)

---
updated-dependencies:
- dependency-name: jsonpath-plus
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 13:38:20 -08:00
Jeremy Meng 18a51f2b59
[js-apiview-parser] update CodeFile models from schemas (#9256)
* [js-apiview-parser] update CodeFile models from schemas

* Update version and changelog

* set SkipDiff: true for all dependency tokens

* update code owners
2024-11-12 10:29:34 -08:00
Patrick Hallisey b1536534cd
Reduce ingestion costs by disabling auto dependency call tracing (#9356) 2024-11-11 15:51:50 -08:00
Mike Harder 72316fa454
[http-fault-injector] Add README.md to java samples (#9361) 2024-11-11 21:04:46 +00:00
Dapeng Zhang 607a9d8241
Updates to dotnet example automation for recent changes on dotnet side (#9359)
* fix in new cases and update tests in new cases

* remove useless pieces

* update code

* fix test cases

* fix typo
2024-11-11 13:26:28 +08:00
catalinaperalta 9c36aa6e32
[tsp-client] Print example command (#9217)
* print example command

* debug level

* account for object options

* print command later in program execution

* prep for release

* fix test

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-11-08 15:43:06 -08:00
Patrick Hallisey 3b44d07874
Disable adaptive sampling to AppInsights (#9339)
Adaptive Sampling was causing PipelineWitness to drop a large portion of its happy-path telemetry before sending it to AppInsights. This made it difficult to search for trace messages related to specific build processing as there was a good chance that the trace logs from processing the build were sampled away.

By disabling adaptive sampling, we're telling the app to send all emitted telemetry to the AppInsights collector for processing.
2024-11-07 23:50:27 +00:00
catalinaperalta 1cbab84790
[tsp-client] Simplify local spec scenario for `init` command (#9108)
* fix init local spec scenario

* fix local spec scenario

* add init test

* update changelog

* update package version

* update changelog

* update test

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2024-11-07 11:31:06 -08:00
Timothee Guerin 928275a134
Tsp client vitest (#9352) 2024-11-07 19:09:23 +00:00
Timothee Guerin ea6d51607c
Use local version of format diagnostic for tsp-client (#9348) 2024-11-07 11:08:41 -08:00
Ray Chen 59d869dd3a
Removed test package config (#9340) 2024-11-06 14:40:43 -08:00
Ray Chen 991e31e249
Removed package config temporarily (#9338)
to avoid the dependabot flagging
2024-11-06 13:45:17 -08:00
Ray Chen eec88b5cc1
Initial check in for the sdk generation core project (#9327)
* Copy from the alps

* Remove dependencies of gulp and rush
Used npm and tsc instead;
Added lint.

* Rename and delete unnecessary files

Rename the tool.
Deleted files including .gitignore, readme, and licence.
2024-11-06 10:46:50 -08:00
Wanpeng Li 824fa55979
Fix Path Issue in RLC (#9307) 2024-11-05 13:57:37 +08:00
Ben Broderick Phillips b58fa8cc88
[stress testing] Move prod cluster to TME subscription (#9277)
* [stress testing] Move prod cluster to TME subscription

* [stress testing] Set up storage file data contributor role for cluster test identities

* Use fed auth service connection for stress pipeline deployment

* Updates to enable TME deployment

* Version/location updates for stress script usage

* Examples chart lock updates for stress

* Fix incorrect script path
2024-11-04 19:34:38 -05:00
Harsha Nalluru 266508f37f
Test proxy logs - sanitizer info (#9164)
* draft testing logs for sanitizerAdd ToString, logging, and SanitizerId; update commentsAdded a ToString method to RecordEntry for string representation.Introduced logging in RecordSession to track sanitizer changes.Added SanitizerId to RecordedTestSanitizer for unique identification.Updated RegisteredSanitizer constructor to set SanitizerId.Corrected copyright comment in RequestOrResponse.cs.Added necessary using directives to RecordEntry.cs.

* Enhance logging and string representation in RecordEntry

* simplification

* log message improve

* unneeded pkg

* Update tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordSession.cs

Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>

* Update tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/RecordSession.cs

Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>

* address feedback, modifications are more granular, logs under Debug flag

* sets flags only under Debug flag for fewer computations

* remove ToString impl

* Environment.NewLine, null checks for body, fix Logging tests

* fix build and if-check indentation

* Address feedback

* fix logging test

* improve the logging experience

* Use StringBuilder

* address feedback; logging modifications when entries are removed

* remove modified flag tracker logic in favour of tracking them at the time of sanitization

* format

* default getter and setter back

* fix cloning body bug

* log improvements and comments

* simplifications

* fix tests

* revert linebreak change

---------

Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
2024-11-01 14:15:33 -07:00
Patrick Hallisey bf7c4cf222
Update build tags before exporting to kusto (#9299)
* Update build tags before exporting to kusto

* Add error handling to tag code
2024-11-01 18:29:34 +00:00
Patrick Hallisey 0b95588b47
Add AdditionalTags processing (#9296) 2024-11-01 15:40:02 +00:00
Pan Shao 9b3e202a41
Expose fullyCompatible parameter of converter (#9238)
* Expose fullyCompatible parameter of converter

* update

* update

* update

* update

* Update tools/tsp-client/CHANGELOG.md

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>

* Update tools/tsp-client/README.md

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>

* update

---------

Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>
2024-10-31 13:24:14 +08:00
Ben Broderick Phillips bcf2fa919c
[stress testing] Set up storage file data contributor role for cluster test identities (#9276) 2024-10-30 16:09:07 -04:00
Wanpeng Li 16826b8ebc
Support Type Alias Scope Expand Detection (#9283)
* add type alias scope extend case

* update version

* update dep
2024-10-30 15:23:55 +08:00
Rodge Fu dfc24b6def
update ResourceManager to 1.13.0 (#9284) 2024-10-30 13:41:22 +08:00
Wanpeng Li 1e3fe4aad4
Patch Basic Detection for RLC (#9209)
* support detect breaking change

* baseline, current rename to target, source

* reverse parameter for target, source

* update

* update version

* export patch

* update diff location name

* fix

* Fix detector

* Update

* fix

* support customization

* update sdk automation

* fix import

* remove

* remove

* ignore generic types

* fix comment

* update test

---------

Co-authored-by: albertxavier100 <albertxavier001@icloud.com>
2024-10-29 17:57:38 +08:00
Ben Broderick Phillips ae456bab66
[stress testing] Allow default matrix selection override (#9249) 2024-10-28 17:09:40 -04:00
dependabot[bot] 3e821cacfa
Bump oav from 3.4.0 to 3.5.1 in /tools/sdk-testgen (#9205)
Bumps [oav](https://github.com/azure/oav) from 3.4.0 to 3.5.1.
- [Release notes](https://github.com/azure/oav/releases)
- [Changelog](https://github.com/Azure/oav/blob/develop/ChangeLog.md)
- [Commits](https://github.com/azure/oav/commits)

---
updated-dependencies:
- dependency-name: oav
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 13:33:41 +08:00
dependabot[bot] 13d3a57cc1
Bump typescript from 4.8.4 to 5.6.3 in /tools/sdk-testgen (#9215)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 4.8.4 to 5.6.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v4.8.4...v5.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 13:27:24 +08:00
Azure SDK Bot 2198ed5652
Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#9255) 2024-10-25 13:16:12 -07:00
Jeremy Meng bf41c7b56c
[apiview-js-parser] more bug fixes (#9184)
- skipDiff for dependency header
- attach pre-release tags with their related lines
- add spaces before `|` and `&`
- add `export const` for constants
- fix type reference for multi-line code excerpt
- fix contextual keyword kind in property/method signature
- hide enum members from navigation list
- create a TypeName token for type parameter
- replace `export declare enum` with `export enum`
- group items by their kinds and add an order to the groups
2024-10-25 12:22:31 -07:00
Weidong Xu 4090e73b8c
examples-automation, handle corner cases and invalid cases from upstream (#9250) 2024-10-25 15:17:58 +08:00
Praven Kuttappan 7e93b2ea0f
Update apiview token prefix (#9230)
* Update APIView token schema to include hasPrefixSpace property and process this when rendering API view
2024-10-24 16:56:30 -04:00
Scott Beddall 5ea3eeeefa
Resolve Failing Java Integration Tests (#9239)
* repair java integration tests by updating install order
2024-10-24 12:26:01 -07:00
Pan Shao 4025ae6034
Bump openapi-to-typespec to 0.10.2 (#9219)
* Bump openapi-to-typespec to 0.10.2

* update
2024-10-22 10:02:01 +08:00
Praven Kuttappan 68f32a9440
Update APIView token TypeSpec to generate valid JSON schema with top level properties (#9211) 2024-10-17 17:46:38 -04:00
dependabot[bot] 341f987b75
Bump jsonpath-plus in /tools/sdk-testgen in the npm_and_yarn group (#9152)
Bumps the npm_and_yarn group in /tools/sdk-testgen with 1 update: [jsonpath-plus](https://github.com/s3u/JSONPath).


Updates `jsonpath-plus` from 9.0.0 to 10.0.0
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/commits)

---
updated-dependencies:
- dependency-name: jsonpath-plus
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 17:37:13 -07:00
dependabot[bot] c6258680c6
Bump eslint-plugin-prettier from 3.4.1 to 4.2.1 in /tools/sdk-testgen (#9138)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.1 to 4.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 08:18:17 -07:00
dependabot[bot] 5f6da725ed
Bump @types/jest from 26.0.24 to 29.5.13 in /tools/sdk-testgen (#9139)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.24 to 29.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 08:17:52 -07:00
Jeremy Meng 582847ca42
[apiview-js-parser] fix some bugs (#9180)
* [apiview-js-parser] add missing `type` keyword

* Set IsContextEndLine: true for closing brace
2024-10-15 17:11:52 -07:00
PyBlend 5b06bc0f45
clean up remaining TODOs (#9178) 2024-10-15 14:38:27 -07:00
dependabot[bot] 0ea403420a
Bump the npm_and_yarn group across 2 directories with 3 updates (#9153)
Bumps the npm_and_yarn group with 3 updates in the /src/dotnet/APIView/ClientSPA directory: [cookie](https://github.com/jshttp/cookie), [socket.io](https://github.com/socketio/socket.io) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /tools/keyvault-mock-attestation directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).


Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: socket.io
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 15:50:37 -07:00
Weidong Xu 7e5d208a55
sample-automation, bug fix on wrong api version folder (#9151)
* raise error if automation cannot find tsp-location for typespec

* bug fix, picked example in wrong api-version folder
2024-10-14 14:23:03 +08:00
16234397 3db4a75329
Invalid use of @overload v2 (#9127)
* Version 2 Checker Duplicated

* Test file missed

* should have been commited before

* Async removed as requested

* final tidy

* Extra File Removed
2024-10-11 16:16:26 -07:00
16234397 7c98f1b455
Do not hardcode boolean connection verify v2 (#9118)
* Version 2 Checker Duplicated

* Function Positiona lArguments Added

* positional arg check removed
2024-10-11 14:19:38 -07:00
PyBlend 6c5d46658a
[Pylint] Check client methods have approved name prefix (#9081)
* add placeholders

* add new placeholder comments

* exploring AST unfinished - minor emergency had to leave

* identifying some mismatched functions

* refactor checker and tests

* fix error with non-builtins decorators

* fine tuning and testing required

* add pylint report

* add ranked listing of reports

* format report as table

* add new verbs

* update report

* update reportcounts.md

* fix formatting for reportcounts.md

* update reportcounts.md

* minimal tests added

* Final Refactor

* not running multiple times picking up on different function types

* add TODOs

* removed code not reached

* Checks at a class level

* Looking into different connection_verify assignments

* Placeholders added back

* Checker base done

* exclue private namespaces and classes

* update reports

* Checker, Tests, & Readme done

* add new prefixes

* update unit tests

* remove reports

* remove commented code

* add checker to README

* Tidy Up

* Revert "Merge branch 'working-main' into approved_prefix"

This reverts commit 6d262e3c5c, reversing
changes made to 65e431f621.

* remove duplicate tests

---------

Co-authored-by: Alirose Burrell <16234397@massey.ac.nz>
Co-authored-by: JessicaBell00 <110268278+JessicaBell00@users.noreply.github.com>
Co-authored-by: 16234397 <110712668+16234397@users.noreply.github.com>
2024-10-11 10:32:31 -07:00
Chidozie Ononiwu 34d0ef64aa
Swagger APIView Bugfix (#9133) 2024-10-10 16:23:31 -07:00
JessicaBell00 88c86a668e
Pylint Exception logging (#9077)
* add placeholders

* add new placeholder comments

* exploring AST unfinished - minor emergency had to leave

* identifying some mismatched functions

* refactor checker and tests

* fix error with non-builtins decorators

* fine tuning and testing required

* add pylint report

* add ranked listing of reports

* format report as table

* add new verbs

* update report

* update reportcounts.md

* fix formatting for reportcounts.md

* update reportcounts.md

* minimal tests added

* Base code and unit tests

More testing still to come

* Refactored class to be more specific

Also added more test cases

* Added to README

Also added one test and link for python implementation

* Update README / fix merging

* Final Refactor

* Fixed false positives

Edits to fix false positives from testing against SDKs. Added more unit tests

* not running multiple times picking up on different function types

* add TODOs

* removed code not reached

* Checks at a class level

* Looking into different connection_verify assignments

* Placeholders added back

* Checker base done

* exclue private namespaces and classes

* update reports

* Checker, Tests, & Readme done

* Update pylint_guidelines_checker.py

Fix another false positive from the SDKs

* Fix another false positive

Added corresponding test

* Check either sides of indices

Fixed another false positive

* add new prefixes

* update unit tests

* remove reports

* remove commented code

* add checker to README

* Tidy Up

* Add TODO comment re other cases to investigate

* Revert "Merge branch 'working-main' into exception-logging"

This reverts commit e2dcbb9095, reversing
changes made to 7e7256b13d.

* Make checker more explicit

Switch "." and "name" to ".__name__"

---------

Co-authored-by: Joshua Bishop <13187637+MJoshuaB@users.noreply.github.com>
Co-authored-by: Alirose Burrell <16234397@massey.ac.nz>
Co-authored-by: 16234397 <110712668+16234397@users.noreply.github.com>
2024-10-10 13:57:16 -07:00
Jeremy Meng 9eb35a6f6e
[js-apiview-parser] increment version to 2.0.1 (#9132) 2024-10-10 13:27:49 -07:00
dependabot[bot] 7acda18d20
Bump cpy-cli from 4.2.0 to 5.0.0 in /tools/sdk-testgen (#9125)
Bumps [cpy-cli](https://github.com/sindresorhus/cpy-cli) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/cpy-cli/releases)
- [Commits](https://github.com/sindresorhus/cpy-cli/compare/v4.2.0...v5.0.0)

---
updated-dependencies:
- dependency-name: cpy-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 11:23:06 -07:00