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

16830 Коммитов

Автор SHA1 Сообщение Дата
Deyaaeldeen Almahallawi baaf363a0c
[Communication] Migrate to Bicep (#30859)
And update API versions.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072706&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072699&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072700&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072701&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072704&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072705&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072674&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072676&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072679&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072681&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072688&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072691&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072696&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072729&view=results

Failures are unrelated
2024-08-26 10:44:11 -07:00
Deyaaeldeen Almahallawi 620aafbc03
[Event Hubs] [Bicep] Factor out KV definition (#30894)
Moving to a modular bicep definition so that we can share bits and
pieces between all of them. This PR factors out the key vault definition
so other bicep scripts can import it too. For now, it lives next to the
event hub's test-resources.bicep script but I'll consider moving it to a
central place once other libraries move to import it.

The PR also edits the script to make it more compact.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4079360&view=results
2024-08-26 09:51:06 -07:00
Azure SDK Bot 98c96590fc
[EngSys] automatic rush update --full
<p dir="auto">This is an automatic PR generated weekly with changes from running the command rush update --full</p>
2024-08-26 09:48:52 -07:00
Deyaaeldeen Almahallawi aa580fa143
[Mixed Reality] Migrate to Bicep (#30892)
And update API versions and add AAD role assignments.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4079154&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4079992&view=results
2024-08-25 12:28:01 -07:00
Azure SDK Bot e0211ae730
Sync eng/common directory with azure-sdk-tools for PR 8865 (#30843)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8865 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-25 11:36:16 -07:00
Deyaaeldeen Almahallawi f41503d47e
[Storage] Migrate to Bicep (#30852)
And update API versions

Live tests run: 
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070027&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070131&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4079093&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070138&view=results
2024-08-24 13:36:40 -07:00
Azure SDK Bot 43e8e1bd38
Sync eng/common directory with azure-sdk-tools for PR 8879 (#30893)
Sync eng/common directory with azure-sdk-tools for PR
https://github.com/Azure/azure-sdk-tools/pull/8879 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-23 17:17:29 -07:00
Jeremy Meng 0a7913a414 remove temporary logging 2024-08-23 17:04:42 -07:00
Jeremy Meng 6015c69093 - [identity-broker] move sample to flat config 2024-08-23 16:38:09 -07:00
Jeremy Meng 61659734c7 - [storage] remove redundant eslint settings. One file only needs to have it once. 2024-08-23 16:38:09 -07:00
Jeremy Meng eaddbdc10b - [monitor-query] remove usage of unix formatter which has been remove from eslint 2024-08-23 16:38:09 -07:00
Jeremy Meng c34a1c6482 skip linting for config files for the two packages that don't depend on dev-tool 2024-08-23 16:38:09 -07:00
Jeremy Meng 5adb09d715 [engsys] upgrade dev dependency eslint to v9
***NO_CI***

- bump eslint version to ^9.9.0
- [eslint-plugin] remove eslint-plugin-import for now. Will re-visit until it supports eslint v9
2024-08-23 16:37:40 -07:00
Deyaaeldeen Almahallawi cf8bd3dcde
[Metrics Advisor] Migrate to Bicep (#30891)
And update API versions and add an AAD role assignment. The tests don't
use this script and use static resources instead so I won't run them.
2024-08-23 16:14:15 -07:00
Jeremy Meng 038ed97cd2
[eslint-plugin] fix tests after upgrading typescript-eslint (#30889)
- adjust options passed `RuleTester` constructor
- remove `recommended` property that no longer exists
- use `output` of array to indicate multi-pass fixes with overlapping
range
- temporarily disable two test cases of ts-modules-only-named suite.
2024-08-23 16:13:22 -07:00
Deyaaeldeen Almahallawi 71b13fa44e
[Digital Twins] Migrate to Bicep (#30868)
And update API versions.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075002&view=results
2024-08-23 14:02:58 -07:00
Deyaaeldeen Almahallawi da3fe5b52c
[Cognitive Language] Migrate to Bicep (#30853)
And update API versions.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075866&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4077279&view=results
2024-08-23 13:11:29 -07:00
Deyaaeldeen Almahallawi f71c7f0f0e
[Remote Rendering] Fix test (#30888)
Fixes https://github.com/Azure/azure-sdk-for-js/issues/30883

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4077351&view=results
2024-08-23 12:49:04 -07:00
Deyaaeldeen Almahallawi 194b851b09
[Remote Rendering] Migrate to Bicep (#30870)
And update API versions.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4073704&view=results
2024-08-23 12:48:41 -07:00
Deyaaeldeen Almahallawi 8e94952bbb
[Monitor] Migrate to Bicep (#30856)
And update API versions.

Live test run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070520&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070521&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070522&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070523&view=results

Failures are unrelated to bicep.
2024-08-23 11:40:24 -07:00
Deyaaeldeen Almahallawi 67c8abbd41
[Document Intelligence] Migrate to Bicep (#30860)
And update API versions.

Live tests run: 
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075357&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075803&view=results
2024-08-23 11:36:01 -07:00
Jeremy Meng 2ce3c5feb4 [eslint-plugin] upgrade typescript-eslint to v8
***NO_CI***

- bump typescript-eslint dependencies version to ~8.2.0

- [eslint-plugin] suppress new linting errors appearing with v8

- [eslint-plugin] react to removed typescript-eslint property

  related PR https://github.com/typescript-eslint/typescript-eslint/pull/9025

- [eslint-plugin] turn off @typescript-eslint/no-unused-expressions

  as no-unused-expressions is already reported by eslint

- [dev-tool] fix new linting errors

- Remove @typescript-eslint/ban-types that no longer exists

  and replace with more specific rules wherever applicable.

- [cosmosdb] combine the test eslint config with the main one

- delete catch expression when caught error is not used

- fix or suppress linting errors in code files
2024-08-23 10:19:23 -07:00
Deyaaeldeen Almahallawi 277798ec58
[Translation] Migrate to Bicep (#30863)
And update API versions and fix output vars.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075337&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075234&view=results

Failures are unrelated.
2024-08-23 10:06:41 -07:00
Daniel Ortega 1908e9ddcb
Update swagger with optindescription attachment type (#30828)
### Packages impacted by this PR


### Issues associated with this PR


### Describe the problem that is addressed by this PR


### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: sorrego <sorrego@microsoft.com>
Co-authored-by: sorrego-msft <113116666+sorrego-msft@users.noreply.github.com>
2024-08-23 10:02:05 -07:00
Glenn Harper c926a01de3
[AI] [Inference] add generate command to gen from typespec (#30785)
### Packages impacted by this PR
@azure-rest/ai-inference

### Issues associated with this PR


### Describe the problem that is addressed by this PR
 add npm run generate command to gen from typespec

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-08-23 15:38:13 +00:00
Azure SDK Bot 10f74a83ae
Post release automated changes for containerservice releases (#30880)
Post release automated changes for azure-arm-containerservice
2024-08-23 15:11:51 +08:00
Azure SDK Bot 09a6145861
Post release automated changes for compute releases (#30879)
Post release automated changes for azure-arm-compute
2024-08-23 15:06:48 +08:00
Azure SDK Bot 7e7a9fca25
Post release automated changes for netapp releases (#30878)
Post release automated changes for azure-arm-netapp
2024-08-23 14:56:56 +08:00
Azure SDK Bot cf6dbe0a44
Post release automated changes for hdinsight releases (#30874)
Post release automated changes for azure-arm-hdinsightcontainers
2024-08-23 14:47:39 +08:00
Azure SDK Bot 4480869e1e
Post release automated changes for azurestackhci releases (#30875)
Post release automated changes for azure-arm-azurestackhci
2024-08-23 14:47:30 +08:00
ZiWei Chen 1c2e977494
[mgmt] hdinsightcontainers release (#30732)
https://github.com/Azure/sdk-release-request/issues/5410
2024-08-23 13:42:13 +08:00
ZiWei Chen e94e5614a1
[mgmt] azurestackhci release (#30873)
https://github.com/Azure/sdk-release-request/issues/5371
2024-08-23 13:40:29 +08:00
Deyaaeldeen Almahallawi a3bd451856
[Maps] Migrate to Bicep (#30867)
And update API versions.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075004&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075005&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075006&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4075007&view=results
2024-08-23 04:01:58 +00:00
Deyaaeldeen Almahallawi 994d08c49e
[Synapse] Migrate to Bicep (#30872)
And update API versions. I couldn't find live tests pipelines for it.
2024-08-22 20:57:51 -07:00
Deyaaeldeen Almahallawi a12071e899
[Container Registry] Migrate to Bicep (#30861)
And update API versions.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4072801&view=results

Failure has been consistent for a while now and it originates from the
post-deployment script because it tries to make too many unauthenticated
requests to docker.com. Bicep deployment succeeds before that.
2024-08-22 20:44:32 -07:00
Deyaaeldeen Almahallawi 75a2375598
[Web PubSub] Migrate to Bicep (#30854)
And update API version

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4070188&view=results
2024-08-22 20:41:21 -07:00
Deyaaeldeen Almahallawi 43ec394258
[Key Vault] Migrate to Bicep (#30869)
And update API versions.

Live tests run:
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4073659&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4073660&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4073661&view=results
-
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4073662&view=results
- New run for keys:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4074637&view=results
2024-08-22 16:37:29 -07:00
Deyaaeldeen Almahallawi 1bbfc2b264
[Tables] Migrate to Bicep (#30864)
And update API versions.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4074280&view=results

Failures are because of the new test sanitizers and not related to
bicep.
2024-08-22 15:34:05 -07:00
Siddharth Singha Roy e55fcc492f
docs(): uncomment broken links for microsoft-playwright-testing (#30858)
### Packages impacted by this PR

@azure/microsoft-playwright-testing

### Issues associated with this PR

Uncomment links to other README files in the
microsoft-playwright-testing SDK.

### Describe the problem that is addressed by this PR

As per
https://github.com/Azure/azure-sdk/blob/main/docs/policies/README-TEMPLATE.md#link-guidelines,
any relative link to a file which does not exist in main, will require
the initial PR to go in with link commented out, followed by a PR to
uncomment those links.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

N/A

### Are there test cases added in this PR? _(If not, why?)_

Not pplicable

### Provide a list of related PRs _(if any)_

Initial PR - https://github.com/Azure/azure-sdk-for-js/pull/30433

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-08-23 04:00:37 +05:30
Deyaaeldeen Almahallawi c0b9ee6322
[Attestation] Migrate to Bicep (#30866)
And update API versions.

Live tests run:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4073631&view=results
2024-08-22 15:21:00 -07:00
Jeremy Meng 0312603aff
[Test][data-tables] move to federated auth (#30848) 2024-08-22 13:35:02 -07:00
Maor Leger 58ac994ec5
[keyvault-certificates] Migrate to ESM and tshy (#30819)
### Packages impacted by this PR

@azure/keyvault-certificates

### Issues associated with this PR

N/A

### Describe the problem that is addressed by this PR

Migrates keyvault-certificates to ESM and tshy
2024-08-22 12:49:35 -07:00
Maor Leger 295443be60
[identity] Add support for Managed Identity ObjectID (#30771)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

Resolves https://github.com/Azure/azure-sdk-for-js-pr/issues/262

### Describe the problem that is addressed by this PR

Adds support for providing an objectID to be used in managed Identity.
2024-08-22 12:46:44 -07:00
Maor Leger 65316d1a15
[identity] Use federated token in az cli (#30815)
### Packages impacted by this PR

@azure/identity

### Issues associated with this PR

N/A - test fixes

### Describe the problem that is addressed by this PR

Identity client libraries need some extensive setup to test various
credentials in different workloads. Some of the commands
require the az cli, and this enables us to login using az cli.

Eventually, my hope is to use this to provide federated credentials for
keyvault managed HSMs resource creation where our credential expires by
the time the HSM is deployed
2024-08-22 12:15:47 -07:00
Jeremy Meng 0b53f971f6 Set `"eslint.useFlatConfig": true` for vscode-eslint extension
and remove now invalid "resolvePluginsRelativeTo" option.
2024-08-22 11:43:26 -07:00
Jeremy Meng 8882adbe93 fix remaining linting errors
- ignore shims.d.ts for communication-chat

- suppress errors about Buffer because "buffer" package is used for browser
2024-08-22 11:43:26 -07:00
Jeremy Meng 4ab6590ffe Apply automated migration to eslint flat config 2024-08-22 11:43:19 -07:00
Jeremy Meng 1764824335 add patterns for json and source blocks in markdown
because in flat config, the path is resolved relative to the config file.
The added patterns are for when the central flat config is used.
2024-08-22 11:41:29 -07:00
Jeremy Meng d86ec0cddc delete sdk/.eslintrc.json and sdk/.eslintrc.json 2024-08-22 11:41:29 -07:00
Jeremy Meng 20064993bd [eslint] move rest of repository to eslint flat config
***NO_CI***

- Add a centralized eslint flat config
2024-08-22 11:41:29 -07:00