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

350 Коммитов

Автор SHA1 Сообщение Дата
Mingzhe Huang 4fb0eb0511
build: bump version to 3.3.50 (#426) 2024-08-26 18:07:40 -04:00
Jeremy Meng c4d7e61df7
Upgrade dependencies (#422)
Fix some security issues by replacing `axios` and `request` with NodeJS
builtin `fetch`. It does requires NodeJS v18 though. Also bumping
- TypeScript version to ~5.4.5, 
- xml2js version to ^0.6.2, 
- nodemon version to ^3.1.0
- eslint version to v8
2024-04-16 12:20:09 -07:00
Joel Hendrix 109f60ef14
Add publish pipeline config (#425)
Moved build and test steps into a template file.
2024-03-08 14:25:55 -08:00
Joel Hendrix 114bda51c2
Add options method back to some tests (#424)
Fix regression introduced in df06807.
2024-03-08 11:07:28 -08:00
Mingzhe Huang d682ce0766
build(library): bump ts-jest to latest version (#421)
- bump ts-jest to latest version
- bump jest to latest version to resolve version conflict with ts-jest
- bump version to 3.3.48

resolve #420
2023-08-11 07:17:20 -07:00
Ahson Khan a949278ab1
Fix copy-paste error in the `x-ms-examples` values for body-string.json (#418)
Update from https://github.com/Azure/autorest.testserver/pull/381

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-29 11:07:10 -07:00
Joel Hendrix b619583020
Fix LRO Patch201RetryWithAsyncHeader (#413)
The final-state-via value azure-async-operation states that no final GET
is required and that the terminal success response contains the payload.
The route is not implemented in this way; it requires a final GET at the
original URI.
Fixed swagger definition to match the implementation.
2023-05-19 15:23:05 -07:00
dependabot[bot] 18e93ffa2a
Bump cookiejar from 2.1.3 to 2.1.4 (#412)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to
2.1.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/bmeck/node-cookiejar/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cookiejar&package-manager=npm_and_yarn&previous-version=2.1.3&new-version=2.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Azure/autorest.testserver/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 02:36:43 +00:00
dependabot[bot] 9c7146452c
Bump xml2js from 0.4.23 to 0.5.0 (#417)
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) from
0.4.23 to 0.5.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xml2js&package-manager=npm_and_yarn&previous-version=0.4.23&new-version=0.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Azure/autorest.testserver/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 22:33:45 -04:00
iscai-msft 2a7383c6f1
enum with name import (#416) 2023-03-30 14:12:59 -07:00
iscai-msft 0b506ec542
Client with enum param (#410) 2022-11-04 14:45:37 -07:00
iscai-msft 72d5bbf5e5
add empty next link test (#409) 2022-11-04 11:02:44 -07:00
Timothee Guerin 243b3809d7 Fix more path normalization 2022-10-22 12:38:12 -07:00
iscai-msft 8bae568b3e
add urlencode test (#408) 2022-10-11 15:06:01 -07:00
iscai-msft 4686b04097
Add multipage multiapi tests (#407) 2022-09-29 12:32:55 -07:00
Timothee Guerin 605c483b4c
Add glob as dependency(Was missing for some reason) and normalize path before (#406)
fix #405
2022-09-22 07:18:40 -07:00
iscai-msft 16bbd0ed81
add test for streamed error with json model (#404) 2022-09-02 16:24:03 -07:00
Yuchao Yan 9a27bdaeb6
Fix paging with body (#403)
Fix https://github.com/Azure/autorest.testserver/pull/402
2022-08-26 10:45:56 +08:00
Yuchao Yan b2f7031ae4
Paging with body (#402)
add pageable scenario for python : https://github.com/Azure/autorest.python/issues/1408
2022-08-26 09:41:53 +08:00
Timothee Guerin 683aa59f84 Bumpo to 3.3.36 2022-08-22 17:10:15 -07:00
Timothee Guerin 56dbe10ce5
Move jest to devDependency (#401) 2022-08-23 00:08:42 +00:00
Timothee Guerin da9260e442
Use @azure/storage-blob instead of deprecated azure-storage (#400) 2022-08-15 11:18:53 -07:00
Mary Gao e66f072497
Update put example (#399)
* Update put example

* bump a version

* update lock file

Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2022-07-08 08:42:13 -07:00
Timothee Guerin 68026a52c7 fix build 2022-07-08 08:21:52 -07:00
Timothee Guerin f854810c5d Fix vulnerabilities 2022-07-07 14:03:58 -07:00
Mary Gao 9cd8ad767e
Add more examples in header.json and body-complex.json for testing purpose (#395) 2022-07-06 08:14:09 -07:00
Mary Gao 445a627690
Accept api-version parameter in path - paging/multiple/nextOperationWithQueryParams (#396)
* Small fixs

* Update package.json

Co-authored-by: Laurent Mazuel <lmazuel@microsoft.com>
2022-07-06 07:59:09 +08:00
Mary Gao 53da532ad2
Adding examples in body-string swagger file (#381)
* Add examples in body-string

* Update examples

* Update examples

* Update package lock version

* Update format
2022-06-27 17:45:13 +08:00
iscai-msft a986649951
Paging maxpagesize (#389) 2022-06-22 11:09:01 -07:00
iscai-msft e13aeb5172
add test for paging while overriding api version (#387) 2022-06-21 14:20:21 -07:00
iscai-msft 1e8d5052c0
add test for any body with three content types (#386) 2022-06-14 13:37:30 -07:00
Timothee Guerin fb56270932
Fix busboy breaking changes (#385)
* fix busboy breaking changes

* Ignore security.md
2022-06-03 09:41:58 -07:00
microsoft-github-policy-service[bot] ff28f36fe2
Microsoft mandatory file (#379)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2022-06-02 20:29:56 -07:00
Timothee Guerin 0840139ae1
Update busboy to get rid of dicer with vulnerability (#384) 2022-06-02 14:19:16 -07:00
iscai-msft 8091d5c718
grouped constant parameter (#383) 2022-05-31 15:52:49 -07:00
iscai-msft 1d0ec0cf2e
update swaggers to keep constant parameters constant (#378) 2022-05-05 11:42:27 -07:00
dependabot[bot] e6c0690ce7
Bump minimist from 1.2.5 to 1.2.6 (#377)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 15:17:01 -07:00
Pan Shao 45ac0da514
Fix issues for codegen test (#376)
* Fix issues for codegen test

* Change name

* Fix format

* revert change
2022-03-24 13:42:14 +08:00
Yuchao Yan 99c79d7a05
Add SecurityDefinition (#368)
* security definition

* format

* test for security

* update

* update

* update aad test

* update test

* update constants.json

* update version

* update version
2022-03-23 15:24:30 +08:00
Pan Shao 2e1d7f115f
Add options to httpmethod to pass test (#375)
* Add options to httpmethod to pass test

* Fix lint

* Fix format
2022-03-23 15:11:13 +08:00
Pan Shao a3f8818283
Fix errors to pass test (#374) 2022-03-22 23:34:11 -07:00
Pan Shao 79d55c0913
Change file name to fix order issue (#372)
* Change file name to fix order issue

* Update version

* Fix prettier issue
2022-03-22 10:42:00 +08:00
iscai-msft 9274e25f30
correct secrets placement (#367) 2022-03-02 11:47:56 -05:00
iscai-msft b4983d0a27
fix secrest test to show up in coverage (#366) 2022-03-01 18:49:06 -05:00
Heath Stewart fb790237dc
Add route for errors with secrets and PII (#354)
* Add route for errors with secrets and PII

Relates to Azure/azure-sdk#3959

* Resolve feedback

* Run prettier

* Resolve PR feedback

* Bump patch version

* Add POST endpoint

Resolves feedback for more routes.

* Resolve PR feedback
2022-03-01 21:15:11 +00:00
iscai-msft 3e868f255b
make add prop vanilla coverage (#365) 2022-03-01 15:31:35 -05:00
Timothee Guerin df06807fec
Fix issue with invalid endpoints causing missing coverage (#364) 2022-03-01 11:39:19 -08:00
iscai-msft b5402ba3c8
Add back azure report (#363) 2022-03-01 13:18:01 -05:00
Timothee Guerin 2da11aabfc Add azure-report.json spec file back 2022-03-01 08:21:35 -08:00
Timothee Guerin df240a6f9a
Migrate bool to test server v2 (#362) 2022-02-28 16:49:37 -08:00